diff --git a/404.html b/404.html index 7b74acb..da74b88 100644 --- a/404.html +++ b/404.html @@ -3,14 +3,14 @@ -Page Not Found | FeaturIT Docs - - +Page Not Found | FeaturIT Docs + +
-
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

+ + \ No newline at end of file diff --git a/assets/css/styles.9281da74.css b/assets/css/styles.afb8d76d.css similarity index 62% rename from assets/css/styles.9281da74.css rename to assets/css/styles.afb8d76d.css index 0e009ee..1813768 100644 --- a/assets/css/styles.9281da74.css +++ b/assets/css/styles.afb8d76d.css @@ -1 +1 @@ -.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list{list-style:none}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#ff3a4c;--ifm-color-primary-dark:#ff1a2d;--ifm-color-primary-darker:#e60013;--ifm-color-primary-darkest:#b3000f;--ifm-color-primary-light:#ff4d5b;--ifm-color-primary-lighter:#ff808a;--ifm-color-primary-lightest:#ffb3b9;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:#0000001a;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-announcement-bar-height:auto;--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_eTzJ article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}.container_lyt7,.container_lyt7>svg,img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area.breadcrumbs__link[href]:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_S0QG>:last-child,.cardContainer_fWXF :last-child,.collapsibleContent_i85q>:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-timing-function:ease-in-out;top:0;left:0;visibility:hidden}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);content:""}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.docsWrapper_BCFX,.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);position:fixed;transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-duration:.1s;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#ff4d5b;--ifm-color-primary-dark:#f34;--ifm-color-primary-darker:#ff0015;--ifm-color-primary-darkest:#c01;--ifm-color-primary-light:#ff6673;--ifm-color-primary-lighter:#ff99a2;--ifm-color-primary-lightest:#ffccd0;--docusaurus-highlighted-code-line-bg:#0000004d}.cardContainer_fWXF{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 #00000026;transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity .2s ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:.15s;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_ev3q{height:auto}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionHeading_tbUL code{text-transform:none}.admonitionIcon_kALy{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.breadcrumbHomeIcon_OVgt{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}#docusaurus-base-url-issue-banner-container,.collapseSidebarButton_PEFL,.docSidebarContainer_b6E3,.sidebarLogo_isFc,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.mainWrapper_z2l0{flex:1 0 auto}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg);position:sticky}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.docItemCol_VOVn,.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;top:0;transition:background-color var(--ifm-transition-fast) ease}[dir=rtl] .expandButtonIcon_BlDH{transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.docItemContainer_F8PC{padding:0 .3rem}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file +.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#ff3a4c;--ifm-color-primary-dark:#ff1a2d;--ifm-color-primary-darker:#e60013;--ifm-color-primary-darkest:#b3000f;--ifm-color-primary-light:#ff4d5b;--ifm-color-primary-lighter:#ff808a;--ifm-color-primary-lightest:#ffb3b9;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:#0000001a;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_eTzJ article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}.container_lyt7,.container_lyt7>svg,img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area.breadcrumbs__link[href]:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_S0QG>:last-child,.cardContainer_fWXF :last-child,.collapsibleContent_i85q>:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);content:""}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.docsWrapper_BCFX,.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;right:0;transition-duration:.1s;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#ff4d5b;--ifm-color-primary-dark:#f34;--ifm-color-primary-darker:#ff0015;--ifm-color-primary-darkest:#c01;--ifm-color-primary-light:#ff6673;--ifm-color-primary-lighter:#ff99a2;--ifm-color-primary-lightest:#ffccd0;--docusaurus-highlighted-code-line-bg:#0000004d}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#docusaurus-base-url-issue-banner-container,.collapseSidebarButton_PEFL,.docSidebarContainer_b6E3,.sidebarLogo_isFc,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.mainWrapper_z2l0{flex:1 0 auto}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.cardContainer_fWXF{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 #00000026;transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity .2s ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:.15s;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.img_ev3q{height:auto}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionHeading_tbUL code{text-transform:none}.admonitionIcon_kALy{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.breadcrumbHomeIcon_OVgt{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg);position:sticky}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;top:0;transition:background-color var(--ifm-transition-fast) ease}[dir=rtl] .expandButtonIcon_BlDH{transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.docItemCol_VOVn,.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/00cdcb4e.6ed49a5f.js b/assets/js/00cdcb4e.fd63b58d.js similarity index 61% rename from assets/js/00cdcb4e.6ed49a5f.js rename to assets/js/00cdcb4e.fd63b58d.js index 71bcf59..7366f5f 100644 --- a/assets/js/00cdcb4e.6ed49a5f.js +++ b/assets/js/00cdcb4e.fd63b58d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[384],{5680:(e,t,n)=>{n.d(t,{xA:()=>u,yg:()=>d});var r=n(6540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},p="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=l(n),f=a,d=p["".concat(c,".").concat(f)]||p[f]||m[f]||i;return n?r.createElement(d,o(o({ref:t},u),{},{components:n})):r.createElement(d,o({ref:t},u))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=f;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[p]="string"==typeof e?e:a,o[1]=s;for(var l=2;l{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>m,frontMatter:()=>i,metadata:()=>s,toc:()=>l});var r=n(8168),a=(n(6540),n(5680));const i={sidebar_position:1},o="Naming Features",s={unversionedId:"best-practices/naming-features",id:"best-practices/naming-features",title:"Naming Features",description:"Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features.",source:"@site/docs/best-practices/naming-features.md",sourceDirName:"best-practices",slug:"/best-practices/naming-features",permalink:"/best-practices/naming-features",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"defaultSidebar",previous:{title:"Best Practices",permalink:"/category/best-practices"},next:{title:"Stickiness Attributes",permalink:"/best-practices/stickiness-attributes"}},c={},l=[],u={toc:l},p="wrapper";function m(e){let{components:t,...n}=e;return(0,a.yg)(p,(0,r.A)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"naming-features"},"Naming Features"),(0,a.yg)("p",null,"Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features."),(0,a.yg)("p",null,"When naming features take into account:"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"Be descriptive and clear:")," Feature names should clearly and accurately describe what the feature does. Avoid using internal jargon or abbreviations that might not make sense to someone who is not familiar with the project.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"Use consistent naming conventions:")," Adopt a consistent naming convention and stick to it. This makes it easier to find and manage features in the future. For example, you could use camelCase, snake_case, or PascalCase.")),(0,a.yg)("li",{parentName:"ul"},(0,a.yg)("p",{parentName:"li"},(0,a.yg)("strong",{parentName:"p"},"Avoid too long names:")," Feature names should be short, concise and easy to read. Long names can make it harder to quickly understand what a feature does."))))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[620],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>d});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},p="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=l(n),f=a,d=p["".concat(c,".").concat(f)]||p[f]||m[f]||i;return n?r.createElement(d,o(o({ref:t},u),{},{components:n})):r.createElement(d,o({ref:t},u))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=f;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[p]="string"==typeof e?e:a,o[1]=s;for(var l=2;l{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>l});var r=n(7462),a=(n(7294),n(3905));const i={sidebar_position:1},o="Naming Features",s={unversionedId:"best-practices/naming-features",id:"best-practices/naming-features",title:"Naming Features",description:"Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features.",source:"@site/docs/best-practices/naming-features.md",sourceDirName:"best-practices",slug:"/best-practices/naming-features",permalink:"/best-practices/naming-features",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"defaultSidebar",previous:{title:"Best Practices",permalink:"/category/best-practices"},next:{title:"Stickiness Attributes",permalink:"/best-practices/stickiness-attributes"}},c={},l=[],u={toc:l};function p(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"naming-features"},"Naming Features"),(0,a.kt)("p",null,"Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features."),(0,a.kt)("p",null,"When naming features take into account:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},"Be descriptive and clear:")," Feature names should clearly and accurately describe what the feature does. Avoid using internal jargon or abbreviations that might not make sense to someone who is not familiar with the project.")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},"Use consistent naming conventions:")," Adopt a consistent naming convention and stick to it. This makes it easier to find and manage features in the future. For example, you could use camelCase, snake_case, or PascalCase.")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},(0,a.kt)("strong",{parentName:"p"},"Avoid too long names:")," Feature names should be short, concise and easy to read. Long names can make it harder to quickly understand what a feature does."))))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0e384e19.2f39097d.js b/assets/js/0e384e19.2f39097d.js new file mode 100644 index 0000000..cec795b --- /dev/null +++ b/assets/js/0e384e19.2f39097d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[671],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>d});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,d=u["".concat(p,".").concat(m)]||u[m]||f[m]||o;return r?n.createElement(d,i(i({ref:t},l),{},{components:r})):n.createElement(d,i({ref:t},l))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=m;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s[u]="string"==typeof e?e:a,i[1]=s;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var n=r(7462),a=(r(7294),r(3905));const o={sidebar_position:1,slug:"/"},i="First Steps",s={unversionedId:"intro",id:"intro",title:"First Steps",description:"Let's discover FeaturIT in less than 5 minutes.",source:"@site/docs/intro.md",sourceDirName:".",slug:"/",permalink:"/",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,slug:"/"},sidebar:"defaultSidebar",next:{title:"The Basics",permalink:"/category/the-basics"}},p={},c=[{value:"Getting Started",id:"getting-started",level:2}],l={toc:c};function u(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"first-steps"},"First Steps"),(0,a.kt)("p",null,"Let's discover ",(0,a.kt)("strong",{parentName:"p"},"FeaturIT in less than 5 minutes"),"."),(0,a.kt)("h2",{id:"getting-started"},"Getting Started"),(0,a.kt)("iframe",{width:"100%",height:"450px",src:"https://www.youtube.com/embed/KPQoL_sNssc",title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:!0}),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Add an ",(0,a.kt)("a",{parentName:"strong",href:"/the-basics/applications"},"application")),": Add an application to FeaturIT platform. This is the application that you want to manage feature flags for. You will need to provide information on the application name."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Create an ",(0,a.kt)("a",{parentName:"strong",href:"//the-basics/environments"},"environment")),": Before creating features, you must create an environment in FeaturIT. An environment is a specific instance of your application, such as a development, staging, or production environment."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Create an ",(0,a.kt)("a",{parentName:"strong",href:"/the-basics/environment-keys"},"environment key")),": Before managing feature flags, you must create an environment keyT. Environment keys are unique identifiers used to control access to an API."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Create a ",(0,a.kt)("a",{parentName:"strong",href:"/the-basics/features"},"feature")),": You can start listing your features. A feature is a new functionality or change you want to enable or disable for your users. Give the feature a descriptive name so you can quickly identify it later."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Install SDK in the platform"),": You can find the available SDKs on ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/featurit"},"GitHub"),"."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Wrap one feature using the SDK"),": Each SDK has specific instructions on adding flags to a feature. For example, check ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/featurit/featurit-sdk-laravel#basic-usage"},"how it is done in Laravel"),"."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Manage ",(0,a.kt)("a",{parentName:"strong",href:"/the-basics/feature-flags"},"feature flags")),": You can enable or disable the feature on the platform by editing the feature flag status."))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0e384e19.4a30c506.js b/assets/js/0e384e19.4a30c506.js deleted file mode 100644 index d7242aa..0000000 --- a/assets/js/0e384e19.4a30c506.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[976],{5680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>y});var n=r(6540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,p=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=c(r),g=a,y=u["".concat(p,".").concat(g)]||u[g]||f[g]||o;return r?n.createElement(y,i(i({ref:t},l),{},{components:r})):n.createElement(y,i({ref:t},l))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=g;var s={};for(var p in t)hasOwnProperty.call(t,p)&&(s[p]=t[p]);s.originalType=e,s[u]="string"==typeof e?e:a,i[1]=s;for(var c=2;c{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>f,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var n=r(8168),a=(r(6540),r(5680));const o={sidebar_position:1,slug:"/"},i="First Steps",s={unversionedId:"intro",id:"intro",title:"First Steps",description:"Let's discover FeaturIT in less than 5 minutes.",source:"@site/docs/intro.md",sourceDirName:".",slug:"/",permalink:"/",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,slug:"/"},sidebar:"defaultSidebar",next:{title:"The Basics",permalink:"/category/the-basics"}},p={},c=[{value:"Getting Started",id:"getting-started",level:2}],l={toc:c},u="wrapper";function f(e){let{components:t,...r}=e;return(0,a.yg)(u,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"first-steps"},"First Steps"),(0,a.yg)("p",null,"Let's discover ",(0,a.yg)("strong",{parentName:"p"},"FeaturIT in less than 5 minutes"),"."),(0,a.yg)("h2",{id:"getting-started"},"Getting Started"),(0,a.yg)("iframe",{width:"100%",height:"450px",src:"https://www.youtube.com/embed/KPQoL_sNssc",title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:!0}),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"Add an ",(0,a.yg)("a",{parentName:"strong",href:"/the-basics/applications"},"application")),": Add an application to FeaturIT platform. This is the application that you want to manage feature flags for. You will need to provide information on the application name."),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"Create an ",(0,a.yg)("a",{parentName:"strong",href:"/the-basics/environments"},"environment")),": Before creating features, you must create an environment in FeaturIT. An environment is a specific instance of your application, such as a development, staging, or production environment."),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"Create an ",(0,a.yg)("a",{parentName:"strong",href:"/the-basics/environment-keys"},"environment key")),": Before managing feature flags, you must create an environment keyT. Environment keys are unique identifiers used to control access to an API."),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"Create a ",(0,a.yg)("a",{parentName:"strong",href:"/the-basics/features"},"feature")),": You can start listing your features. A feature is a new functionality or change you want to enable or disable for your users. Give the feature a descriptive name so you can quickly identify it later."),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"Install SDK in the platform"),": You can find the available SDKs on ",(0,a.yg)("a",{parentName:"p",href:"https://github.com/featurit"},"GitHub"),"."),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"Wrap one feature using the SDK"),": Each SDK has specific instructions on adding flags to a feature. For example, check ",(0,a.yg)("a",{parentName:"p",href:"https://github.com/featurit/featurit-sdk-laravel#basic-usage"},"how it is done in Laravel"),"."),(0,a.yg)("p",null,(0,a.yg)("strong",{parentName:"p"},"Manage ",(0,a.yg)("a",{parentName:"strong",href:"/the-basics/feature-flags"},"feature flags")),": You can enable or disable the feature on the platform by editing the feature flag status."))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/12bc0817.de0e099e.js b/assets/js/12bc0817.ced55dfa.js similarity index 60% rename from assets/js/12bc0817.de0e099e.js rename to assets/js/12bc0817.ced55dfa.js index 52b3760..79eef4b 100644 --- a/assets/js/12bc0817.de0e099e.js +++ b/assets/js/12bc0817.ced55dfa.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[279],{5680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>f});var r=n(6540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),u=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},l=function(e){var t=u(e.components);return r.createElement(c.Provider,{value:t},e.children)},p="mdxType",y={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),p=u(n),m=o,f=p["".concat(c,".").concat(m)]||p[m]||y[m]||i;return n?r.createElement(f,a(a({ref:t},l),{},{components:n})):r.createElement(f,a({ref:t},l))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,a=new Array(i);a[0]=m;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[p]="string"==typeof e?e:o,a[1]=s;for(var u=2;u{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>y,frontMatter:()=>i,metadata:()=>s,toc:()=>u});var r=n(8168),o=(n(6540),n(5680));const i={sidebar_position:3},a="Environment Keys",s={unversionedId:"the-basics/environment-keys",id:"the-basics/environment-keys",title:"Environment Keys",description:"Environment keys are unique identifiers used to control access to an API.",source:"@site/docs/the-basics/environment-keys.md",sourceDirName:"the-basics",slug:"/the-basics/environment-keys",permalink:"/the-basics/environment-keys",draft:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"defaultSidebar",previous:{title:"Environments",permalink:"/the-basics/environments"},next:{title:"Features",permalink:"/the-basics/features"}},c={},u=[],l={toc:u},p="wrapper";function y(e){let{components:t,...n}=e;return(0,o.yg)(p,(0,r.A)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"environment-keys"},"Environment Keys"),(0,o.yg)("p",null,"Environment keys are unique identifiers used to control access to an API."),(0,o.yg)("p",null,"Environment keys are used to distinguish between different environments that interact with the API (e.g. development, staging, production, etc.). Each environment is associated with a specific environment key, and this key is used to control access to the API."),(0,o.yg)("p",null,"You can create as many environment keys as you want for each environment."))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[635],{3905:(e,t,n)=>{n.d(t,{Zo:()=>l,kt:()=>y});var r=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),u=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},l=function(e){var t=u(e.components);return r.createElement(c.Provider,{value:t},e.children)},p="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),p=u(n),f=o,y=p["".concat(c,".").concat(f)]||p[f]||m[f]||i;return n?r.createElement(y,a(a({ref:t},l),{},{components:n})):r.createElement(y,a({ref:t},l))}));function y(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,a=new Array(i);a[0]=f;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[p]="string"==typeof e?e:o,a[1]=s;for(var u=2;u{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>u});var r=n(7462),o=(n(7294),n(3905));const i={sidebar_position:3},a="Environment Keys",s={unversionedId:"the-basics/environment-keys",id:"the-basics/environment-keys",title:"Environment Keys",description:"Environment keys are unique identifiers used to control access to an API.",source:"@site/docs/the-basics/environment-keys.md",sourceDirName:"the-basics",slug:"/the-basics/environment-keys",permalink:"/the-basics/environment-keys",draft:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"defaultSidebar",previous:{title:"Environments",permalink:"/the-basics/environments"},next:{title:"Features",permalink:"/the-basics/features"}},c={},u=[],l={toc:u};function p(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,r.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"environment-keys"},"Environment Keys"),(0,o.kt)("p",null,"Environment keys are unique identifiers used to control access to an API."),(0,o.kt)("p",null,"Environment keys are used to distinguish between different environments that interact with the API (e.g. development, staging, production, etc.). Each environment is associated with a specific environment key, and this key is used to control access to the API."),(0,o.kt)("p",null,"You can create as many environment keys as you want for each environment."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.0876edc5.js b/assets/js/14eb3368.0876edc5.js new file mode 100644 index 0000000..bce18d0 --- /dev/null +++ b/assets/js/14eb3368.0876edc5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[817],{1986:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(7462),r=n(7294),i=n(6010),l=n(5281),s=n(3438),c=n(8596),o=n(9960),m=n(4996),d=n(5999);function u(e){return r.createElement("svg",(0,a.Z)({viewBox:"0 0 24 24"},e),r.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const b={breadcrumbsContainer:"breadcrumbsContainer_Z_bl",breadcrumbHomeIcon:"breadcrumbHomeIcon_OVgt"};function h(e){let{children:t,href:n,isLast:a}=e;const i="breadcrumbs__link";return a?r.createElement("span",{className:i,itemProp:"name"},t):n?r.createElement(o.Z,{className:i,href:n,itemProp:"item"},r.createElement("span",{itemProp:"name"},t)):r.createElement("span",{className:i},t)}function v(e){let{children:t,active:n,index:l,addMicrodata:s}=e;return r.createElement("li",(0,a.Z)({},s&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),t,r.createElement("meta",{itemProp:"position",content:String(l+1)}))}function g(){const e=(0,m.Z)("/");return r.createElement("li",{className:"breadcrumbs__item"},r.createElement(o.Z,{"aria-label":(0,d.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:(0,i.Z)("breadcrumbs__link",b.breadcrumbsItemLink),href:e},r.createElement(u,{className:b.breadcrumbHomeIcon})))}function E(){const e=(0,s.s1)(),t=(0,c.Ns)();return e?r.createElement("nav",{className:(0,i.Z)(l.k.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,d.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},r.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&r.createElement(g,null),e.map(((t,n)=>{const a=n===e.length-1;return r.createElement(v,{key:n,active:a,index:n,addMicrodata:!!t.href},r.createElement(h,{href:t.href,isLast:a},t.label))})))):null}},4228:(e,t,n)=>{n.r(t),n.d(t,{default:()=>C});var a=n(7294),r=n(1944),i=n(3438),l=n(4996),s=n(6010),c=n(9960),o=n(3919),m=n(5999);const d="cardContainer_fWXF",u="cardTitle_rnsV",b="cardDescription_PWke";function h(e){let{href:t,children:n}=e;return a.createElement(c.Z,{href:t,className:(0,s.Z)("card padding--lg",d)},n)}function v(e){let{href:t,icon:n,title:r,description:i}=e;return a.createElement(h,{href:t},a.createElement("h2",{className:(0,s.Z)("text--truncate",u),title:r},n," ",r),i&&a.createElement("p",{className:(0,s.Z)("text--truncate",b),title:i},i))}function g(e){let{item:t}=e;const n=(0,i.Wl)(t);return n?a.createElement(v,{href:n,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:(0,m.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function E(e){let{item:t}=e;const n=(0,o.Z)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",r=(0,i.xz)(t.docId??void 0);return a.createElement(v,{href:t.href,icon:n,title:t.label,description:r?.description})}function p(e){let{item:t}=e;switch(t.type){case"link":return a.createElement(E,{item:t});case"category":return a.createElement(g,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function f(e){let{className:t}=e;const n=(0,i.jA)();return a.createElement(N,{items:n.items,className:t})}function N(e){const{items:t,className:n}=e;if(!t)return a.createElement(f,e);const r=(0,i.MN)(t);return a.createElement("section",{className:(0,s.Z)("row",n)},r.map(((e,t)=>a.createElement("article",{key:t,className:"col col--6 margin-bottom--lg"},a.createElement(p,{item:e})))))}var Z=n(4966),k=n(3120),_=n(4364),L=n(1986),T=n(2503);const y="generatedIndexPage_vN6x",x="list_eTzJ",I="title_kItE";function w(e){let{categoryGeneratedIndex:t}=e;return a.createElement(r.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,l.Z)(t.image)})}function V(e){let{categoryGeneratedIndex:t}=e;const n=(0,i.jA)();return a.createElement("div",{className:y},a.createElement(k.Z,null),a.createElement(L.Z,null),a.createElement(_.Z,null),a.createElement("header",null,a.createElement(T.Z,{as:"h1",className:I},t.title),t.description&&a.createElement("p",null,t.description)),a.createElement("article",{className:"margin-top--lg"},a.createElement(N,{items:n.items,className:x})),a.createElement("footer",{className:"margin-top--lg"},a.createElement(Z.Z,{previous:t.navigation.previous,next:t.navigation.next})))}function C(e){return a.createElement(a.Fragment,null,a.createElement(w,e),a.createElement(V,e))}},4966:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(7462),r=n(7294),i=n(5999),l=n(6010),s=n(9960);function c(e){const{permalink:t,title:n,subLabel:a,isNext:i}=e;return r.createElement(s.Z,{className:(0,l.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},a&&r.createElement("div",{className:"pagination-nav__sublabel"},a),r.createElement("div",{className:"pagination-nav__label"},n))}function o(e){const{previous:t,next:n}=e;return r.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},t&&r.createElement(c,(0,a.Z)({},t,{subLabel:r.createElement(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&r.createElement(c,(0,a.Z)({},n,{subLabel:r.createElement(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},4364:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(7294),r=n(6010),i=n(5999),l=n(5281),s=n(4477);function c(e){let{className:t}=e;const n=(0,s.E)();return n.badge?a.createElement("span",{className:(0,r.Z)(t,l.k.docs.docVersionBadge,"badge badge--secondary")},a.createElement(i.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}},3120:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(7294),r=n(6010),i=n(2263),l=n(9960),s=n(5999),c=n(143),o=n(5281),m=n(373),d=n(4477);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(s.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:n}=e;return a.createElement(s.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:a.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function b(e){const t=u[e.versionMetadata.banner];return a.createElement(t,e)}function h(e){let{versionLabel:t,to:n,onClick:r}=e;return a.createElement(s.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:a.createElement("b",null,a.createElement(l.Z,{to:n,onClick:r},a.createElement(s.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function v(e){let{className:t,versionMetadata:n}=e;const{siteConfig:{title:l}}=(0,i.Z)(),{pluginId:s}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,m.J)(s),{latestDocSuggestion:u,latestVersionSuggestion:v}=(0,c.Jo)(s),g=u??(E=v).docs.find((e=>e.id===E.mainDocId));var E;return a.createElement("div",{className:(0,r.Z)(t,o.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},a.createElement("div",null,a.createElement(b,{siteTitle:l,versionMetadata:n})),a.createElement("div",{className:"margin-top--md"},a.createElement(h,{versionLabel:v.label,to:g.path,onClick:()=>d(v.name)})))}function g(e){let{className:t}=e;const n=(0,d.E)();return n.banner?a.createElement(v,{className:t,versionMetadata:n}):null}},2503:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(7462),r=n(7294),i=n(6010),l=n(5999),s=n(6668);const c="anchorWithStickyNavbar_LWe7",o="anchorWithHideOnScrollNavbar_WYt5";function m(e){let{as:t,id:n,...m}=e;const{navbar:{hideOnScroll:d}}=(0,s.L)();return"h1"!==t&&n?r.createElement(t,(0,a.Z)({},m,{className:(0,i.Z)("anchor",d?o:c),id:n}),m.children,r.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,l.I)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"\u200b")):r.createElement(t,(0,a.Z)({},m,{id:void 0}))}}}]); \ No newline at end of file diff --git a/assets/js/14eb3368.a26c4e0a.js b/assets/js/14eb3368.a26c4e0a.js deleted file mode 100644 index 1b973c3..0000000 --- a/assets/js/14eb3368.a26c4e0a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[969],{7211:(e,t,a)=>{a.d(t,{A:()=>p});var n=a(8168),r=a(6540),i=a(53),l=a(7559),c=a(4142),s=a(9169),o=a(5489),m=a(6025),d=a(1312);function u(e){return r.createElement("svg",(0,n.A)({viewBox:"0 0 24 24"},e),r.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const b={breadcrumbsContainer:"breadcrumbsContainer_Z_bl",breadcrumbHomeIcon:"breadcrumbHomeIcon_OVgt"};function h(e){let{children:t,href:a,isLast:n}=e;const i="breadcrumbs__link";return n?r.createElement("span",{className:i,itemProp:"name"},t):a?r.createElement(o.A,{className:i,href:a,itemProp:"item"},r.createElement("span",{itemProp:"name"},t)):r.createElement("span",{className:i},t)}function v(e){let{children:t,active:a,index:l,addMicrodata:c}=e;return r.createElement("li",(0,n.A)({},c&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,i.A)("breadcrumbs__item",{"breadcrumbs__item--active":a})}),t,r.createElement("meta",{itemProp:"position",content:String(l+1)}))}function g(){const e=(0,m.A)("/");return r.createElement("li",{className:"breadcrumbs__item"},r.createElement(o.A,{"aria-label":(0,d.T)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:(0,i.A)("breadcrumbs__link",b.breadcrumbsItemLink),href:e},r.createElement(u,{className:b.breadcrumbHomeIcon})))}function p(){const e=(0,c.OF)(),t=(0,s.Dt)();return e?r.createElement("nav",{className:(0,i.A)(l.G.docs.docBreadcrumbs,b.breadcrumbsContainer),"aria-label":(0,d.T)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},r.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&r.createElement(g,null),e.map(((t,a)=>{const n=a===e.length-1;return r.createElement(v,{key:a,active:n,index:a,addMicrodata:!!t.href},r.createElement(h,{href:t.href,isLast:n},t.label))})))):null}},4136:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var n=a(6540),r=a(1003),i=a(4142),l=a(6025),c=a(53),s=a(5489),o=a(6654),m=a(1312);const d={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function u(e){let{href:t,children:a}=e;return n.createElement(s.A,{href:t,className:(0,c.A)("card padding--lg",d.cardContainer)},a)}function b(e){let{href:t,icon:a,title:r,description:i}=e;return n.createElement(u,{href:t},n.createElement("h2",{className:(0,c.A)("text--truncate",d.cardTitle),title:r},a," ",r),i&&n.createElement("p",{className:(0,c.A)("text--truncate",d.cardDescription),title:i},i))}function h(e){let{item:t}=e;const a=(0,i._o)(t);return a?n.createElement(b,{href:a,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:(0,m.T)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function v(e){let{item:t}=e;const a=(0,o.A)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",r=(0,i.cC)(t.docId??void 0);return n.createElement(b,{href:t.href,icon:a,title:t.label,description:r?.description})}function g(e){let{item:t}=e;switch(t.type){case"link":return n.createElement(v,{item:t});case"category":return n.createElement(h,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function p(e){let{className:t}=e;const a=(0,i.$S)();return n.createElement(E,{items:a.items,className:t})}function E(e){const{items:t,className:a}=e;if(!t)return n.createElement(p,e);const r=(0,i.d1)(t);return n.createElement("section",{className:(0,c.A)("row",a)},r.map(((e,t)=>n.createElement("article",{key:t,className:"col col--6 margin-bottom--lg"},n.createElement(g,{item:e})))))}var f=a(6929),A=a(1878),N=a(4267),k=a(7211),_=a(1107);const T={generatedIndexPage:"generatedIndexPage_vN6x",list:"list_eTzJ",title:"title_kItE"};function L(e){let{categoryGeneratedIndex:t}=e;return n.createElement(r.be,{title:t.title,description:t.description,keywords:t.keywords,image:(0,l.A)(t.image)})}function y(e){let{categoryGeneratedIndex:t}=e;const a=(0,i.$S)();return n.createElement("div",{className:T.generatedIndexPage},n.createElement(A.A,null),n.createElement(k.A,null),n.createElement(N.A,null),n.createElement("header",null,n.createElement(_.A,{as:"h1",className:T.title},t.title),t.description&&n.createElement("p",null,t.description)),n.createElement("article",{className:"margin-top--lg"},n.createElement(E,{items:a.items,className:T.list})),n.createElement("footer",{className:"margin-top--lg"},n.createElement(f.A,{previous:t.navigation.previous,next:t.navigation.next})))}function x(e){return n.createElement(n.Fragment,null,n.createElement(L,e),n.createElement(y,e))}},6929:(e,t,a)=>{a.d(t,{A:()=>o});var n=a(8168),r=a(6540),i=a(1312),l=a(53),c=a(5489);function s(e){const{permalink:t,title:a,subLabel:n,isNext:i}=e;return r.createElement(c.A,{className:(0,l.A)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},n&&r.createElement("div",{className:"pagination-nav__sublabel"},n),r.createElement("div",{className:"pagination-nav__label"},a))}function o(e){const{previous:t,next:a}=e;return r.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},t&&r.createElement(s,(0,n.A)({},t,{subLabel:r.createElement(i.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),a&&r.createElement(s,(0,n.A)({},a,{subLabel:r.createElement(i.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},4267:(e,t,a)=>{a.d(t,{A:()=>s});var n=a(6540),r=a(53),i=a(1312),l=a(7559),c=a(2252);function s(e){let{className:t}=e;const a=(0,c.r)();return a.badge?n.createElement("span",{className:(0,r.A)(t,l.G.docs.docVersionBadge,"badge badge--secondary")},n.createElement(i.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:a.label}},"Version: {versionLabel}")):null}},1878:(e,t,a)=>{a.d(t,{A:()=>g});var n=a(6540),r=a(53),i=a(4586),l=a(5489),c=a(1312),s=a(4070),o=a(7559),m=a(5597),d=a(2252);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:a}=e;return n.createElement(c.A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:a}=e;return n.createElement(c.A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function b(e){const t=u[e.versionMetadata.banner];return n.createElement(t,e)}function h(e){let{versionLabel:t,to:a,onClick:r}=e;return n.createElement(c.A,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:n.createElement("b",null,n.createElement(l.A,{to:a,onClick:r},n.createElement(c.A,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function v(e){let{className:t,versionMetadata:a}=e;const{siteConfig:{title:l}}=(0,i.A)(),{pluginId:c}=(0,s.vT)({failfast:!0}),{savePreferredVersionName:d}=(0,m.g1)(c),{latestDocSuggestion:u,latestVersionSuggestion:v}=(0,s.HW)(c),g=u??(p=v).docs.find((e=>e.id===p.mainDocId));var p;return n.createElement("div",{className:(0,r.A)(t,o.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},n.createElement("div",null,n.createElement(b,{siteTitle:l,versionMetadata:a})),n.createElement("div",{className:"margin-top--md"},n.createElement(h,{versionLabel:v.label,to:g.path,onClick:()=>d(v.name)})))}function g(e){let{className:t}=e;const a=(0,d.r)();return a.banner?n.createElement(v,{className:t,versionMetadata:a}):null}},1107:(e,t,a)=>{a.d(t,{A:()=>o});var n=a(8168),r=a(6540),i=a(53),l=a(1312),c=a(6342);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function o(e){let{as:t,id:a,...o}=e;const{navbar:{hideOnScroll:m}}=(0,c.p)();return"h1"!==t&&a?r.createElement(t,(0,n.A)({},o,{className:(0,i.A)("anchor",m?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar),id:a}),o.children,r.createElement("a",{className:"hash-link",href:`#${a}`,title:(0,l.T)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"\u200b")):r.createElement(t,(0,n.A)({},o,{id:void 0}))}}}]); \ No newline at end of file diff --git a/assets/js/17896441.6d45ca3a.js b/assets/js/17896441.6d45ca3a.js new file mode 100644 index 0000000..dd08a0d --- /dev/null +++ b/assets/js/17896441.6d45ca3a.js @@ -0,0 +1,2 @@ +/*! For license information please see 17896441.6d45ca3a.js.LICENSE.txt */ +(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[918],{3905:(t,e,n)=>{"use strict";n.d(e,{Zo:()=>h,kt:()=>f});var r=n(7294);function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var l=r.createContext({}),c=function(t){var e=r.useContext(l),n=e;return t&&(n="function"==typeof t?t(e):s(s({},e),t)),n},h=function(t){var e=c(t.components);return r.createElement(l.Provider,{value:e},t.children)},u="mdxType",d={inlineCode:"code",wrapper:function(t){var e=t.children;return r.createElement(r.Fragment,{},e)}},p=r.forwardRef((function(t,e){var n=t.components,i=t.mdxType,a=t.originalType,l=t.parentName,h=o(t,["components","mdxType","originalType","parentName"]),u=c(n),p=i,f=u["".concat(l,".").concat(p)]||u[p]||d[p]||a;return n?r.createElement(f,s(s({ref:e},h),{},{components:n})):r.createElement(f,s({ref:e},h))}));function f(t,e){var n=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var a=n.length,s=new Array(a);s[0]=p;var o={};for(var l in e)hasOwnProperty.call(e,l)&&(o[l]=e[l]);o.originalType=t,o[u]="string"==typeof t?t:i,s[1]=o;for(var c=2;c{"use strict";n.d(e,{Z:()=>m});var r=n(7462),i=n(7294),a=n(6010),s=n(5281),o=n(3438),l=n(8596),c=n(9960),h=n(4996),u=n(5999);function d(t){return i.createElement("svg",(0,r.Z)({viewBox:"0 0 24 24"},t),i.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const p={breadcrumbsContainer:"breadcrumbsContainer_Z_bl",breadcrumbHomeIcon:"breadcrumbHomeIcon_OVgt"};function f(t){let{children:e,href:n,isLast:r}=t;const a="breadcrumbs__link";return r?i.createElement("span",{className:a,itemProp:"name"},e):n?i.createElement(c.Z,{className:a,href:n,itemProp:"item"},i.createElement("span",{itemProp:"name"},e)):i.createElement("span",{className:a},e)}function g(t){let{children:e,active:n,index:s,addMicrodata:o}=t;return i.createElement("li",(0,r.Z)({},o&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,a.Z)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),e,i.createElement("meta",{itemProp:"position",content:String(s+1)}))}function y(){const t=(0,h.Z)("/");return i.createElement("li",{className:"breadcrumbs__item"},i.createElement(c.Z,{"aria-label":(0,u.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:(0,a.Z)("breadcrumbs__link",p.breadcrumbsItemLink),href:t},i.createElement(d,{className:p.breadcrumbHomeIcon})))}function m(){const t=(0,o.s1)(),e=(0,l.Ns)();return t?i.createElement("nav",{className:(0,a.Z)(s.k.docs.docBreadcrumbs,p.breadcrumbsContainer),"aria-label":(0,u.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},i.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},e&&i.createElement(y,null),t.map(((e,n)=>{const r=n===t.length-1;return i.createElement(g,{key:n,active:r,index:n,addMicrodata:!!e.href},i.createElement(f,{href:e.href,isLast:r},e.label))})))):null}},3958:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>ve});var r=n(7294),i=n(1944),a=n(902);const s=r.createContext(null);function o(t){let{children:e,content:n}=t;const i=function(t){return(0,r.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc})),[t])}(n);return r.createElement(s.Provider,{value:i},e)}function l(){const t=(0,r.useContext)(s);if(null===t)throw new a.i6("DocProvider");return t}function c(){const{metadata:t,frontMatter:e,assets:n}=l();return r.createElement(i.d,{title:t.title,description:t.description,keywords:e.keywords,image:n.image??e.image})}var h=n(6010),u=n(7524),d=n(4966);function p(){const{metadata:t}=l();return r.createElement(d.Z,{previous:t.previous,next:t.next})}var f=n(3120),g=n(4364),y=n(5281),m=n(5999);function b(t){let{lastUpdatedAt:e,formattedLastUpdatedAt:n}=t;return r.createElement(m.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:r.createElement("b",null,r.createElement("time",{dateTime:new Date(1e3*e).toISOString()},n))}}," on {date}")}function _(t){let{lastUpdatedBy:e}=t;return r.createElement(m.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:r.createElement("b",null,e)}}," by {user}")}function v(t){let{lastUpdatedAt:e,formattedLastUpdatedAt:n,lastUpdatedBy:i}=t;return r.createElement("span",{className:y.k.common.lastUpdated},r.createElement(m.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e&&n?r.createElement(b,{lastUpdatedAt:e,formattedLastUpdatedAt:n}):"",byUser:i?r.createElement(_,{lastUpdatedBy:i}):""}},"Last updated{atDate}{byUser}"),!1)}var x=n(7462);const k="iconEdit_Z9Sw";function w(t){let{className:e,...n}=t;return r.createElement("svg",(0,x.Z)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,h.Z)(k,e),"aria-hidden":"true"},n),r.createElement("g",null,r.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function T(t){let{editUrl:e}=t;return r.createElement("a",{href:e,target:"_blank",rel:"noreferrer noopener",className:y.k.common.editThisPage},r.createElement(w,null),r.createElement(m.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}var E=n(9960);const C="tag_zVej",S="tagRegular_sFm0",A="tagWithCount_h2kH";function L(t){let{permalink:e,label:n,count:i}=t;return r.createElement(E.Z,{href:e,className:(0,h.Z)(C,i?A:S)},n,i&&r.createElement("span",null,i))}const N="tags_jXut",D="tag_QGVx";function O(t){let{tags:e}=t;return r.createElement(r.Fragment,null,r.createElement("b",null,r.createElement(m.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),r.createElement("ul",{className:(0,h.Z)(N,"padding--none","margin-left--sm")},e.map((t=>{let{label:e,permalink:n}=t;return r.createElement("li",{key:n,className:D},r.createElement(L,{label:e,permalink:n}))}))))}const M="lastUpdated_vwxv";function B(t){return r.createElement("div",{className:(0,h.Z)(y.k.docs.docFooterTagsRow,"row margin-bottom--sm")},r.createElement("div",{className:"col"},r.createElement(O,t)))}function I(t){let{editUrl:e,lastUpdatedAt:n,lastUpdatedBy:i,formattedLastUpdatedAt:a}=t;return r.createElement("div",{className:(0,h.Z)(y.k.docs.docFooterEditMetaRow,"row")},r.createElement("div",{className:"col"},e&&r.createElement(T,{editUrl:e})),r.createElement("div",{className:(0,h.Z)("col",M)},(n||i)&&r.createElement(v,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:i})))}function F(){const{metadata:t}=l(),{editUrl:e,lastUpdatedAt:n,formattedLastUpdatedAt:i,lastUpdatedBy:a,tags:s}=t,o=s.length>0,c=!!(e||n||a);return o||c?r.createElement("footer",{className:(0,h.Z)(y.k.docs.docFooter,"docusaurus-mt-lg")},o&&r.createElement(B,{tags:s}),c&&r.createElement(I,{editUrl:e,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:i})):null}var R=n(6043),$=n(6668);function P(t){const e=t.map((t=>({...t,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);e.forEach(((t,e)=>{const r=n.slice(2,t.level);t.parentIndex=Math.max(...r),n[t.level]=e}));const r=[];return e.forEach((t=>{const{parentIndex:n,...i}=t;n>=0?e[n].children.push(i):r.push(i)})),r}function j(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:r}=t;return e.flatMap((t=>{const e=j({toc:t.children,minHeadingLevel:n,maxHeadingLevel:r});return function(t){return t.level>=n&&t.level<=r}(t)?[{...t,children:e}]:e}))}function Y(t){const e=t.getBoundingClientRect();return e.top===e.bottom?Y(t.parentNode):e}function z(t,e){let{anchorTopOffset:n}=e;const r=t.find((t=>Y(t).top>=n));if(r){return function(t){return t.top>0&&t.bottom{t.current=e?0:document.querySelector(".navbar").clientHeight}),[e]),t}function W(t){const e=(0,r.useRef)(void 0),n=U();(0,r.useEffect)((()=>{if(!t)return()=>{};const{linkClassName:r,linkActiveClassName:i,minHeadingLevel:a,maxHeadingLevel:s}=t;function o(){const t=function(t){return Array.from(document.getElementsByClassName(t))}(r),o=function(t){let{minHeadingLevel:e,maxHeadingLevel:n}=t;const r=[];for(let i=e;i<=n;i+=1)r.push(`h${i}.anchor`);return Array.from(document.querySelectorAll(r.join()))}({minHeadingLevel:a,maxHeadingLevel:s}),l=z(o,{anchorTopOffset:n.current}),c=t.find((t=>l&&l.id===function(t){return decodeURIComponent(t.href.substring(t.href.indexOf("#")+1))}(t)));t.forEach((t=>{!function(t,n){n?(e.current&&e.current!==t&&e.current.classList.remove(i),t.classList.add(i),e.current=t):t.classList.remove(i)}(t,t===c)}))}return document.addEventListener("scroll",o),document.addEventListener("resize",o),o(),()=>{document.removeEventListener("scroll",o),document.removeEventListener("resize",o)}}),[t,n])}function H(t){let{toc:e,className:n,linkClassName:i,isChild:a}=t;return e.length?r.createElement("ul",{className:a?void 0:n},e.map((t=>r.createElement("li",{key:t.id},r.createElement("a",{href:`#${t.id}`,className:i??void 0,dangerouslySetInnerHTML:{__html:t.value}}),r.createElement(H,{isChild:!0,toc:t.children,className:n,linkClassName:i}))))):null}const q=r.memo(H);function V(t){let{toc:e,className:n="table-of-contents table-of-contents__left-border",linkClassName:i="table-of-contents__link",linkActiveClassName:a,minHeadingLevel:s,maxHeadingLevel:o,...l}=t;const c=(0,$.L)(),h=s??c.tableOfContents.minHeadingLevel,u=o??c.tableOfContents.maxHeadingLevel,d=function(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:i}=t;return(0,r.useMemo)((()=>j({toc:P(e),minHeadingLevel:n,maxHeadingLevel:i})),[e,n,i])}({toc:e,minHeadingLevel:h,maxHeadingLevel:u});return W((0,r.useMemo)((()=>{if(i&&a)return{linkClassName:i,linkActiveClassName:a,minHeadingLevel:h,maxHeadingLevel:u}}),[i,a,h,u])),r.createElement(q,(0,x.Z)({toc:d,className:n,linkClassName:i},l))}const G="tocCollapsibleButton_TO0P",Z="tocCollapsibleButtonExpanded_MG3E";function X(t){let{collapsed:e,...n}=t;return r.createElement("button",(0,x.Z)({type:"button"},n,{className:(0,h.Z)("clean-btn",G,!e&&Z,n.className)}),r.createElement(m.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component"},"On this page"))}const Q="tocCollapsible_ETCw",K="tocCollapsibleContent_vkbj",J="tocCollapsibleExpanded_sAul";function tt(t){let{toc:e,className:n,minHeadingLevel:i,maxHeadingLevel:a}=t;const{collapsed:s,toggleCollapsed:o}=(0,R.u)({initialState:!0});return r.createElement("div",{className:(0,h.Z)(Q,!s&&J,n)},r.createElement(X,{collapsed:s,onClick:o}),r.createElement(R.z,{lazy:!0,className:K,collapsed:s},r.createElement(V,{toc:e,minHeadingLevel:i,maxHeadingLevel:a})))}const et="tocMobile_ITEo";function nt(){const{toc:t,frontMatter:e}=l();return r.createElement(tt,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:(0,h.Z)(y.k.docs.docTocMobile,et)})}const rt="tableOfContents_bqdL";function it(t){let{className:e,...n}=t;return r.createElement("div",{className:(0,h.Z)(rt,"thin-scrollbar",e)},r.createElement(V,(0,x.Z)({},n,{linkClassName:"table-of-contents__link toc-highlight",linkActiveClassName:"table-of-contents__link--active"})))}function at(){const{toc:t,frontMatter:e}=l();return r.createElement(it,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:y.k.docs.docTocDesktop})}var st=n(2503),ot=n(3905),lt=n(5742);var ct=n(2389),ht=n(6412),ut=n(7594),dt=n.n(ut);const pt=/title=(?["'])(?.*?)\1/,ft=/\{(?<range>[\d,-]+)\}/,gt={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}};function yt(t,e){const n=t.map((t=>{const{start:n,end:r}=gt[t];return`(?:${n}\\s*(${e.flatMap((t=>[t.line,t.block?.start,t.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function mt(t,e){let n=t.replace(/\n$/,"");const{language:r,magicComments:i,metastring:a}=e;if(a&&ft.test(a)){const t=a.match(ft).groups.range;if(0===i.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const e=i[0].className,r=dt()(t).filter((t=>t>0)).map((t=>[t-1,[e]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(t,e){switch(t){case"js":case"javascript":case"ts":case"typescript":return yt(["js","jsBlock"],e);case"jsx":case"tsx":return yt(["js","jsBlock","jsx"],e);case"html":return yt(["js","jsBlock","html"],e);case"python":case"py":case"bash":return yt(["bash"],e);case"markdown":case"md":return yt(["html","jsx","bash"],e);default:return yt(Object.keys(gt),e)}}(r,i),o=n.split("\n"),l=Object.fromEntries(i.map((t=>[t.className,{start:0,range:""}]))),c=Object.fromEntries(i.filter((t=>t.line)).map((t=>{let{className:e,line:n}=t;return[n,e]}))),h=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.start,e]}))),u=Object.fromEntries(i.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.end,e]})));for(let p=0;p<o.length;){const t=o[p].match(s);if(!t){p+=1;continue}const e=t.slice(1).find((t=>void 0!==t));c[e]?l[c[e]].range+=`${p},`:h[e]?l[h[e]].start=p:u[e]&&(l[u[e]].range+=`${l[u[e]].start}-${p-1},`),o.splice(p,1)}n=o.join("\n");const d={};return Object.entries(l).forEach((t=>{let[e,{range:n}]=t;dt()(n).forEach((t=>{d[t]??=[],d[t].push(e)}))})),{lineClassNames:d,code:n}}const bt="codeBlockContainer_Ckt0";function _t(t){let{as:e,...n}=t;const i=function(t){const e={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(t.plain).forEach((t=>{let[r,i]=t;const a=e[r];a&&"string"==typeof i&&(n[a]=i)})),n}((0,ht.p)());return r.createElement(e,(0,x.Z)({},n,{style:i,className:(0,h.Z)(n.className,bt,y.k.common.codeBlock)}))}const vt={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function xt(t){let{children:e,className:n}=t;return r.createElement(_t,{as:"pre",tabIndex:0,className:(0,h.Z)(vt.codeBlockStandalone,"thin-scrollbar",n)},r.createElement("code",{className:vt.codeBlockLines},e))}const kt={attributes:!0,characterData:!0,childList:!0,subtree:!0};function wt(t,e){const[n,i]=(0,r.useState)(),s=(0,r.useCallback)((()=>{i(t.current?.closest("[role=tabpanel][hidden]"))}),[t,i]);(0,r.useEffect)((()=>{s()}),[s]),function(t,e,n){void 0===n&&(n=kt);const i=(0,a.zX)(e),s=(0,a.Ql)(n);(0,r.useEffect)((()=>{const e=new MutationObserver(i);return t&&e.observe(t,s),()=>e.disconnect()}),[t,i,s])}(n,(t=>{t.forEach((t=>{"attributes"===t.type&&"hidden"===t.attributeName&&(e(),s())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}const Tt={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var Et={Prism:n(7410).Z,theme:Tt};function Ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function St(){return St=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},St.apply(this,arguments)}var At=/\r\n|\r|\n/,Lt=function(t){0===t.length?t.push({types:["plain"],content:"\n",empty:!0}):1===t.length&&""===t[0].content&&(t[0].content="\n",t[0].empty=!0)},Nt=function(t,e){var n=t.length;return n>0&&t[n-1]===e?t:t.concat(e)},Dt=function(t,e){var n=t.plain,r=Object.create(null),i=t.styles.reduce((function(t,n){var r=n.languages,i=n.style;return r&&!r.includes(e)||n.types.forEach((function(e){var n=St({},t[e],i);t[e]=n})),t}),r);return i.root=n,i.plain=St({},n,{backgroundColor:null}),i};function Ot(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&-1===e.indexOf(r)&&(n[r]=t[r]);return n}const Mt=function(t){function e(){for(var e=this,n=[],r=arguments.length;r--;)n[r]=arguments[r];t.apply(this,n),Ct(this,"getThemeDict",(function(t){if(void 0!==e.themeDict&&t.theme===e.prevTheme&&t.language===e.prevLanguage)return e.themeDict;e.prevTheme=t.theme,e.prevLanguage=t.language;var n=t.theme?Dt(t.theme,t.language):void 0;return e.themeDict=n})),Ct(this,"getLineProps",(function(t){var n=t.key,r=t.className,i=t.style,a=St({},Ot(t,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),s=e.getThemeDict(e.props);return void 0!==s&&(a.style=s.plain),void 0!==i&&(a.style=void 0!==a.style?St({},a.style,i):i),void 0!==n&&(a.key=n),r&&(a.className+=" "+r),a})),Ct(this,"getStyleForToken",(function(t){var n=t.types,r=t.empty,i=n.length,a=e.getThemeDict(e.props);if(void 0!==a){if(1===i&&"plain"===n[0])return r?{display:"inline-block"}:void 0;if(1===i&&!r)return a[n[0]];var s=r?{display:"inline-block"}:{},o=n.map((function(t){return a[t]}));return Object.assign.apply(Object,[s].concat(o))}})),Ct(this,"getTokenProps",(function(t){var n=t.key,r=t.className,i=t.style,a=t.token,s=St({},Ot(t,["key","className","style","token"]),{className:"token "+a.types.join(" "),children:a.content,style:e.getStyleForToken(a),key:void 0});return void 0!==i&&(s.style=void 0!==s.style?St({},s.style,i):i),void 0!==n&&(s.key=n),r&&(s.className+=" "+r),s})),Ct(this,"tokenize",(function(t,e,n,r){var i={code:e,grammar:n,language:r,tokens:[]};t.hooks.run("before-tokenize",i);var a=i.tokens=t.tokenize(i.code,i.grammar,i.language);return t.hooks.run("after-tokenize",i),a}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.props,e=t.Prism,n=t.language,r=t.code,i=t.children,a=this.getThemeDict(this.props),s=e.languages[n];return i({tokens:function(t){for(var e=[[]],n=[t],r=[0],i=[t.length],a=0,s=0,o=[],l=[o];s>-1;){for(;(a=r[s]++)<i[s];){var c=void 0,h=e[s],u=n[s][a];if("string"==typeof u?(h=s>0?h:["plain"],c=u):(h=Nt(h,u.type),u.alias&&(h=Nt(h,u.alias)),c=u.content),"string"==typeof c){var d=c.split(At),p=d.length;o.push({types:h,content:d[0]});for(var f=1;f<p;f++)Lt(o),l.push(o=[]),o.push({types:h,content:d[f]})}else s++,e.push(h),n.push(c),r.push(0),i.push(c.length)}s--,e.pop(),n.pop(),r.pop(),i.pop()}return Lt(o),l}(void 0!==s?this.tokenize(e,r,s,n):[r]),className:"prism-code language-"+n,style:void 0!==a?a.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},e}(r.Component),Bt="codeLine_lJS_",It="codeLineNumber_Tfdd",Ft="codeLineContent_feaV";function Rt(t){let{line:e,classNames:n,showLineNumbers:i,getLineProps:a,getTokenProps:s}=t;1===e.length&&"\n"===e[0].content&&(e[0].content="");const o=a({line:e,className:(0,h.Z)(n,i&&Bt)}),l=e.map(((t,e)=>r.createElement("span",(0,x.Z)({key:e},s({token:t,key:e})))));return r.createElement("span",o,i?r.createElement(r.Fragment,null,r.createElement("span",{className:It}),r.createElement("span",{className:Ft},l)):l,r.createElement("br",null))}const $t={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function Pt(t){let{code:e,className:n}=t;const[i,a]=(0,r.useState)(!1),s=(0,r.useRef)(void 0),o=(0,r.useCallback)((()=>{!function(t,e){let{target:n=document.body}=void 0===e?{}:e;const r=document.createElement("textarea"),i=document.activeElement;r.value=t,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const a=document.getSelection();let s=!1;a.rangeCount>0&&(s=a.getRangeAt(0)),n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=t.length;let o=!1;try{o=document.execCommand("copy")}catch{}r.remove(),s&&(a.removeAllRanges(),a.addRange(s)),i&&i.focus()}(e),a(!0),s.current=window.setTimeout((()=>{a(!1)}),1e3)}),[e]);return(0,r.useEffect)((()=>()=>window.clearTimeout(s.current)),[]),r.createElement("button",{type:"button","aria-label":i?(0,m.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,m.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,m.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,h.Z)("clean-btn",n,$t.copyButton,i&&$t.copyButtonCopied),onClick:o},r.createElement("span",{className:$t.copyButtonIcons,"aria-hidden":"true"},r.createElement("svg",{className:$t.copyButtonIcon,viewBox:"0 0 24 24"},r.createElement("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})),r.createElement("svg",{className:$t.copyButtonSuccessIcon,viewBox:"0 0 24 24"},r.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))}const jt="wordWrapButtonIcon_Bwma",Yt="wordWrapButtonEnabled_EoeP";function zt(t){let{className:e,onClick:n,isEnabled:i}=t;const a=(0,m.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return r.createElement("button",{type:"button",onClick:n,className:(0,h.Z)("clean-btn",e,i&&Yt),"aria-label":a,title:a},r.createElement("svg",{className:jt,viewBox:"0 0 24 24","aria-hidden":"true"},r.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})))}function Ut(t){let{children:e,className:n="",metastring:i,title:a,showLineNumbers:s,language:o}=t;const{prism:{defaultLanguage:l,magicComments:c}}=(0,$.L)(),u=o??n.split(" ").find((t=>t.startsWith("language-")))?.replace(/language-/,"")??l;const d=(0,ht.p)(),p=function(){const[t,e]=(0,r.useState)(!1),[n,i]=(0,r.useState)(!1),a=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=a.current.querySelector("code");t?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),e((t=>!t))}),[a,t]),o=(0,r.useCallback)((()=>{const{scrollWidth:t,clientWidth:e}=a.current,n=t>e||a.current.querySelector("code").hasAttribute("style");i(n)}),[a]);return wt(a,o),(0,r.useEffect)((()=>{o()}),[t,o]),(0,r.useEffect)((()=>(window.addEventListener("resize",o,{passive:!0}),()=>{window.removeEventListener("resize",o)})),[o]),{codeBlockRef:a,isEnabled:t,isCodeScrollable:n,toggle:s}}(),f=function(t){return t?.match(pt)?.groups.title??""}(i)||a,{lineClassNames:g,code:y}=mt(e,{metastring:i,language:u,magicComments:c}),m=s??function(t){return Boolean(t?.includes("showLineNumbers"))}(i);return r.createElement(_t,{as:"div",className:(0,h.Z)(n,u&&!n.includes(`language-${u}`)&&`language-${u}`)},f&&r.createElement("div",{className:vt.codeBlockTitle},f),r.createElement("div",{className:vt.codeBlockContent},r.createElement(Mt,(0,x.Z)({},Et,{theme:d,code:y,language:u??"text"}),(t=>{let{className:e,tokens:n,getLineProps:i,getTokenProps:a}=t;return r.createElement("pre",{tabIndex:0,ref:p.codeBlockRef,className:(0,h.Z)(e,vt.codeBlock,"thin-scrollbar")},r.createElement("code",{className:(0,h.Z)(vt.codeBlockLines,m&&vt.codeBlockLinesWithNumbering)},n.map(((t,e)=>r.createElement(Rt,{key:e,line:t,getLineProps:i,getTokenProps:a,classNames:g[e],showLineNumbers:m})))))})),r.createElement("div",{className:vt.buttonGroup},(p.isEnabled||p.isCodeScrollable)&&r.createElement(zt,{className:vt.codeButton,onClick:()=>p.toggle(),isEnabled:p.isEnabled}),r.createElement(Pt,{className:vt.codeButton,code:y}))))}function Wt(t){let{children:e,...n}=t;const i=(0,ct.Z)(),a=function(t){return r.Children.toArray(t).some((t=>(0,r.isValidElement)(t)))?t:Array.isArray(t)?t.join(""):t}(e),s="string"==typeof a?Ut:xt;return r.createElement(s,(0,x.Z)({key:String(i)},n),a)}const Ht="details_lb9f",qt="isBrowser_bmU9",Vt="collapsibleContent_i85q";function Gt(t){return!!t&&("SUMMARY"===t.tagName||Gt(t.parentElement))}function Zt(t,e){return!!t&&(t===e||Zt(t.parentElement,e))}function Xt(t){let{summary:e,children:n,...i}=t;const a=(0,ct.Z)(),s=(0,r.useRef)(null),{collapsed:o,setCollapsed:l}=(0,R.u)({initialState:!i.open}),[c,u]=(0,r.useState)(i.open);return r.createElement("details",(0,x.Z)({},i,{ref:s,open:c,"data-collapsed":o,className:(0,h.Z)(Ht,a&&qt,i.className),onMouseDown:t=>{Gt(t.target)&&t.detail>1&&t.preventDefault()},onClick:t=>{t.stopPropagation();const e=t.target;Gt(e)&&Zt(e,s.current)&&(t.preventDefault(),o?(l(!1),u(!0)):l(!0))}}),e??r.createElement("summary",null,"Details"),r.createElement(R.z,{lazy:!1,collapsed:o,disableSSRStyle:!0,onCollapseTransitionEnd:t=>{l(t),u(!t)}},r.createElement("div",{className:Vt},n)))}const Qt="details_b_Ee";function Kt(t){let{...e}=t;return r.createElement(Xt,(0,x.Z)({},e,{className:(0,h.Z)("alert alert--info",Qt,e.className)}))}function Jt(t){return r.createElement(st.Z,t)}const te="containsTaskList_mC6p";const ee="img_ev3q";const ne="admonition_LlT9",re="admonitionHeading_tbUL",ie="admonitionIcon_kALy",ae="admonitionContent_S0QG";const se={note:{infimaClassName:"secondary",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:r.createElement(m.Z,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 12 16"},r.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:r.createElement(m.Z,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 12 16"},r.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:r.createElement(m.Z,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:r.createElement(m.Z,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return r.createElement("svg",{viewBox:"0 0 16 16"},r.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:r.createElement(m.Z,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},oe={secondary:"note",important:"info",success:"tip",warning:"danger"};function le(t){const{mdxAdmonitionTitle:e,rest:n}=function(t){const e=r.Children.toArray(t),n=e.find((t=>r.isValidElement(t)&&"mdxAdmonitionTitle"===t.props?.mdxType)),i=r.createElement(r.Fragment,null,e.filter((t=>t!==n)));return{mdxAdmonitionTitle:n,rest:i}}(t.children);return{...t,title:t.title??e,children:n}}function ce(t){let{children:e,fallback:n}=t;return(0,ct.Z)()?r.createElement(r.Fragment,null,e?.()):n??null}var he=n(5357);const ue="container_lyt7";function de(t){let{value:e}=t;const n=(0,he.pv)(e);return r.createElement("div",{className:`${he.ZE} ${ue}`,dangerouslySetInnerHTML:{__html:n}})}const pe={head:function(t){const e=r.Children.map(t.children,(t=>r.isValidElement(t)?function(t){if(t.props?.mdxType&&t.props.originalType){const{mdxType:e,originalType:n,...i}=t.props;return r.createElement(t.props.originalType,i)}return t}(t):t));return r.createElement(lt.Z,t,e)},code:function(t){const e=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return r.Children.toArray(t.children).every((t=>"string"==typeof t&&!t.includes("\n")||(0,r.isValidElement)(t)&&e.includes(t.props?.mdxType)))?r.createElement("code",t):r.createElement(Wt,t)},a:function(t){return r.createElement(E.Z,t)},pre:function(t){return r.createElement(Wt,(0,r.isValidElement)(t.children)&&"code"===t.children.props?.originalType?t.children.props:{...t})},details:function(t){const e=r.Children.toArray(t.children),n=e.find((t=>r.isValidElement(t)&&"summary"===t.props?.mdxType)),i=r.createElement(r.Fragment,null,e.filter((t=>t!==n)));return r.createElement(Kt,(0,x.Z)({},t,{summary:n}),i)},ul:function(t){return r.createElement("ul",(0,x.Z)({},t,{className:(e=t.className,(0,h.Z)(e,e?.includes("contains-task-list")&&te))}));var e},img:function(t){return r.createElement("img",(0,x.Z)({loading:"lazy"},t,{className:(e=t.className,(0,h.Z)(e,ee))}));var e},h1:t=>r.createElement(Jt,(0,x.Z)({as:"h1"},t)),h2:t=>r.createElement(Jt,(0,x.Z)({as:"h2"},t)),h3:t=>r.createElement(Jt,(0,x.Z)({as:"h3"},t)),h4:t=>r.createElement(Jt,(0,x.Z)({as:"h4"},t)),h5:t=>r.createElement(Jt,(0,x.Z)({as:"h5"},t)),h6:t=>r.createElement(Jt,(0,x.Z)({as:"h6"},t)),admonition:function(t){const{children:e,type:n,title:i,icon:a}=le(t),s=function(t){const e=oe[t]??t,n=se[e];return n||(console.warn(`No admonition config found for admonition type "${e}". Using Info as fallback.`),se.info)}(n),o=i??s.label,{iconComponent:l}=s,c=a??r.createElement(l,null);return r.createElement("div",{className:(0,h.Z)(y.k.common.admonition,y.k.common.admonitionType(t.type),"alert",`alert--${s.infimaClassName}`,ne)},r.createElement("div",{className:re},r.createElement("span",{className:ie},c),o),r.createElement("div",{className:ae},e))},mermaid:function(t){return r.createElement(ce,null,(()=>r.createElement(de,t)))}};function fe(t){let{children:e}=t;return r.createElement(ot.Zo,{components:pe},e)}function ge(t){let{children:e}=t;const n=function(){const{metadata:t,frontMatter:e,contentTitle:n}=l();return e.hide_title||void 0!==n?null:t.title}();return r.createElement("div",{className:(0,h.Z)(y.k.docs.docMarkdown,"markdown")},n&&r.createElement("header",null,r.createElement(st.Z,{as:"h1"},n)),r.createElement(fe,null,e))}var ye=n(1986);const me="docItemContainer_Djhp",be="docItemCol_VOVn";function _e(t){let{children:e}=t;const n=function(){const{frontMatter:t,toc:e}=l(),n=(0,u.i)(),i=t.hide_table_of_contents,a=!i&&e.length>0;return{hidden:i,mobile:a?r.createElement(nt,null):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:r.createElement(at,null)}}();return r.createElement("div",{className:"row"},r.createElement("div",{className:(0,h.Z)("col",!n.hidden&&be)},r.createElement(f.Z,null),r.createElement("div",{className:me},r.createElement("article",null,r.createElement(ye.Z,null),r.createElement(g.Z,null),n.mobile,r.createElement(ge,null,e),r.createElement(F,null)),r.createElement(p,null))),n.desktop&&r.createElement("div",{className:"col col--3"},n.desktop))}function ve(t){const e=`docs-doc-id-${t.content.metadata.unversionedId}`,n=t.content;return r.createElement(o,{content:t.content},r.createElement(i.FG,{className:e},r.createElement(c,null),r.createElement(_e,null,r.createElement(n,null))))}},4966:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var r=n(7462),i=n(7294),a=n(5999),s=n(6010),o=n(9960);function l(t){const{permalink:e,title:n,subLabel:r,isNext:a}=t;return i.createElement(o.Z,{className:(0,s.Z)("pagination-nav__link",a?"pagination-nav__link--next":"pagination-nav__link--prev"),to:e},r&&i.createElement("div",{className:"pagination-nav__sublabel"},r),i.createElement("div",{className:"pagination-nav__label"},n))}function c(t){const{previous:e,next:n}=t;return i.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,a.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},e&&i.createElement(l,(0,r.Z)({},e,{subLabel:i.createElement(a.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&i.createElement(l,(0,r.Z)({},n,{subLabel:i.createElement(a.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},4364:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var r=n(7294),i=n(6010),a=n(5999),s=n(5281),o=n(4477);function l(t){let{className:e}=t;const n=(0,o.E)();return n.badge?r.createElement("span",{className:(0,i.Z)(e,s.k.docs.docVersionBadge,"badge badge--secondary")},r.createElement(a.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}},3120:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var r=n(7294),i=n(6010),a=n(2263),s=n(9960),o=n(5999),l=n(143),c=n(5281),h=n(373),u=n(4477);const d={unreleased:function(t){let{siteTitle:e,versionMetadata:n}=t;return r.createElement(o.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:e,versionLabel:r.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(t){let{siteTitle:e,versionMetadata:n}=t;return r.createElement(o.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:e,versionLabel:r.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function p(t){const e=d[t.versionMetadata.banner];return r.createElement(e,t)}function f(t){let{versionLabel:e,to:n,onClick:i}=t;return r.createElement(o.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:e,latestVersionLink:r.createElement("b",null,r.createElement(s.Z,{to:n,onClick:i},r.createElement(o.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function g(t){let{className:e,versionMetadata:n}=t;const{siteConfig:{title:s}}=(0,a.Z)(),{pluginId:o}=(0,l.gA)({failfast:!0}),{savePreferredVersionName:u}=(0,h.J)(o),{latestDocSuggestion:d,latestVersionSuggestion:g}=(0,l.Jo)(o),y=d??(m=g).docs.find((t=>t.id===m.mainDocId));var m;return r.createElement("div",{className:(0,i.Z)(e,c.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},r.createElement("div",null,r.createElement(p,{siteTitle:s,versionMetadata:n})),r.createElement("div",{className:"margin-top--md"},r.createElement(f,{versionLabel:g.label,to:y.path,onClick:()=>u(g.name)})))}function y(t){let{className:e}=t;const n=(0,u.E)();return n.banner?r.createElement(g,{className:e,versionMetadata:n}):null}},2503:(t,e,n)=>{"use strict";n.d(e,{Z:()=>h});var r=n(7462),i=n(7294),a=n(6010),s=n(5999),o=n(6668);const l="anchorWithStickyNavbar_LWe7",c="anchorWithHideOnScrollNavbar_WYt5";function h(t){let{as:e,id:n,...h}=t;const{navbar:{hideOnScroll:u}}=(0,o.L)();return"h1"!==e&&n?i.createElement(e,(0,r.Z)({},h,{className:(0,a.Z)("anchor",u?c:l),id:n}),h.children,i.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,s.I)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"\u200b")):i.createElement(e,(0,r.Z)({},h,{id:void 0}))}},6412:(t,e,n)=>{"use strict";n.d(e,{p:()=>a});var r=n(2949),i=n(6668);function a(){const{prism:t}=(0,i.L)(),{colorMode:e}=(0,r.I)(),n=t.theme,a=t.darkTheme||n;return"dark"===e?a:n}},1173:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Collapsible:()=>f.z,HtmlClassNameProvider:()=>m.FG,NavbarSecondaryMenuFiller:()=>_.Zo,PageMetadata:()=>m.d,ReactContextError:()=>y.i6,SkipToContentFallbackId:()=>N.u,SkipToContentLink:()=>N.l,ThemeClassNames:()=>g.k,composeProviders:()=>y.Qc,createStorageSlot:()=>i.W,duplicates:()=>C.l,filterDocCardListItems:()=>s.MN,isMultiColumnFooterLinks:()=>T.a,isRegexpStringMatch:()=>E.F,listStorageKeys:()=>i._,listTagsByLetters:()=>w,processAdmonitionProps:()=>L,translateTagsPageTitle:()=>k,uniq:()=>C.j,useCollapsible:()=>f.u,useColorMode:()=>b.I,useContextualSearchFilters:()=>a._q,useCurrentSidebarCategory:()=>s.jA,useDocsPreferredVersion:()=>A.J,useEvent:()=>y.zX,useIsomorphicLayoutEffect:()=>y.LI,usePluralForm:()=>p,usePrevious:()=>y.D9,usePrismTheme:()=>S.p,useThemeConfig:()=>r.L,useWindowSize:()=>v.i});var r=n(6668),i=n(12),a=n(3320),s=n(3438),o=n(7294),l=n(2263);const c=["zero","one","two","few","many","other"];function h(t){return c.filter((e=>t.includes(e)))}const u={locale:"en",pluralForms:h(["one","other"]),select:t=>1===t?"one":"other"};function d(){const{i18n:{currentLocale:t}}=(0,l.Z)();return(0,o.useMemo)((()=>{try{return function(t){const e=new Intl.PluralRules(t);return{locale:t,pluralForms:h(e.resolvedOptions().pluralCategories),select:t=>e.select(t)}}(t)}catch(e){return console.error(`Failed to use Intl.PluralRules for locale "${t}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${e.message}\n`),u}}),[t])}function p(){const t=d();return{selectMessage:(e,n)=>function(t,e,n){const r=t.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${t}`);const i=n.select(e),a=n.pluralForms.indexOf(i);return r[Math.min(a,r.length-1)]}(n,e,t)}}var f=n(6043),g=n(5281),y=n(902),m=n(1944),b=n(2949),_=n(3102),v=n(7524),x=n(5999);const k=()=>(0,x.I)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function w(t){const e={};return Object.values(t).forEach((t=>{const n=function(t){return t[0].toUpperCase()}(t.label);e[n]??=[],e[n].push(t)})),Object.entries(e).sort(((t,e)=>{let[n]=t,[r]=e;return n.localeCompare(r)})).map((t=>{let[e,n]=t;return{letter:e,tags:n.sort(((t,e)=>t.label.localeCompare(e.label)))}}))}var T=n(2489),E=n(8022),C=n(7392),S=n(6412),A=n(373);function L(t){const{mdxAdmonitionTitle:e,rest:n}=function(t){const e=o.Children.toArray(t),n=e.find((t=>o.isValidElement(t)&&"mdxAdmonitionTitle"===t.props?.mdxType)),r=o.createElement(o.Fragment,null,e.filter((t=>t!==n)));return{mdxAdmonitionTitle:n?.props.children,rest:r}}(t.children),r=t.title??e;return{...t,...r&&{title:r},children:n}}var N=n(5225)},5357:(t,e,n)=>{"use strict";e.pv=e.ZE=void 0;const r=n(655),i=n(7294),a=n(1173),s=r.__importDefault(n(3231));function o(){return(0,a.useThemeConfig)().mermaid}function l(){const{colorMode:t}=(0,a.useColorMode)(),e=o(),n=e.theme[t],{options:r}=e;return(0,i.useMemo)((()=>({startOnLoad:!1,...r,theme:n})),[n,r])}e.ZE="docusaurus-mermaid-container",e.pv=function(t,e){const n=l(),r=e??n;return(0,i.useMemo)((()=>{s.default.mermaidAPI.initialize(r);const e=`mermaid-svg-${Math.round(1e7*Math.random())}`;return s.default.render(e,t)}),[t,r])}},3231:function(t,e,n){(t=n.nmd(t)).exports=function(){"use strict";var r=Object.defineProperty,i=(t,e,n)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,a=(t,e,n)=>(i(t,"symbol"!=typeof e?e+"":e,n),n);function s(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof n.g<"u"?n.g:typeof self<"u"&&self;var o,l,h={exports:{}};l=function(){var t;function e(){return t.apply(null,arguments)}function n(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function r(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;for(var e in t)if(i(t,e))return;return 1}function l(t){return void 0===t}function c(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function h(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){for(var n=[],r=t.length,i=0;i<r;++i)n.push(e(t[i],i));return n}function d(t,e){for(var n in e)i(e,n)&&(t[n]=e[n]);return i(e,"toString")&&(t.toString=e.toString),i(e,"valueOf")&&(t.valueOf=e.valueOf),t}function p(t,e,n,r){return Ne(t,e,n,r,!0).utc()}function f(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function g(t){if(null==t._isValid){var e=f(t),n=m.call(e.parsedDateParts,(function(t){return null!=t}));if(n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n),t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function y(t){var e=p(NaN);return null!=t?d(f(e),t):f(e).userInvalidated=!0,e}var m=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,r=0;r<n;r++)if(r in e&&t.call(this,e[r],r,e))return!0;return!1},b=e.momentProperties=[],_=!1;function v(t,e){var n,r,i,a=b.length;if(l(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),l(e._i)||(t._i=e._i),l(e._f)||(t._f=e._f),l(e._l)||(t._l=e._l),l(e._strict)||(t._strict=e._strict),l(e._tzm)||(t._tzm=e._tzm),l(e._isUTC)||(t._isUTC=e._isUTC),l(e._offset)||(t._offset=e._offset),l(e._pf)||(t._pf=f(e)),l(e._locale)||(t._locale=e._locale),0<a)for(n=0;n<a;n++)l(i=e[r=b[n]])||(t[r]=i);return t}function x(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,e.updateOffset(this),_=!1)}function k(t){return t instanceof x||null!=t&&null!=t._isAMomentObject}function w(t){!1===e.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+t)}function T(t,n){var r=!0;return d((function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),r){for(var a,s,o=[],l=arguments.length,c=0;c<l;c++){if(a="","object"==typeof arguments[c]){for(s in a+="\n["+c+"] ",arguments[0])i(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[c];o.push(a)}w(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),r=!1}return n.apply(this,arguments)}),n)}var E={};function C(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),E[t]||(w(n),E[t]=!0)}function S(t){return typeof Function<"u"&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function A(t,e){var n,a=d({},t);for(n in e)i(e,n)&&(r(t[n])&&r(e[n])?(a[n]={},d(a[n],t[n]),d(a[n],e[n])):null!=e[n]?a[n]=e[n]:delete a[n]);for(n in t)i(t,n)&&!i(e,n)&&r(t[n])&&(a[n]=d({},a[n]));return a}function L(t){null!=t&&this.set(t)}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;var N=Object.keys||function(t){var e,n=[];for(e in t)i(t,e)&&n.push(e);return n};function D(t,e,n){var r=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-r.length)).toString().substr(1)+r}var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,M=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},I={};function F(t,e,n,r){var i="string"==typeof r?function(){return this[r]()}:r;t&&(I[t]=i),e&&(I[e[0]]=function(){return D(i.apply(this,arguments),e[1],e[2])}),n&&(I[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function R(t,e){return t.isValid()?(e=$(e,t.localeData()),B[e]=B[e]||function(t){for(var e,n=t.match(O),r=0,i=n.length;r<i;r++)I[n[r]]?n[r]=I[n[r]]:n[r]=(e=n[r]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var r="",a=0;a<i;a++)r+=S(n[a])?n[a].call(e,t):n[a];return r}}(e),B[e](t)):t.localeData().invalidDate()}function $(t,e){var n=5;function r(t){return e.longDateFormat(t)||t}for(M.lastIndex=0;0<=n&&M.test(t);)t=t.replace(M,r),M.lastIndex=0,--n;return t}var P={};function j(t,e){var n=t.toLowerCase();P[n]=P[n+"s"]=P[e]=t}function Y(t){return"string"==typeof t?P[t]||P[t.toLowerCase()]:void 0}function z(t){var e,n,r={};for(n in t)i(t,n)&&(e=Y(n))&&(r[e]=t[n]);return r}var U={};function W(t,e){U[t]=e}function H(t){return t%4==0&&t%100!=0||t%400==0}function q(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function V(t){var e=0;return 0!=(t=+t)&&isFinite(t)?q(t):e}function G(t,n){return function(r){return null!=r?(X(this,t,r),e.updateOffset(this,n),this):Z(this,t)}}function Z(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function X(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&H(t.year())&&1===t.month()&&29===t.date()?(n=V(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Nt(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var Q=/\d/,K=/\d\d/,J=/\d{3}/,tt=/\d{4}/,et=/[+-]?\d{6}/,nt=/\d\d?/,rt=/\d\d\d\d?/,it=/\d\d\d\d\d\d?/,at=/\d{1,3}/,st=/\d{1,4}/,ot=/[+-]?\d{1,6}/,lt=/\d+/,ct=/[+-]?\d+/,ht=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,dt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pt(t,e,n){yt[t]=S(e)?e:function(t,r){return t&&n?n:e}}function ft(t,e){return i(yt,t)?yt[t](e._strict,e._locale):new RegExp(gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,r,i){return e||n||r||i}))))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var yt={},mt={};function bt(t,e){var n,r,i=e;for("string"==typeof t&&(t=[t]),c(e)&&(i=function(t,n){n[e]=V(t)}),r=t.length,n=0;n<r;n++)mt[t[n]]=i}function _t(t,e){bt(t,(function(t,n,r,i){r._w=r._w||{},e(t,r._w,r,i)}))}var vt,xt=0,kt=1,wt=2,Tt=3,Et=4,Ct=5,St=6,At=7,Lt=8;function Nt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%(n=12)+n)%n;return t+=(e-n)/12,1==n?H(t)?29:28:31-n%7%2}vt=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},F("M",["MM",2],"Mo",(function(){return this.month()+1})),F("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),F("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),j("month","M"),W("month",8),pt("M",nt),pt("MM",nt,K),pt("MMM",(function(t,e){return e.monthsShortRegex(t)})),pt("MMMM",(function(t,e){return e.monthsRegex(t)})),bt(["M","MM"],(function(t,e){e[kt]=V(t)-1})),bt(["MMM","MMMM"],(function(t,e,n,r){null!=(r=n._locale.monthsParse(t,r,n._strict))?e[kt]=r:f(n).invalidMonth=t}));var Dt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ot="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Mt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Bt=dt,It=dt;function Ft(t,e){var n;if(t.isValid()){if("string"==typeof e)if(/^\d+$/.test(e))e=V(e);else if(!c(e=t.localeData().monthsParse(e)))return;n=Math.min(t.date(),Nt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n)}}function Rt(t){return null!=t?(Ft(this,t),e.updateOffset(this,!0),this):Z(this,"Month")}function $t(){function t(t,e){return e.length-t.length}for(var e,n=[],r=[],i=[],a=0;a<12;a++)e=p([2e3,a]),n.push(this.monthsShort(e,"")),r.push(this.months(e,"")),i.push(this.months(e,"")),i.push(this.monthsShort(e,""));for(n.sort(t),r.sort(t),i.sort(t),a=0;a<12;a++)n[a]=gt(n[a]),r[a]=gt(r[a]);for(a=0;a<24;a++)i[a]=gt(i[a]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Pt(t){return H(t)?366:365}F("Y",0,0,(function(){var t=this.year();return t<=9999?D(t,4):"+"+t})),F(0,["YY",2],0,(function(){return this.year()%100})),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),j("year","y"),W("year",1),pt("Y",ct),pt("YY",nt,K),pt("YYYY",st,tt),pt("YYYYY",ot,et),pt("YYYYYY",ot,et),bt(["YYYYY","YYYYYY"],xt),bt("YYYY",(function(t,n){n[xt]=2===t.length?e.parseTwoDigitYear(t):V(t)})),bt("YY",(function(t,n){n[xt]=e.parseTwoDigitYear(t)})),bt("Y",(function(t,e){e[xt]=parseInt(t,10)})),e.parseTwoDigitYear=function(t){return V(t)+(68<V(t)?1900:2e3)};var jt=G("FullYear",!0);function Yt(t,e,n,r,i,a,s){var o;return t<100&&0<=t?(o=new Date(t+400,e,n,r,i,a,s),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,r,i,a,s),o}function zt(t){var e;return t<100&&0<=t?((e=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,e)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function Ut(t,e,n){return(n=7+e-n)-(7+zt(t,0,n).getUTCDay()-e)%7-1}function Wt(t,e,n,r,i){var a;return n=(e=1+7*(e-1)+(7+n-r)%7+Ut(t,r,i))<=0?Pt(a=t-1)+e:e>Pt(t)?(a=t+1,e-Pt(t)):(a=t,e),{year:a,dayOfYear:n}}function Ht(t,e,n){var r,i,a=Ut(t.year(),e,n);return(a=Math.floor((t.dayOfYear()-a-1)/7)+1)<1?r=a+qt(i=t.year()-1,e,n):a>qt(t.year(),e,n)?(r=a-qt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function qt(t,e,n){var r=Ut(t,e,n);return e=Ut(t+1,e,n),(Pt(t)-r+e)/7}function Vt(t,e){return t.slice(e,7).concat(t.slice(0,e))}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),W("week",5),W("isoWeek",5),pt("w",nt),pt("ww",nt,K),pt("W",nt),pt("WW",nt,K),_t(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=V(t)})),F("d",0,"do","day"),F("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),F("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),F("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),pt("d",nt),pt("e",nt),pt("E",nt),pt("dd",(function(t,e){return e.weekdaysMinRegex(t)})),pt("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),pt("dddd",(function(t,e){return e.weekdaysRegex(t)})),_t(["dd","ddd","dddd"],(function(t,e,n,r){null!=(r=n._locale.weekdaysParse(t,r,n._strict))?e.d=r:f(n).invalidWeekday=t})),_t(["d","e","E"],(function(t,e,n,r){e[r]=V(t)}));var Gt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Zt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Xt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Qt=dt,Kt=dt,Jt=dt;function te(){function t(t,e){return e.length-t.length}for(var e,n,r,i=[],a=[],s=[],o=[],l=0;l<7;l++)r=p([2e3,1]).day(l),e=gt(this.weekdaysMin(r,"")),n=gt(this.weekdaysShort(r,"")),r=gt(this.weekdays(r,"")),i.push(e),a.push(n),s.push(r),o.push(e),o.push(n),o.push(r);i.sort(t),a.sort(t),s.sort(t),o.sort(t),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function ee(){return this.hours()%12||12}function ne(t,e){F(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function re(t,e){return e._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,ee),F("k",["kk",2],0,(function(){return this.hours()||24})),F("hmm",0,0,(function(){return""+ee.apply(this)+D(this.minutes(),2)})),F("hmmss",0,0,(function(){return""+ee.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),F("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),F("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),ne("a",!0),ne("A",!1),j("hour","h"),W("hour",13),pt("a",re),pt("A",re),pt("H",nt),pt("h",nt),pt("k",nt),pt("HH",nt,K),pt("hh",nt,K),pt("kk",nt,K),pt("hmm",rt),pt("hmmss",it),pt("Hmm",rt),pt("Hmmss",it),bt(["H","HH"],Tt),bt(["k","kk"],(function(t,e,n){t=V(t),e[Tt]=24===t?0:t})),bt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),bt(["h","hh"],(function(t,e,n){e[Tt]=V(t),f(n).bigHour=!0})),bt("hmm",(function(t,e,n){var r=t.length-2;e[Tt]=V(t.substr(0,r)),e[Et]=V(t.substr(r)),f(n).bigHour=!0})),bt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Tt]=V(t.substr(0,r)),e[Et]=V(t.substr(r,2)),e[Ct]=V(t.substr(i)),f(n).bigHour=!0})),bt("Hmm",(function(t,e,n){var r=t.length-2;e[Tt]=V(t.substr(0,r)),e[Et]=V(t.substr(r))})),bt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[Tt]=V(t.substr(0,r)),e[Et]=V(t.substr(r,2)),e[Ct]=V(t.substr(i))})),dt=G("Hours",!0);var ie,ae={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Dt,monthsShort:Ot,week:{dow:0,doy:6},weekdays:Gt,weekdaysMin:Xt,weekdaysShort:Zt,meridiemParse:/[ap]\.?m?\.?/i},se={},oe={};function le(t){return t&&t.toLowerCase().replace("_","-")}function ce(t){for(var e,n,r,i,a=0;a<t.length;){for(e=(i=le(t[a]).split("-")).length,n=(n=le(t[a+1]))?n.split("-"):null;0<e;){if(r=he(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&function(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}(i,n)>=e-1)break;e--}a++}return ie}function he(t){var e;if(void 0===se[t]&&o&&o.exports&&null!=t.match("^[^/\\\\]*$"))try{e=ie._abbr,s("./locale/"+t),ue(e)}catch{se[t]=null}return se[t]}function ue(t,e){return t&&((e=l(e)?pe(t):de(t,e))?ie=e:typeof console<"u"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),ie._abbr}function de(t,e){if(null===e)return delete se[t],null;var n,r=ae;if(e.abbr=t,null!=se[t])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=se[t]._config;else if(null!=e.parentLocale)if(null!=se[e.parentLocale])r=se[e.parentLocale]._config;else{if(null==(n=he(e.parentLocale)))return oe[e.parentLocale]||(oe[e.parentLocale]=[]),oe[e.parentLocale].push({name:t,config:e}),null;r=n._config}return se[t]=new L(A(r,e)),oe[t]&&oe[t].forEach((function(t){de(t.name,t.config)})),ue(t),se[t]}function pe(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return ie;if(!n(t)){if(e=he(t))return e;t=[t]}return ce(t)}function fe(t){var e=t._a;return e&&-2===f(t).overflow&&(e=e[kt]<0||11<e[kt]?kt:e[wt]<1||e[wt]>Nt(e[xt],e[kt])?wt:e[Tt]<0||24<e[Tt]||24===e[Tt]&&(0!==e[Et]||0!==e[Ct]||0!==e[St])?Tt:e[Et]<0||59<e[Et]?Et:e[Ct]<0||59<e[Ct]?Ct:e[St]<0||999<e[St]?St:-1,f(t)._overflowDayOfYear&&(e<xt||wt<e)&&(e=wt),f(t)._overflowWeeks&&-1===e&&(e=At),f(t)._overflowWeekday&&-1===e&&(e=Lt),f(t).overflow=e),t}var ge=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ye=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,me=/Z|[+-]\d\d(?::?\d\d)?/,be=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],_e=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ve=/^\/?Date\((-?\d+)/i,xe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ke={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function we(t){var e,n,r,i,a,s,o=t._i,l=ge.exec(o)||ye.exec(o),c=(o=be.length,_e.length);if(l){for(f(t).iso=!0,e=0,n=o;e<n;e++)if(be[e][1].exec(l[1])){i=be[e][0],r=!1!==be[e][2];break}if(null==i)t._isValid=!1;else{if(l[3]){for(e=0,n=c;e<n;e++)if(_e[e][1].exec(l[3])){a=(l[2]||" ")+_e[e][0];break}if(null==a)return void(t._isValid=!1)}if(r||null==a){if(l[4]){if(!me.exec(l[4]))return void(t._isValid=!1);s="Z"}t._f=i+(a||"")+(s||""),Ae(t)}else t._isValid=!1}}else t._isValid=!1}function Te(t,e,n,r,i,a){return t=[(s=t,(s=parseInt(s,10))<=49?2e3+s:s<=999?1900+s:s),Ot.indexOf(e),parseInt(n,10),parseInt(r,10),parseInt(i,10)],a&&t.push(parseInt(a,10)),t;var s}function Ee(t){var e,n,r,i,a=xe.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));a?(r=e=Te(a[4],a[3],a[2],a[5],a[6],a[7]),i=t,(n=a[1])&&Zt.indexOf(n)!==new Date(r[0],r[1],r[2]).getDay()?(f(i).weekdayMismatch=!0,i._isValid=!1):(t._a=e,t._tzm=(n=a[8],r=a[9],i=a[10],n?ke[n]:r?0:((n=parseInt(i,10))-(r=n%100))/100*60+r),t._d=zt.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),f(t).rfc2822=!0)):t._isValid=!1}function Ce(t,e,n){return null!=t?t:null!=e?e:n}function Se(t){var n,r,i,a,s,o,l,c,h,u,d,p=[];if(!t._d){for(i=t,a=new Date(e.now()),r=i._useUTC?[a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate()]:[a.getFullYear(),a.getMonth(),a.getDate()],t._w&&null==t._a[wt]&&null==t._a[kt]&&(null!=(a=(i=t)._w).GG||null!=a.W||null!=a.E?(c=1,h=4,s=Ce(a.GG,i._a[xt],Ht(De(),1,4).year),o=Ce(a.W,1),((l=Ce(a.E,1))<1||7<l)&&(u=!0)):(c=i._locale._week.dow,h=i._locale._week.doy,d=Ht(De(),c,h),s=Ce(a.gg,i._a[xt],d.year),o=Ce(a.w,d.week),null!=a.d?((l=a.d)<0||6<l)&&(u=!0):null!=a.e?(l=a.e+c,(a.e<0||6<a.e)&&(u=!0)):l=c),o<1||o>qt(s,c,h)?f(i)._overflowWeeks=!0:null!=u?f(i)._overflowWeekday=!0:(d=Wt(s,o,l,c,h),i._a[xt]=d.year,i._dayOfYear=d.dayOfYear)),null!=t._dayOfYear&&(a=Ce(t._a[xt],r[xt]),(t._dayOfYear>Pt(a)||0===t._dayOfYear)&&(f(t)._overflowDayOfYear=!0),u=zt(a,0,t._dayOfYear),t._a[kt]=u.getUTCMonth(),t._a[wt]=u.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=p[n]=r[n];for(;n<7;n++)t._a[n]=p[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Tt]&&0===t._a[Et]&&0===t._a[Ct]&&0===t._a[St]&&(t._nextDay=!0,t._a[Tt]=0),t._d=(t._useUTC?zt:Yt).apply(null,p),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Tt]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(f(t).weekdayMismatch=!0)}}function Ae(t){if(t._f===e.ISO_8601)we(t);else if(t._f===e.RFC_2822)Ee(t);else{t._a=[],f(t).empty=!0;for(var n,r,a,s,o,l=""+t._i,c=l.length,h=0,u=$(t._f,t._locale).match(O)||[],d=u.length,p=0;p<d;p++)r=u[p],(n=(l.match(ft(r,t))||[])[0])&&(0<(a=l.substr(0,l.indexOf(n))).length&&f(t).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),h+=n.length),I[r]?(n?f(t).empty=!1:f(t).unusedTokens.push(r),a=r,o=t,null!=(s=n)&&i(mt,a)&&mt[a](s,o._a,o,a)):t._strict&&!n&&f(t).unusedTokens.push(r);f(t).charsLeftOver=c-h,0<l.length&&f(t).unusedInput.push(l),t._a[Tt]<=12&&!0===f(t).bigHour&&0<t._a[Tt]&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[Tt]=(g=t._locale,y=t._a[Tt],null==(m=t._meridiem)?y:null!=g.meridiemHour?g.meridiemHour(y,m):null!=g.isPM?((g=g.isPM(m))&&y<12&&(y+=12),y=g||12!==y?y:0):y),null!==(c=f(t).era)&&(t._a[xt]=t._locale.erasConvertYear(c,t._a[xt])),Se(t),fe(t)}var g,y,m}function Le(t){var i,a,s,o=t._i,p=t._f;return t._locale=t._locale||pe(t._l),null===o||void 0===p&&""===o?y({nullInput:!0}):("string"==typeof o&&(t._i=o=t._locale.preparse(o)),k(o)?new x(fe(o)):(h(o)?t._d=o:n(p)?function(t){var e,n,r,i,a,s,o=!1,l=t._f.length;if(0===l)return f(t).invalidFormat=!0,t._d=new Date(NaN);for(i=0;i<l;i++)a=0,s=!1,e=v({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._f=t._f[i],Ae(e),g(e)&&(s=!0),a=(a+=f(e).charsLeftOver)+10*f(e).unusedTokens.length,f(e).score=a,o?a<r&&(r=a,n=e):(null==r||a<r||s)&&(r=a,n=e,s&&(o=!0));d(t,n||e)}(t):p?Ae(t):l(p=(o=t)._i)?o._d=new Date(e.now()):h(p)?o._d=new Date(p.valueOf()):"string"==typeof p?(a=o,null!==(i=ve.exec(a._i))?a._d=new Date(+i[1]):(we(a),!1===a._isValid&&(delete a._isValid,Ee(a),!1===a._isValid&&(delete a._isValid,a._strict?a._isValid=!1:e.createFromInputFallback(a))))):n(p)?(o._a=u(p.slice(0),(function(t){return parseInt(t,10)})),Se(o)):r(p)?(i=o)._d||(s=void 0===(a=z(i._i)).day?a.date:a.day,i._a=u([a.year,a.month,s,a.hour,a.minute,a.second,a.millisecond],(function(t){return t&&parseInt(t,10)})),Se(i)):c(p)?o._d=new Date(p):e.createFromInputFallback(o),g(t)||(t._d=null),t))}function Ne(t,e,i,s,o){var l={};return!0!==e&&!1!==e||(s=e,e=void 0),!0!==i&&!1!==i||(s=i,i=void 0),(r(t)&&a(t)||n(t)&&0===t.length)&&(t=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=o,l._l=i,l._i=t,l._f=e,l._strict=s,(o=new x(fe(Le(o=l))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function De(t,e,n,r){return Ne(t,e,n,r,!1)}function Oe(t,e){var r,i;if(!(e=1===e.length&&n(e[0])?e[0]:e).length)return De();for(r=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](r)||(r=e[i]);return r}e.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),e.ISO_8601=function(){},e.RFC_2822=function(){},rt=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:y()})),it=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=De.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:y()}));var Me=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Be(t){var e=(t=z(t)).year||0,n=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,c=t.second||0,h=t.millisecond||0;this._isValid=function(t){var e,n,r=!1,a=Me.length;for(e in t)if(i(t,e)&&(-1===vt.call(Me,e)||null!=t[e]&&isNaN(t[e])))return!1;for(n=0;n<a;++n)if(t[Me[n]]){if(r)return!1;parseFloat(t[Me[n]])!==V(t[Me[n]])&&(r=!0)}return!0}(t),this._milliseconds=+h+1e3*c+6e4*l+1e3*o*60*60,this._days=+s+7*a,this._months=+r+3*n+12*e,this._data={},this._locale=pe(),this._bubble()}function Ie(t){return t instanceof Be}function Fe(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Re(t,e){F(t,0,0,(function(){var t=this.utcOffset(),n="+";return t<0&&(t=-t,n="-"),n+D(~~(t/60),2)+e+D(~~t%60,2)}))}Re("Z",":"),Re("ZZ",""),pt("Z",ut),pt("ZZ",ut),bt(["Z","ZZ"],(function(t,e,n){n._useUTC=!0,n._tzm=Pe(ut,t)}));var $e=/([\+\-]|\d\d)/gi;function Pe(t,e){return null===(e=(e||"").match(t))?null:0===(e=60*(t=((e[e.length-1]||[])+"").match($e)||["-",0,0])[1]+V(t[2]))?0:"+"===t[0]?e:-e}function je(t,n){var r;return n._isUTC?(n=n.clone(),r=(k(t)||h(t)?t:De(t)).valueOf()-n.valueOf(),n._d.setTime(n._d.valueOf()+r),e.updateOffset(n,!1),n):De(t).local()}function Ye(t){return-Math.round(t._d.getTimezoneOffset())}function ze(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var Ue=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,We=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function He(t,e){var n,r,a,s,o=t,l=null;return Ie(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:c(t)||!isNaN(+t)?(o={},e?o[e]=+t:o.milliseconds=+t):(l=Ue.exec(t))?(n="-"===l[1]?-1:1,o={y:0,d:V(l[wt])*n,h:V(l[Tt])*n,m:V(l[Et])*n,s:V(l[Ct])*n,ms:V(Fe(1e3*l[St]))*n}):(l=We.exec(t))?(n="-"===l[1]?-1:1,o={y:qe(l[2],n),M:qe(l[3],n),w:qe(l[4],n),d:qe(l[5],n),h:qe(l[6],n),m:qe(l[7],n),s:qe(l[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(r=De(o.from),a=De(o.to),e=r.isValid()&&a.isValid()?(a=je(a,r),r.isBefore(a)?s=Ve(r,a):((s=Ve(a,r)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0},(o={}).ms=e.milliseconds,o.M=e.months),l=new Be(o),Ie(t)&&i(t,"_locale")&&(l._locale=t._locale),Ie(t)&&i(t,"_isValid")&&(l._isValid=t._isValid),l}function qe(t,e){return t=t&&parseFloat(t.replace(",",".")),(isNaN(t)?0:t)*e}function Ve(t,e){var n={};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function Ge(t,e){return function(n,r){var i;return null===r||isNaN(+r)||(C(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Ze(this,He(n,r),t),this}}function Ze(t,n,r,i){var a=n._milliseconds,s=Fe(n._days);n=Fe(n._months),t.isValid()&&(i=null==i||i,n&&Ft(t,Z(t,"Month")+n*r),s&&X(t,"Date",Z(t,"Date")+s*r),a&&t._d.setTime(t._d.valueOf()+a*r),i&&e.updateOffset(t,s||n))}function Xe(t){return"string"==typeof t||t instanceof String}function Qe(t){return k(t)||h(t)||Xe(t)||c(t)||(s=n(e=t),o=!1,s&&(o=0===e.filter((function(t){return!c(t)&&Xe(e)})).length),s&&o)||function(t){var e,n,s=r(t)&&!a(t),o=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=l.length;for(e=0;e<c;e+=1)n=l[e],o=o||i(t,n);return s&&o}(t)||null==t;var e,s,o}function Ke(t,e){if(t.date()<e.date())return-Ke(e,t);var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,"months");return-(n+(e=e-r<0?(e-r)/(r-t.clone().add(n-1,"months")):(e-r)/(t.clone().add(1+n,"months")-r)))||0}function Je(t){return void 0===t?this._locale._abbr:(null!=(t=pe(t))&&(this._locale=t),this)}function tn(){return this._locale}He.fn=Be.prototype,He.invalid=function(){return He(NaN)},Dt=Ge(1,"add"),Gt=Ge(-1,"subtract"),e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",Xt=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));var en,nn=126227808e5;function rn(t,e){return(t%e+e)%e}function an(t,e,n){return t<100&&0<=t?new Date(t+400,e,n)-nn:new Date(t,e,n).valueOf()}function sn(t,e,n){return t<100&&0<=t?Date.UTC(t+400,e,n)-nn:Date.UTC(t,e,n)}function on(t,e){return e.erasAbbrRegex(t)}function ln(){for(var t=[],e=[],n=[],r=[],i=this.eras(),a=0,s=i.length;a<s;++a)e.push(gt(i[a].name)),t.push(gt(i[a].abbr)),n.push(gt(i[a].narrow)),r.push(gt(i[a].name)),r.push(gt(i[a].abbr)),r.push(gt(i[a].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}function cn(t,e){F(0,[t,t.length],0,e)}function hn(t,e,n,r,i){var a;return null==t?Ht(this,r,i).year:(a=qt(t,r,i),function(t,e,n,r,i){return e=zt((t=Wt(t,e,n,r,i)).year,0,t.dayOfYear),this.year(e.getUTCFullYear()),this.month(e.getUTCMonth()),this.date(e.getUTCDate()),this}.call(this,t,e=a<e?a:e,n,r,i))}for(F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),pt("N",on),pt("NN",on),pt("NNN",on),pt("NNNN",(function(t,e){return e.erasNameRegex(t)})),pt("NNNNN",(function(t,e){return e.erasNarrowRegex(t)})),bt(["N","NN","NNN","NNNN","NNNNN"],(function(t,e,n,r){(r=n._locale.erasParse(t,r,n._strict))?f(n).era=r:f(n).invalidEra=t})),pt("y",lt),pt("yy",lt),pt("yyy",lt),pt("yyyy",lt),pt("yo",(function(t,e){return e._eraYearOrdinalRegex||lt})),bt(["y","yy","yyy","yyyy"],xt),bt(["yo"],(function(t,e,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=t.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?e[xt]=n._locale.eraYearOrdinalParse(t,i):e[xt]=parseInt(t,10)})),F(0,["gg",2],0,(function(){return this.weekYear()%100})),F(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),cn("gggg","weekYear"),cn("ggggg","weekYear"),cn("GGGG","isoWeekYear"),cn("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),pt("G",ct),pt("g",ct),pt("GG",nt,K),pt("gg",nt,K),pt("GGGG",st,tt),pt("gggg",st,tt),pt("GGGGG",ot,et),pt("ggggg",ot,et),_t(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,r){e[r.substr(0,2)]=V(t)})),_t(["gg","GG"],(function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)})),F("Q",0,"Qo","quarter"),j("quarter","Q"),W("quarter",7),pt("Q",Q),bt("Q",(function(t,e){e[kt]=3*(V(t)-1)})),F("D",["DD",2],"Do","date"),j("date","D"),W("date",9),pt("D",nt),pt("DD",nt,K),pt("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),bt(["D","DD"],wt),bt("Do",(function(t,e){e[wt]=V(t.match(nt)[0])})),st=G("Date",!0),F("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),W("dayOfYear",4),pt("DDD",at),pt("DDDD",J),bt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=V(t)})),F("m",["mm",2],0,"minute"),j("minute","m"),W("minute",14),pt("m",nt),pt("mm",nt,K),bt(["m","mm"],Et),tt=G("Minutes",!1),F("s",["ss",2],0,"second"),j("second","s"),W("second",15),pt("s",nt),pt("ss",nt,K),bt(["s","ss"],Ct),ot=G("Seconds",!1),F("S",0,0,(function(){return~~(this.millisecond()/100)})),F(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),F(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),F(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),F(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),F(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),F(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),j("millisecond","ms"),W("millisecond",16),pt("S",at,Q),pt("SS",at,K),pt("SSS",at,J),en="SSSS";en.length<=9;en+="S")pt(en,lt);function un(t,e){e[St]=V(1e3*("0."+t))}for(en="S";en.length<=9;en+="S")bt(en,un);function dn(t){return t}function pn(t,e,n,r){var i=pe();return r=p().set(r,e),i[n](r,t)}function fn(t,e,n){if(c(t)&&(e=t,t=void 0),t=t||"",null!=e)return pn(t,e,n,"month");for(var r=[],i=0;i<12;i++)r[i]=pn(t,i,n,"month");return r}function gn(t,e,n,r){"boolean"==typeof t?c(e)&&(n=e,e=void 0):(e=t,t=!1,c(n=e)&&(n=e,e=void 0)),e=e||"";var i,a=pe(),s=t?a._week.dow:0,o=[];if(null!=n)return pn(e,(n+s)%7,r,"day");for(i=0;i<7;i++)o[i]=pn(e,(i+s)%7,r,"day");return o}et=G("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName"),(Q=x.prototype).add=Dt,Q.calendar=function(t,n){1===arguments.length&&(arguments[0]?Qe(arguments[0])?(t=arguments[0],n=void 0):function(t){for(var e=r(t)&&!a(t),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],o=0;o<s.length;o+=1)n=n||i(t,s[o]);return e&&n}(arguments[0])&&(n=arguments[0],t=void 0):n=t=void 0);var s=je(t=t||De(),this).startOf("day");return s=e.calendarFormat(this,s)||"sameElse",n=n&&(S(n[s])?n[s].call(this,t):n[s]),this.format(n||this.localeData().calendar(s,this,De(t)))},Q.clone=function(){return new x(this)},Q.diff=function(t,e,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=je(t,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),e=Y(e)){case"year":a=Ke(this,r)/12;break;case"month":a=Ke(this,r);break;case"quarter":a=Ke(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:q(a)},Q.endOf=function(t){var n,r;if(void 0===(t=Y(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?sn:an,t){case"year":n=r(this.year()+1,0,1)-1;break;case"quarter":n=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=r(this.year(),this.month()+1,1)-1;break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=36e5-rn(n+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":n=this._d.valueOf(),n+=6e4-rn(n,6e4)-1;break;case"second":n=this._d.valueOf(),n+=1e3-rn(n,1e3)-1}return this._d.setTime(n),e.updateOffset(this,!0),this},Q.format=function(t){return t=R(this,t=t||(this.isUtc()?e.defaultFormatUtc:e.defaultFormat)),this.localeData().postformat(t)},Q.from=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||De(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Q.fromNow=function(t){return this.from(De(),t)},Q.to=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||De(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},Q.toNow=function(t){return this.to(De(),t)},Q.get=function(t){return S(this[t=Y(t)])?this[t]():this},Q.invalidAt=function(){return f(this).overflow},Q.isAfter=function(t,e){return t=k(t)?t:De(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=Y(e)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},Q.isBefore=function(t,e){return t=k(t)?t:De(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=Y(e)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},Q.isBetween=function(t,e,n,r){return t=k(t)?t:De(t),e=k(e)?e:De(e),!!(this.isValid()&&t.isValid()&&e.isValid())&&("("===(r=r||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===r[1]?this.isBefore(e,n):!this.isAfter(e,n))},Q.isSame=function(t,e){return t=k(t)?t:De(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=Y(e)||"millisecond")?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},Q.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},Q.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},Q.isValid=function(){return g(this)},Q.lang=Xt,Q.locale=Je,Q.localeData=tn,Q.max=it,Q.min=rt,Q.parsingFlags=function(){return d({},f(this))},Q.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)i(t,e)&&n.push({unit:e,priority:U[e]});return n.sort((function(t,e){return t.priority-e.priority})),n}(t=z(t)),r=n.length,a=0;a<r;a++)this[n[a].unit](t[n[a].unit]);else if(S(this[t=Y(t)]))return this[t](e);return this},Q.startOf=function(t){var n,r;if(void 0===(t=Y(t))||"millisecond"===t||!this.isValid())return this;switch(r=this._isUTC?sn:an,t){case"year":n=r(this.year(),0,1);break;case"quarter":n=r(this.year(),this.month()-this.month()%3,1);break;case"month":n=r(this.year(),this.month(),1);break;case"week":n=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=r(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=rn(n+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":n=this._d.valueOf(),n-=rn(n,6e4);break;case"second":n=this._d.valueOf(),n-=rn(n,1e3)}return this._d.setTime(n),e.updateOffset(this,!0),this},Q.subtract=Gt,Q.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Q.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Q.toDate=function(){return new Date(this.valueOf())},Q.toISOString=function(t){if(!this.isValid())return null;var e=(t=!0!==t)?this.clone().utc():this;return e.year()<0||9999<e.year()?R(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):S(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(e,"Z")):R(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Q.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e="moment",n="";return this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+e+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Q[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Q.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Q.eraName=function(){for(var t,e=this.localeData().eras(),n=0,r=e.length;n<r;++n)if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until||e[n].until<=t&&t<=e[n].since)return e[n].name;return""},Q.eraNarrow=function(){for(var t,e=this.localeData().eras(),n=0,r=e.length;n<r;++n)if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until||e[n].until<=t&&t<=e[n].since)return e[n].narrow;return""},Q.eraAbbr=function(){for(var t,e=this.localeData().eras(),n=0,r=e.length;n<r;++n)if(t=this.clone().startOf("day").valueOf(),e[n].since<=t&&t<=e[n].until||e[n].until<=t&&t<=e[n].since)return e[n].abbr;return""},Q.eraYear=function(){for(var t,n,r=this.localeData().eras(),i=0,a=r.length;i<a;++i)if(t=r[i].since<=r[i].until?1:-1,n=this.clone().startOf("day").valueOf(),r[i].since<=n&&n<=r[i].until||r[i].until<=n&&n<=r[i].since)return(this.year()-e(r[i].since).year())*t+r[i].offset;return this.year()},Q.year=jt,Q.isLeapYear=function(){return H(this.year())},Q.weekYear=function(t){return hn.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Q.isoWeekYear=function(t){return hn.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Q.quarter=Q.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Q.month=Rt,Q.daysInMonth=function(){return Nt(this.year(),this.month())},Q.week=Q.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},Q.isoWeek=Q.isoWeeks=function(t){var e=Ht(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},Q.weeksInYear=function(){var t=this.localeData()._week;return qt(this.year(),t.dow,t.doy)},Q.weeksInWeekYear=function(){var t=this.localeData()._week;return qt(this.weekYear(),t.dow,t.doy)},Q.isoWeeksInYear=function(){return qt(this.year(),1,4)},Q.isoWeeksInISOWeekYear=function(){return qt(this.isoWeekYear(),1,4)},Q.date=st,Q.day=Q.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(e=t,n=this.localeData(),t="string"!=typeof e?e:isNaN(e)?"number"==typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10),this.add(t-r,"d")):r},Q.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},Q.isoWeekday=function(t){return this.isValid()?null!=t?(e=t,n=this.localeData(),n="string"==typeof e?n.weekdaysParse(e)%7||7:isNaN(e)?null:e,this.day(this.day()%7?n:n-7)):this.day()||7:null!=t?this:NaN;var e,n},Q.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},Q.hour=Q.hours=dt,Q.minute=Q.minutes=tt,Q.second=Q.seconds=ot,Q.millisecond=Q.milliseconds=et,Q.utcOffset=function(t,n,r){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?a:Ye(this);if("string"==typeof t){if(null===(t=Pe(ut,t)))return this}else Math.abs(t)<16&&!r&&(t*=60);return!this._isUTC&&n&&(i=Ye(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!n||this._changeInProgress?Ze(this,He(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this},Q.utc=function(t){return this.utcOffset(0,t)},Q.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ye(this),"m")),this},Q.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(t=Pe(ht,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},Q.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?De(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Q.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Q.isLocal=function(){return!!this.isValid()&&!this._isUTC},Q.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Q.isUtc=ze,Q.isUTC=ze,Q.zoneAbbr=function(){return this._isUTC?"UTC":""},Q.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Q.dates=T("dates accessor is deprecated. Use date instead.",st),Q.months=T("months accessor is deprecated. Use month instead",Rt),Q.years=T("years accessor is deprecated. Use year instead",jt),Q.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()})),Q.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var t,e={};return v(e,this),(e=Le(e))._a?(t=(e._isUTC?p:De)(e._a),this._isDSTShifted=this.isValid()&&0<function(t,e,n){for(var r=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),a=0,s=0;s<r;s++)(n&&t[s]!==e[s]||!n&&V(t[s])!==V(e[s]))&&a++;return a+i}(e._a,t.toArray())):this._isDSTShifted=!1,this._isDSTShifted})),(K=L.prototype).calendar=function(t,e,n){return S(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},K.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(O).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},K.invalidDate=function(){return this._invalidDate},K.ordinal=function(t){return this._ordinal.replace("%d",t)},K.preparse=dn,K.postformat=dn,K.relativeTime=function(t,e,n,r){var i=this._relativeTime[n];return S(i)?i(t,e,n,r):i.replace(/%d/i,t)},K.pastFuture=function(t,e){return S(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},K.set=function(t){var e,n;for(n in t)i(t,n)&&(S(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},K.eras=function(t,n){for(var r,i=this._eras||pe("en")._eras,a=0,s=i.length;a<s;++a)switch("string"==typeof i[a].since&&(r=e(i[a].since).startOf("day"),i[a].since=r.valueOf()),typeof i[a].until){case"undefined":i[a].until=1/0;break;case"string":r=e(i[a].until).startOf("day").valueOf(),i[a].until=r.valueOf()}return i},K.erasParse=function(t,e,n){var r,i,a,s,o,l=this.eras();for(t=t.toUpperCase(),r=0,i=l.length;r<i;++r)if(a=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),o=l[r].narrow.toUpperCase(),n)switch(e){case"N":case"NN":case"NNN":if(s===t)return l[r];break;case"NNNN":if(a===t)return l[r];break;case"NNNNN":if(o===t)return l[r]}else if(0<=[a,s,o].indexOf(t))return l[r]},K.erasConvertYear=function(t,n){var r=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*r},K.erasAbbrRegex=function(t){return i(this,"_erasAbbrRegex")||ln.call(this),t?this._erasAbbrRegex:this._erasRegex},K.erasNameRegex=function(t){return i(this,"_erasNameRegex")||ln.call(this),t?this._erasNameRegex:this._erasRegex},K.erasNarrowRegex=function(t){return i(this,"_erasNarrowRegex")||ln.call(this),t?this._erasNarrowRegex:this._erasRegex},K.months=function(t,e){return t?(n(this._months)?this._months:this._months[(this._months.isFormat||Mt).test(e)?"format":"standalone"])[t.month()]:n(this._months)?this._months:this._months.standalone},K.monthsShort=function(t,e){return t?(n(this._monthsShort)?this._monthsShort:this._monthsShort[Mt.test(e)?"format":"standalone"])[t.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},K.monthsParse=function(t,e,n){var r,i;if(this._monthsParseExact)return function(t,e,n){var r,i,a;if(t=t.toLocaleLowerCase(),!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(i=vt.call(this._shortMonthsParse,t))?i:null:-1!==(i=vt.call(this._longMonthsParse,t))?i:null:"MMM"===e?-1!==(i=vt.call(this._shortMonthsParse,t))||-1!==(i=vt.call(this._longMonthsParse,t))?i:null:-1!==(i=vt.call(this._longMonthsParse,t))||-1!==(i=vt.call(this._shortMonthsParse,t))?i:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[r].test(t)||n&&"MMM"===e&&this._shortMonthsParse[r].test(t)||!n&&this._monthsParse[r].test(t))return r},K.monthsRegex=function(t){return this._monthsParseExact?(i(this,"_monthsRegex")||$t.call(this),t?this._monthsStrictRegex:this._monthsRegex):(i(this,"_monthsRegex")||(this._monthsRegex=It),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},K.monthsShortRegex=function(t){return this._monthsParseExact?(i(this,"_monthsRegex")||$t.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(i(this,"_monthsShortRegex")||(this._monthsShortRegex=Bt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},K.week=function(t){return Ht(t,this._week.dow,this._week.doy).week},K.firstDayOfYear=function(){return this._week.doy},K.firstDayOfWeek=function(){return this._week.dow},K.weekdays=function(t,e){return e=n(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"],!0===t?Vt(e,this._week.dow):t?e[t.day()]:e},K.weekdaysMin=function(t){return!0===t?Vt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},K.weekdaysShort=function(t){return!0===t?Vt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},K.weekdaysParse=function(t,e,n){var r,i;if(this._weekdaysParseExact)return function(t,e,n){var r,i,a;if(t=t.toLocaleLowerCase(),!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(i=vt.call(this._weekdaysParse,t))?i:null:"ddd"===e?-1!==(i=vt.call(this._shortWeekdaysParse,t))?i:null:-1!==(i=vt.call(this._minWeekdaysParse,t))?i:null:"dddd"===e?-1!==(i=vt.call(this._weekdaysParse,t))||-1!==(i=vt.call(this._shortWeekdaysParse,t))||-1!==(i=vt.call(this._minWeekdaysParse,t))?i:null:"ddd"===e?-1!==(i=vt.call(this._shortWeekdaysParse,t))||-1!==(i=vt.call(this._weekdaysParse,t))||-1!==(i=vt.call(this._minWeekdaysParse,t))?i:null:-1!==(i=vt.call(this._minWeekdaysParse,t))||-1!==(i=vt.call(this._weekdaysParse,t))||-1!==(i=vt.call(this._shortWeekdaysParse,t))?i:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t)||n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t)||n&&"dd"===e&&this._minWeekdaysParse[r].test(t)||!n&&this._weekdaysParse[r].test(t))return r},K.weekdaysRegex=function(t){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||te.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(i(this,"_weekdaysRegex")||(this._weekdaysRegex=Qt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},K.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||te.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(i(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},K.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(i(this,"_weekdaysRegex")||te.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(i(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Jt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},K.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},K.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},ue("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===V(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),e.lang=T("moment.lang is deprecated. Use moment.locale instead.",ue),e.langData=T("moment.langData is deprecated. Use moment.localeData instead.",pe);var yn=Math.abs;function mn(t,e,n,r){return e=He(e,n),t._milliseconds+=r*e._milliseconds,t._days+=r*e._days,t._months+=r*e._months,t._bubble()}function bn(t){return t<0?Math.floor(t):Math.ceil(t)}function _n(t){return 4800*t/146097}function vn(t){return 146097*t/4800}function xn(t){return function(){return this.as(t)}}function kn(t){return function(){return this.isValid()?this._data[t]:NaN}}at=xn("ms"),J=xn("s"),Dt=xn("m"),it=xn("h"),rt=xn("d"),Gt=xn("w"),dt=xn("M"),tt=xn("Q"),ot=xn("y"),et=kn("milliseconds"),st=kn("seconds"),jt=kn("minutes"),K=kn("hours");var wn=kn("days"),Tn=kn("months"),En=kn("years"),Cn=Math.round,Sn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function An(t,e,n,r){var i=He(t).abs(),a=Cn(i.as("s")),s=Cn(i.as("m")),o=Cn(i.as("h")),l=Cn(i.as("d")),c=Cn(i.as("M")),h=Cn(i.as("w"));return i=Cn(i.as("y")),a=(a<=n.ss?["s",a]:a<n.s&&["ss",a])||s<=1&&["m"]||s<n.m&&["mm",s]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l],(a=(a=null!=n.w?a||h<=1&&["w"]||h<n.w&&["ww",h]:a)||c<=1&&["M"]||c<n.M&&["MM",c]||i<=1&&["y"]||["yy",i])[2]=e,a[3]=0<+t,a[4]=r,function(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}.apply(null,a)}var Ln=Math.abs;function Nn(t){return(0<t)-(t<0)||+t}function Dn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,r,i,a,s,o=Ln(this._milliseconds)/1e3,l=Ln(this._days),c=Ln(this._months),h=this.asSeconds();return h?(t=q(o/60),e=q(t/60),o%=60,t%=60,n=q(c/12),c%=12,r=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Nn(this._months)!==Nn(h)?"-":"",a=Nn(this._days)!==Nn(h)?"-":"",s=Nn(this._milliseconds)!==Nn(h)?"-":"",(h<0?"-":"")+"P"+(n?i+n+"Y":"")+(c?i+c+"M":"")+(l?a+l+"D":"")+(e||t||o?"T":"")+(e?s+e+"H":"")+(t?s+t+"M":"")+(o?s+r+"S":"")):"P0D"}var On=Be.prototype;return On.isValid=function(){return this._isValid},On.abs=function(){var t=this._data;return this._milliseconds=yn(this._milliseconds),this._days=yn(this._days),this._months=yn(this._months),t.milliseconds=yn(t.milliseconds),t.seconds=yn(t.seconds),t.minutes=yn(t.minutes),t.hours=yn(t.hours),t.months=yn(t.months),t.years=yn(t.years),this},On.add=function(t,e){return mn(this,t,e,1)},On.subtract=function(t,e){return mn(this,t,e,-1)},On.as=function(t){if(!this.isValid())return NaN;var e,n,r=this._milliseconds;if("month"===(t=Y(t))||"quarter"===t||"year"===t)switch(e=this._days+r/864e5,n=this._months+_n(e),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(vn(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}},On.asMilliseconds=at,On.asSeconds=J,On.asMinutes=Dt,On.asHours=it,On.asDays=rt,On.asWeeks=Gt,On.asMonths=dt,On.asQuarters=tt,On.asYears=ot,On.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*V(this._months/12):NaN},On._bubble=function(){var t=this._milliseconds,e=this._days,n=this._months,r=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*bn(vn(n)+e),n=e=0),r.milliseconds=t%1e3,t=q(t/1e3),r.seconds=t%60,t=q(t/60),r.minutes=t%60,t=q(t/60),r.hours=t%24,e+=q(t/24),n+=t=q(_n(e)),e-=bn(vn(t)),t=q(n/12),n%=12,r.days=e,r.months=n,r.years=t,this},On.clone=function(){return He(this)},On.get=function(t){return t=Y(t),this.isValid()?this[t+"s"]():NaN},On.milliseconds=et,On.seconds=st,On.minutes=jt,On.hours=K,On.days=wn,On.weeks=function(){return q(this.days()/7)},On.months=Tn,On.years=En,On.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Sn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(n=t),"object"==typeof e&&(r=Object.assign({},Sn,e),null!=e.s&&null==e.ss&&(r.ss=e.s-1)),e=An(this,!n,r,t=this.localeData()),n&&(e=t.pastFuture(+this,e)),t.postformat(e)},On.toISOString=Dn,On.toString=Dn,On.toJSON=Dn,On.locale=Je,On.localeData=tn,On.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Dn),On.lang=Xt,F("X",0,0,"unix"),F("x",0,0,"valueOf"),pt("x",ct),pt("X",/[+-]?\d+(\.\d{1,3})?/),bt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t))})),bt("x",(function(t,e,n){n._d=new Date(V(t))})),e.version="2.29.4",t=De,e.fn=Q,e.min=function(){return Oe("isBefore",[].slice.call(arguments,0))},e.max=function(){return Oe("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=p,e.unix=function(t){return De(1e3*t)},e.months=function(t,e){return fn(t,e,"months")},e.isDate=h,e.locale=ue,e.invalid=y,e.duration=He,e.isMoment=k,e.weekdays=function(t,e,n){return gn(t,e,n,"weekdays")},e.parseZone=function(){return De.apply(null,arguments).parseZone()},e.localeData=pe,e.isDuration=Ie,e.monthsShort=function(t,e){return fn(t,e,"monthsShort")},e.weekdaysMin=function(t,e,n){return gn(t,e,n,"weekdaysMin")},e.defineLocale=de,e.updateLocale=function(t,e){var n,r;return null!=e?(r=ae,null!=se[t]&&null!=se[t].parentLocale?se[t].set(A(se[t]._config,e)):(e=A(r=null!=(n=he(t))?n._config:r,e),null==n&&(e.abbr=t),(r=new L(e)).parentLocale=se[t],se[t]=r),ue(t)):null!=se[t]&&(null!=se[t].parentLocale?(se[t]=se[t].parentLocale,t===ue()&&ue(t)):null!=se[t]&&delete se[t]),se[t]},e.locales=function(){return N(se)},e.weekdaysShort=function(t,e,n){return gn(t,e,n,"weekdaysShort")},e.normalizeUnits=Y,e.relativeTimeRounding=function(t){return void 0===t?Cn:"function"==typeof t&&(Cn=t,!0)},e.relativeTimeThreshold=function(t,e){return void 0!==Sn[t]&&(void 0===e?Sn[t]:(Sn[t]=e,"s"===t&&(Sn.ss=e-1),!0))},e.calendarFormat=function(t,e){return(t=t.diff(e,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},e.prototype=Q,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e},(o=h).exports=l();const u=h.exports,d={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},p={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},f=function(t="fatal"){let e=d.fatal;"string"==typeof t?(t=t.toLowerCase())in d&&(e=d[t]):"number"==typeof t&&(e=t),p.trace=()=>{},p.debug=()=>{},p.info=()=>{},p.warn=()=>{},p.error=()=>{},p.fatal=()=>{},e<=d.fatal&&(p.fatal=console.error?console.error.bind(console,g("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",g("FATAL"))),e<=d.error&&(p.error=console.error?console.error.bind(console,g("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",g("ERROR"))),e<=d.warn&&(p.warn=console.warn?console.warn.bind(console,g("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",g("WARN"))),e<=d.info&&(p.info=console.info?console.info.bind(console,g("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",g("INFO"))),e<=d.debug&&(p.debug=console.debug?console.debug.bind(console,g("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",g("DEBUG"))),e<=d.trace&&(p.trace=console.debug?console.debug.bind(console,g("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",g("TRACE")))},g=t=>`%c${u().format("ss.SSS")} : ${t} : `;var y={};Object.defineProperty(y,"__esModule",{value:!0});var m=y.sanitizeUrl=void 0,b=/^([^\w]*)(javascript|data|vbscript)/im,_=/&#(\w+)(^\w|;)?/g,v=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,x=/^([^:]+):/gm,k=[".","/"];function w(t){return k.indexOf(t[0])>-1}function T(t){return t.replace(_,(function(t,e){return String.fromCharCode(e)}))}function E(t){var e=T(t||"").replace(v,"").trim();if(!e)return"about:blank";if(w(e))return e;var n=e.match(x);if(!n)return e;var r=n[0];return b.test(r)?"about:blank":e}function C(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function S(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function A(t){let e,n,r;function i(t,r,i=0,a=t.length){if(i<a){if(0!==e(r,r))return a;do{const e=i+a>>>1;n(t[e],r)<0?i=e+1:a=e}while(i<a)}return i}function a(t,r,i=0,a=t.length){if(i<a){if(0!==e(r,r))return a;do{const e=i+a>>>1;n(t[e],r)<=0?i=e+1:a=e}while(i<a)}return i}function s(t,e,n=0,a=t.length){const s=i(t,e,n,a-1);return s>n&&r(t[s-1],e)>-r(t[s],e)?s-1:s}return 2!==t.length?(e=C,n=(e,n)=>C(t(e),n),r=(e,n)=>t(e)-n):(e=t===C||t===S?t:L,n=t,r=t),{left:i,center:s,right:a}}function L(){return 0}function N(t){return null===t?NaN:+t}m=y.sanitizeUrl=E;const D=A(C).right;A(N).center;const O=D;class M extends Map{constructor(t,e=R){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,r]of t)this.set(n,r)}get(t){return super.get(B(this,t))}has(t){return super.has(B(this,t))}set(t,e){return super.set(I(this,t),e)}delete(t){return super.delete(F(this,t))}}function B({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):n}function I({_intern:t,_key:e},n){const r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}function F({_intern:t,_key:e},n){const r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}function R(t){return null!==t&&"object"==typeof t?t.valueOf():t}var $=Math.sqrt(50),P=Math.sqrt(10),j=Math.sqrt(2);function Y(t,e,n){var r,i,a,s,o=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(s=z(t,e,n))||!isFinite(s))return[];if(s>0){let n=Math.round(t/s),r=Math.round(e/s);for(n*s<t&&++n,r*s>e&&--r,a=new Array(i=r-n+1);++o<i;)a[o]=(n+o)*s}else{s=-s;let n=Math.round(t*s),r=Math.round(e*s);for(n/s<t&&++n,r/s>e&&--r,a=new Array(i=r-n+1);++o<i;)a[o]=(n+o)/s}return r&&a.reverse(),a}function z(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=$?10:a>=P?5:a>=j?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=$?10:a>=P?5:a>=j?2:1)}function U(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=$?i*=10:a>=P?i*=5:a>=j&&(i*=2),e<t?-i:i}function W(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function H(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function q(t){return t}var V=1,G=2,Z=3,X=4,Q=1e-6;function K(t){return"translate("+t+",0)"}function J(t){return"translate(0,"+t+")"}function tt(t){return e=>+t(e)}function et(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function nt(){return!this.__axis}function rt(t,e){var n=[],r=null,i=null,a=6,s=6,o=3,l=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=t===V||t===X?-1:1,h=t===X||t===G?"x":"y",u=t===V||t===Z?K:J;function d(d){var p=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,f=null==i?e.tickFormat?e.tickFormat.apply(e,n):q:i,g=Math.max(a,0)+o,y=e.range(),m=+y[0]+l,b=+y[y.length-1]+l,_=(e.bandwidth?et:tt)(e.copy(),l),v=d.selection?d.selection():d,x=v.selectAll(".domain").data([null]),k=v.selectAll(".tick").data(p,e).order(),w=k.exit(),T=k.enter().append("g").attr("class","tick"),E=k.select("line"),C=k.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(T),E=E.merge(T.append("line").attr("stroke","currentColor").attr(h+"2",c*a)),C=C.merge(T.append("text").attr("fill","currentColor").attr(h,c*g).attr("dy",t===V?"0em":t===Z?"0.71em":"0.32em")),d!==v&&(x=x.transition(d),k=k.transition(d),E=E.transition(d),C=C.transition(d),w=w.transition(d).attr("opacity",Q).attr("transform",(function(t){return isFinite(t=_(t))?u(t+l):this.getAttribute("transform")})),T.attr("opacity",Q).attr("transform",(function(t){var e=this.parentNode.__axis;return u((e&&isFinite(e=e(t))?e:_(t))+l)}))),w.remove(),x.attr("d",t===X||t===G?s?"M"+c*s+","+m+"H"+l+"V"+b+"H"+c*s:"M"+l+","+m+"V"+b:s?"M"+m+","+c*s+"V"+l+"H"+b+"V"+c*s:"M"+m+","+l+"H"+b),k.attr("opacity",1).attr("transform",(function(t){return u(_(t)+l)})),E.attr(h+"2",c*a),C.attr(h,c*g).text(f),v.filter(nt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===G?"start":t===X?"end":"middle"),v.each((function(){this.__axis=_}))}return d.scale=function(t){return arguments.length?(e=t,d):e},d.ticks=function(){return n=Array.from(arguments),d},d.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),d):n.slice()},d.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),d):r&&r.slice()},d.tickFormat=function(t){return arguments.length?(i=t,d):i},d.tickSize=function(t){return arguments.length?(a=s=+t,d):a},d.tickSizeInner=function(t){return arguments.length?(a=+t,d):a},d.tickSizeOuter=function(t){return arguments.length?(s=+t,d):s},d.tickPadding=function(t){return arguments.length?(o=+t,d):o},d.offset=function(t){return arguments.length?(l=+t,d):l},d}function it(t){return rt(V,t)}function at(t){return rt(Z,t)}var st={value:()=>{}};function ot(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new lt(r)}function lt(t){this._=t}function ct(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function ht(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function ut(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=st,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}lt.prototype=ot.prototype={constructor:lt,on:function(t,e){var n,r=this._,i=ct(t+"",r),a=-1,s=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<s;)if(n=(t=i[a]).type)r[n]=ut(r[n],t.name,e);else if(null==e)for(n in r)r[n]=ut(r[n],t.name,null);return this}for(;++a<s;)if((n=(t=i[a]).type)&&(n=ht(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new lt(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,a=r.length;i<a;++i)r[i].value.apply(e,n)}};var dt="http://www.w3.org/1999/xhtml";const pt={svg:"http://www.w3.org/2000/svg",xhtml:dt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ft(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pt.hasOwnProperty(e)?{space:pt[e],local:t}:t}function gt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===dt&&e.documentElement.namespaceURI===dt?e.createElement(t):e.createElementNS(n,t)}}function yt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function mt(t){var e=ft(t);return(e.local?yt:gt)(e)}function bt(){}function _t(t){return null==t?bt:function(){return this.querySelector(t)}}function vt(t){"function"!=typeof t&&(t=_t(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,s,o=e[i],l=o.length,c=r[i]=new Array(l),h=0;h<l;++h)(a=o[h])&&(s=t.call(a,a.__data__,h,o))&&("__data__"in a&&(s.__data__=a.__data__),c[h]=s);return new cn(r,this._parents)}function xt(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function kt(){return[]}function wt(t){return null==t?kt:function(){return this.querySelectorAll(t)}}function Tt(t){return function(){return xt(t.apply(this,arguments))}}function Et(t){t="function"==typeof t?Tt(t):wt(t);for(var e=this._groups,n=e.length,r=[],i=[],a=0;a<n;++a)for(var s,o=e[a],l=o.length,c=0;c<l;++c)(s=o[c])&&(r.push(t.call(s,s.__data__,c,o)),i.push(s));return new cn(r,i)}function Ct(t){return function(){return this.matches(t)}}function St(t){return function(e){return e.matches(t)}}var At=Array.prototype.find;function Lt(t){return function(){return At.call(this.children,t)}}function Nt(){return this.firstElementChild}function Dt(t){return this.select(null==t?Nt:Lt("function"==typeof t?t:St(t)))}var Ot=Array.prototype.filter;function Mt(){return Array.from(this.children)}function Bt(t){return function(){return Ot.call(this.children,t)}}function It(t){return this.selectAll(null==t?Mt:Bt("function"==typeof t?t:St(t)))}function Ft(t){"function"!=typeof t&&(t=Ct(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,s=e[i],o=s.length,l=r[i]=[],c=0;c<o;++c)(a=s[c])&&t.call(a,a.__data__,c,s)&&l.push(a);return new cn(r,this._parents)}function Rt(t){return new Array(t.length)}function $t(){return new cn(this._enter||this._groups.map(Rt),this._parents)}function Pt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function jt(t){return function(){return t}}function Yt(t,e,n,r,i,a){for(var s,o=0,l=e.length,c=a.length;o<c;++o)(s=e[o])?(s.__data__=a[o],r[o]=s):n[o]=new Pt(t,a[o]);for(;o<l;++o)(s=e[o])&&(i[o]=s)}function zt(t,e,n,r,i,a,s){var o,l,c,h=new Map,u=e.length,d=a.length,p=new Array(u);for(o=0;o<u;++o)(l=e[o])&&(p[o]=c=s.call(l,l.__data__,o,e)+"",h.has(c)?i[o]=l:h.set(c,l));for(o=0;o<d;++o)c=s.call(t,a[o],o,a)+"",(l=h.get(c))?(r[o]=l,l.__data__=a[o],h.delete(c)):n[o]=new Pt(t,a[o]);for(o=0;o<u;++o)(l=e[o])&&h.get(p[o])===l&&(i[o]=l)}function Ut(t){return t.__data__}function Wt(t,e){if(!arguments.length)return Array.from(this,Ut);var n=e?zt:Yt,r=this._parents,i=this._groups;"function"!=typeof t&&(t=jt(t));for(var a=i.length,s=new Array(a),o=new Array(a),l=new Array(a),c=0;c<a;++c){var h=r[c],u=i[c],d=u.length,p=Ht(t.call(h,h&&h.__data__,c,r)),f=p.length,g=o[c]=new Array(f),y=s[c]=new Array(f);n(h,u,g,y,l[c]=new Array(d),p,e);for(var m,b,_=0,v=0;_<f;++_)if(m=g[_]){for(_>=v&&(v=_+1);!(b=y[v])&&++v<f;);m._next=b||null}}return(s=new cn(s,r))._enter=o,s._exit=l,s}function Ht(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function qt(){return new cn(this._exit||this._groups.map(Rt),this._parents)}function Vt(t,e,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i}function Gt(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,a=r.length,s=Math.min(i,a),o=new Array(i),l=0;l<s;++l)for(var c,h=n[l],u=r[l],d=h.length,p=o[l]=new Array(d),f=0;f<d;++f)(c=h[f]||u[f])&&(p[f]=c);for(;l<i;++l)o[l]=n[l];return new cn(o,this._parents)}function Zt(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,s=i[a];--a>=0;)(r=i[a])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this}function Xt(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Qt);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var s,o=n[a],l=o.length,c=i[a]=new Array(l),h=0;h<l;++h)(s=o[h])&&(c[h]=s);c.sort(e)}return new cn(i,this._parents).order()}function Qt(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Kt(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Jt(){return Array.from(this)}function te(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,a=r.length;i<a;++i){var s=r[i];if(s)return s}return null}function ee(){let t=0;for(const e of this)++t;return t}function ne(){return!this.node()}function re(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,a=e[n],s=0,o=a.length;s<o;++s)(i=a[s])&&t.call(i,i.__data__,s,a);return this}function ie(t){return function(){this.removeAttribute(t)}}function ae(t){return function(){this.removeAttributeNS(t.space,t.local)}}function se(t,e){return function(){this.setAttribute(t,e)}}function oe(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function le(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function ce(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function he(t,e){var n=ft(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?ae:ie:"function"==typeof e?n.local?ce:le:n.local?oe:se)(n,e))}function ue(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function de(t){return function(){this.style.removeProperty(t)}}function pe(t,e,n){return function(){this.style.setProperty(t,e,n)}}function fe(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function ge(t,e,n){return arguments.length>1?this.each((null==e?de:"function"==typeof e?fe:pe)(t,e,null==n?"":n)):ye(this.node(),t)}function ye(t,e){return t.style.getPropertyValue(e)||ue(t).getComputedStyle(t,null).getPropertyValue(e)}function me(t){return function(){delete this[t]}}function be(t,e){return function(){this[t]=e}}function _e(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function ve(t,e){return arguments.length>1?this.each((null==e?me:"function"==typeof e?_e:be)(t,e)):this.node()[t]}function xe(t){return t.trim().split(/^|\s+/)}function ke(t){return t.classList||new we(t)}function we(t){this._node=t,this._names=xe(t.getAttribute("class")||"")}function Te(t,e){for(var n=ke(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function Ee(t,e){for(var n=ke(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function Ce(t){return function(){Te(this,t)}}function Se(t){return function(){Ee(this,t)}}function Ae(t,e){return function(){(e.apply(this,arguments)?Te:Ee)(this,t)}}function Le(t,e){var n=xe(t+"");if(arguments.length<2){for(var r=ke(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?Ae:e?Ce:Se)(n,e))}function Ne(){this.textContent=""}function De(t){return function(){this.textContent=t}}function Oe(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function Me(t){return arguments.length?this.each(null==t?Ne:("function"==typeof t?Oe:De)(t)):this.node().textContent}function Be(){this.innerHTML=""}function Ie(t){return function(){this.innerHTML=t}}function Fe(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Re(t){return arguments.length?this.each(null==t?Be:("function"==typeof t?Fe:Ie)(t)):this.node().innerHTML}function $e(){this.nextSibling&&this.parentNode.appendChild(this)}function Pe(){return this.each($e)}function je(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ye(){return this.each(je)}function ze(t){var e="function"==typeof t?t:mt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))}function Ue(){return null}function We(t,e){var n="function"==typeof t?t:mt(t),r=null==e?Ue:"function"==typeof e?e:_t(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))}function He(){var t=this.parentNode;t&&t.removeChild(this)}function qe(){return this.each(He)}function Ve(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ge(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ze(t){return this.select(t?Ge:Ve)}function Xe(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Qe(t){return function(e){t.call(this,e,this.__data__)}}function Ke(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Je(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function tn(t,e,n){return function(){var r,i=this.__on,a=Qe(e);if(i)for(var s=0,o=i.length;s<o;++s)if((r=i[s]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),void(r.value=e);this.addEventListener(t.type,a,n),r={type:t.type,name:t.name,value:e,listener:a,options:n},i?i.push(r):this.__on=[r]}}function en(t,e,n){var r,i,a=Ke(t+""),s=a.length;if(!(arguments.length<2)){for(o=e?tn:Je,r=0;r<s;++r)this.each(o(a[r],e,n));return this}var o=this.node().__on;if(o)for(var l,c=0,h=o.length;c<h;++c)for(r=0,l=o[c];r<s;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value}function nn(t,e,n){var r=ue(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}function rn(t,e){return function(){return nn(this,t,e)}}function an(t,e){return function(){return nn(this,t,e.apply(this,arguments))}}function sn(t,e){return this.each(("function"==typeof e?an:rn)(t,e))}function*on(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],a=0,s=i.length;a<s;++a)(r=i[a])&&(yield r)}Pt.prototype={constructor:Pt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},we.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ln=[null];function cn(t,e){this._groups=t,this._parents=e}function hn(){return new cn([[document.documentElement]],ln)}function un(){return this}function dn(t){return"string"==typeof t?new cn([[document.querySelector(t)]],[document.documentElement]):new cn([[t]],ln)}function pn(t){return"string"==typeof t?new cn([document.querySelectorAll(t)],[document.documentElement]):new cn([xt(t)],ln)}function fn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function gn(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function yn(){}cn.prototype=hn.prototype={constructor:cn,select:vt,selectAll:Et,selectChild:Dt,selectChildren:It,filter:Ft,data:Wt,enter:$t,exit:qt,join:Vt,merge:Gt,selection:un,order:Zt,sort:Xt,call:Kt,nodes:Jt,node:te,size:ee,empty:ne,each:re,attr:he,style:ge,property:ve,classed:Le,text:Me,html:Re,raise:Pe,lower:Ye,append:ze,insert:We,remove:qe,clone:Ze,datum:Xe,on:en,dispatch:sn,[Symbol.iterator]:on};var mn=.7,bn=1/mn,_n="\\s*([+-]?\\d+)\\s*",vn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",kn=/^#([0-9a-f]{3,8})$/,wn=new RegExp(`^rgb\\(${_n},${_n},${_n}\\)$`),Tn=new RegExp(`^rgb\\(${xn},${xn},${xn}\\)$`),En=new RegExp(`^rgba\\(${_n},${_n},${_n},${vn}\\)$`),Cn=new RegExp(`^rgba\\(${xn},${xn},${xn},${vn}\\)$`),Sn=new RegExp(`^hsl\\(${vn},${xn},${xn}\\)$`),An=new RegExp(`^hsla\\(${vn},${xn},${xn},${vn}\\)$`),Ln={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Nn(){return this.rgb().formatHex()}function Dn(){return this.rgb().formatHex8()}function On(){return Vn(this).formatHsl()}function Mn(){return this.rgb().formatRgb()}function Bn(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=kn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?In(e):3===n?new Pn(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Fn(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Fn(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=wn.exec(t))?new Pn(e[1],e[2],e[3],1):(e=Tn.exec(t))?new Pn(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=En.exec(t))?Fn(e[1],e[2],e[3],e[4]):(e=Cn.exec(t))?Fn(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Sn.exec(t))?qn(e[1],e[2]/100,e[3]/100,1):(e=An.exec(t))?qn(e[1],e[2]/100,e[3]/100,e[4]):Ln.hasOwnProperty(t)?In(Ln[t]):"transparent"===t?new Pn(NaN,NaN,NaN,0):null}function In(t){return new Pn(t>>16&255,t>>8&255,255&t,1)}function Fn(t,e,n,r){return r<=0&&(t=e=n=NaN),new Pn(t,e,n,r)}function Rn(t){return t instanceof yn||(t=Bn(t)),t?new Pn((t=t.rgb()).r,t.g,t.b,t.opacity):new Pn}function $n(t,e,n,r){return 1===arguments.length?Rn(t):new Pn(t,e,n,null==r?1:r)}function Pn(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function jn(){return`#${Hn(this.r)}${Hn(this.g)}${Hn(this.b)}`}function Yn(){return`#${Hn(this.r)}${Hn(this.g)}${Hn(this.b)}${Hn(255*(isNaN(this.opacity)?1:this.opacity))}`}function zn(){const t=Un(this.opacity);return`${1===t?"rgb(":"rgba("}${Wn(this.r)}, ${Wn(this.g)}, ${Wn(this.b)}${1===t?")":`, ${t})`}`}function Un(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Wn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Hn(t){return((t=Wn(t))<16?"0":"")+t.toString(16)}function qn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Zn(t,e,n,r)}function Vn(t){if(t instanceof Zn)return new Zn(t.h,t.s,t.l,t.opacity);if(t instanceof yn||(t=Bn(t)),!t)return new Zn;if(t instanceof Zn)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,o=a-i,l=(a+i)/2;return o?(s=e===a?(n-r)/o+6*(n<r):n===a?(r-e)/o+2:(e-n)/o+4,o/=l<.5?a+i:2-a-i,s*=60):o=l>0&&l<1?0:s,new Zn(s,o,l,t.opacity)}function Gn(t,e,n,r){return 1===arguments.length?Vn(t):new Zn(t,e,n,null==r?1:r)}function Zn(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Xn(t){return(t=(t||0)%360)<0?t+360:t}function Qn(t){return Math.max(0,Math.min(1,t||0))}function Kn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}fn(yn,Bn,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Nn,formatHex:Nn,formatHex8:Dn,formatHsl:On,formatRgb:Mn,toString:Mn}),fn(Pn,$n,gn(yn,{brighter(t){return t=null==t?bn:Math.pow(bn,t),new Pn(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?mn:Math.pow(mn,t),new Pn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Pn(Wn(this.r),Wn(this.g),Wn(this.b),Un(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:jn,formatHex:jn,formatHex8:Yn,formatRgb:zn,toString:zn})),fn(Zn,Gn,gn(yn,{brighter(t){return t=null==t?bn:Math.pow(bn,t),new Zn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?mn:Math.pow(mn,t),new Zn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Pn(Kn(t>=240?t-240:t+120,i,r),Kn(t,i,r),Kn(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Zn(Xn(this.h),Qn(this.s),Qn(this.l),Un(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Un(this.opacity);return`${1===t?"hsl(":"hsla("}${Xn(this.h)}, ${100*Qn(this.s)}%, ${100*Qn(this.l)}%${1===t?")":`, ${t})`}`}}));const Jn=Math.PI/180,tr=180/Math.PI,er=18,nr=.96422,rr=1,ir=.82521,ar=4/29,sr=6/29,or=3*sr*sr,lr=sr*sr*sr;function cr(t){if(t instanceof ur)return new ur(t.l,t.a,t.b,t.opacity);if(t instanceof br)return _r(t);t instanceof Pn||(t=Rn(t));var e,n,r=gr(t.r),i=gr(t.g),a=gr(t.b),s=dr((.2225045*r+.7168786*i+.0606169*a)/rr);return r===i&&i===a?e=n=s:(e=dr((.4360747*r+.3850649*i+.1430804*a)/nr),n=dr((.0139322*r+.0971045*i+.7141733*a)/ir)),new ur(116*s-16,500*(e-s),200*(s-n),t.opacity)}function hr(t,e,n,r){return 1===arguments.length?cr(t):new ur(t,e,n,null==r?1:r)}function ur(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function dr(t){return t>lr?Math.pow(t,1/3):t/or+ar}function pr(t){return t>sr?t*t*t:or*(t-ar)}function fr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function gr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function yr(t){if(t instanceof br)return new br(t.h,t.c,t.l,t.opacity);if(t instanceof ur||(t=cr(t)),0===t.a&&0===t.b)return new br(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*tr;return new br(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function mr(t,e,n,r){return 1===arguments.length?yr(t):new br(t,e,n,null==r?1:r)}function br(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function _r(t){if(isNaN(t.h))return new ur(t.l,0,0,t.opacity);var e=t.h*Jn;return new ur(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}fn(ur,hr,gn(yn,{brighter(t){return new ur(this.l+er*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new ur(this.l-er*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new Pn(fr(3.1338561*(e=nr*pr(e))-1.6168667*(t=rr*pr(t))-.4906146*(n=ir*pr(n))),fr(-.9787684*e+1.9161415*t+.033454*n),fr(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),fn(br,mr,gn(yn,{brighter(t){return new br(this.h,this.c,this.l+er*(null==t?1:t),this.opacity)},darker(t){return new br(this.h,this.c,this.l-er*(null==t?1:t),this.opacity)},rgb(){return _r(this).rgb()}}));const vr=t=>()=>t;function xr(t,e){return function(n){return t+n*e}}function kr(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function wr(t,e){var n=e-t;return n?xr(t,n>180||n<-180?n-360*Math.round(n/360):n):vr(isNaN(t)?e:t)}function Tr(t){return 1==(t=+t)?Er:function(e,n){return n-e?kr(e,n,t):vr(isNaN(e)?n:e)}}function Er(t,e){var n=e-t;return n?xr(t,n):vr(isNaN(t)?e:t)}const Cr=function t(e){var n=Tr(e);function r(t,e){var r=n((t=$n(t)).r,(e=$n(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),s=Er(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=s(e),t+""}}return r.gamma=t,r}(1);function Sr(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(a){for(n=0;n<r;++n)i[n]=t[n]*(1-a)+e[n]*a;return i}}function Ar(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Lr(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),s=new Array(r);for(n=0;n<i;++n)a[n]=$r(t[n],e[n]);for(;n<r;++n)s[n]=e[n];return function(t){for(n=0;n<i;++n)s[n]=a[n](t);return s}}function Nr(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Dr(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Or(t,e){var n,r={},i={};for(n in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)n in t?r[n]=$r(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var Mr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Br=new RegExp(Mr.source,"g");function Ir(t){return function(){return t}}function Fr(t){return function(e){return t(e)+""}}function Rr(t,e){var n,r,i,a=Mr.lastIndex=Br.lastIndex=0,s=-1,o=[],l=[];for(t+="",e+="";(n=Mr.exec(t))&&(r=Br.exec(e));)(i=r.index)>a&&(i=e.slice(a,i),o[s]?o[s]+=i:o[++s]=i),(n=n[0])===(r=r[0])?o[s]?o[s]+=r:o[++s]=r:(o[++s]=null,l.push({i:s,x:Dr(n,r)})),a=Br.lastIndex;return a<e.length&&(i=e.slice(a),o[s]?o[s]+=i:o[++s]=i),o.length<2?l[0]?Fr(l[0].x):Ir(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)o[(n=l[r]).i]=n.x(t);return o.join("")})}function $r(t,e){var n,r=typeof e;return null==e||"boolean"===r?vr(e):("number"===r?Dr:"string"===r?(n=Bn(e))?(e=n,Cr):Rr:e instanceof Bn?Cr:e instanceof Date?Nr:Ar(e)?Sr:Array.isArray(e)?Lr:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Or:Dr)(t,e)}function Pr(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var jr,Yr=180/Math.PI,zr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Ur(t,e,n,r,i,a){var s,o,l;return(s=Math.sqrt(t*t+e*e))&&(t/=s,e/=s),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(o=Math.sqrt(n*n+r*r))&&(n/=o,r/=o,l/=o),t*r<e*n&&(t=-t,e=-e,l=-l,s=-s),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*Yr,skewX:Math.atan(l)*Yr,scaleX:s,scaleY:o}}function Wr(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?zr:Ur(e.a,e.b,e.c,e.d,e.e,e.f)}function Hr(t){return null!=t&&(jr||(jr=document.createElementNS("http://www.w3.org/2000/svg","g")),jr.setAttribute("transform",t),t=jr.transform.baseVal.consolidate())?Ur((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):zr}function qr(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}function a(t,r,i,a,s,o){if(t!==i||r!==a){var l=s.push("translate(",null,e,null,n);o.push({i:l-4,x:Dr(t,i)},{i:l-2,x:Dr(r,a)})}else(i||a)&&s.push("translate("+i+e+a+n)}function s(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Dr(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}function o(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Dr(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}function l(t,e,n,r,a,s){if(t!==n||e!==r){var o=a.push(i(a)+"scale(",null,",",null,")");s.push({i:o-4,x:Dr(t,n)},{i:o-2,x:Dr(e,r)})}else(1!==n||1!==r)&&a.push(i(a)+"scale("+n+","+r+")")}return function(e,n){var r=[],i=[];return e=t(e),n=t(n),a(e.translateX,e.translateY,n.translateX,n.translateY,r,i),s(e.rotate,n.rotate,r,i),o(e.skewX,n.skewX,r,i),l(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,i),e=n=null,function(t){for(var e,n=-1,a=i.length;++n<a;)r[(e=i[n]).i]=e.x(t);return r.join("")}}}var Vr=qr(Wr,"px, ","px)","deg)"),Gr=qr(Hr,", ",")",")");function Zr(t){return function(e,n){var r=t((e=mr(e)).h,(n=mr(n)).h),i=Er(e.c,n.c),a=Er(e.l,n.l),s=Er(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=s(t),e+""}}}const Xr=Zr(wr);var Qr,Kr,Jr=0,ti=0,ei=0,ni=1e3,ri=0,ii=0,ai=0,si="object"==typeof performance&&performance.now?performance:Date,oi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function li(){return ii||(oi(ci),ii=si.now()+ai)}function ci(){ii=0}function hi(){this._call=this._time=this._next=null}function ui(t,e,n){var r=new hi;return r.restart(t,e,n),r}function di(){li(),++Jr;for(var t,e=Qr;e;)(t=ii-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Jr}function pi(){ii=(ri=si.now())+ai,Jr=ti=0;try{di()}finally{Jr=0,gi(),ii=0}}function fi(){var t=si.now(),e=t-ri;e>ni&&(ai-=e,ri=t)}function gi(){for(var t,e,n=Qr,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Qr=e);Kr=t,yi(r)}function yi(t){Jr||(ti&&(ti=clearTimeout(ti)),t-ii>24?(t<1/0&&(ti=setTimeout(pi,t-si.now()-ai)),ei&&(ei=clearInterval(ei))):(ei||(ri=si.now(),ei=setInterval(fi,ni)),Jr=1,oi(pi)))}function mi(t,e,n){var r=new hi;return e=null==e?0:+e,r.restart((n=>{r.stop(),t(n+e)}),e,n),r}hi.prototype=ui.prototype={constructor:hi,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?li():+n)+(null==e?0:+e),!this._next&&Kr!==this&&(Kr?Kr._next=this:Qr=this,Kr=this),this._call=t,this._time=n,yi()},stop:function(){this._call&&(this._call=null,this._time=1/0,yi())}};var bi=ot("start","end","cancel","interrupt"),_i=[],vi=0,xi=1,ki=2,wi=3,Ti=4,Ei=5,Ci=6;function Si(t,e,n,r,i,a){var s=t.__transition;if(s){if(n in s)return}else t.__transition={};Di(t,n,{name:e,index:r,group:i,on:bi,tween:_i,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:vi})}function Ai(t,e){var n=Ni(t,e);if(n.state>vi)throw new Error("too late; already scheduled");return n}function Li(t,e){var n=Ni(t,e);if(n.state>wi)throw new Error("too late; already running");return n}function Ni(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Di(t,e,n){var r,i=t.__transition;function a(t){n.state=xi,n.timer.restart(s,n.delay,n.time),n.delay<=t&&s(t-n.delay)}function s(a){var c,h,u,d;if(n.state!==xi)return l();for(c in i)if((d=i[c]).name===n.name){if(d.state===wi)return mi(s);d.state===Ti?(d.state=Ci,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c<e&&(d.state=Ci,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[c])}if(mi((function(){n.state===wi&&(n.state=Ti,n.timer.restart(o,n.delay,n.time),o(a))})),n.state=ki,n.on.call("start",t,t.__data__,n.index,n.group),n.state===ki){for(n.state=wi,r=new Array(u=n.tween.length),c=0,h=-1;c<u;++c)(d=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++h]=d);r.length=h+1}}function o(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=Ei,1),a=-1,s=r.length;++a<s;)r[a].call(t,i);n.state===Ei&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var r in n.state=Ci,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=ui(a,0,n.time)}function Oi(t,e){var n,r,i,a=t.__transition,s=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>ki&&n.state<Ei,n.state=Ci,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):s=!1;s&&delete t.__transition}}function Mi(t){return this.each((function(){Oi(this,t)}))}function Bi(t,e){var n,r;return function(){var i=Li(this,t),a=i.tween;if(a!==n)for(var s=0,o=(r=n=a).length;s<o;++s)if(r[s].name===e){(r=r.slice()).splice(s,1);break}i.tween=r}}function Ii(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=Li(this,t),s=a.tween;if(s!==r){i=(r=s).slice();for(var o={name:e,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===e){i[l]=o;break}l===c&&i.push(o)}a.tween=i}}function Fi(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=Ni(this.node(),n).tween,a=0,s=i.length;a<s;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?Bi:Ii)(n,t,e))}function Ri(t,e,n){var r=t._id;return t.each((function(){var t=Li(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return Ni(t,r).value[e]}}function $i(t,e){var n;return("number"==typeof e?Dr:e instanceof Bn?Cr:(n=Bn(e))?(e=n,Cr):Rr)(t,e)}function Pi(t){return function(){this.removeAttribute(t)}}function ji(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Yi(t,e,n){var r,i,a=n+"";return function(){var s=this.getAttribute(t);return s===a?null:s===r?i:i=e(r=s,n)}}function zi(t,e,n){var r,i,a=n+"";return function(){var s=this.getAttributeNS(t.space,t.local);return s===a?null:s===r?i:i=e(r=s,n)}}function Ui(t,e,n){var r,i,a;return function(){var s,o,l=n(this);return null==l?void this.removeAttribute(t):(s=this.getAttribute(t))===(o=l+"")?null:s===r&&o===i?a:(i=o,a=e(r=s,l))}}function Wi(t,e,n){var r,i,a;return function(){var s,o,l=n(this);return null==l?void this.removeAttributeNS(t.space,t.local):(s=this.getAttributeNS(t.space,t.local))===(o=l+"")?null:s===r&&o===i?a:(i=o,a=e(r=s,l))}}function Hi(t,e){var n=ft(t),r="transform"===n?Gr:$i;return this.attrTween(t,"function"==typeof e?(n.local?Wi:Ui)(n,r,Ri(this,"attr."+t,e)):null==e?(n.local?ji:Pi)(n):(n.local?zi:Yi)(n,r,e))}function qi(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function Vi(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Gi(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&Vi(t,i)),n}return i._value=e,i}function Zi(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&qi(t,i)),n}return i._value=e,i}function Xi(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=ft(t);return this.tween(n,(r.local?Gi:Zi)(r,e))}function Qi(t,e){return function(){Ai(this,t).delay=+e.apply(this,arguments)}}function Ki(t,e){return e=+e,function(){Ai(this,t).delay=e}}function Ji(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Qi:Ki)(e,t)):Ni(this.node(),e).delay}function ta(t,e){return function(){Li(this,t).duration=+e.apply(this,arguments)}}function ea(t,e){return e=+e,function(){Li(this,t).duration=e}}function na(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?ta:ea)(e,t)):Ni(this.node(),e).duration}function ra(t,e){if("function"!=typeof e)throw new Error;return function(){Li(this,t).ease=e}}function ia(t){var e=this._id;return arguments.length?this.each(ra(e,t)):Ni(this.node(),e).ease}function aa(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;Li(this,t).ease=n}}function sa(t){if("function"!=typeof t)throw new Error;return this.each(aa(this._id,t))}function oa(t){"function"!=typeof t&&(t=Ct(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,s=e[i],o=s.length,l=r[i]=[],c=0;c<o;++c)(a=s[c])&&t.call(a,a.__data__,c,s)&&l.push(a);return new Fa(r,this._parents,this._name,this._id)}function la(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),s=new Array(r),o=0;o<a;++o)for(var l,c=e[o],h=n[o],u=c.length,d=s[o]=new Array(u),p=0;p<u;++p)(l=c[p]||h[p])&&(d[p]=l);for(;o<r;++o)s[o]=e[o];return new Fa(s,this._parents,this._name,this._id)}function ca(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}function ha(t,e,n){var r,i,a=ca(e)?Ai:Li;return function(){var s=a(this,t),o=s.on;o!==r&&(i=(r=o).copy()).on(e,n),s.on=i}}function ua(t,e){var n=this._id;return arguments.length<2?Ni(this.node(),n).on.on(t):this.each(ha(n,t,e))}function da(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function pa(){return this.on("end.remove",da(this._id))}function fa(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=_t(t));for(var r=this._groups,i=r.length,a=new Array(i),s=0;s<i;++s)for(var o,l,c=r[s],h=c.length,u=a[s]=new Array(h),d=0;d<h;++d)(o=c[d])&&(l=t.call(o,o.__data__,d,c))&&("__data__"in o&&(l.__data__=o.__data__),u[d]=l,Si(u[d],e,n,d,u,Ni(o,n)));return new Fa(a,this._parents,e,n)}function ga(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=wt(t));for(var r=this._groups,i=r.length,a=[],s=[],o=0;o<i;++o)for(var l,c=r[o],h=c.length,u=0;u<h;++u)if(l=c[u]){for(var d,p=t.call(l,l.__data__,u,c),f=Ni(l,n),g=0,y=p.length;g<y;++g)(d=p[g])&&Si(d,e,n,g,p,f);a.push(p),s.push(l)}return new Fa(a,s,e,n)}var ya=hn.prototype.constructor;function ma(){return new ya(this._groups,this._parents)}function ba(t,e){var n,r,i;return function(){var a=ye(this,t),s=(this.style.removeProperty(t),ye(this,t));return a===s?null:a===n&&s===r?i:i=e(n=a,r=s)}}function _a(t){return function(){this.style.removeProperty(t)}}function va(t,e,n){var r,i,a=n+"";return function(){var s=ye(this,t);return s===a?null:s===r?i:i=e(r=s,n)}}function xa(t,e,n){var r,i,a;return function(){var s=ye(this,t),o=n(this),l=o+"";return null==o&&(this.style.removeProperty(t),l=o=ye(this,t)),s===l?null:s===r&&l===i?a:(i=l,a=e(r=s,o))}}function ka(t,e){var n,r,i,a,s="style."+e,o="end."+s;return function(){var l=Li(this,t),c=l.on,h=null==l.value[s]?a||(a=_a(e)):void 0;(c!==n||i!==h)&&(r=(n=c).copy()).on(o,i=h),l.on=r}}function wa(t,e,n){var r="transform"==(t+="")?Vr:$i;return null==e?this.styleTween(t,ba(t,r)).on("end.style."+t,_a(t)):"function"==typeof e?this.styleTween(t,xa(t,r,Ri(this,"style."+t,e))).each(ka(this._id,t)):this.styleTween(t,va(t,r,e),n).on("end.style."+t,null)}function Ta(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Ea(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&Ta(t,a,n)),r}return a._value=e,a}function Ca(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,Ea(t,e,null==n?"":n))}function Sa(t){return function(){this.textContent=t}}function Aa(t){return function(){var e=t(this);this.textContent=null==e?"":e}}function La(t){return this.tween("text","function"==typeof t?Aa(Ri(this,"text",t)):Sa(null==t?"":t+""))}function Na(t){return function(e){this.textContent=t.call(this,e)}}function Da(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Na(r)),e}return r._value=t,r}function Oa(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,Da(t))}function Ma(){for(var t=this._name,e=this._id,n=Ra(),r=this._groups,i=r.length,a=0;a<i;++a)for(var s,o=r[a],l=o.length,c=0;c<l;++c)if(s=o[c]){var h=Ni(s,e);Si(s,t,n,c,o,{time:h.time+h.delay+h.duration,delay:0,duration:h.duration,ease:h.ease})}return new Fa(r,this._parents,t,n)}function Ba(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(a,s){var o={value:s},l={value:function(){0==--i&&a()}};n.each((function(){var n=Li(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(o),e._.interrupt.push(o),e._.end.push(l)),n.on=e})),0===i&&a()}))}var Ia=0;function Fa(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Ra(){return++Ia}var $a=hn.prototype;function Pa(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Fa.prototype={constructor:Fa,select:fa,selectAll:ga,selectChild:$a.selectChild,selectChildren:$a.selectChildren,filter:oa,merge:la,selection:ma,transition:Ma,call:$a.call,nodes:$a.nodes,node:$a.node,size:$a.size,empty:$a.empty,each:$a.each,on:ua,attr:Hi,attrTween:Xi,style:wa,styleTween:Ca,text:La,textTween:Oa,remove:pa,tween:Fi,delay:Ji,duration:na,ease:ia,easeVarying:sa,end:Ba,[Symbol.iterator]:$a[Symbol.iterator]};var ja={time:null,delay:0,duration:250,ease:Pa};function Ya(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function za(t){var e,n;t instanceof Fa?(e=t._id,t=t._name):(e=Ra(),(n=ja).time=li(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var s,o=r[a],l=o.length,c=0;c<l;++c)(s=o[c])&&Si(s,t,e,c,o,n||Ya(s,e));return new Fa(r,this._parents,t,e)}hn.prototype.interrupt=Mi,hn.prototype.transition=za;const Ua=Math.PI,Wa=2*Ua,Ha=1e-6,qa=Wa-Ha;function Va(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ga(){return new Va}function Za(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Xa(t,e){return fetch(t,e).then(Za)}function Qa(t){return(e,n)=>Xa(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}Va.prototype=Ga.prototype={constructor:Va,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var a=this._x1,s=this._y1,o=n-t,l=r-e,c=a-t,h=s-e,u=c*c+h*h;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(u>Ha)if(Math.abs(h*o-l*c)>Ha&&i){var d=n-a,p=r-s,f=o*o+l*l,g=d*d+p*p,y=Math.sqrt(f),m=Math.sqrt(u),b=i*Math.tan((Ua-Math.acos((f+u-g)/(2*y*m)))/2),_=b/m,v=b/y;Math.abs(_-1)>Ha&&(this._+="L"+(t+_*c)+","+(e+_*h)),this._+="A"+i+","+i+",0,0,"+ +(h*d>c*p)+","+(this._x1=t+v*o)+","+(this._y1=e+v*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var s=(n=+n)*Math.cos(r),o=n*Math.sin(r),l=t+s,c=e+o,h=1^a,u=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>Ha||Math.abs(this._y1-c)>Ha)&&(this._+="L"+l+","+c),n&&(u<0&&(u=u%Wa+Wa),u>qa?this._+="A"+n+","+n+",0,1,"+h+","+(t-s)+","+(e-o)+"A"+n+","+n+",0,1,"+h+","+(this._x1=l)+","+(this._y1=c):u>Ha&&(this._+="A"+n+","+n+",0,"+ +(u>=Ua)+","+h+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Ka=Qa("image/svg+xml");function Ja(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function ts(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function es(t){return(t=ts(Math.abs(t)))?t[1]:NaN}function ns(t,e){return function(n,r){for(var i=n.length,a=[],s=0,o=t[0],l=0;i>0&&o>0&&(l+o+1>r&&(o=Math.max(1,r-l)),a.push(n.substring(i-=o,i+o)),!((l+=o+1)>r));)o=t[s=(s+1)%t.length];return a.reverse().join(e)}}function rs(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}var is,as=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ss(t){if(!(e=as.exec(t)))throw new Error("invalid format: "+t);var e;return new os({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function os(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ls(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}function cs(t,e){var n=ts(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(is=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return a===s?r:a>s?r+new Array(a-s+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+ts(t,Math.max(0,e+a-1))[0]}function hs(t,e){var n=ts(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}ss.prototype=os.prototype,os.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const us={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Ja,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>hs(100*t,e),r:hs,s:cs,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function ds(t){return t}var ps,fs,gs,ys=Array.prototype.map,ms=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function bs(t){var e=void 0===t.grouping||void 0===t.thousands?ds:ns(ys.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?ds:rs(ys.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",o=void 0===t.minus?"\u2212":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function c(t){var c=(t=ss(t)).fill,h=t.align,u=t.sign,d=t.symbol,p=t.zero,f=t.width,g=t.comma,y=t.precision,m=t.trim,b=t.type;"n"===b?(g=!0,b="g"):us[b]||(void 0===y&&(y=12),m=!0,b="g"),(p||"0"===c&&"="===h)&&(p=!0,c="0",h="=");var _="$"===d?n:"#"===d&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",v="$"===d?r:/[%p]/.test(b)?s:"",x=us[b],k=/[defgprs%]/.test(b);function w(t){var n,r,s,d=_,w=v;if("c"===b)w=x(t)+w,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),y),m&&(t=ls(t)),T&&0==+t&&"+"!==u&&(T=!1),d=(T?"("===u?u:o:"-"===u||"("===u?"":u)+d,w=("s"===b?ms[8+is/3]:"")+w+(T&&"("===u?")":""),k)for(n=-1,r=t.length;++n<r;)if(48>(s=t.charCodeAt(n))||s>57){w=(46===s?i+t.slice(n+1):t.slice(n))+w,t=t.slice(0,n);break}}g&&!p&&(t=e(t,1/0));var E=d.length+t.length+w.length,C=E<f?new Array(f-E+1).join(c):"";switch(g&&p&&(t=e(C+t,C.length?f-w.length:1/0),C=""),h){case"<":t=d+t+w+C;break;case"=":t=d+C+t+w;break;case"^":t=C.slice(0,E=C.length>>1)+d+t+w+C.slice(E);break;default:t=C+d+t+w}return a(t)}return y=void 0===y?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),w.toString=function(){return t+""},w}function h(t,e){var n=c(((t=ss(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(es(e)/3))),i=Math.pow(10,-r),a=ms[8+r/3];return function(t){return n(i*t)+a}}return{format:c,formatPrefix:h}}function _s(t){return ps=bs(t),fs=ps.format,gs=ps.formatPrefix,ps}function vs(t){return Math.max(0,-es(Math.abs(t)))}function xs(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(es(e)/3)))-es(Math.abs(t)))}function ks(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,es(e)-es(t))+1}function ws(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}_s({thousands:",",grouping:[3],currency:["$",""]});const Ts=Symbol("implicit");function Es(){var t=new M,e=[],n=[],r=Ts;function i(i){let a=t.get(i);if(void 0===a){if(r!==Ts)return r;t.set(i,a=e.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new M;for(const r of n)t.has(r)||t.set(r,e.push(r)-1);return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Es(e,n).unknown(r)},ws.apply(i,arguments),i}function Cs(t){return function(){return t}}function Ss(t){return+t}var As=[0,1];function Ls(t){return t}function Ns(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Cs(isNaN(e)?NaN:.5)}function Ds(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}function Os(t,e,n){var r=t[0],i=t[1],a=e[0],s=e[1];return i<r?(r=Ns(i,r),a=n(s,a)):(r=Ns(r,i),a=n(a,s)),function(t){return a(r(t))}}function Ms(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),a=new Array(r),s=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<r;)i[s]=Ns(t[s],t[s+1]),a[s]=n(e[s],e[s+1]);return function(e){var n=O(t,e,1,r)-1;return a[n](i[n](e))}}function Bs(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Is(){var t,e,n,r,i,a,s=As,o=As,l=$r,c=Ls;function h(){var t=Math.min(s.length,o.length);return c!==Ls&&(c=Ds(s[0],s[t-1])),r=t>2?Ms:Os,i=a=null,u}function u(e){return null==e||isNaN(e=+e)?n:(i||(i=r(s.map(t),o,l)))(t(c(e)))}return u.invert=function(n){return c(e((a||(a=r(o,s.map(t),Dr)))(n)))},u.domain=function(t){return arguments.length?(s=Array.from(t,Ss),h()):s.slice()},u.range=function(t){return arguments.length?(o=Array.from(t),h()):o.slice()},u.rangeRound=function(t){return o=Array.from(t),l=Pr,h()},u.clamp=function(t){return arguments.length?(c=!!t||Ls,h()):c!==Ls},u.interpolate=function(t){return arguments.length?(l=t,h()):l},u.unknown=function(t){return arguments.length?(n=t,u):n},function(n,r){return t=n,e=r,h()}}function Fs(){return Is()(Ls,Ls)}function Rs(t,e,n,r){var i,a=U(t,e,n);switch((r=ss(null==r?",f":r)).type){case"s":var s=Math.max(Math.abs(t),Math.abs(e));return null==r.precision&&!isNaN(i=xs(a,s))&&(r.precision=i),gs(r,s);case"":case"e":case"g":case"p":case"r":null==r.precision&&!isNaN(i=ks(a,Math.max(Math.abs(t),Math.abs(e))))&&(r.precision=i-("e"===r.type));break;case"f":case"%":null==r.precision&&!isNaN(i=vs(a))&&(r.precision=i-2*("%"===r.type))}return fs(r)}function $s(t){var e=t.domain;return t.ticks=function(t){var n=e();return Y(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Rs(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,a=e(),s=0,o=a.length-1,l=a[s],c=a[o],h=10;for(c<l&&(i=l,l=c,c=i,i=s,s=o,o=i);h-- >0;){if((i=z(l,c,n))===r)return a[s]=l,a[o]=c,e(a);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else{if(!(i<0))break;l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i}r=i}return t},t}function Ps(){var t=Fs();return t.copy=function(){return Bs(t,Ps())},ws.apply(t,arguments),$s(t)}function js(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],s=t[i];return s<a&&(n=r,r=i,i=n,n=a,a=s,s=n),t[r]=e.floor(a),t[i]=e.ceil(s),t}var Ys=new Date,zs=new Date;function Us(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,a){var s,o=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return o;do{o.push(s=new Date(+n)),e(n,a),t(n)}while(s<n&&n<r);return o},i.filter=function(n){return Us((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Ys.setTime(+e),zs.setTime(+r),t(Ys),t(zs),Math.floor(n(Ys,zs))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Ws=Us((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));Ws.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Us((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Ws:null};const Hs=Ws;Ws.range;const qs=1e3,Vs=60*qs,Gs=60*Vs,Zs=24*Gs,Xs=7*Zs,Qs=30*Zs,Ks=365*Zs;var Js=Us((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*qs)}),(function(t,e){return(e-t)/qs}),(function(t){return t.getUTCSeconds()}));const to=Js;Js.range;var eo=Us((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qs)}),(function(t,e){t.setTime(+t+e*Vs)}),(function(t,e){return(e-t)/Vs}),(function(t){return t.getMinutes()}));const no=eo;eo.range;var ro=Us((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qs-t.getMinutes()*Vs)}),(function(t,e){t.setTime(+t+e*Gs)}),(function(t,e){return(e-t)/Gs}),(function(t){return t.getHours()}));const io=ro;ro.range;var ao=Us((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Vs)/Zs),(t=>t.getDate()-1));const so=ao;function oo(t){return Us((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Vs)/Xs}))}ao.range;var lo=oo(0),co=oo(1),ho=oo(2),uo=oo(3),po=oo(4),fo=oo(5),go=oo(6);lo.range,co.range,ho.range,uo.range,po.range,fo.range,go.range;var yo=Us((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const mo=yo;yo.range;var bo=Us((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));bo.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Us((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const _o=bo;bo.range;var vo=Us((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*Vs)}),(function(t,e){return(e-t)/Vs}),(function(t){return t.getUTCMinutes()}));const xo=vo;vo.range;var ko=Us((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*Gs)}),(function(t,e){return(e-t)/Gs}),(function(t){return t.getUTCHours()}));const wo=ko;ko.range;var To=Us((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Zs}),(function(t){return t.getUTCDate()-1}));const Eo=To;function Co(t){return Us((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Xs}))}To.range;var So=Co(0),Ao=Co(1),Lo=Co(2),No=Co(3),Do=Co(4),Oo=Co(5),Mo=Co(6);So.range,Ao.range,Lo.range,No.range,Do.range,Oo.range,Mo.range;var Bo=Us((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));const Io=Bo;Bo.range;var Fo=Us((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Fo.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Us((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const Ro=Fo;function $o(t,e,n,r,i,a){const s=[[to,1,qs],[to,5,5*qs],[to,15,15*qs],[to,30,30*qs],[a,1,Vs],[a,5,5*Vs],[a,15,15*Vs],[a,30,30*Vs],[i,1,Gs],[i,3,3*Gs],[i,6,6*Gs],[i,12,12*Gs],[r,1,Zs],[r,2,2*Zs],[n,1,Xs],[e,1,Qs],[e,3,3*Qs],[t,1,Ks]];function o(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:l(t,e,n),a=i?i.range(t,+e+1):[];return r?a.reverse():a}function l(e,n,r){const i=Math.abs(n-e)/r,a=A((([,,t])=>t)).right(s,i);if(a===s.length)return t.every(U(e/Ks,n/Ks,r));if(0===a)return Hs.every(Math.max(U(e,n,r),1));const[o,l]=s[i/s[a-1][2]<s[a][2]/i?a-1:a];return o.every(l)}return[o,l]}Fo.range,$o(Ro,Io,So,Eo,wo,xo);const[Po,jo]=$o(_o,mo,lo,so,io,no);function Yo(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function zo(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Uo(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Wo(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,s=t.shortDays,o=t.months,l=t.shortMonths,c=Jo(i),h=tl(i),u=Jo(a),d=tl(a),p=Jo(s),f=tl(s),g=Jo(o),y=tl(o),m=Jo(l),b=tl(l),_={a:M,A:B,b:I,B:F,c:null,d:xl,e:xl,f:Cl,g:Rl,G:Pl,H:kl,I:wl,j:Tl,L:El,m:Sl,M:Al,p:R,q:$,Q:lc,s:cc,S:Ll,u:Nl,U:Dl,V:Ml,w:Bl,W:Il,x:null,X:null,y:Fl,Y:$l,Z:jl,"%":oc},v={a:P,A:j,b:Y,B:z,c:null,d:Yl,e:Yl,f:ql,g:rc,G:ac,H:zl,I:Ul,j:Wl,L:Hl,m:Vl,M:Gl,p:U,q:W,Q:lc,s:cc,S:Zl,u:Xl,U:Ql,V:Jl,w:tc,W:ec,x:null,X:null,y:nc,Y:ic,Z:sc,"%":oc},x={a:C,A:S,b:A,B:L,c:N,d:ul,e:ul,f:ml,g:ol,G:sl,H:pl,I:pl,j:dl,L:yl,m:hl,M:fl,p:E,q:cl,Q:_l,s:vl,S:gl,u:nl,U:rl,V:il,w:el,W:al,x:D,X:O,y:ol,Y:sl,Z:ll,"%":bl};function k(t,e){return function(n){var r,i,a,s=[],o=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++o<c;)37===t.charCodeAt(o)&&(s.push(t.slice(l,o)),null!=(i=Vo[r=t.charAt(++o)])?r=t.charAt(++o):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),s.push(r),l=o+1);return s.push(t.slice(l,o)),s.join("")}}function w(t,e){return function(n){var r,i,a=Uo(1900,void 0,1);if(T(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(e&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=zo(Uo(a.y,0,1))).getUTCDay(),r=i>4||0===i?Ao.ceil(r):Ao(r),r=Eo.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=Yo(Uo(a.y,0,1))).getDay(),r=i>4||0===i?co.ceil(r):co(r),r=so.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?zo(Uo(a.y,0,1)).getUTCDay():Yo(Uo(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,zo(a)):Yo(a)}}function T(t,e,n,r){for(var i,a,s=0,o=e.length,l=n.length;s<o;){if(r>=l)return-1;if(37===(i=e.charCodeAt(s++))){if(i=e.charAt(s++),!(a=x[i in Vo?e.charAt(s++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}function E(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=h.get(r[0].toLowerCase()),n+r[0].length):-1}function C(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function S(t,e,n){var r=u.exec(e.slice(n));return r?(t.w=d.get(r[0].toLowerCase()),n+r[0].length):-1}function A(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=b.get(r[0].toLowerCase()),n+r[0].length):-1}function L(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1}function N(t,n,r){return T(t,e,n,r)}function D(t,e,r){return T(t,n,e,r)}function O(t,e,n){return T(t,r,e,n)}function M(t){return s[t.getDay()]}function B(t){return a[t.getDay()]}function I(t){return l[t.getMonth()]}function F(t){return o[t.getMonth()]}function R(t){return i[+(t.getHours()>=12)]}function $(t){return 1+~~(t.getMonth()/3)}function P(t){return s[t.getUTCDay()]}function j(t){return a[t.getUTCDay()]}function Y(t){return l[t.getUTCMonth()]}function z(t){return o[t.getUTCMonth()]}function U(t){return i[+(t.getUTCHours()>=12)]}function W(t){return 1+~~(t.getUTCMonth()/3)}return _.x=k(n,_),_.X=k(r,_),_.c=k(e,_),v.x=k(n,v),v.X=k(r,v),v.c=k(e,v),{format:function(t){var e=k(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=w(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",v);return e.toString=function(){return t},e},utcParse:function(t){var e=w(t+="",!0);return e.toString=function(){return t},e}}}var Ho,qo,Vo={"-":"",_:" ",0:"0"},Go=/^\s*\d+/,Zo=/^%/,Xo=/[\\^$*+?|[\]().{}]/g;function Qo(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function Ko(t){return t.replace(Xo,"\\$&")}function Jo(t){return new RegExp("^(?:"+t.map(Ko).join("|")+")","i")}function tl(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function el(t,e,n){var r=Go.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function nl(t,e,n){var r=Go.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function rl(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function il(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function al(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function sl(t,e,n){var r=Go.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function ol(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ll(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function cl(t,e,n){var r=Go.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function hl(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ul(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function dl(t,e,n){var r=Go.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function pl(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function fl(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function gl(t,e,n){var r=Go.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function yl(t,e,n){var r=Go.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function ml(t,e,n){var r=Go.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function bl(t,e,n){var r=Zo.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function _l(t,e,n){var r=Go.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function vl(t,e,n){var r=Go.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function xl(t,e){return Qo(t.getDate(),e,2)}function kl(t,e){return Qo(t.getHours(),e,2)}function wl(t,e){return Qo(t.getHours()%12||12,e,2)}function Tl(t,e){return Qo(1+so.count(_o(t),t),e,3)}function El(t,e){return Qo(t.getMilliseconds(),e,3)}function Cl(t,e){return El(t,e)+"000"}function Sl(t,e){return Qo(t.getMonth()+1,e,2)}function Al(t,e){return Qo(t.getMinutes(),e,2)}function Ll(t,e){return Qo(t.getSeconds(),e,2)}function Nl(t){var e=t.getDay();return 0===e?7:e}function Dl(t,e){return Qo(lo.count(_o(t)-1,t),e,2)}function Ol(t){var e=t.getDay();return e>=4||0===e?po(t):po.ceil(t)}function Ml(t,e){return t=Ol(t),Qo(po.count(_o(t),t)+(4===_o(t).getDay()),e,2)}function Bl(t){return t.getDay()}function Il(t,e){return Qo(co.count(_o(t)-1,t),e,2)}function Fl(t,e){return Qo(t.getFullYear()%100,e,2)}function Rl(t,e){return Qo((t=Ol(t)).getFullYear()%100,e,2)}function $l(t,e){return Qo(t.getFullYear()%1e4,e,4)}function Pl(t,e){var n=t.getDay();return Qo((t=n>=4||0===n?po(t):po.ceil(t)).getFullYear()%1e4,e,4)}function jl(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Qo(e/60|0,"0",2)+Qo(e%60,"0",2)}function Yl(t,e){return Qo(t.getUTCDate(),e,2)}function zl(t,e){return Qo(t.getUTCHours(),e,2)}function Ul(t,e){return Qo(t.getUTCHours()%12||12,e,2)}function Wl(t,e){return Qo(1+Eo.count(Ro(t),t),e,3)}function Hl(t,e){return Qo(t.getUTCMilliseconds(),e,3)}function ql(t,e){return Hl(t,e)+"000"}function Vl(t,e){return Qo(t.getUTCMonth()+1,e,2)}function Gl(t,e){return Qo(t.getUTCMinutes(),e,2)}function Zl(t,e){return Qo(t.getUTCSeconds(),e,2)}function Xl(t){var e=t.getUTCDay();return 0===e?7:e}function Ql(t,e){return Qo(So.count(Ro(t)-1,t),e,2)}function Kl(t){var e=t.getUTCDay();return e>=4||0===e?Do(t):Do.ceil(t)}function Jl(t,e){return t=Kl(t),Qo(Do.count(Ro(t),t)+(4===Ro(t).getUTCDay()),e,2)}function tc(t){return t.getUTCDay()}function ec(t,e){return Qo(Ao.count(Ro(t)-1,t),e,2)}function nc(t,e){return Qo(t.getUTCFullYear()%100,e,2)}function rc(t,e){return Qo((t=Kl(t)).getUTCFullYear()%100,e,2)}function ic(t,e){return Qo(t.getUTCFullYear()%1e4,e,4)}function ac(t,e){var n=t.getUTCDay();return Qo((t=n>=4||0===n?Do(t):Do.ceil(t)).getUTCFullYear()%1e4,e,4)}function sc(){return"+0000"}function oc(){return"%"}function lc(t){return+t}function cc(t){return Math.floor(+t/1e3)}function hc(t){return Ho=Wo(t),qo=Ho.format,Ho.parse,Ho.utcFormat,Ho.utcParse,Ho}function uc(t){return new Date(t)}function dc(t){return t instanceof Date?+t:+new Date(+t)}function pc(t,e,n,r,i,a,s,o,l,c){var h=Fs(),u=h.invert,d=h.domain,p=c(".%L"),f=c(":%S"),g=c("%I:%M"),y=c("%I %p"),m=c("%a %d"),b=c("%b %d"),_=c("%B"),v=c("%Y");function x(t){return(l(t)<t?p:o(t)<t?f:s(t)<t?g:a(t)<t?y:r(t)<t?i(t)<t?m:b:n(t)<t?_:v)(t)}return h.invert=function(t){return new Date(u(t))},h.domain=function(t){return arguments.length?d(Array.from(t,dc)):d().map(uc)},h.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},h.tickFormat=function(t,e){return null==e?x:c(e)},h.nice=function(t){var n=d();return(!t||"function"!=typeof t.range)&&(t=e(n[0],n[n.length-1],null==t?10:t)),t?d(js(n,t)):h},h.copy=function(){return Bs(h,pc(t,e,n,r,i,a,s,o,l,c))},h}function fc(){return ws.apply(pc(Po,jo,_o,mo,lo,so,io,no,to,qo).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function gc(t){return function(){return t}}hc({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const yc=Math.abs,mc=Math.atan2,bc=Math.cos,_c=Math.max,vc=Math.min,xc=Math.sin,kc=Math.sqrt,wc=1e-12,Tc=Math.PI,Ec=Tc/2,Cc=2*Tc;function Sc(t){return t>1?0:t<-1?Tc:Math.acos(t)}function Ac(t){return t>=1?Ec:t<=-1?-Ec:Math.asin(t)}function Lc(t){return t.innerRadius}function Nc(t){return t.outerRadius}function Dc(t){return t.startAngle}function Oc(t){return t.endAngle}function Mc(t){return t&&t.padAngle}function Bc(t,e,n,r,i,a,s,o){var l=n-t,c=r-e,h=s-i,u=o-a,d=u*l-h*c;if(!(d*d<wc))return[t+(d=(h*(e-a)-u*(t-i))/d)*l,e+d*c]}function Ic(t,e,n,r,i,a,s){var o=t-n,l=e-r,c=(s?a:-a)/kc(o*o+l*l),h=c*l,u=-c*o,d=t+h,p=e+u,f=n+h,g=r+u,y=(d+f)/2,m=(p+g)/2,b=f-d,_=g-p,v=b*b+_*_,x=i-a,k=d*g-f*p,w=(_<0?-1:1)*kc(_c(0,x*x*v-k*k)),T=(k*_-b*w)/v,E=(-k*b-_*w)/v,C=(k*_+b*w)/v,S=(-k*b+_*w)/v,A=T-y,L=E-m,N=C-y,D=S-m;return A*A+L*L>N*N+D*D&&(T=C,E=S),{cx:T,cy:E,x01:-h,y01:-u,x11:T*(i/x-1),y11:E*(i/x-1)}}function Fc(){var t=Lc,e=Nc,n=gc(0),r=null,i=Dc,a=Oc,s=Mc,o=null;function l(){var l,c,h=+t.apply(this,arguments),u=+e.apply(this,arguments),d=i.apply(this,arguments)-Ec,p=a.apply(this,arguments)-Ec,f=yc(p-d),g=p>d;if(o||(o=l=Ga()),u<h&&(c=u,u=h,h=c),u>wc)if(f>Cc-wc)o.moveTo(u*bc(d),u*xc(d)),o.arc(0,0,u,d,p,!g),h>wc&&(o.moveTo(h*bc(p),h*xc(p)),o.arc(0,0,h,p,d,g));else{var y,m,b=d,_=p,v=d,x=p,k=f,w=f,T=s.apply(this,arguments)/2,E=T>wc&&(r?+r.apply(this,arguments):kc(h*h+u*u)),C=vc(yc(u-h)/2,+n.apply(this,arguments)),S=C,A=C;if(E>wc){var L=Ac(E/h*xc(T)),N=Ac(E/u*xc(T));(k-=2*L)>wc?(v+=L*=g?1:-1,x-=L):(k=0,v=x=(d+p)/2),(w-=2*N)>wc?(b+=N*=g?1:-1,_-=N):(w=0,b=_=(d+p)/2)}var D=u*bc(b),O=u*xc(b),M=h*bc(x),B=h*xc(x);if(C>wc){var I,F=u*bc(_),R=u*xc(_),$=h*bc(v),P=h*xc(v);if(f<Tc&&(I=Bc(D,O,$,P,F,R,M,B))){var j=D-I[0],Y=O-I[1],z=F-I[0],U=R-I[1],W=1/xc(Sc((j*z+Y*U)/(kc(j*j+Y*Y)*kc(z*z+U*U)))/2),H=kc(I[0]*I[0]+I[1]*I[1]);S=vc(C,(h-H)/(W-1)),A=vc(C,(u-H)/(W+1))}}w>wc?A>wc?(y=Ic($,P,D,O,u,A,g),m=Ic(F,R,M,B,u,A,g),o.moveTo(y.cx+y.x01,y.cy+y.y01),A<C?o.arc(y.cx,y.cy,A,mc(y.y01,y.x01),mc(m.y01,m.x01),!g):(o.arc(y.cx,y.cy,A,mc(y.y01,y.x01),mc(y.y11,y.x11),!g),o.arc(0,0,u,mc(y.cy+y.y11,y.cx+y.x11),mc(m.cy+m.y11,m.cx+m.x11),!g),o.arc(m.cx,m.cy,A,mc(m.y11,m.x11),mc(m.y01,m.x01),!g))):(o.moveTo(D,O),o.arc(0,0,u,b,_,!g)):o.moveTo(D,O),h>wc&&k>wc?S>wc?(y=Ic(M,B,F,R,h,-S,g),m=Ic(D,O,$,P,h,-S,g),o.lineTo(y.cx+y.x01,y.cy+y.y01),S<C?o.arc(y.cx,y.cy,S,mc(y.y01,y.x01),mc(m.y01,m.x01),!g):(o.arc(y.cx,y.cy,S,mc(y.y01,y.x01),mc(y.y11,y.x11),!g),o.arc(0,0,h,mc(y.cy+y.y11,y.cx+y.x11),mc(m.cy+m.y11,m.cx+m.x11),g),o.arc(m.cx,m.cy,S,mc(m.y11,m.x11),mc(m.y01,m.x01),!g))):o.arc(0,0,h,x,v,g):o.lineTo(M,B)}else o.moveTo(0,0);if(o.closePath(),l)return o=null,l+""||null}return l.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-Tc/2;return[bc(r)*n,xc(r)*n]},l.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:gc(+e),l):t},l.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:gc(+t),l):e},l.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:gc(+t),l):n},l.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:gc(+t),l):r},l.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:gc(+t),l):i},l.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:gc(+t),l):a},l.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:gc(+t),l):s},l.context=function(t){return arguments.length?(o=null==t?null:t,l):o},l}function Rc(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function $c(t){this._context=t}function Pc(t){return new $c(t)}function jc(t){return t[0]}function Yc(t){return t[1]}function zc(t,e){var n=gc(!0),r=null,i=Pc,a=null;function s(s){var o,l,c,h=(s=Rc(s)).length,u=!1;for(null==r&&(a=i(c=Ga())),o=0;o<=h;++o)!(o<h&&n(l=s[o],o,s))===u&&((u=!u)?a.lineStart():a.lineEnd()),u&&a.point(+t(l,o,s),+e(l,o,s));if(c)return a=null,c+""||null}return t="function"==typeof t?t:void 0===t?jc:gc(t),e="function"==typeof e?e:void 0===e?Yc:gc(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:gc(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:gc(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:gc(!!t),s):n},s.curve=function(t){return arguments.length?(i=t,null!=r&&(a=i(r)),s):i},s.context=function(t){return arguments.length?(null==t?r=a=null:a=i(r=t),s):r},s}function Uc(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function Wc(t){return t}function Hc(){var t=Wc,e=Uc,n=null,r=gc(0),i=gc(Cc),a=gc(0);function s(s){var o,l,c,h,u,d=(s=Rc(s)).length,p=0,f=new Array(d),g=new Array(d),y=+r.apply(this,arguments),m=Math.min(Cc,Math.max(-Cc,i.apply(this,arguments)-y)),b=Math.min(Math.abs(m)/d,a.apply(this,arguments)),_=b*(m<0?-1:1);for(o=0;o<d;++o)(u=g[f[o]=o]=+t(s[o],o,s))>0&&(p+=u);for(null!=e?f.sort((function(t,n){return e(g[t],g[n])})):null!=n&&f.sort((function(t,e){return n(s[t],s[e])})),o=0,c=p?(m-d*_)/p:0;o<d;++o,y=h)l=f[o],h=y+((u=g[l])>0?u*c:0)+_,g[l]={data:s[l],index:o,value:u,startAngle:y,endAngle:h,padAngle:b};return g}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:gc(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,n=null,s):e},s.sort=function(t){return arguments.length?(n=t,e=null,s):n},s.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:gc(+t),s):r},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:gc(+t),s):i},s.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:gc(+t),s):a},s}function qc(){}function Vc(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Gc(t){this._context=t}function Zc(t){return new Gc(t)}function Xc(t){this._context=t}function Qc(t){return new Xc(t)}function Kc(t){this._context=t}function Jc(t){return new Kc(t)}function th(t){this._context=t}function eh(t){return new th(t)}function nh(t){return t<0?-1:1}function rh(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),s=(n-t._y1)/(i||r<0&&-0),o=(a*i+s*r)/(r+i);return(nh(a)+nh(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(o))||0}function ih(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ah(t,e,n){var r=t._x0,i=t._y0,a=t._x1,s=t._y1,o=(a-r)/3;t._context.bezierCurveTo(r+o,i+o*e,a-o,s-o*n,a,s)}function sh(t){this._context=t}function oh(t){this._context=new lh(t)}function lh(t){this._context=t}function ch(t){return new sh(t)}function hh(t){return new oh(t)}function uh(t){this._context=t}function dh(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),s=new Array(r);for(i[0]=0,a[0]=2,s[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,a[e]=4,s[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,a[r-1]=7,s[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/a[e-1],a[e]-=n,s[e]-=n*s[e-1];for(i[r-1]=s[r-1]/a[r-1],e=r-2;e>=0;--e)i[e]=(s[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function ph(t){return new uh(t)}function fh(t,e){this._context=t,this._t=e}function gh(t){return new fh(t,.5)}function yh(t){return new fh(t,0)}function mh(t){return new fh(t,1)}function bh(t,e,n){this.k=t,this.x=e,this.y=n}function _h(t){return(_h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vh(t,e){return vh=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},vh(t,e)}function xh(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}function kh(t,e,n){return(kh=xh()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&vh(i,n.prototype),i}).apply(null,arguments)}function wh(t){return Th(t)||Eh(t)||Ch(t)||Ah()}function Th(t){if(Array.isArray(t))return Sh(t)}function Eh(t){if(typeof Symbol<"u"&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Ch(t,e){if(t){if("string"==typeof t)return Sh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sh(t,e)}}function Sh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ah(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}$c.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},Gc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Vc(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Vc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Xc.prototype={areaStart:qc,areaEnd:qc,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Vc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Kc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Vc(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},th.prototype={areaStart:qc,areaEnd:qc,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},sh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ah(this,this._t0,ih(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ah(this,ih(this,n=rh(this,t,e)),n);break;default:ah(this,this._t0,n=rh(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(oh.prototype=Object.create(sh.prototype)).point=function(t,e){sh.prototype.point.call(this,e,t)},lh.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,a){this._context.bezierCurveTo(e,t,r,n,a,i)}},uh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=dh(t),i=dh(e),a=0,s=1;s<n;++a,++s)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],t[s],e[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},fh.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},bh.prototype={constructor:bh,scale:function(t){return 1===t?this:new bh(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new bh(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new bh(1,0,0),bh.prototype;var Lh=Object.hasOwnProperty,Nh=Object.setPrototypeOf,Dh=Object.isFrozen,Oh=Object.getPrototypeOf,Mh=Object.getOwnPropertyDescriptor,Bh=Object.freeze,Ih=Object.seal,Fh=Object.create,Rh=typeof Reflect<"u"&&Reflect,$h=Rh.apply,Ph=Rh.construct;$h||($h=function(t,e,n){return t.apply(e,n)}),Bh||(Bh=function(t){return t}),Ih||(Ih=function(t){return t}),Ph||(Ph=function(t,e){return kh(t,wh(e))});var jh=Qh(Array.prototype.forEach),Yh=Qh(Array.prototype.pop),zh=Qh(Array.prototype.push),Uh=Qh(String.prototype.toLowerCase),Wh=Qh(String.prototype.toString),Hh=Qh(String.prototype.match),qh=Qh(String.prototype.replace),Vh=Qh(String.prototype.indexOf),Gh=Qh(String.prototype.trim),Zh=Qh(RegExp.prototype.test),Xh=Kh(TypeError);function Qh(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return $h(t,e,r)}}function Kh(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Ph(t,n)}}function Jh(t,e,n){n=n||Uh,Nh&&Nh(t,null);for(var r=e.length;r--;){var i=e[r];if("string"==typeof i){var a=n(i);a!==i&&(Dh(e)||(e[r]=a),i=a)}t[i]=!0}return t}function tu(t){var e,n=Fh(null);for(e in t)$h(Lh,t,[e])&&(n[e]=t[e]);return n}function eu(t,e){for(;null!==t;){var n=Mh(t,e);if(n){if(n.get)return Qh(n.get);if("function"==typeof n.value)return Qh(n.value)}t=Oh(t)}function r(t){return console.warn("fallback value for",t),null}return r}var nu=Bh(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ru=Bh(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),iu=Bh(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),au=Bh(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),su=Bh(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),ou=Bh(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),lu=Bh(["#text"]),cu=Bh(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),hu=Bh(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),uu=Bh(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),du=Bh(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),pu=Ih(/\{\{[\w\W]*|[\w\W]*\}\}/gm),fu=Ih(/<%[\w\W]*|[\w\W]*%>/gm),gu=Ih(/\${[\w\W]*}/gm),yu=Ih(/^data-[\-\w.\u00B7-\uFFFF]/),mu=Ih(/^aria-[\-\w]+$/),bu=Ih(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_u=Ih(/^(?:\w+script|data):/i),vu=Ih(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xu=Ih(/^html$/i),ku=function(){return typeof window>"u"?null:window},wu=function(t,e){if("object"!==_h(t)||"function"!=typeof t.createPolicy)return null;var n=null,r="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(r)&&(n=e.currentScript.getAttribute(r));var i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function Tu(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ku(),e=function(t){return Tu(t)};if(e.version="2.4.1",e.removed=[],!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var n=t.document,r=t.document,i=t.DocumentFragment,a=t.HTMLTemplateElement,s=t.Node,o=t.Element,l=t.NodeFilter,c=t.NamedNodeMap,h=void 0===c?t.NamedNodeMap||t.MozNamedAttrMap:c,u=t.HTMLFormElement,d=t.DOMParser,p=t.trustedTypes,f=o.prototype,g=eu(f,"cloneNode"),y=eu(f,"nextSibling"),m=eu(f,"childNodes"),b=eu(f,"parentNode");if("function"==typeof a){var _=r.createElement("template");_.content&&_.content.ownerDocument&&(r=_.content.ownerDocument)}var v=wu(p,n),x=v?v.createHTML(""):"",k=r,w=k.implementation,T=k.createNodeIterator,E=k.createDocumentFragment,C=k.getElementsByTagName,S=n.importNode,A={};try{A=tu(r).documentMode?r.documentMode:{}}catch{}var L={};e.isSupported="function"==typeof b&&w&&typeof w.createHTMLDocument<"u"&&9!==A;var N,D,O=pu,M=fu,B=gu,I=yu,F=mu,R=_u,$=vu,P=bu,j=null,Y=Jh({},[].concat(wh(nu),wh(ru),wh(iu),wh(su),wh(lu))),z=null,U=Jh({},[].concat(wh(cu),wh(hu),wh(uu),wh(du))),W=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}})),H=null,q=null,V=!0,G=!0,Z=!1,X=!1,Q=!1,K=!1,J=!1,tt=!1,et=!1,nt=!1,rt=!0,it=!1,at="user-content-",st=!0,ot=!1,lt={},ct=null,ht=Jh({},["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"]),ut=null,dt=Jh({},["audio","video","img","source","image","track"]),pt=null,ft=Jh({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),gt="http://www.w3.org/1998/Math/MathML",yt="http://www.w3.org/2000/svg",mt="http://www.w3.org/1999/xhtml",bt=mt,_t=!1,vt=null,xt=Jh({},[gt,yt,mt],Wh),kt=["application/xhtml+xml","text/html"],wt="text/html",Tt=null,Et=r.createElement("form"),Ct=function(t){return t instanceof RegExp||t instanceof Function},St=function(t){Tt&&Tt===t||((!t||"object"!==_h(t))&&(t={}),t=tu(t),N=N=-1===kt.indexOf(t.PARSER_MEDIA_TYPE)?wt:t.PARSER_MEDIA_TYPE,D="application/xhtml+xml"===N?Wh:Uh,j="ALLOWED_TAGS"in t?Jh({},t.ALLOWED_TAGS,D):Y,z="ALLOWED_ATTR"in t?Jh({},t.ALLOWED_ATTR,D):U,vt="ALLOWED_NAMESPACES"in t?Jh({},t.ALLOWED_NAMESPACES,Wh):xt,pt="ADD_URI_SAFE_ATTR"in t?Jh(tu(ft),t.ADD_URI_SAFE_ATTR,D):ft,ut="ADD_DATA_URI_TAGS"in t?Jh(tu(dt),t.ADD_DATA_URI_TAGS,D):dt,ct="FORBID_CONTENTS"in t?Jh({},t.FORBID_CONTENTS,D):ht,H="FORBID_TAGS"in t?Jh({},t.FORBID_TAGS,D):{},q="FORBID_ATTR"in t?Jh({},t.FORBID_ATTR,D):{},lt="USE_PROFILES"in t&&t.USE_PROFILES,V=!1!==t.ALLOW_ARIA_ATTR,G=!1!==t.ALLOW_DATA_ATTR,Z=t.ALLOW_UNKNOWN_PROTOCOLS||!1,X=t.SAFE_FOR_TEMPLATES||!1,Q=t.WHOLE_DOCUMENT||!1,tt=t.RETURN_DOM||!1,et=t.RETURN_DOM_FRAGMENT||!1,nt=t.RETURN_TRUSTED_TYPE||!1,J=t.FORCE_BODY||!1,rt=!1!==t.SANITIZE_DOM,it=t.SANITIZE_NAMED_PROPS||!1,st=!1!==t.KEEP_CONTENT,ot=t.IN_PLACE||!1,P=t.ALLOWED_URI_REGEXP||P,bt=t.NAMESPACE||mt,t.CUSTOM_ELEMENT_HANDLING&&Ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&Ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(G=!1),et&&(tt=!0),lt&&(j=Jh({},wh(lu)),z=[],!0===lt.html&&(Jh(j,nu),Jh(z,cu)),!0===lt.svg&&(Jh(j,ru),Jh(z,hu),Jh(z,du)),!0===lt.svgFilters&&(Jh(j,iu),Jh(z,hu),Jh(z,du)),!0===lt.mathMl&&(Jh(j,su),Jh(z,uu),Jh(z,du))),t.ADD_TAGS&&(j===Y&&(j=tu(j)),Jh(j,t.ADD_TAGS,D)),t.ADD_ATTR&&(z===U&&(z=tu(z)),Jh(z,t.ADD_ATTR,D)),t.ADD_URI_SAFE_ATTR&&Jh(pt,t.ADD_URI_SAFE_ATTR,D),t.FORBID_CONTENTS&&(ct===ht&&(ct=tu(ct)),Jh(ct,t.FORBID_CONTENTS,D)),st&&(j["#text"]=!0),Q&&Jh(j,["html","head","body"]),j.table&&(Jh(j,["tbody"]),delete H.tbody),Bh&&Bh(t),Tt=t)},At=Jh({},["mi","mo","mn","ms","mtext"]),Lt=Jh({},["foreignobject","desc","title","annotation-xml"]),Nt=Jh({},["title","style","font","a","script"]),Dt=Jh({},ru);Jh(Dt,iu),Jh(Dt,au);var Ot=Jh({},su);Jh(Ot,ou);var Mt=function(t){var e=b(t);(!e||!e.tagName)&&(e={namespaceURI:bt,tagName:"template"});var n=Uh(t.tagName),r=Uh(e.tagName);return!!vt[t.namespaceURI]&&(t.namespaceURI===yt?e.namespaceURI===mt?"svg"===n:e.namespaceURI===gt?"svg"===n&&("annotation-xml"===r||At[r]):Boolean(Dt[n]):t.namespaceURI===gt?e.namespaceURI===mt?"math"===n:e.namespaceURI===yt?"math"===n&&Lt[r]:Boolean(Ot[n]):t.namespaceURI===mt?!(e.namespaceURI===yt&&!Lt[r]||e.namespaceURI===gt&&!At[r])&&!Ot[n]&&(Nt[n]||!Dt[n]):!("application/xhtml+xml"!==N||!vt[t.namespaceURI]))},Bt=function(t){zh(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch{try{t.outerHTML=x}catch{t.remove()}}},It=function(t,n){try{zh(e.removed,{attribute:n.getAttributeNode(t),from:n})}catch{zh(e.removed,{attribute:null,from:n})}if(n.removeAttribute(t),"is"===t&&!z[t])if(tt||et)try{Bt(n)}catch{}else try{n.setAttribute(t,"")}catch{}},Ft=function(t){var e,n;if(J)t="<remove></remove>"+t;else{var i=Hh(t,/^[\r\n\t ]+/);n=i&&i[0]}"application/xhtml+xml"===N&&bt===mt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var a=v?v.createHTML(t):t;if(bt===mt)try{e=(new d).parseFromString(a,N)}catch{}if(!e||!e.documentElement){e=w.createDocument(bt,"template",null);try{e.documentElement.innerHTML=_t?"":a}catch{}}var s=e.body||e.documentElement;return t&&n&&s.insertBefore(r.createTextNode(n),s.childNodes[0]||null),bt===mt?C.call(e,Q?"html":"body")[0]:Q?e.documentElement:s},Rt=function(t){return T.call(t.ownerDocument||t,t,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},$t=function(t){return t instanceof u&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof h)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},Pt=function(t){return"object"===_h(s)?t instanceof s:t&&"object"===_h(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},jt=function(t,n,r){!L[t]||jh(L[t],(function(t){t.call(e,n,r,Tt)}))},Yt=function(t){var n;if(jt("beforeSanitizeElements",t,null),$t(t)||Zh(/[\u0080-\uFFFF]/,t.nodeName))return Bt(t),!0;var r=D(t.nodeName);if(jt("uponSanitizeElement",t,{tagName:r,allowedTags:j}),t.hasChildNodes()&&!Pt(t.firstElementChild)&&(!Pt(t.content)||!Pt(t.content.firstElementChild))&&Zh(/<[/\w]/g,t.innerHTML)&&Zh(/<[/\w]/g,t.textContent)||"select"===r&&Zh(/<template/i,t.innerHTML))return Bt(t),!0;if(!j[r]||H[r]){if(!H[r]&&Ut(r)&&(W.tagNameCheck instanceof RegExp&&Zh(W.tagNameCheck,r)||W.tagNameCheck instanceof Function&&W.tagNameCheck(r)))return!1;if(st&&!ct[r]){var i=b(t)||t.parentNode,a=m(t)||t.childNodes;if(a&&i)for(var s=a.length-1;s>=0;--s)i.insertBefore(g(a[s],!0),y(t))}return Bt(t),!0}return t instanceof o&&!Mt(t)||("noscript"===r||"noembed"===r)&&Zh(/<\/no(script|embed)/i,t.innerHTML)?(Bt(t),!0):(X&&3===t.nodeType&&(n=t.textContent,n=qh(n,O," "),n=qh(n,M," "),n=qh(n,B," "),t.textContent!==n&&(zh(e.removed,{element:t.cloneNode()}),t.textContent=n)),jt("afterSanitizeElements",t,null),!1)},zt=function(t,e,n){if(rt&&("id"===e||"name"===e)&&(n in r||n in Et))return!1;if((!G||q[e]||!Zh(I,e))&&(!V||!Zh(F,e)))if(!z[e]||q[e]){if(!(Ut(t)&&(W.tagNameCheck instanceof RegExp&&Zh(W.tagNameCheck,t)||W.tagNameCheck instanceof Function&&W.tagNameCheck(t))&&(W.attributeNameCheck instanceof RegExp&&Zh(W.attributeNameCheck,e)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(e))||"is"===e&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&Zh(W.tagNameCheck,n)||W.tagNameCheck instanceof Function&&W.tagNameCheck(n))))return!1}else if(!pt[e]&&!Zh(P,qh(n,$,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==Vh(n,"data:")||!ut[t])&&(!Z||Zh(R,qh(n,$,"")))&&n)return!1;return!0},Ut=function(t){return t.indexOf("-")>0},Wt=function(t){var n,r,i,a;jt("beforeSanitizeAttributes",t,null);var s=t.attributes;if(s){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z};for(a=s.length;a--;){var l=n=s[a],c=l.name,h=l.namespaceURI;if(r="value"===c?n.value:Gh(n.value),i=D(c),o.attrName=i,o.attrValue=r,o.keepAttr=!0,o.forceKeepAttr=void 0,jt("uponSanitizeAttribute",t,o),r=o.attrValue,!o.forceKeepAttr&&(It(c,t),o.keepAttr)){if(Zh(/\/>/i,r)){It(c,t);continue}X&&(r=qh(r,O," "),r=qh(r,M," "),r=qh(r,B," "));var u=D(t.nodeName);if(zt(u,i,r)){if(it&&("id"===i||"name"===i)&&(It(c,t),r=at+r),v&&"object"===_h(p)&&"function"==typeof p.getAttributeType&&!h)switch(p.getAttributeType(u,i)){case"TrustedHTML":r=v.createHTML(r);break;case"TrustedScriptURL":r=v.createScriptURL(r)}try{h?t.setAttributeNS(h,c,r):t.setAttribute(c,r),Yh(e.removed)}catch{}}}}jt("afterSanitizeAttributes",t,null)}},Ht=function t(e){var n,r=Rt(e);for(jt("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)jt("uponSanitizeShadowNode",n,null),!Yt(n)&&(n.content instanceof i&&t(n.content),Wt(n));jt("afterSanitizeShadowDOM",e,null)};return e.sanitize=function(r){var a,o,l,c,h,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((_t=!r)&&(r="\x3c!--\x3e"),"string"!=typeof r&&!Pt(r)){if("function"!=typeof r.toString)throw Xh("toString is not a function");if("string"!=typeof(r=r.toString()))throw Xh("dirty is not a string, aborting")}if(!e.isSupported){if("object"===_h(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof r)return t.toStaticHTML(r);if(Pt(r))return t.toStaticHTML(r.outerHTML)}return r}if(K||St(u),e.removed=[],"string"==typeof r&&(ot=!1),ot){if(r.nodeName){var d=D(r.nodeName);if(!j[d]||H[d])throw Xh("root node is forbidden and cannot be sanitized in-place")}}else if(r instanceof s)1===(o=(a=Ft("\x3c!----\x3e")).ownerDocument.importNode(r,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?a=o:a.appendChild(o);else{if(!tt&&!X&&!Q&&-1===r.indexOf("<"))return v&&nt?v.createHTML(r):r;if(!(a=Ft(r)))return tt?null:nt?x:""}a&&J&&Bt(a.firstChild);for(var p=Rt(ot?r:a);l=p.nextNode();)3===l.nodeType&&l===c||Yt(l)||(l.content instanceof i&&Ht(l.content),Wt(l),c=l);if(c=null,ot)return r;if(tt){if(et)for(h=E.call(a.ownerDocument);a.firstChild;)h.appendChild(a.firstChild);else h=a;return z.shadowroot&&(h=S.call(n,h,!0)),h}var f=Q?a.outerHTML:a.innerHTML;return Q&&j["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&Zh(xu,a.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+f),X&&(f=qh(f,O," "),f=qh(f,M," "),f=qh(f,B," ")),v&&nt?v.createHTML(f):f},e.setConfig=function(t){St(t),K=!0},e.clearConfig=function(){Tt=null,K=!1},e.isValidAttribute=function(t,e,n){Tt||St({});var r=D(t),i=D(e);return zt(r,i,n)},e.addHook=function(t,e){"function"==typeof e&&(L[t]=L[t]||[],zh(L[t],e))},e.removeHook=function(t){if(L[t])return Yh(L[t])},e.removeHooks=function(t){L[t]&&(L[t]=[])},e.removeAllHooks=function(){L={}},e}var Eu=Tu();const Cu=t=>t?Mu(t).replace(/\\n/g,"#br#").split("#br#"):[""],Su=t=>Eu.sanitize(t),Au=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=Su(t):"loose"!==n&&(t=(t=(t=Mu(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=Ou(t))}return t},Lu=(t,e)=>t&&(t=e.dompurifyConfig?Eu.sanitize(Au(t,e),e.dompurifyConfig).toString():Eu.sanitize(Au(t,e),{FORBID_TAGS:["style"]}).toString()),Nu=(t,e)=>"string"==typeof t?Lu(t,e):t.flat().map((t=>Lu(t,e))),Du=/<br\s*\/?>/gi,Ou=t=>t.replace(/#br#/g,"<br/>"),Mu=t=>t.replace(Du,"#br#"),Bu=t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),Iu=function(t){let e=t;return t.includes("~")?(e=e.replace(/~([^~].*)/,"<$1"),e=e.replace(/~([^~]*)$/,">$1"),Iu(e)):e},Fu={getRows:Cu,sanitizeText:Lu,sanitizeTextOrArray:Nu,hasBreaks:t=>Du.test(t),splitBreaks:t=>t.split(Du),lineBreakRegex:Du,removeScript:Su,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:Bu},Ru={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},r)=>{if(!e)return 2.55*n;t/=360,e/=100;const i=(n/=100)<.5?n*(1+e):n+e-n*e,a=2*n-i;switch(r){case"r":return 255*Ru.hue2rgb(a,i,t+1/3);case"g":return 255*Ru.hue2rgb(a,i,t);case"b":return 255*Ru.hue2rgb(a,i,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},r)=>{t/=255,e/=255,n/=255;const i=Math.max(t,e,n),a=Math.min(t,e,n),s=(i+a)/2;if("l"===r)return 100*s;if(i===a)return 0;const o=i-a;if("s"===r)return 100*(s>.5?o/(2-i-a):o/(i+a));switch(i){case t:return 60*((e-n)/o+(e<n?6:0));case e:return 60*((n-t)/o+2);case n:return 60*((t-e)/o+4);default:return-1}}},$u={channel:Ru,lang:{clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}},Pu={};for(let t=0;t<=255;t++)Pu[t]=$u.unit.dec2hex(t);const ju={ALL:0,RGB:1,HSL:2};class Yu{constructor(){this.type=ju.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=ju.ALL}is(t){return this.type===t}}const zu=Yu;class Uu{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new zu}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=ju.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:r}=t;void 0===e&&(t.h=$u.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=$u.channel.rgb2hsl(t,"s")),void 0===r&&(t.l=$u.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:n,b:r}=t;void 0===e&&(t.r=$u.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=$u.channel.hsl2rgb(t,"g")),void 0===r&&(t.b=$u.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(ju.HSL)||void 0===e?(this._ensureHSL(),$u.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(ju.HSL)||void 0===e?(this._ensureHSL(),$u.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(ju.HSL)||void 0===e?(this._ensureHSL(),$u.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(ju.RGB)||void 0===e?(this._ensureRGB(),$u.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(ju.RGB)||void 0===e?(this._ensureRGB(),$u.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(ju.RGB)||void 0===e?(this._ensureRGB(),$u.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(ju.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(ju.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(ju.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(ju.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(ju.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(ju.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}const Wu=new Uu({r:0,g:0,b:0,a:0},"transparent"),Hu={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(Hu.re);if(!e)return;const n=e[1],r=parseInt(n,16),i=n.length,a=i%4==0,s=i>4,o=s?1:17,l=s?8:4,c=a?0:-1,h=s?255:15;return Wu.set({r:(r>>l*(c+3)&h)*o,g:(r>>l*(c+2)&h)*o,b:(r>>l*(c+1)&h)*o,a:a?(r&h)*o/255:1},t)},stringify:t=>{const{r:e,g:n,b:r,a:i}=t;return i<1?`#${Pu[Math.round(e)]}${Pu[Math.round(n)]}${Pu[Math.round(r)]}${Pu[Math.round(255*i)]}`:`#${Pu[Math.round(e)]}${Pu[Math.round(n)]}${Pu[Math.round(r)]}`}},qu=Hu,Vu={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(Vu.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return $u.channel.clamp.h(.9*parseFloat(t));case"rad":return $u.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return $u.channel.clamp.h(360*parseFloat(t))}}return $u.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(Vu.re);if(!n)return;const[,r,i,a,s,o]=n;return Wu.set({h:Vu._hue2deg(r),s:$u.channel.clamp.s(parseFloat(i)),l:$u.channel.clamp.l(parseFloat(a)),a:s?$u.channel.clamp.a(o?parseFloat(s)/100:parseFloat(s)):1},t)},stringify:t=>{const{h:e,s:n,l:r,a:i}=t;return i<1?`hsla(${$u.lang.round(e)}, ${$u.lang.round(n)}%, ${$u.lang.round(r)}%, ${i})`:`hsl(${$u.lang.round(e)}, ${$u.lang.round(n)}%, ${$u.lang.round(r)}%)`}},Gu=Vu,Zu={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=Zu.colors[t];if(e)return qu.parse(e)},stringify:t=>{const e=qu.stringify(t);for(const n in Zu.colors)if(Zu.colors[n]===e)return n}},Xu=Zu,Qu={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(Qu.re);if(!n)return;const[,r,i,a,s,o,l,c,h]=n;return Wu.set({r:$u.channel.clamp.r(i?2.55*parseFloat(r):parseFloat(r)),g:$u.channel.clamp.g(s?2.55*parseFloat(a):parseFloat(a)),b:$u.channel.clamp.b(l?2.55*parseFloat(o):parseFloat(o)),a:c?$u.channel.clamp.a(h?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{r:e,g:n,b:r,a:i}=t;return i<1?`rgba(${$u.lang.round(e)}, ${$u.lang.round(n)}, ${$u.lang.round(r)}, ${$u.lang.round(i)})`:`rgb(${$u.lang.round(e)}, ${$u.lang.round(n)}, ${$u.lang.round(r)})`}},Ku=Qu,Ju={format:{keyword:Xu,hex:qu,rgb:Ku,rgba:Ku,hsl:Gu,hsla:Gu},parse:t=>{if("string"!=typeof t)return t;const e=qu.parse(t)||Ku.parse(t)||Gu.parse(t)||Xu.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(ju.HSL)||void 0===t.data.r?Gu.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?Ku.stringify(t):qu.stringify(t)},td=(t,e)=>{const n=Ju.parse(t);for(const r in e)n[r]=$u.channel.clamp[r](e[r]);return Ju.stringify(n)},ed=(t,e,n=0,r=1)=>{if("number"!=typeof t)return td(t,{a:e});const i=Wu.set({r:$u.channel.clamp.r(t),g:$u.channel.clamp.g(e),b:$u.channel.clamp.b(n),a:$u.channel.clamp.a(r)});return Ju.stringify(i)},nd=(t,e,n)=>{const r=Ju.parse(t),i=r[e],a=$u.channel.clamp[e](i+n);return i!==a&&(r[e]=a),Ju.stringify(r)},rd=(t,e)=>nd(t,"l",e),id=(t,e)=>nd(t,"l",-e),ad=(t,e)=>{const n=Ju.parse(t),r={};for(const i in e)!e[i]||(r[i]=n[i]+e[i]);return td(t,r)},sd=(t,e,n=50)=>{const{r:r,g:i,b:a,a:s}=Ju.parse(t),{r:o,g:l,b:c,a:h}=Ju.parse(e),u=n/100,d=2*u-1,p=s-h,f=((d*p==-1?d:(d+p)/(1+d*p))+1)/2,g=1-f;return ed(r*f+o*g,i*f+l*g,a*f+c*g,s*u+h*(1-u))},od=(t,e=100)=>{const n=Ju.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,sd(n,t,e)},ld=(t,e)=>ad(t,e?{s:-40,l:10}:{s:-40,l:-10}),cd="#ffffff",hd="#f2f2f2";class ud{constructor(){this.background="#f4f4f4",this.darkMode=!1,this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||ad(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||ad(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ld(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ld(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ld(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ld(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||od(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||od(this.tertiaryColor),this.lineColor=this.lineColor||od(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?id(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||id(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||od(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||rd(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ad(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ad(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ad(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ad(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ad(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ad(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||ad(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ad(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ad(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=id(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=id(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||od(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||rd(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||id(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||ad(this.primaryColor,{h:64}),this.fillType3=this.fillType3||ad(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||ad(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||ad(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||ad(this.primaryColor,{h:128}),this.fillType7=this.fillType7||ad(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ad(this.primaryColor,{l:-10}),this.pie5=this.pie5||ad(this.secondaryColor,{l:-10}),this.pie6=this.pie6||ad(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||ad(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ad(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ad(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ad(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||ad(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||ad(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?id(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ad(this.primaryColor,{h:-30}),this.git4=this.git4||ad(this.primaryColor,{h:-60}),this.git5=this.git5||ad(this.primaryColor,{h:-90}),this.git6=this.git6||ad(this.primaryColor,{h:60}),this.git7=this.git7||ad(this.primaryColor,{h:120}),this.darkMode?(this.git0=rd(this.git0,25),this.git1=rd(this.git1,25),this.git2=rd(this.git2,25),this.git3=rd(this.git3,25),this.git4=rd(this.git4,25),this.git5=rd(this.git5,25),this.git6=rd(this.git6,25),this.git7=rd(this.git7,25)):(this.git0=id(this.git0,25),this.git1=id(this.git1,25),this.git2=id(this.git2,25),this.git3=id(this.git3,25),this.git4=id(this.git4,25),this.git5=id(this.git5,25),this.git6=id(this.git6,25),this.git7=id(this.git7,25)),this.gitInv0=this.gitInv0||od(this.git0),this.gitInv1=this.gitInv1||od(this.git1),this.gitInv2=this.gitInv2||od(this.git2),this.gitInv3=this.gitInv3||od(this.git3),this.gitInv4=this.gitInv4||od(this.git4),this.gitInv5=this.gitInv5||od(this.git5),this.gitInv6=this.gitInv6||od(this.git6),this.gitInv7=this.gitInv7||od(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||cd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||hd}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const dd=t=>{const e=new ud;return e.calculate(t),e};class pd{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=rd(this.primaryColor,16),this.tertiaryColor=ad(this.primaryColor,{h:-160}),this.primaryBorderColor=od(this.background),this.secondaryBorderColor=ld(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ld(this.tertiaryColor,this.darkMode),this.primaryTextColor=od(this.primaryColor),this.secondaryTextColor=od(this.secondaryColor),this.tertiaryTextColor=od(this.tertiaryColor),this.lineColor=od(this.background),this.textColor=od(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=rd(od("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=ed(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=id("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=ed(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=ed(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=rd(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=rd(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=rd(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ad(this.primaryColor,{h:64}),this.fillType3=ad(this.secondaryColor,{h:64}),this.fillType4=ad(this.primaryColor,{h:-64}),this.fillType5=ad(this.secondaryColor,{h:-64}),this.fillType6=ad(this.primaryColor,{h:128}),this.fillType7=ad(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ad(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ad(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ad(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ad(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ad(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ad(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ad(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ad(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ad(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||od(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||rd(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?id(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=rd(this.secondaryColor,20),this.git1=rd(this.pie2||this.secondaryColor,20),this.git2=rd(this.pie3||this.tertiaryColor,20),this.git3=rd(this.pie4||ad(this.primaryColor,{h:-30}),20),this.git4=rd(this.pie5||ad(this.primaryColor,{h:-60}),20),this.git5=rd(this.pie6||ad(this.primaryColor,{h:-90}),10),this.git6=rd(this.pie7||ad(this.primaryColor,{h:60}),10),this.git7=rd(this.pie8||ad(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||od(this.git0),this.gitInv1=this.gitInv1||od(this.git1),this.gitInv2=this.gitInv2||od(this.git2),this.gitInv3=this.gitInv3||od(this.git3),this.gitInv4=this.gitInv4||od(this.git4),this.gitInv5=this.gitInv5||od(this.git5),this.gitInv6=this.gitInv6||od(this.git6),this.gitInv7=this.gitInv7||od(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||rd(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||rd(this.background,2)}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const fd=t=>{const e=new pd;return e.calculate(t),e};class gd{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=ad(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=ad(this.primaryColor,{h:-160}),this.primaryBorderColor=ld(this.primaryColor,this.darkMode),this.secondaryBorderColor=ld(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ld(this.tertiaryColor,this.darkMode),this.primaryTextColor=od(this.primaryColor),this.secondaryTextColor=od(this.secondaryColor),this.tertiaryTextColor=od(this.tertiaryColor),this.lineColor=od(this.background),this.textColor=od(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=ed(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ad(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ad(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ad(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ad(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ad(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ad(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ad(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ad(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ad(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||id(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||id(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=id(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||id(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||ad(this["cScale"+t],{h:180});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||od(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||od(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=rd(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ad(this.primaryColor,{h:64}),this.fillType3=ad(this.secondaryColor,{h:64}),this.fillType4=ad(this.primaryColor,{h:-64}),this.fillType5=ad(this.secondaryColor,{h:-64}),this.fillType6=ad(this.primaryColor,{h:128}),this.fillType7=ad(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||ad(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||ad(this.primaryColor,{l:-10}),this.pie5=this.pie5||ad(this.secondaryColor,{l:-30}),this.pie6=this.pie6||ad(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||ad(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||ad(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||ad(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||ad(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||ad(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||ad(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ad(this.primaryColor,{h:-30}),this.git4=this.git4||ad(this.primaryColor,{h:-60}),this.git5=this.git5||ad(this.primaryColor,{h:-90}),this.git6=this.git6||ad(this.primaryColor,{h:60}),this.git7=this.git7||ad(this.primaryColor,{h:120}),this.darkMode?(this.git0=rd(this.git0,25),this.git1=rd(this.git1,25),this.git2=rd(this.git2,25),this.git3=rd(this.git3,25),this.git4=rd(this.git4,25),this.git5=rd(this.git5,25),this.git6=rd(this.git6,25),this.git7=rd(this.git7,25)):(this.git0=id(this.git0,25),this.git1=id(this.git1,25),this.git2=id(this.git2,25),this.git3=id(this.git3,25),this.git4=id(this.git4,25),this.git5=id(this.git5,25),this.git6=id(this.git6,25),this.git7=id(this.git7,25)),this.gitInv0=this.gitInv0||id(od(this.git0),25),this.gitInv1=this.gitInv1||od(this.git1),this.gitInv2=this.gitInv2||od(this.git2),this.gitInv3=this.gitInv3||od(this.git3),this.gitInv4=this.gitInv4||od(this.git4),this.gitInv5=this.gitInv5||od(this.git5),this.gitInv6=this.gitInv6||od(this.git6),this.gitInv7=this.gitInv7||od(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||od(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||od(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||cd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||hd}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const yd=t=>{const e=new gd;return e.calculate(t),e};class md{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=rd("#cde498",10),this.primaryBorderColor=ld(this.primaryColor,this.darkMode),this.secondaryBorderColor=ld(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ld(this.tertiaryColor,this.darkMode),this.primaryTextColor=od(this.primaryColor),this.secondaryTextColor=od(this.secondaryColor),this.tertiaryTextColor=od(this.primaryColor),this.lineColor=od(this.background),this.textColor=od(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||ad(this.primaryColor,{h:30}),this.cScale4=this.cScale4||ad(this.primaryColor,{h:60}),this.cScale5=this.cScale5||ad(this.primaryColor,{h:90}),this.cScale6=this.cScale6||ad(this.primaryColor,{h:120}),this.cScale7=this.cScale7||ad(this.primaryColor,{h:150}),this.cScale8=this.cScale8||ad(this.primaryColor,{h:210}),this.cScale9=this.cScale9||ad(this.primaryColor,{h:270}),this.cScale10=this.cScale10||ad(this.primaryColor,{h:300}),this.cScale11=this.cScale11||ad(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||id(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||id(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=id(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||id(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||ad(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=id(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ad(this.primaryColor,{h:64}),this.fillType3=ad(this.secondaryColor,{h:64}),this.fillType4=ad(this.primaryColor,{h:-64}),this.fillType5=ad(this.secondaryColor,{h:-64}),this.fillType6=ad(this.primaryColor,{h:128}),this.fillType7=ad(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||ad(this.primaryColor,{l:-30}),this.pie5=this.pie5||ad(this.secondaryColor,{l:-30}),this.pie6=this.pie6||ad(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||ad(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||ad(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||ad(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||ad(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||ad(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||ad(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||ad(this.primaryColor,{h:-30}),this.git4=this.git4||ad(this.primaryColor,{h:-60}),this.git5=this.git5||ad(this.primaryColor,{h:-90}),this.git6=this.git6||ad(this.primaryColor,{h:60}),this.git7=this.git7||ad(this.primaryColor,{h:120}),this.darkMode?(this.git0=rd(this.git0,25),this.git1=rd(this.git1,25),this.git2=rd(this.git2,25),this.git3=rd(this.git3,25),this.git4=rd(this.git4,25),this.git5=rd(this.git5,25),this.git6=rd(this.git6,25),this.git7=rd(this.git7,25)):(this.git0=id(this.git0,25),this.git1=id(this.git1,25),this.git2=id(this.git2,25),this.git3=id(this.git3,25),this.git4=id(this.git4,25),this.git5=id(this.git5,25),this.git6=id(this.git6,25),this.git7=id(this.git7,25)),this.gitInv0=this.gitInv0||od(this.git0),this.gitInv1=this.gitInv1||od(this.git1),this.gitInv2=this.gitInv2||od(this.git2),this.gitInv3=this.gitInv3||od(this.git3),this.gitInv4=this.gitInv4||od(this.git4),this.gitInv5=this.gitInv5||od(this.git5),this.gitInv6=this.gitInv6||od(this.git6),this.gitInv7=this.gitInv7||od(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||cd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||hd}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const bd=t=>{const e=new md;return e.calculate(t),e};class _d{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=rd(this.contrast,55),this.background="#ffffff",this.tertiaryColor=ad(this.primaryColor,{h:-160}),this.primaryBorderColor=ld(this.primaryColor,this.darkMode),this.secondaryBorderColor=ld(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ld(this.tertiaryColor,this.darkMode),this.primaryTextColor=od(this.primaryColor),this.secondaryTextColor=od(this.secondaryColor),this.tertiaryTextColor=od(this.tertiaryColor),this.lineColor=od(this.background),this.textColor=od(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=rd(this.contrast,55),this.border2=this.contrast,this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||od(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||rd(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||id(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=rd(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.sectionBkgColor=rd(this.contrast,30),this.sectionBkgColor2=rd(this.contrast,30),this.taskBorderColor=id(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=rd(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=id(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=ad(this.primaryColor,{h:64}),this.fillType3=ad(this.secondaryColor,{h:64}),this.fillType4=ad(this.primaryColor,{h:-64}),this.fillType5=ad(this.secondaryColor,{h:-64}),this.fillType6=ad(this.primaryColor,{h:128}),this.fillType7=ad(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=id(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||ad(this.primaryColor,{h:-30}),this.git4=this.pie5||ad(this.primaryColor,{h:-60}),this.git5=this.pie6||ad(this.primaryColor,{h:-90}),this.git6=this.pie7||ad(this.primaryColor,{h:60}),this.git7=this.pie8||ad(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||od(this.git0),this.gitInv1=this.gitInv1||od(this.git1),this.gitInv2=this.gitInv2||od(this.git2),this.gitInv3=this.gitInv3||od(this.git3),this.gitInv4=this.gitInv4||od(this.git4),this.gitInv5=this.gitInv5||od(this.git5),this.gitInv6=this.gitInv6||od(this.git6),this.gitInv7=this.gitInv7||od(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||cd,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||hd}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const vd={base:{getThemeVariables:dd},dark:{getThemeVariables:fd},default:{getThemeVariables:yd},forest:{getThemeVariables:bd},neutral:{getThemeVariables:t=>{const e=new _d;return e.calculate(t),e}}},xd={theme:"default",themeVariables:vd.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},sequence:{hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};xd.class&&(xd.class.arrowMarkerAbsolute=xd.arrowMarkerAbsolute),xd.gitGraph&&(xd.gitGraph.arrowMarkerAbsolute=xd.arrowMarkerAbsolute);const kd=(t,e="")=>Object.keys(t).reduce(((n,r)=>Array.isArray(t[r])?n:"object"==typeof t[r]&&null!==t[r]?[...n,e+r,...kd(t[r],"")]:[...n,e+r]),[]),wd=kd(xd,""),Td=xd;function Ed(t){return typeof t>"u"||null===t}function Cd(t){return"object"==typeof t&&null!==t}function Sd(t){return Array.isArray(t)?t:Ed(t)?[]:[t]}function Ad(t,e){var n,r,i,a;if(e)for(n=0,r=(a=Object.keys(e)).length;n<r;n+=1)t[i=a[n]]=e[i];return t}function Ld(t,e){var n,r="";for(n=0;n<e;n+=1)r+=t;return r}function Nd(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t}var Dd={isNothing:Ed,isObject:Cd,toArray:Sd,repeat:Ld,isNegativeZero:Nd,extend:Ad};function Od(t,e){var n="",r=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),r+" "+n):r}function Md(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Od(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}Md.prototype=Object.create(Error.prototype),Md.prototype.constructor=Md,Md.prototype.toString=function(t){return this.name+": "+Od(this,t)};var Bd=Md;function Id(t,e,n,r,i){var a="",s="",o=Math.floor(i/2)-1;return r-e>o&&(e=r-o+(a=" ... ").length),n-r>o&&(n=r+o-(s=" ...").length),{str:a+t.slice(e,n).replace(/\t/g,"\u2192")+s,pos:r-e+a.length}}function Fd(t,e){return Dd.repeat(" ",e-t.length)+t}function Rd(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,r=/\r?\n|\r|\0/g,i=[0],a=[],s=-1;n=r.exec(t.buffer);)a.push(n.index),i.push(n.index+n[0].length),t.position<=n.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);var o,l,c="",h=Math.min(t.line+e.linesAfter,a.length).toString().length,u=e.maxLength-(e.indent+h+3);for(o=1;o<=e.linesBefore&&!(s-o<0);o++)l=Id(t.buffer,i[s-o],a[s-o],t.position-(i[s]-i[s-o]),u),c=Dd.repeat(" ",e.indent)+Fd((t.line-o+1).toString(),h)+" | "+l.str+"\n"+c;for(l=Id(t.buffer,i[s],a[s],t.position,u),c+=Dd.repeat(" ",e.indent)+Fd((t.line+1).toString(),h)+" | "+l.str+"\n",c+=Dd.repeat("-",e.indent+h+3+l.pos)+"^\n",o=1;o<=e.linesAfter&&!(s+o>=a.length);o++)l=Id(t.buffer,i[s+o],a[s+o],t.position-(i[s]-i[s+o]),u),c+=Dd.repeat(" ",e.indent)+Fd((t.line+o+1).toString(),h)+" | "+l.str+"\n";return c.replace(/\n$/,"")}var $d=Rd,Pd=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],jd=["scalar","sequence","mapping"];function Yd(t){var e={};return null!==t&&Object.keys(t).forEach((function(n){t[n].forEach((function(t){e[String(t)]=n}))})),e}function zd(t,e){if(e=e||{},Object.keys(e).forEach((function(e){if(-1===Pd.indexOf(e))throw new Bd('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=Yd(e.styleAliases||null),-1===jd.indexOf(this.kind))throw new Bd('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var Ud=zd;function Wd(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,r){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=r)})),n[e]=t})),n}function Hd(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(r);return n}function qd(t){return this.extend(t)}qd.prototype.extend=function(t){var e=[],n=[];if(t instanceof Ud)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new Bd("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof Ud))throw new Bd("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Bd("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new Bd("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof Ud))throw new Bd("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(qd.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=Wd(r,"implicit"),r.compiledExplicit=Wd(r,"explicit"),r.compiledTypeMap=Hd(r.compiledImplicit,r.compiledExplicit),r};var Vd=qd,Gd=new Ud("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),Zd=new Ud("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),Xd=new Ud("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),Qd=new Vd({explicit:[Gd,Zd,Xd]});function Kd(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function Jd(){return null}function tp(t){return null===t}var ep=new Ud("tag:yaml.org,2002:null",{kind:"scalar",resolve:Kd,construct:Jd,predicate:tp,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function np(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function rp(t){return"true"===t||"True"===t||"TRUE"===t}function ip(t){return"[object Boolean]"===Object.prototype.toString.call(t)}var ap=new Ud("tag:yaml.org,2002:bool",{kind:"scalar",resolve:np,construct:rp,predicate:ip,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function sp(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function op(t){return 48<=t&&t<=55}function lp(t){return 48<=t&&t<=57}function cp(t){if(null===t)return!1;var e,n=t.length,r=0,i=!1;if(!n)return!1;if(("-"===(e=t[r])||"+"===e)&&(e=t[++r]),"0"===e){if(r+1===n)return!0;if("b"===(e=t[++r])){for(r++;r<n;r++)if("_"!==(e=t[r])){if("0"!==e&&"1"!==e)return!1;i=!0}return i&&"_"!==e}if("x"===e){for(r++;r<n;r++)if("_"!==(e=t[r])){if(!sp(t.charCodeAt(r)))return!1;i=!0}return i&&"_"!==e}if("o"===e){for(r++;r<n;r++)if("_"!==(e=t[r])){if(!op(t.charCodeAt(r)))return!1;i=!0}return i&&"_"!==e}}if("_"===e)return!1;for(;r<n;r++)if("_"!==(e=t[r])){if(!lp(t.charCodeAt(r)))return!1;i=!0}return!(!i||"_"===e)}function hp(t){var e,n=t,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),("-"===(e=n[0])||"+"===e)&&("-"===e&&(r=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)}function up(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Dd.isNegativeZero(t)}var dp=new Ud("tag:yaml.org,2002:int",{kind:"scalar",resolve:cp,construct:hp,predicate:up,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),pp=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function fp(t){return!(null===t||!pp.test(t)||"_"===t[t.length-1])}function gp(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)}var yp=/^[-+]?[0-9]+e/;function mp(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Dd.isNegativeZero(t))return"-0.0";return n=t.toString(10),yp.test(n)?n.replace("e",".e"):n}function bp(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Dd.isNegativeZero(t))}var _p=new Ud("tag:yaml.org,2002:float",{kind:"scalar",resolve:fp,construct:gp,predicate:bp,represent:mp,defaultStyle:"lowercase"}),vp=Qd.extend({implicit:[ep,ap,dp,_p]}),xp=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),kp=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function wp(t){return null!==t&&(null!==xp.exec(t)||null!==kp.exec(t))}function Tp(t){var e,n,r,i,a,s,o,l,c=0,h=null;if(null===(e=xp.exec(t))&&(e=kp.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],r=+e[2]-1,i=+e[3],!e[4])return new Date(Date.UTC(n,r,i));if(a=+e[4],s=+e[5],o=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c=+c}return e[9]&&(h=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(h=-h)),l=new Date(Date.UTC(n,r,i,a,s,o,c)),h&&l.setTime(l.getTime()-h),l}function Ep(t){return t.toISOString()}var Cp=new Ud("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:wp,construct:Tp,instanceOf:Date,represent:Ep});function Sp(t){return"<<"===t||null===t}var Ap=new Ud("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Sp}),Lp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function Np(t){if(null===t)return!1;var e,n,r=0,i=t.length,a=Lp;for(n=0;n<i;n++)if(!((e=a.indexOf(t.charAt(n)))>64)){if(e<0)return!1;r+=6}return r%8==0}function Dp(t){var e,n,r=t.replace(/[\r\n=]/g,""),i=r.length,a=Lp,s=0,o=[];for(e=0;e<i;e++)e%4==0&&e&&(o.push(s>>16&255),o.push(s>>8&255),o.push(255&s)),s=s<<6|a.indexOf(r.charAt(e));return 0==(n=i%4*6)?(o.push(s>>16&255),o.push(s>>8&255),o.push(255&s)):18===n?(o.push(s>>10&255),o.push(s>>2&255)):12===n&&o.push(s>>4&255),new Uint8Array(o)}function Op(t){var e,n,r="",i=0,a=t.length,s=Lp;for(e=0;e<a;e++)e%3==0&&e&&(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]),i=(i<<8)+t[e];return 0==(n=a%3)?(r+=s[i>>18&63],r+=s[i>>12&63],r+=s[i>>6&63],r+=s[63&i]):2===n?(r+=s[i>>10&63],r+=s[i>>4&63],r+=s[i<<2&63],r+=s[64]):1===n&&(r+=s[i>>2&63],r+=s[i<<4&63],r+=s[64],r+=s[64]),r}function Mp(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}var Bp=new Ud("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Np,construct:Dp,predicate:Mp,represent:Op}),Ip=Object.prototype.hasOwnProperty,Fp=Object.prototype.toString;function Rp(t){if(null===t)return!0;var e,n,r,i,a,s=[],o=t;for(e=0,n=o.length;e<n;e+=1){if(r=o[e],a=!1,"[object Object]"!==Fp.call(r))return!1;for(i in r)if(Ip.call(r,i)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==s.indexOf(i))return!1;s.push(i)}return!0}function $p(t){return null!==t?t:[]}var Pp=new Ud("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Rp,construct:$p}),jp=Object.prototype.toString;function Yp(t){if(null===t)return!0;var e,n,r,i,a,s=t;for(a=new Array(s.length),e=0,n=s.length;e<n;e+=1){if(r=s[e],"[object Object]"!==jp.call(r)||1!==(i=Object.keys(r)).length)return!1;a[e]=[i[0],r[i[0]]]}return!0}function zp(t){if(null===t)return[];var e,n,r,i,a,s=t;for(a=new Array(s.length),e=0,n=s.length;e<n;e+=1)r=s[e],i=Object.keys(r),a[e]=[i[0],r[i[0]]];return a}var Up=new Ud("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Yp,construct:zp}),Wp=Object.prototype.hasOwnProperty;function Hp(t){if(null===t)return!0;var e,n=t;for(e in n)if(Wp.call(n,e)&&null!==n[e])return!1;return!0}function qp(t){return null!==t?t:{}}var Vp=new Ud("tag:yaml.org,2002:set",{kind:"mapping",resolve:Hp,construct:qp}),Gp=vp.extend({implicit:[Cp,Ap],explicit:[Bp,Pp,Up,Vp]}),Zp=Object.prototype.hasOwnProperty,Xp=1,Qp=2,Kp=3,Jp=4,tf=1,ef=2,nf=3,rf=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,af=/[\x85\u2028\u2029]/,sf=/[,\[\]\{\}]/,of=/^(?:!|!!|![a-z\-]+!)$/i,lf=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function cf(t){return Object.prototype.toString.call(t)}function hf(t){return 10===t||13===t}function uf(t){return 9===t||32===t}function df(t){return 9===t||32===t||10===t||13===t}function pf(t){return 44===t||91===t||93===t||123===t||125===t}function ff(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function gf(t){return 120===t?2:117===t?4:85===t?8:0}function yf(t){return 48<=t&&t<=57?t-48:-1}function mf(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function bf(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var _f=new Array(256),vf=new Array(256),xf=0;xf<256;xf++)_f[xf]=mf(xf)?1:0,vf[xf]=mf(xf);function kf(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Gp,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function wf(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=$d(n),new Bd(e,n)}function Tf(t,e){throw wf(t,e)}function Ef(t,e){t.onWarning&&t.onWarning.call(null,wf(t,e))}var Cf={YAML:function(t,e,n){var r,i,a;null!==t.version&&Tf(t,"duplication of %YAML directive"),1!==n.length&&Tf(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&Tf(t,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),1!==i&&Tf(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&Ef(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var r,i;2!==n.length&&Tf(t,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],of.test(r)||Tf(t,"ill-formed tag handle (first argument) of the TAG directive"),Zp.call(t.tagMap,r)&&Tf(t,'there is a previously declared suffix for "'+r+'" tag handle'),lf.test(i)||Tf(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{Tf(t,"tag prefix is malformed: "+i)}t.tagMap[r]=i}};function Sf(t,e,n,r){var i,a,s,o;if(e<n){if(o=t.input.slice(e,n),r)for(i=0,a=o.length;i<a;i+=1)9===(s=o.charCodeAt(i))||32<=s&&s<=1114111||Tf(t,"expected valid JSON character");else rf.test(o)&&Tf(t,"the stream contains non-printable characters");t.result+=o}}function Af(t,e,n,r){var i,a,s,o;for(Dd.isObject(n)||Tf(t,"cannot merge mappings; the provided source object is unacceptable"),s=0,o=(i=Object.keys(n)).length;s<o;s+=1)a=i[s],Zp.call(e,a)||(e[a]=n[a],r[a]=!0)}function Lf(t,e,n,r,i,a,s,o,l){var c,h;if(Array.isArray(i))for(c=0,h=(i=Array.prototype.slice.call(i)).length;c<h;c+=1)Array.isArray(i[c])&&Tf(t,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===cf(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===cf(i)&&(i="[object Object]"),i=String(i),null===e&&(e={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(a))for(c=0,h=a.length;c<h;c+=1)Af(t,e,a[c],n);else Af(t,e,a,n);else!t.json&&!Zp.call(n,i)&&Zp.call(e,i)&&(t.line=s||t.line,t.lineStart=o||t.lineStart,t.position=l||t.position,Tf(t,"duplicated mapping key")),"__proto__"===i?Object.defineProperty(e,i,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[i]=a,delete n[i];return e}function Nf(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):Tf(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Df(t,e,n){for(var r=0,i=t.input.charCodeAt(t.position);0!==i;){for(;uf(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)do{i=t.input.charCodeAt(++t.position)}while(10!==i&&13!==i&&0!==i);if(!hf(i))break;for(Nf(t),i=t.input.charCodeAt(t.position),r++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position)}return-1!==n&&0!==r&&t.lineIndent<n&&Ef(t,"deficient indentation"),r}function Of(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,e=t.input.charCodeAt(n),0!==e&&!df(e)))}function Mf(t,e){1===e?t.result+=" ":e>1&&(t.result+=Dd.repeat("\n",e-1))}function Bf(t,e,n){var r,i,a,s,o,l,c,h,u=t.kind,d=t.result;if(df(h=t.input.charCodeAt(t.position))||pf(h)||35===h||38===h||42===h||33===h||124===h||62===h||39===h||34===h||37===h||64===h||96===h||(63===h||45===h)&&(df(r=t.input.charCodeAt(t.position+1))||n&&pf(r)))return!1;for(t.kind="scalar",t.result="",i=a=t.position,s=!1;0!==h;){if(58===h){if(df(r=t.input.charCodeAt(t.position+1))||n&&pf(r))break}else if(35===h){if(df(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&Of(t)||n&&pf(h))break;if(hf(h)){if(o=t.line,l=t.lineStart,c=t.lineIndent,Df(t,!1,-1),t.lineIndent>=e){s=!0,h=t.input.charCodeAt(t.position);continue}t.position=a,t.line=o,t.lineStart=l,t.lineIndent=c;break}}s&&(Sf(t,i,a,!1),Mf(t,t.line-o),i=a=t.position,s=!1),uf(h)||(a=t.position+1),h=t.input.charCodeAt(++t.position)}return Sf(t,i,a,!1),!!t.result||(t.kind=u,t.result=d,!1)}function If(t,e){var n,r,i;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=i=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(Sf(t,r,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,i=t.position}else hf(n)?(Sf(t,r,i,!0),Mf(t,Df(t,!1,e)),r=i=t.position):t.position===t.lineStart&&Of(t)?Tf(t,"unexpected end of the document within a single quoted scalar"):(t.position++,i=t.position);Tf(t,"unexpected end of the stream within a single quoted scalar")}function Ff(t,e){var n,r,i,a,s,o;if(34!==(o=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=r=t.position;0!==(o=t.input.charCodeAt(t.position));){if(34===o)return Sf(t,n,t.position,!0),t.position++,!0;if(92===o){if(Sf(t,n,t.position,!0),hf(o=t.input.charCodeAt(++t.position)))Df(t,!1,e);else if(o<256&&_f[o])t.result+=vf[o],t.position++;else if((s=gf(o))>0){for(i=s,a=0;i>0;i--)(s=ff(o=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+s:Tf(t,"expected hexadecimal character");t.result+=bf(a),t.position++}else Tf(t,"unknown escape sequence");n=r=t.position}else hf(o)?(Sf(t,n,r,!0),Mf(t,Df(t,!1,e)),n=r=t.position):t.position===t.lineStart&&Of(t)?Tf(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}Tf(t,"unexpected end of the stream within a double quoted scalar")}function Rf(t,e){var n,r,i,a,s,o,l,c,h,u,d,p,f=!0,g=t.tag,y=t.anchor,m=Object.create(null);if(91===(p=t.input.charCodeAt(t.position)))s=93,c=!1,a=[];else{if(123!==p)return!1;s=125,c=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),p=t.input.charCodeAt(++t.position);0!==p;){if(Df(t,!0,e),(p=t.input.charCodeAt(t.position))===s)return t.position++,t.tag=g,t.anchor=y,t.kind=c?"mapping":"sequence",t.result=a,!0;f?44===p&&Tf(t,"expected the node content, but found ','"):Tf(t,"missed comma between flow collection entries"),u=h=d=null,o=l=!1,63===p&&df(t.input.charCodeAt(t.position+1))&&(o=l=!0,t.position++,Df(t,!0,e)),n=t.line,r=t.lineStart,i=t.position,Wf(t,e,Xp,!1,!0),u=t.tag,h=t.result,Df(t,!0,e),p=t.input.charCodeAt(t.position),(l||t.line===n)&&58===p&&(o=!0,p=t.input.charCodeAt(++t.position),Df(t,!0,e),Wf(t,e,Xp,!1,!0),d=t.result),c?Lf(t,a,m,u,h,d,n,r,i):o?a.push(Lf(t,null,m,u,h,d,n,r,i)):a.push(h),Df(t,!0,e),44===(p=t.input.charCodeAt(t.position))?(f=!0,p=t.input.charCodeAt(++t.position)):f=!1}Tf(t,"unexpected end of the stream within a flow collection")}function $f(t,e){var n,r,i,a,s=tf,o=!1,l=!1,c=e,h=0,u=!1;if(124===(a=t.input.charCodeAt(t.position)))r=!1;else{if(62!==a)return!1;r=!0}for(t.kind="scalar",t.result="";0!==a;)if(43===(a=t.input.charCodeAt(++t.position))||45===a)tf===s?s=43===a?nf:ef:Tf(t,"repeat of a chomping mode identifier");else{if(!((i=yf(a))>=0))break;0===i?Tf(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?Tf(t,"repeat of an indentation width identifier"):(c=e+i-1,l=!0)}if(uf(a)){do{a=t.input.charCodeAt(++t.position)}while(uf(a));if(35===a)do{a=t.input.charCodeAt(++t.position)}while(!hf(a)&&0!==a)}for(;0!==a;){for(Nf(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!l||t.lineIndent<c)&&32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>c&&(c=t.lineIndent),hf(a))h++;else{if(t.lineIndent<c){s===nf?t.result+=Dd.repeat("\n",o?1+h:h):s===tf&&o&&(t.result+="\n");break}for(r?uf(a)?(u=!0,t.result+=Dd.repeat("\n",o?1+h:h)):u?(u=!1,t.result+=Dd.repeat("\n",h+1)):0===h?o&&(t.result+=" "):t.result+=Dd.repeat("\n",h):t.result+=Dd.repeat("\n",o?1+h:h),o=!0,l=!0,h=0,n=t.position;!hf(a)&&0!==a;)a=t.input.charCodeAt(++t.position);Sf(t,n,t.position,!1)}}return!0}function Pf(t,e){var n,r,i=t.tag,a=t.anchor,s=[],o=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=s),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,Tf(t,"tab characters must not be used in indentation")),45===r&&df(t.input.charCodeAt(t.position+1)));)if(o=!0,t.position++,Df(t,!0,-1)&&t.lineIndent<=e)s.push(null),r=t.input.charCodeAt(t.position);else if(n=t.line,Wf(t,e,Kp,!1,!0),s.push(t.result),Df(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==r)Tf(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!o&&(t.tag=i,t.anchor=a,t.kind="sequence",t.result=s,!0)}function jf(t,e,n){var r,i,a,s,o,l,c,h=t.tag,u=t.anchor,d={},p=Object.create(null),f=null,g=null,y=null,m=!1,b=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=d),c=t.input.charCodeAt(t.position);0!==c;){if(!m&&-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,Tf(t,"tab characters must not be used in indentation")),r=t.input.charCodeAt(t.position+1),a=t.line,63!==c&&58!==c||!df(r)){if(s=t.line,o=t.lineStart,l=t.position,!Wf(t,n,Qp,!1,!0))break;if(t.line===a){for(c=t.input.charCodeAt(t.position);uf(c);)c=t.input.charCodeAt(++t.position);if(58===c)df(c=t.input.charCodeAt(++t.position))||Tf(t,"a whitespace character is expected after the key-value separator within a block mapping"),m&&(Lf(t,d,p,f,g,null,s,o,l),f=g=y=null),b=!0,m=!1,i=!1,f=t.tag,g=t.result;else{if(!b)return t.tag=h,t.anchor=u,!0;Tf(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return t.tag=h,t.anchor=u,!0;Tf(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(m&&(Lf(t,d,p,f,g,null,s,o,l),f=g=y=null),b=!0,m=!0,i=!0):m?(m=!1,i=!0):Tf(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=r;if((t.line===a||t.lineIndent>e)&&(m&&(s=t.line,o=t.lineStart,l=t.position),Wf(t,e,Jp,!0,i)&&(m?g=t.result:y=t.result),m||(Lf(t,d,p,f,g,y,s,o,l),f=g=y=null),Df(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==c)Tf(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return m&&Lf(t,d,p,f,g,null,s,o,l),b&&(t.tag=h,t.anchor=u,t.kind="mapping",t.result=d),b}function Yf(t){var e,n,r,i,a=!1,s=!1;if(33!==(i=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&Tf(t,"duplication of a tag property"),60===(i=t.input.charCodeAt(++t.position))?(a=!0,i=t.input.charCodeAt(++t.position)):33===i?(s=!0,n="!!",i=t.input.charCodeAt(++t.position)):n="!",e=t.position,a){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&62!==i);t.position<t.length?(r=t.input.slice(e,t.position),i=t.input.charCodeAt(++t.position)):Tf(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!df(i);)33===i&&(s?Tf(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),of.test(n)||Tf(t,"named tag handle cannot contain such characters"),s=!0,e=t.position+1)),i=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),sf.test(r)&&Tf(t,"tag suffix cannot contain flow indicator characters")}r&&!lf.test(r)&&Tf(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch{Tf(t,"tag name is malformed: "+r)}return a?t.tag=r:Zp.call(t.tagMap,n)?t.tag=t.tagMap[n]+r:"!"===n?t.tag="!"+r:"!!"===n?t.tag="tag:yaml.org,2002:"+r:Tf(t,'undeclared tag handle "'+n+'"'),!0}function zf(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&Tf(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!df(n)&&!pf(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&Tf(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Uf(t){var e,n,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!df(r)&&!pf(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Tf(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),Zp.call(t.anchorMap,n)||Tf(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],Df(t,!0,-1),!0}function Wf(t,e,n,r,i){var a,s,o,l,c,h,u,d,p,f=1,g=!1,y=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,a=s=o=Jp===n||Kp===n,r&&Df(t,!0,-1)&&(g=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;Yf(t)||zf(t);)Df(t,!0,-1)?(g=!0,o=a,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):o=!1;if(o&&(o=g||i),(1===f||Jp===n)&&(d=Xp===n||Qp===n?e:e+1,p=t.position-t.lineStart,1===f?o&&(Pf(t,p)||jf(t,p,d))||Rf(t,d)?y=!0:(s&&$f(t,d)||If(t,d)||Ff(t,d)?y=!0:Uf(t)?(y=!0,(null!==t.tag||null!==t.anchor)&&Tf(t,"alias node should not have any properties")):Bf(t,d,Xp===n)&&(y=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(y=o&&Pf(t,p))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&Tf(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,c=t.implicitTypes.length;l<c;l+=1)if((u=t.implicitTypes[l]).resolve(t.result)){t.result=u.construct(t.result),t.tag=u.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(Zp.call(t.typeMap[t.kind||"fallback"],t.tag))u=t.typeMap[t.kind||"fallback"][t.tag];else for(u=null,l=0,c=(h=t.typeMap.multi[t.kind||"fallback"]).length;l<c;l+=1)if(t.tag.slice(0,h[l].tag.length)===h[l].tag){u=h[l];break}u||Tf(t,"unknown tag !<"+t.tag+">"),null!==t.result&&u.kind!==t.kind&&Tf(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):Tf(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||y}function Hf(t){var e,n,r,i,a=t.position,s=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(i=t.input.charCodeAt(t.position))&&(Df(t,!0,-1),i=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==i));){for(s=!0,i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!df(i);)i=t.input.charCodeAt(++t.position);for(r=[],(n=t.input.slice(e,t.position)).length<1&&Tf(t,"directive name must not be less than one character in length");0!==i;){for(;uf(i);)i=t.input.charCodeAt(++t.position);if(35===i){do{i=t.input.charCodeAt(++t.position)}while(0!==i&&!hf(i));break}if(hf(i))break;for(e=t.position;0!==i&&!df(i);)i=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==i&&Nf(t),Zp.call(Cf,n)?Cf[n](t,n,r):Ef(t,'unknown document directive "'+n+'"')}Df(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,Df(t,!0,-1)):s&&Tf(t,"directives end mark is expected"),Wf(t,t.lineIndent-1,Jp,!1,!0),Df(t,!0,-1),t.checkLineBreaks&&af.test(t.input.slice(a,t.position))&&Ef(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Of(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,Df(t,!0,-1)):t.position<t.length-1&&Tf(t,"end of the stream or a document separator is expected")}function qf(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new kf(t,e),r=t.indexOf("\0");for(-1!==r&&(n.position=r,Tf(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)Hf(n);return n.documents}function Vf(t,e,n){null!==e&&"object"==typeof e&&typeof n>"u"&&(n=e,e=null);var r=qf(t,n);if("function"!=typeof e)return r;for(var i=0,a=r.length;i<a;i+=1)e(r[i])}function Gf(t,e){var n=qf(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new Bd("expected a single document in the stream, but found more")}}var Zf=Qd,Xf={loadAll:Vf,load:Gf}.load;const Qf=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;function Kf(t,e){var n;const r=t.match(Qf);if(r){const i=Xf(r[1],{schema:Zf});return null!=i&&i.title&&(null==(n=e.setDiagramTitle)||n.call(e,i.title)),t.slice(r[0].length)}return t}const Jf=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,tg=/\s*%%.*\n/gm,eg={},ng=function(t,e){t=t.replace(Qf,"").replace(Jf,"").replace(tg,"\n");for(const[n,{detector:r}]of Object.entries(eg))if(r(t,e))return n;throw new Error(`No diagram type detected for text: ${t}`)},rg=(t,e,n)=>{if(eg[t])throw new Error(`Detector with key ${t} already exists`);eg[t]={detector:e,loader:n},p.debug(`Detector with key ${t} added${n?" with loader":""}`)},ig=t=>eg[t].loader,ag=function(t,e,n){const{depth:r,clobber:i}=Object.assign({depth:2,clobber:!1},n);return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>ag(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||r<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(i||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=ag(t[n],e[n],{depth:r-1,clobber:i}))})),t)},sg=ag,og="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var lg="object"==typeof self&&self&&self.Object===Object&&self;const cg=og||lg||Function("return this")(),hg=cg.Symbol;var ug=Object.prototype,dg=ug.hasOwnProperty,pg=ug.toString,fg=hg?hg.toStringTag:void 0;function gg(t){var e=dg.call(t,fg),n=t[fg];try{t[fg]=void 0;var r=!0}catch{}var i=pg.call(t);return r&&(e?t[fg]=n:delete t[fg]),i}var yg=Object.prototype.toString;function mg(t){return yg.call(t)}var bg="[object Null]",_g="[object Undefined]",vg=hg?hg.toStringTag:void 0;function xg(t){return null==t?void 0===t?_g:bg:vg&&vg in Object(t)?gg(t):mg(t)}function kg(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var wg="[object AsyncFunction]",Tg="[object Function]",Eg="[object GeneratorFunction]",Cg="[object Proxy]";function Sg(t){if(!kg(t))return!1;var e=xg(t);return e==Tg||e==Eg||e==wg||e==Cg}const Ag=cg["__core-js_shared__"];var Lg=function(){var t=/[^.]+$/.exec(Ag&&Ag.keys&&Ag.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Ng(t){return!!Lg&&Lg in t}var Dg=Function.prototype.toString;function Og(t){if(null!=t){try{return Dg.call(t)}catch{}try{return t+""}catch{}}return""}var Mg=/[\\^$.*+?()[\]{}|]/g,Bg=/^\[object .+?Constructor\]$/,Ig=Function.prototype,Fg=Object.prototype,Rg=Ig.toString,$g=Fg.hasOwnProperty,Pg=RegExp("^"+Rg.call($g).replace(Mg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function jg(t){return!(!kg(t)||Ng(t))&&(Sg(t)?Pg:Bg).test(Og(t))}function Yg(t,e){return null==t?void 0:t[e]}function zg(t,e){var n=Yg(t,e);return jg(n)?n:void 0}const Ug=zg(Object,"create");function Wg(){this.__data__=Ug?Ug(null):{},this.size=0}function Hg(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var qg="__lodash_hash_undefined__",Vg=Object.prototype.hasOwnProperty;function Gg(t){var e=this.__data__;if(Ug){var n=e[t];return n===qg?void 0:n}return Vg.call(e,t)?e[t]:void 0}var Zg=Object.prototype.hasOwnProperty;function Xg(t){var e=this.__data__;return Ug?void 0!==e[t]:Zg.call(e,t)}var Qg="__lodash_hash_undefined__";function Kg(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ug&&void 0===e?Qg:e,this}function Jg(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ty(){this.__data__=[],this.size=0}function ey(t,e){return t===e||t!=t&&e!=e}function ny(t,e){for(var n=t.length;n--;)if(ey(t[n][0],e))return n;return-1}Jg.prototype.clear=Wg,Jg.prototype.delete=Hg,Jg.prototype.get=Gg,Jg.prototype.has=Xg,Jg.prototype.set=Kg;var ry=Array.prototype.splice;function iy(t){var e=this.__data__,n=ny(e,t);return!(n<0||(n==e.length-1?e.pop():ry.call(e,n,1),--this.size,0))}function ay(t){var e=this.__data__,n=ny(e,t);return n<0?void 0:e[n][1]}function sy(t){return ny(this.__data__,t)>-1}function oy(t,e){var n=this.__data__,r=ny(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function ly(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ly.prototype.clear=ty,ly.prototype.delete=iy,ly.prototype.get=ay,ly.prototype.has=sy,ly.prototype.set=oy;const cy=zg(cg,"Map");function hy(){this.size=0,this.__data__={hash:new Jg,map:new(cy||ly),string:new Jg}}function uy(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function dy(t,e){var n=t.__data__;return uy(e)?n["string"==typeof e?"string":"hash"]:n.map}function py(t){var e=dy(this,t).delete(t);return this.size-=e?1:0,e}function fy(t){return dy(this,t).get(t)}function gy(t){return dy(this,t).has(t)}function yy(t,e){var n=dy(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function my(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}my.prototype.clear=hy,my.prototype.delete=py,my.prototype.get=fy,my.prototype.has=gy,my.prototype.set=yy;var by="Expected a function";function _y(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(by);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=t.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(_y.Cache||my),n}_y.Cache=my;const vy={curveBasis:Zc,curveBasisClosed:Qc,curveBasisOpen:Jc,curveLinear:Pc,curveLinearClosed:eh,curveMonotoneX:ch,curveMonotoneY:hh,curveNatural:ph,curveStep:gh,curveStepAfter:mh,curveStepBefore:yh},xy=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ky=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,wy=function(t,e){const n=Ty(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(n)){const t=n.map((t=>t.args));Vy(t),r=sg(r,[...t])}else r=n.args;if(r){let n=ng(t,e);["config"].forEach((t=>{void 0!==r[t]&&("flowchart-v2"===n&&(n="flowchart"),r[n]=r[t],delete r[t])}))}return r},Ty=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${ky.source})(?=[}][%]{2}).*\n`,"ig");let r;t=t.trim().replace(n,"").replace(/'/gm,'"'),p.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const i=[];for(;null!==(r=xy.exec(t));)if(r.index===xy.lastIndex&&xy.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;i.push({type:t,args:e})}return 0===i.length&&i.push({type:t,args:null}),1===i.length?i[0]:i}catch(n){return p.error(`ERROR: ${n.message} - Unable to parse directive\n ${null!==e?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}},Ey=function(t,e){for(const[n,r]of e.entries())if(r.match(t))return n;return-1};function Cy(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return vy[n]||e}function Sy(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?m(n):n}const Ay=(t,...e)=>{const n=t.split("."),r=n.length-1,i=n[r];let a=window;for(let s=0;s<r;s++)if(a=a[n[s]],!a)return;a[i](...e)};function Ly(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function Ny(t){let e,n=0;t.forEach((t=>{n+=Ly(t,e),e=t}));let r,i=n/2;return e=void 0,t.forEach((t=>{if(e&&!r){const n=Ly(t,e);if(n<i)i-=n;else{const a=i/n;a<=0&&(r=e),a>=1&&(r={x:t.x,y:t.y}),a>0&&a<1&&(r={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y})}}e=t})),r}function Dy(t){return 1===t.length?t[0]:Ny(t)}const Oy=(t,e,n)=>{let r;p.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());let i,a=25;r=void 0,e.forEach((t=>{if(r&&!i){const e=Ly(t,r);if(e<a)a-=e;else{const n=a/e;n<=0&&(i=r),n>=1&&(i={x:t.x,y:t.y}),n>0&&n<1&&(i={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t}));const s=t?10:5,o=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(o)*s+(e[0].x+i.x)/2,l.y=-Math.cos(o)*s+(e[0].y+i.y)/2,l};function My(t,e,n){let r,i=JSON.parse(JSON.stringify(n));p.info("our points",i),"start_left"!==e&&"start_right"!==e&&(i=i.reverse()),i.forEach((t=>{r=t}));let a,s=25+t;r=void 0,i.forEach((t=>{if(r&&!a){const e=Ly(t,r);if(e<s)s-=e;else{const n=s/e;n<=0&&(a=r),n>=1&&(a={x:t.x,y:t.y}),n>0&&n<1&&(a={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t}));const o=10+.5*t,l=Math.atan2(i[0].y-a.y,i[0].x-a.x),c={x:0,y:0};return c.x=Math.sin(l)*o+(i[0].x+a.x)/2,c.y=-Math.cos(l)*o+(i[0].y+a.y)/2,"start_left"===e&&(c.x=Math.sin(l+Math.PI)*o+(i[0].x+a.x)/2,c.y=-Math.cos(l+Math.PI)*o+(i[0].y+a.y)/2),"end_right"===e&&(c.x=Math.sin(l-Math.PI)*o+(i[0].x+a.x)/2-5,c.y=-Math.cos(l-Math.PI)*o+(i[0].y+a.y)/2-5),"end_left"===e&&(c.x=Math.sin(l)*o+(i[0].x+a.x)/2-5,c.y=-Math.cos(l)*o+(i[0].y+a.y)/2-5),c}function By(t){let e="",n="";for(const r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?n=n+r+";":e=e+r+";");return{style:e,labelStyle:n}}let Iy=0;const Fy=()=>(Iy++,"id-"+Math.random().toString(36).substr(2,12)+"-"+Iy);function Ry(t){let e="";const n="0123456789abcdef",r=n.length;for(let i=0;i<t;i++)e+=n.charAt(Math.floor(Math.random()*r));return e}const $y=t=>Ry(t.length),Py=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0}},jy=function(t,e){const n=e.text.replace(Fu.lineBreakRegex," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.style("font-family",e.fontFamily),r.style("font-size",e.fontSize),r.style("font-weight",e.fontWeight),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);const i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.attr("fill",e.fill),i.text(n),r},Yy=_y(((t,e,n)=>{if(!t||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),Fu.lineBreakRegex.test(t)))return t;const r=t.split(" "),i=[];let a="";return r.forEach(((t,s)=>{const o=Wy(`${t} `,n),l=Wy(a,n);if(o>e){const{hyphenatedStrings:r,remainingWord:s}=zy(t,e,"-",n);i.push(a,...r),a=s}else l+o>=e?(i.push(a),a=t):a=[a,t].filter(Boolean).join(" ");s+1===r.length&&i.push(a)})),i.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),zy=_y(((t,e,n="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const i=[...t],a=[];let s="";return i.forEach(((t,o)=>{const l=`${s}${t}`;if(Wy(l,r)>=e){const t=o+1,e=i.length===t,r=`${l}${n}`;a.push(e?l:r),s=""}else s=l})),{hyphenatedStrings:a,remainingWord:s}}),((t,e,n="-",r)=>`${t}${e}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function Uy(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),Hy(t,e).height}function Wy(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),Hy(t,e).width}const Hy=_y(((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:n,fontFamily:r,fontWeight:i}=e;if(!t)return{width:0,height:0};const a=["sans-serif",r],s=t.split(Fu.lineBreakRegex),o=[],l=dn("body");if(!l.remove)return{width:0,height:0,lineHeight:0};const c=l.append("svg");for(const h of a){let t=0;const e={width:0,height:0,lineHeight:0};for(const r of s){const a=Py();a.text=r;const s=jy(c,a).style("font-size",n).style("font-weight",i).style("font-family",h),o=(s._groups||s)[0][0].getBBox();e.width=Math.round(Math.max(e.width,o.width)),t=Math.round(o.height),e.height+=t,e.lineHeight=Math.round(Math.max(e.lineHeight,t))}o.push(e)}return c.remove(),o[isNaN(o[1].height)||isNaN(o[1].width)||isNaN(o[1].lineHeight)||o[0].height>o[1].height&&o[0].width>o[1].width&&o[0].lineHeight>o[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let qy;const Vy=t=>{if(p.debug("directiveSanitizer called with",t),"object"==typeof t&&(t.length?t.forEach((t=>Vy(t))):Object.keys(t).forEach((e=>{p.debug("Checking key",e),e.startsWith("__")&&(p.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(p.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(p.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(p.debug("sanitizing themeCss option"),t[e]=Gy(t[e])),e.includes("fontFamily")&&(p.debug("sanitizing fontFamily option"),t[e]=Gy(t[e])),e.includes("altFontFamily")&&(p.debug("sanitizing altFontFamily option"),t[e]=Gy(t[e])),wd.includes(e)?"object"==typeof t[e]&&(p.debug("sanitize deleting object",e),Vy(t[e])):(p.debug("sanitize deleting option",e),delete t[e])}))),t.themeVariables){const e=Object.keys(t.themeVariables);for(const n of e){const e=t.themeVariables[n];e&&e.match&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[n]="")}}p.debug("After sanitization",t)},Gy=t=>{let e=0,n=0;for(const r of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===r?e++:"}"===r&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t};function Zy(t){return"str"in t}function Xy(t){return t instanceof Error?t.message:String(t)}const Qy={assignWithDepth:sg,wrapLabel:Yy,calculateTextHeight:Uy,calculateTextWidth:Wy,calculateTextDimensions:Hy,detectInit:wy,detectDirective:Ty,isSubstringInArray:Ey,interpolateToCurve:Cy,calcLabelPosition:Dy,calcCardinalityPosition:Oy,calcTerminalLabelPosition:My,formatUrl:Sy,getStylesFromArray:By,generateId:Fy,random:$y,runFunc:Ay,entityDecode:function(t){return qy=qy||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),qy.innerHTML=t,unescape(qy.textContent)},initIdGenerator:class{constructor(t,e){this.deterministic=t,this.seed=e,this.count=e?e.length:0}next(){return this.deterministic?this.count++:Date.now()}},directiveSanitizer:Vy,sanitizeCss:Gy,insertTitle:(t,e,n,r)=>{if(!r)return;const i=t.node().getBBox();t.append("text").text(r).attr("x",i.x+i.width/2).attr("y",-n).attr("class",e)}};var Ky="comm",Jy="rule",tm="decl",em="@import",nm="@keyframes",rm=Math.abs,im=String.fromCharCode;function am(t){return t.trim()}function sm(t,e,n){return t.replace(e,n)}function om(t,e){return t.indexOf(e)}function lm(t,e){return 0|t.charCodeAt(e)}function cm(t,e,n){return t.slice(e,n)}function hm(t){return t.length}function um(t){return t.length}function dm(t,e){return e.push(t),t}var pm=1,fm=1,gm=0,ym=0,mm=0,bm="";function _m(t,e,n,r,i,a,s){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:pm,column:fm,length:s,return:""}}function vm(){return mm}function xm(){return mm=ym>0?lm(bm,--ym):0,fm--,10===mm&&(fm=1,pm--),mm}function km(){return mm=ym<gm?lm(bm,ym++):0,fm++,10===mm&&(fm=1,pm++),mm}function wm(){return lm(bm,ym)}function Tm(){return ym}function Em(t,e){return cm(bm,t,e)}function Cm(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Sm(t){return pm=fm=1,gm=hm(bm=t),ym=0,[]}function Am(t){return bm="",t}function Lm(t){return am(Em(ym-1,Om(91===t?t+2:40===t?t+1:t)))}function Nm(t){for(;(mm=wm())&&mm<33;)km();return Cm(t)>2||Cm(mm)>3?"":" "}function Dm(t,e){for(;--e&&km()&&!(mm<48||mm>102||mm>57&&mm<65||mm>70&&mm<97););return Em(t,Tm()+(e<6&&32==wm()&&32==km()))}function Om(t){for(;km();)switch(mm){case t:return ym;case 34:case 39:34!==t&&39!==t&&Om(mm);break;case 40:41===t&&Om(t);break;case 92:km()}return ym}function Mm(t,e){for(;km()&&t+mm!==57&&(t+mm!==84||47!==wm()););return"/*"+Em(e,ym-1)+"*"+im(47===t?t:km())}function Bm(t){for(;!Cm(wm());)km();return Em(t,ym)}function Im(t){return Am(Fm("",null,null,null,[""],t=Sm(t),0,[0],t))}function Fm(t,e,n,r,i,a,s,o,l){for(var c=0,h=0,u=s,d=0,p=0,f=0,g=1,y=1,m=1,b=0,_="",v=i,x=a,k=r,w=_;y;)switch(f=b,b=km()){case 40:if(108!=f&&58==lm(w,u-1)){-1!=om(w+=sm(Lm(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:w+=Lm(b);break;case 9:case 10:case 13:case 32:w+=Nm(f);break;case 92:w+=Dm(Tm()-1,7);continue;case 47:switch(wm()){case 42:case 47:dm($m(Mm(km(),Tm()),e,n),l);break;default:w+="/"}break;case 123*g:o[c++]=hm(w)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+h:p>0&&hm(w)-u&&dm(p>32?Pm(w+";",r,n,u-1):Pm(sm(w," ","")+";",r,n,u-2),l);break;case 59:w+=";";default:if(dm(k=Rm(w,e,n,c,h,i,o,_,v=[],x=[],u),a),123===b)if(0===h)Fm(w,e,k,k,v,a,u,o,x);else switch(d){case 100:case 109:case 115:Fm(t,k,k,r&&dm(Rm(t,k,k,0,0,i,o,_,i,v=[],u),x),i,x,u,o,r?v:x);break;default:Fm(w,k,k,k,[""],x,0,o,x)}}c=h=p=0,g=m=1,_=w="",u=s;break;case 58:u=1+hm(w),p=f;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==xm())continue;switch(w+=im(b),b*g){case 38:m=h>0?1:(w+="\f",-1);break;case 44:o[c++]=(hm(w)-1)*m,m=1;break;case 64:45===wm()&&(w+=Lm(km())),d=wm(),h=u=hm(_=w+=Bm(Tm())),b++;break;case 45:45===f&&2==hm(w)&&(g=0)}}return a}function Rm(t,e,n,r,i,a,s,o,l,c,h){for(var u=i-1,d=0===i?a:[""],p=um(d),f=0,g=0,y=0;f<r;++f)for(var m=0,b=cm(t,u+1,u=rm(g=s[f])),_=t;m<p;++m)(_=am(g>0?d[m]+" "+b:sm(b,/&\f/g,d[m])))&&(l[y++]=_);return _m(t,e,n,0===i?Jy:o,l,c,h)}function $m(t,e,n){return _m(t,e,n,Ky,im(vm()),cm(t,2,-2),0)}function Pm(t,e,n,r){return _m(t,e,n,tm,cm(t,0,r),cm(t,r+1,-1),r)}function jm(t,e){for(var n="",r=um(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function Ym(t,e,n,r){switch(t.type){case em:case tm:return t.return=t.return||t.value;case Ky:return"";case nm:return t.return=t.value+"{"+jm(t.children,r)+"}";case Jy:t.value=t.props.join(",")}return hm(n=jm(t.children,r))?t.return=t.value+"{"+n+"}":""}const zm={name:"mermaid",version:"9.3.0",description:"Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",main:"./dist/mermaid.min.js",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{require:"./dist/mermaid.min.js",import:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph"],scripts:{clean:"rimraf dist","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaidAPI.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:spellcheck && pnpm docs:code && ts-node-esm src/docs.mts","docs:verify":"pnpm docs:spellcheck && pnpm docs:code && ts-node-esm src/docs.mts --verify","docs:pre:vitepress":"rimraf src/vitepress && pnpm docs:code && ts-node-esm src/docs.mts --vitepress","docs:build:vitepress":"pnpm docs:pre:vitepress && vitepress build src/vitepress","docs:dev":'pnpm docs:pre:vitepress && concurrently "vitepress dev src/vitepress" "ts-node-esm src/docs.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell --config ../../cSpell.json "src/docs/**/*.md"',release:"pnpm build",prepublishOnly:"pnpm -w run build"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^6.0.0",d3:"^7.0.0","dagre-d3-es":"7.0.6",dompurify:"2.4.1",khroma:"^2.0.0","lodash-es":"^4.17.21","moment-mini":"^2.24.0","non-layered-tidy-tree-layout":"^2.0.2",stylis:"^4.1.2",uuid:"^9.0.0"},devDependencies:{"@types/d3":"^7.4.0","@types/dompurify":"^2.4.0","@types/jsdom":"^20.0.1","@types/lodash-es":"^4.17.6","@types/micromatch":"^4.0.2","@types/prettier":"^2.7.1","@types/stylis":"^4.0.2","@types/uuid":"^8.3.4","@typescript-eslint/eslint-plugin":"^5.42.1","@typescript-eslint/parser":"^5.42.1",chokidar:"^3.5.3",concurrently:"^7.5.0",coveralls:"^3.1.1",cspell:"^6.14.3",globby:"^13.1.2",jison:"^0.4.18","js-base64":"^3.7.2",jsdom:"^20.0.2",micromatch:"^4.0.5",moment:"^2.29.4","path-browserify":"^1.0.1",prettier:"^2.7.1",remark:"^14.0.2",rimraf:"^3.0.2","start-server-and-test":"^1.14.0",typedoc:"^0.23.18","typedoc-plugin-markdown":"^3.13.6",typescript:"^4.8.4","unist-util-flatmap":"^1.0.0",vitepress:"^1.0.0-alpha.28","vitepress-plugin-search":"^1.0.4-alpha.15"},files:["dist","README.md"],sideEffects:["**/*.css","**/*.scss"]},Um=Object.freeze(Td);let Wm,Hm=sg({},Um),qm=[],Vm=sg({},Um);const Gm=(t,e)=>{let n=sg({},t),r={};for(const i of e)eb(i),r=sg(r,i);if(n=sg(n,r),r.theme&&r.theme in vd){const t=sg({},Wm),e=sg(t.themeVariables||{},r.themeVariables);n.theme&&n.theme in vd&&(n.themeVariables=vd[n.theme].getThemeVariables(e))}return Vm=n,ob(Vm),Vm},Zm=t=>(Hm=sg({},Um),Hm=sg(Hm,t),t.theme&&vd[t.theme]&&(Hm.themeVariables=vd[t.theme].getThemeVariables(t.themeVariables)),Gm(Hm,qm),Hm),Xm=t=>{Wm=sg({},t)},Qm=t=>(Hm=sg(Hm,t),Gm(Hm,qm),Hm),Km=()=>sg({},Hm),Jm=t=>(ob(t),sg(Vm,t),tb()),tb=()=>sg({},Vm),eb=t=>{var e;["secure",...null!=(e=Hm.secure)?e:[]].forEach((e=>{void 0!==t[e]&&(p.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{0===e.indexOf("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&eb(t[e])}))},nb=t=>{t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),qm.push(t),Gm(Hm,qm)},rb=(t=Hm)=>{qm=[],Gm(t,qm)};var ib=(t=>(t.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",t))(ib||{});const ab={},sb=t=>{ab[t]||(p.warn(ib[t]),ab[t]=!0)},ob=t=>{!t||(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&sb("LAZY_LOAD_DEPRECATED")},lb=function(t,e){for(let n of e)t.attr(n[0],n[1])},cb=function(t,e,n){let r=new Map;return n?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r},hb=function(t,e,n,r){const i=cb(e,n,r);lb(t,i)},ub=function(t,e,n,r){const i=e.node().getBBox(),a=i.width,s=i.height;p.info(`SVG bounds: ${a}x${s}`,i);let o=0,l=0;p.info(`Graph bounds: ${o}x${l}`,t),o=a+2*n,l=s+2*n,p.info(`Calculated bounds: ${o}x${l}`),hb(e,l,o,r);const c=`${i.x-n} ${i.y-n} ${i.width+2*n} ${i.height+2*n}`;e.attr("viewBox",c)},db=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`,pb=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`,fb=()=>"",gb=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`,yb=t=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`,mb=()=>"",bb=t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`,_b=t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 100%;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`,vb=t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,xb=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`,kb=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`,wb=t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,Tb={flowchart:gb,"flowchart-v2":gb,sequence:vb,gantt:yb,classDiagram:db,"classDiagram-v2":db,class:db,stateDiagram:xb,state:xb,info:mb,pie:bb,er:pb,error:fb,journey:kb,requirement:_b,c4:wb},Eb=(t,e)=>{Tb[t]=e},Cb=(t,e,n)=>{let r="";return t in Tb&&Tb[t]?r=Tb[t](n):p.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${r}\n\n ${e}\n`},Sb=p,Ab=f,Lb=tb,Nb=t=>Lu(t,Lb()),Db=ub,Ob={},Mb=(t,e,n)=>{if(Ob[t])throw new Error(`Diagram ${t} already registered.`);Ob[t]=e,n&&rg(t,n),Eb(t,e.styles),e.injectUtils&&e.injectUtils(Sb,Ab,Lb,Nb,Db)},Bb=t=>{if(t in Ob)return Ob[t];throw new Error(`Diagram ${t} not found.`)};var Ib=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,7],r=[1,5],i=[1,9],a=[1,6],s=[2,6],o=[1,16],l=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],c=[8,14,20,22,24,25,27,29,32,37,40],h=[8,13,14,20,22,24,25,27,29,32,37,40],u=[1,26],d=[6,8,14,50,55],p=[8,14,55],f=[1,53],g=[1,52],y=[8,14,30,33,35,38,55],m=[1,67],b=[1,68],_=[1,69],v=[8,14,33,35,42,55],x={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 3:return a[o];case 4:return a[o-1];case 5:return r.setDirection(a[o-3]),a[o-1];case 7:r.setOptions(a[o-1]),this.$=a[o];break;case 8:a[o-1]+=a[o],this.$=a[o-1];break;case 10:this.$=[];break;case 11:a[o-1].push(a[o]),this.$=a[o-1];break;case 12:this.$=a[o-1];break;case 17:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 18:case 19:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 20:r.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 22:r.checkout(a[o]);break;case 23:r.branch(a[o]);break;case 24:r.branch(a[o-2],a[o]);break;case 25:r.cherryPick(a[o],"",void 0);break;case 26:r.cherryPick(a[o-2],"",a[o]);break;case 27:case 29:r.cherryPick(a[o-2],"","");break;case 28:r.cherryPick(a[o],"",a[o-2]);break;case 30:r.merge(a[o],"","","");break;case 31:r.merge(a[o-2],a[o],"","");break;case 32:r.merge(a[o-2],"",a[o],"");break;case 33:r.merge(a[o-2],"","",a[o]);break;case 34:r.merge(a[o-4],a[o],"",a[o-2]);break;case 35:r.merge(a[o-4],"",a[o],a[o-2]);break;case 36:r.merge(a[o-4],"",a[o-2],a[o]);break;case 37:r.merge(a[o-4],a[o-2],a[o],"");break;case 38:r.merge(a[o-4],a[o-2],"",a[o]);break;case 39:r.merge(a[o-4],a[o],a[o-2],"");break;case 40:r.merge(a[o-6],a[o-4],a[o-2],a[o]);break;case 41:r.merge(a[o-6],a[o],a[o-4],a[o-2]);break;case 42:r.merge(a[o-6],a[o-4],a[o],a[o-2]);break;case 43:r.merge(a[o-6],a[o-2],a[o-4],a[o]);break;case 44:r.merge(a[o-6],a[o],a[o-2],a[o-4]);break;case 45:r.merge(a[o-6],a[o-2],a[o],a[o-4]);break;case 46:r.commit(a[o]);break;case 47:r.commit("","",r.commitType.NORMAL,a[o]);break;case 48:r.commit("","",a[o],"");break;case 49:r.commit("","",a[o],a[o-2]);break;case 50:r.commit("","",a[o-2],a[o]);break;case 51:r.commit("",a[o],r.commitType.NORMAL,"");break;case 52:r.commit("",a[o-2],r.commitType.NORMAL,a[o]);break;case 53:r.commit("",a[o],r.commitType.NORMAL,a[o-2]);break;case 54:r.commit("",a[o-2],a[o],"");break;case 55:r.commit("",a[o],a[o-2],"");break;case 56:r.commit("",a[o-4],a[o-2],a[o]);break;case 57:r.commit("",a[o-4],a[o],a[o-2]);break;case 58:r.commit("",a[o-2],a[o-4],a[o]);break;case 59:r.commit("",a[o],a[o-4],a[o-2]);break;case 60:r.commit("",a[o],a[o-2],a[o-4]);break;case 61:r.commit("",a[o-2],a[o],a[o-4]);break;case 62:r.commit(a[o],"",r.commitType.NORMAL,"");break;case 63:r.commit(a[o],"",r.commitType.NORMAL,a[o-2]);break;case 64:r.commit(a[o-2],"",r.commitType.NORMAL,a[o]);break;case 65:r.commit(a[o-2],"",a[o],"");break;case 66:r.commit(a[o],"",a[o-2],"");break;case 67:r.commit(a[o],a[o-2],r.commitType.NORMAL,"");break;case 68:r.commit(a[o-2],a[o],r.commitType.NORMAL,"");break;case 69:r.commit(a[o-4],"",a[o-2],a[o]);break;case 70:r.commit(a[o-4],"",a[o],a[o-2]);break;case 71:r.commit(a[o-2],"",a[o-4],a[o]);break;case 72:r.commit(a[o],"",a[o-4],a[o-2]);break;case 73:r.commit(a[o],"",a[o-2],a[o-4]);break;case 74:r.commit(a[o-2],"",a[o],a[o-4]);break;case 75:r.commit(a[o-4],a[o],a[o-2],"");break;case 76:r.commit(a[o-4],a[o-2],a[o],"");break;case 77:r.commit(a[o-2],a[o],a[o-4],"");break;case 78:r.commit(a[o],a[o-2],a[o-4],"");break;case 79:r.commit(a[o],a[o-4],a[o-2],"");break;case 80:r.commit(a[o-2],a[o-4],a[o],"");break;case 81:r.commit(a[o-4],a[o],r.commitType.NORMAL,a[o-2]);break;case 82:r.commit(a[o-4],a[o-2],r.commitType.NORMAL,a[o]);break;case 83:r.commit(a[o-2],a[o],r.commitType.NORMAL,a[o-4]);break;case 84:r.commit(a[o],a[o-2],r.commitType.NORMAL,a[o-4]);break;case 85:r.commit(a[o],a[o-4],r.commitType.NORMAL,a[o-2]);break;case 86:r.commit(a[o-2],a[o-4],r.commitType.NORMAL,a[o]);break;case 87:r.commit(a[o-6],a[o-4],a[o-2],a[o]);break;case 88:r.commit(a[o-6],a[o-4],a[o],a[o-2]);break;case 89:r.commit(a[o-6],a[o-2],a[o-4],a[o]);break;case 90:r.commit(a[o-6],a[o],a[o-4],a[o-2]);break;case 91:r.commit(a[o-6],a[o-2],a[o],a[o-4]);break;case 92:r.commit(a[o-6],a[o],a[o-2],a[o-4]);break;case 93:r.commit(a[o-4],a[o-6],a[o-2],a[o]);break;case 94:r.commit(a[o-4],a[o-6],a[o],a[o-2]);break;case 95:r.commit(a[o-2],a[o-6],a[o-4],a[o]);break;case 96:r.commit(a[o],a[o-6],a[o-4],a[o-2]);break;case 97:r.commit(a[o-2],a[o-6],a[o],a[o-4]);break;case 98:r.commit(a[o],a[o-6],a[o-2],a[o-4]);break;case 99:r.commit(a[o],a[o-4],a[o-2],a[o-6]);break;case 100:r.commit(a[o-2],a[o-4],a[o],a[o-6]);break;case 101:r.commit(a[o],a[o-2],a[o-4],a[o-6]);break;case 102:r.commit(a[o-2],a[o],a[o-4],a[o-6]);break;case 103:r.commit(a[o-4],a[o-2],a[o],a[o-6]);break;case 104:r.commit(a[o-4],a[o],a[o-2],a[o-6]);break;case 105:r.commit(a[o-2],a[o-4],a[o-6],a[o]);break;case 106:r.commit(a[o],a[o-4],a[o-6],a[o-2]);break;case 107:r.commit(a[o-2],a[o],a[o-6],a[o-4]);break;case 108:r.commit(a[o],a[o-2],a[o-6],a[o-4]);break;case 109:r.commit(a[o-4],a[o-2],a[o-6],a[o]);break;case 110:r.commit(a[o-4],a[o],a[o-6],a[o-2]);break;case 111:this.$="";break;case 112:this.$=a[o];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(a[o],"type_directive");break;case 120:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 121:r.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:e,8:n,14:r,46:8,50:i,55:a},{1:[3]},{3:10,4:2,5:3,6:e,8:n,14:r,46:8,50:i,55:a},{3:11,4:2,5:3,6:e,8:n,14:r,46:8,50:i,55:a},{7:12,8:s,9:[1,13],10:[1,14],11:15,14:o},t(l,[2,124]),t(l,[2,125]),t(l,[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:o},{9:[1,21]},t(c,[2,10],{12:22,13:[1,23]}),t(h,[2,9]),{9:[1,25],48:24,53:u},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:s,11:15,14:o},{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(d,[2,116]),{49:45,52:[1,46]},t(d,[2,121]),{1:[2,4]},{8:[1,47]},t(c,[2,11]),{4:48,8:n,14:r,55:a},t(c,[2,13]),t(p,[2,14]),t(p,[2,15]),t(p,[2,16]),{21:[1,49]},{23:[1,50]},t(p,[2,19]),t(p,[2,20]),t(p,[2,21]),{28:51,34:f,54:g},t(p,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:f,54:g},{33:[1,61],35:[1,62]},{28:63,34:f,54:g},{48:64,53:u},{53:[2,120]},{1:[2,5]},t(c,[2,12]),t(p,[2,17]),t(p,[2,18]),t(p,[2,22]),t(y,[2,122]),t(y,[2,123]),t(p,[2,46]),{34:[1,65]},{39:66,43:m,44:b,45:_},{34:[1,70]},{34:[1,71]},t(p,[2,112]),t(p,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(p,[2,23],{30:[1,78]}),t(d,[2,117]),t(p,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(p,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t(v,[2,113]),t(v,[2,114]),t(v,[2,115]),t(p,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(p,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:m,44:b,45:_},{34:[1,93]},t(p,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:m,44:b,45:_},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:m,44:b,45:_},{34:[1,106]},{34:[1,107]},{39:108,43:m,44:b,45:_},{34:[1,109]},t(p,[2,31],{35:[1,111],38:[1,110]}),t(p,[2,32],{33:[1,113],35:[1,112]}),t(p,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(p,[2,24]),t(p,[2,49],{33:[1,120],42:[1,121]}),t(p,[2,53],{38:[1,122],42:[1,123]}),t(p,[2,63],{33:[1,125],38:[1,124]}),t(p,[2,50],{33:[1,126],42:[1,127]}),t(p,[2,55],{35:[1,128],42:[1,129]}),t(p,[2,66],{33:[1,131],35:[1,130]}),t(p,[2,52],{38:[1,132],42:[1,133]}),t(p,[2,54],{35:[1,134],42:[1,135]}),t(p,[2,67],{35:[1,137],38:[1,136]}),t(p,[2,64],{33:[1,139],38:[1,138]}),t(p,[2,65],{33:[1,141],35:[1,140]}),t(p,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:m,44:b,45:_},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:m,44:b,45:_},t(p,[2,26]),t(p,[2,27]),t(p,[2,28]),t(p,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:m,44:b,45:_},{34:[1,153]},{39:154,43:m,44:b,45:_},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:m,44:b,45:_},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:m,44:b,45:_},{34:[1,167]},{39:168,43:m,44:b,45:_},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:m,44:b,45:_},{34:[1,173]},t(p,[2,37],{35:[1,174]}),t(p,[2,38],{38:[1,175]}),t(p,[2,36],{33:[1,176]}),t(p,[2,39],{35:[1,177]}),t(p,[2,34],{38:[1,178]}),t(p,[2,35],{33:[1,179]}),t(p,[2,60],{42:[1,180]}),t(p,[2,73],{33:[1,181]}),t(p,[2,61],{42:[1,182]}),t(p,[2,84],{38:[1,183]}),t(p,[2,74],{33:[1,184]}),t(p,[2,83],{38:[1,185]}),t(p,[2,59],{42:[1,186]}),t(p,[2,72],{33:[1,187]}),t(p,[2,58],{42:[1,188]}),t(p,[2,78],{35:[1,189]}),t(p,[2,71],{33:[1,190]}),t(p,[2,77],{35:[1,191]}),t(p,[2,57],{42:[1,192]}),t(p,[2,85],{38:[1,193]}),t(p,[2,56],{42:[1,194]}),t(p,[2,79],{35:[1,195]}),t(p,[2,80],{35:[1,196]}),t(p,[2,86],{38:[1,197]}),t(p,[2,70],{33:[1,198]}),t(p,[2,81],{38:[1,199]}),t(p,[2,69],{33:[1,200]}),t(p,[2,75],{35:[1,201]}),t(p,[2,76],{35:[1,202]}),t(p,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:m,44:b,45:_},{34:[1,206]},{34:[1,207]},{39:208,43:m,44:b,45:_},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:m,44:b,45:_},{34:[1,214]},{39:215,43:m,44:b,45:_},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:m,44:b,45:_},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:m,44:b,45:_},{34:[1,228]},{39:229,43:m,44:b,45:_},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:m,44:b,45:_},t(p,[2,40]),t(p,[2,42]),t(p,[2,41]),t(p,[2,43]),t(p,[2,45]),t(p,[2,44]),t(p,[2,101]),t(p,[2,102]),t(p,[2,99]),t(p,[2,100]),t(p,[2,104]),t(p,[2,103]),t(p,[2,108]),t(p,[2,107]),t(p,[2,106]),t(p,[2,105]),t(p,[2,110]),t(p,[2,109]),t(p,[2,98]),t(p,[2,97]),t(p,[2,96]),t(p,[2,95]),t(p,[2,93]),t(p,[2,94]),t(p,[2,92]),t(p,[2,91]),t(p,[2,90]),t(p,[2,89]),t(p,[2,87]),t(p,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){switch(n){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};function w(){this.yy={}}return x.lexer=k,w.prototype=x,x.Parser=w,new w}();Ib.parser=Ib;const Fb=Ib,Rb=t=>null!==t.match(/^\s*gitGraph/);let $b="",Pb="",jb="";const Yb=t=>Lu(t,tb()),zb=function(){$b="",jb="",Pb=""},Ub=function(t){$b=Yb(t).replace(/^\s+/g,"")},Wb=function(){return $b||Pb},Hb=function(t){jb=Yb(t).replace(/\n\s+/g,"\n")},qb=function(){return jb},Vb=function(t){Pb=Yb(t)},Gb=function(){return Pb};let Zb=tb().gitGraph.mainBranchName,Xb=tb().gitGraph.mainBranchOrder,Qb={},Kb=null,Jb={};Jb[Zb]={name:Zb,order:Xb};let t_={};t_[Zb]=Kb;let e_=Zb,n_="LR",r_=0;function i_(){return $y({length:7})}function a_(t,e){const n=Object.create(null);return t.reduce(((t,r)=>{const i=e(r);return n[i]||(n[i]=!0,t.push(r)),t}),[])}let s_={};const o_=function(t,e,n,r){p.debug("Entering commit:",t,e,n,r),e=Fu.sanitizeText(e,tb()),t=Fu.sanitizeText(t,tb()),r=Fu.sanitizeText(r,tb());const i={id:e||r_+"-"+i_(),message:t,seq:r_++,type:n||y_.NORMAL,tag:r||"",parents:null==Kb?[]:[Kb.id],branch:e_};Kb=i,Qb[i.id]=i,t_[e_]=i.id,p.debug("in pushCommit "+i.id)},l_=function(t,e){if(t=Fu.sanitizeText(t,tb()),void 0!==t_[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}t_[t]=null!=Kb?Kb.id:null,Jb[t]={name:t,order:e?parseInt(e,10):null},u_(t),p.debug("in createBranch")},c_=function(t,e,n,r){t=Fu.sanitizeText(t,tb()),e=Fu.sanitizeText(e,tb());const i=Qb[t_[e_]],a=Qb[t_[t]];if(e_===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===i||!i){let e=new Error('Incorrect usage of "merge". Current branch ('+e_+")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===t_[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===a||!a){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(i===a){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==Qb[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+n+r,token:"merge "+t+e+n+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+n+" "+r]},i}const s={id:e||r_+"-"+i_(),message:"merged branch "+t+" into "+e_,seq:r_++,parents:[null==Kb?null:Kb.id,t_[t]],branch:e_,type:y_.MERGE,customType:n,customId:!!e,tag:r||""};Kb=s,Qb[s.id]=s,t_[e_]=s.id,p.debug(t_),p.debug("in mergeBranch")},h_=function(t,e,n){if(p.debug("Entering cherryPick:",t,e,n),t=Fu.sanitizeText(t,tb()),e=Fu.sanitizeText(e,tb()),n=Fu.sanitizeText(n,tb()),!t||void 0===Qb[t]){let n=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}let r=Qb[t],i=r.branch;if(r.type===y_.MERGE){let n=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}if(!e||void 0===Qb[e]){if(i===e_){let n=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const a=Qb[t_[e_]];if(void 0===a||!a){let n=new Error('Incorrect usage of "cherry-pick". Current branch ('+e_+")has no commits");throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const s={id:r_+"-"+i_(),message:"cherry-picked "+r+" into "+e_,seq:r_++,parents:[null==Kb?null:Kb.id,r.id],branch:e_,type:y_.CHERRY_PICK,tag:null!=n?n:"cherry-pick:"+r.id};Kb=s,Qb[s.id]=s,t_[e_]=s.id,p.debug(t_),p.debug("in cherryPick")}},u_=function(t){if(t=Fu.sanitizeText(t,tb()),void 0===t_[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}{e_=t;const e=t_[e_];Kb=Qb[e]}};function d_(t,e,n){const r=t.indexOf(e);-1===r?t.push(n):t.splice(r,1,n)}function p_(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let n="";t.forEach((function(t){n+=t===e?"\t*":"\t|"}));const r=[n,e.id,e.seq];for(let i in t_)t_[i]===e.id&&r.push(i);if(p.debug(r.join(" ")),e.parents&&2==e.parents.length){const n=Qb[e.parents[0]];d_(t,e,n),t.push(Qb[e.parents[1]])}else{if(0==e.parents.length)return;{const n=Qb[e.parents];d_(t,e,n)}}p_(t=a_(t,(t=>t.id)))}const f_=function(){p.debug(Qb),p_([g_()[0]])},g_=function(){const t=Object.keys(Qb).map((function(t){return Qb[t]}));return t.forEach((function(t){p.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},y_={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},m_={parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().gitGraph,setDirection:function(t){n_=t},setOptions:function(t){p.debug("options str",t),t=(t=t&&t.trim())||"{}";try{s_=JSON.parse(t)}catch(e){p.error("error while parsing gitGraph options",e.message)}},getOptions:function(){return s_},commit:o_,branch:l_,merge:c_,cherryPick:h_,checkout:u_,prettyPrint:f_,clear:function(){Qb={},Kb=null;let t=tb().gitGraph.mainBranchName,e=tb().gitGraph.mainBranchOrder;t_={},t_[t]=null,Jb={},Jb[t]={name:t,order:e},e_=t,r_=0,zb()},getBranchesAsObjArray:function(){return Object.values(Jb).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 t_},getCommits:function(){return Qb},getCommitsArray:g_,getCurrentBranch:function(){return e_},getDirection:function(){return n_},getHead:function(){return Kb},setAccTitle:Ub,getAccTitle:Wb,getAccDescription:qb,setAccDescription:Hb,setDiagramTitle:Vb,getDiagramTitle:Gb,commitType:y_};let b_={};const __={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},v_=8;let x_={},k_={},w_=[],T_=0;const E_=()=>{x_={},k_={},b_={},T_=0,w_=[]},C_=t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let n=[];n="string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(t)?t:[];for(const r of n){const t=document.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","0"),t.setAttribute("class","row"),t.textContent=r.trim(),e.appendChild(t)}return e},S_=(t,e,n)=>{const r=Lb().gitGraph,i=t.append("g").attr("class","commit-bullets"),a=t.append("g").attr("class","commit-labels");let s=0;Object.keys(e).sort(((t,n)=>e[t].seq-e[n].seq)).forEach((t=>{const o=e[t],l=x_[o.branch].pos,c=s+10;if(n){let t,e=void 0!==o.customType&&""!==o.customType?o.customType:o.type;switch(e){case __.NORMAL:t="commit-normal";break;case __.REVERSE:t="commit-reverse";break;case __.HIGHLIGHT:t="commit-highlight";break;case __.MERGE:t="commit-merge";break;case __.CHERRY_PICK:t="commit-cherry-pick";break;default:t="commit-normal"}if(e===__.HIGHLIGHT){const e=i.append("rect");e.attr("x",c-10),e.attr("y",l-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${o.id} commit-highlight${x_[o.branch].index%v_} ${t}-outer`),i.append("rect").attr("x",c-6).attr("y",l-6).attr("height",12).attr("width",12).attr("class",`commit ${o.id} commit${x_[o.branch].index%v_} ${t}-inner`)}else if(e===__.CHERRY_PICK)i.append("circle").attr("cx",c).attr("cy",l).attr("r",10).attr("class",`commit ${o.id} ${t}`),i.append("circle").attr("cx",c-3).attr("cy",l+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${o.id} ${t}`),i.append("circle").attr("cx",c+3).attr("cy",l+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${o.id} ${t}`),i.append("line").attr("x1",c+3).attr("y1",l+1).attr("x2",c).attr("y2",l-5).attr("stroke","#fff").attr("class",`commit ${o.id} ${t}`),i.append("line").attr("x1",c-3).attr("y1",l+1).attr("x2",c).attr("y2",l-5).attr("stroke","#fff").attr("class",`commit ${o.id} ${t}`);else{const n=i.append("circle");if(n.attr("cx",c),n.attr("cy",l),n.attr("r",o.type===__.MERGE?9:10),n.attr("class",`commit ${o.id} commit${x_[o.branch].index%v_}`),e===__.MERGE){const e=i.append("circle");e.attr("cx",c),e.attr("cy",l),e.attr("r",6),e.attr("class",`commit ${t} ${o.id} commit${x_[o.branch].index%v_}`)}e===__.REVERSE&&i.append("path").attr("d",`M ${c-5},${l-5}L${c+5},${l+5}M${c-5},${l+5}L${c+5},${l-5}`).attr("class",`commit ${t} ${o.id} commit${x_[o.branch].index%v_}`)}}if(k_[o.id]={x:s+10,y:l},n){if(o.type!==__.CHERRY_PICK&&(o.customId&&o.type===__.MERGE||o.type!==__.MERGE)&&r.showCommitLabel){const t=a.append("g"),e=t.insert("rect").attr("class","commit-label-bkg"),n=t.append("text").attr("x",s).attr("y",l+25).attr("class","commit-label").text(o.id);let i=n.node().getBBox();if(e.attr("x",s+10-i.width/2-2).attr("y",l+13.5).attr("width",i.width+4).attr("height",i.height+4),n.attr("x",s+10-i.width/2),r.rotateCommitLabel){let e=-7.5-(i.width+10)/25*9.5,n=10+i.width/25*8.5;t.attr("transform","translate("+e+", "+n+") rotate(-45, "+s+", "+l+")")}}if(o.tag){const t=a.insert("polygon"),e=a.append("circle"),n=a.append("text").attr("y",l-16).attr("class","tag-label").text(o.tag);let r=n.node().getBBox();n.attr("x",s+10-r.width/2);const i=r.height/2,c=l-19.2;t.attr("class","tag-label-bkg").attr("points",`\n ${s-r.width/2-2},${c+2}\n ${s-r.width/2-2},${c-2}\n ${s+10-r.width/2-4},${c-i-2}\n ${s+10+r.width/2+4},${c-i-2}\n ${s+10+r.width/2+4},${c+i+2}\n ${s+10-r.width/2-4},${c+i+2}`),e.attr("cx",s-r.width/2+2).attr("cy",c).attr("r",1.5).attr("class","tag-hole")}}s+=50,s>T_&&(T_=s)}))},A_=(t,e,n)=>Object.keys(n).filter((r=>n[r].branch===e.branch&&n[r].seq>t.seq&&n[r].seq<e.seq)).length>0,L_=(t,e,n=0)=>{const r=t+Math.abs(t-e)/2;if(n>5)return r;if(w_.every((t=>Math.abs(t-r)>=10)))return w_.push(r),r;const i=Math.abs(t-e);return L_(t,e-i/5,n+1)},N_=(t,e,n,r)=>{const i=k_[e.id],a=k_[n.id],s=A_(e,n,r);let o,l="",c="",h=0,u=0,d=x_[n.branch].index;if(s){l="A 10 10, 0, 0, 0,",c="A 10 10, 0, 0, 1,",h=10,u=10,d=x_[n.branch].index;const t=i.y<a.y?L_(i.y,a.y):L_(a.y,i.y);o=i.y<a.y?`M ${i.x} ${i.y} L ${i.x} ${t-h} ${l} ${i.x+u} ${t} L ${a.x-h} ${t} ${c} ${a.x} ${t+u} L ${a.x} ${a.y}`:`M ${i.x} ${i.y} L ${i.x} ${t+h} ${c} ${i.x+u} ${t} L ${a.x-h} ${t} ${l} ${a.x} ${t-u} L ${a.x} ${a.y}`}else i.y<a.y&&(l="A 20 20, 0, 0, 0,",h=20,u=20,d=x_[n.branch].index,o=`M ${i.x} ${i.y} L ${i.x} ${a.y-h} ${l} ${i.x+u} ${a.y} L ${a.x} ${a.y}`),i.y>a.y&&(l="A 20 20, 0, 0, 0,",h=20,u=20,d=x_[e.branch].index,o=`M ${i.x} ${i.y} L ${a.x-h} ${i.y} ${l} ${a.x} ${i.y-u} L ${a.x} ${a.y}`),i.y===a.y&&(d=x_[e.branch].index,o=`M ${i.x} ${i.y} L ${i.x} ${a.y-h} ${l} ${i.x+u} ${a.y} L ${a.x} ${a.y}`);t.append("path").attr("d",o).attr("class","arrow arrow"+d%v_)},D_=(t,e)=>{const n=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=>{N_(n,e[t],r,e)}))}))},O_=(t,e)=>{const n=Lb().gitGraph,r=t.append("g");e.forEach(((t,e)=>{const i=e%v_,a=x_[t.name].pos,s=r.append("line");s.attr("x1",0),s.attr("y1",a),s.attr("x2",T_),s.attr("y2",a),s.attr("class","branch branch"+i),w_.push(a);let o=t.name;const l=C_(o),c=r.insert("rect"),h=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);h.node().appendChild(l);let u=l.getBBox();c.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-u.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-u.height/2+8).attr("width",u.width+18).attr("height",u.height+4),h.attr("transform","translate("+(-u.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-u.height/2-1)+")"),c.attr("transform","translate(-19, "+(a-u.height/2)+")")}))},M_={draw:function(t,e,n,r){var i;E_();const a=Lb(),s=a.gitGraph;p.debug("in gitgraph renderer",t+"\n","id:",e,n),b_=r.db.getCommits();const o=r.db.getBranchesAsObjArray();let l=0;o.forEach(((t,e)=>{x_[t.name]={pos:l,index:e},l+=50+(s.rotateCommitLabel?40:0)}));const c=dn(`[id="${e}"]`);S_(c,b_,!1),s.showBranches&&O_(c,o),D_(c,b_),S_(c,b_,!0),Qy.insertTitle(c,"gitTitleText",s.titleTopMargin,r.db.getDiagramTitle()),Db(void 0,c,s.diagramPadding,null!=(i=s.useMaxWidth)?i:a.useMaxWidth)}},B_=t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n }\n`;var I_=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,6],n=[1,7],r=[1,8],i=[1,9],a=[1,16],s=[1,11],o=[1,12],l=[1,13],h=[1,14],u=[1,15],d=[1,27],p=[1,33],f=[1,34],g=[1,35],y=[1,36],m=[1,37],b=[1,72],_=[1,73],v=[1,74],x=[1,75],k=[1,76],w=[1,77],T=[1,78],E=[1,38],C=[1,39],S=[1,40],A=[1,41],L=[1,42],N=[1,43],D=[1,44],O=[1,45],M=[1,46],B=[1,47],I=[1,48],F=[1,49],R=[1,50],$=[1,51],P=[1,52],j=[1,53],Y=[1,54],z=[1,55],U=[1,56],W=[1,57],H=[1,59],q=[1,60],V=[1,61],G=[1,62],Z=[1,63],X=[1,64],Q=[1,65],K=[1,66],J=[1,67],tt=[1,68],et=[1,69],nt=[24,52],rt=[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],it=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],at=[1,94],st=[1,95],ot=[1,96],lt=[1,97],ct=[15,24,52],ht=[7,8,9,10,18,22,25,26,27,28],ut=[15,24,43,52],dt=[15,24,43,52,86,87,89,90],pt=[15,43],ft=[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],gt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 4:r.setDirection("TB");break;case 5:r.setDirection("BT");break;case 6:r.setDirection("RL");break;case 7:r.setDirection("LR");break;case 11:r.parseDirective("%%{","open_directive");break;case 12:break;case 13:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 14:r.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:r.setC4Type(a[o-3]);break;case 26:r.setTitle(a[o].substring(6)),this.$=a[o].substring(6);break;case 27:r.setAccDescription(a[o].substring(15)),this.$=a[o].substring(15);break;case 28:this.$=a[o].trim(),r.setTitle(this.$);break;case 29:case 30:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 35:case 36:a[o].splice(2,0,"ENTERPRISE"),r.addPersonOrSystemBoundary(...a[o]),this.$=a[o];break;case 37:r.addPersonOrSystemBoundary(...a[o]),this.$=a[o];break;case 38:a[o].splice(2,0,"CONTAINER"),r.addContainerBoundary(...a[o]),this.$=a[o];break;case 39:r.addDeploymentNode("node",...a[o]),this.$=a[o];break;case 40:r.addDeploymentNode("nodeL",...a[o]),this.$=a[o];break;case 41:r.addDeploymentNode("nodeR",...a[o]),this.$=a[o];break;case 42:r.popBoundaryParseStack();break;case 46:r.addPersonOrSystem("person",...a[o]),this.$=a[o];break;case 47:r.addPersonOrSystem("external_person",...a[o]),this.$=a[o];break;case 48:r.addPersonOrSystem("system",...a[o]),this.$=a[o];break;case 49:r.addPersonOrSystem("system_db",...a[o]),this.$=a[o];break;case 50:r.addPersonOrSystem("system_queue",...a[o]),this.$=a[o];break;case 51:r.addPersonOrSystem("external_system",...a[o]),this.$=a[o];break;case 52:r.addPersonOrSystem("external_system_db",...a[o]),this.$=a[o];break;case 53:r.addPersonOrSystem("external_system_queue",...a[o]),this.$=a[o];break;case 54:r.addContainer("container",...a[o]),this.$=a[o];break;case 55:r.addContainer("container_db",...a[o]),this.$=a[o];break;case 56:r.addContainer("container_queue",...a[o]),this.$=a[o];break;case 57:r.addContainer("external_container",...a[o]),this.$=a[o];break;case 58:r.addContainer("external_container_db",...a[o]),this.$=a[o];break;case 59:r.addContainer("external_container_queue",...a[o]),this.$=a[o];break;case 60:r.addComponent("component",...a[o]),this.$=a[o];break;case 61:r.addComponent("component_db",...a[o]),this.$=a[o];break;case 62:r.addComponent("component_queue",...a[o]),this.$=a[o];break;case 63:r.addComponent("external_component",...a[o]),this.$=a[o];break;case 64:r.addComponent("external_component_db",...a[o]),this.$=a[o];break;case 65:r.addComponent("external_component_queue",...a[o]),this.$=a[o];break;case 67:r.addRel("rel",...a[o]),this.$=a[o];break;case 68:r.addRel("birel",...a[o]),this.$=a[o];break;case 69:r.addRel("rel_u",...a[o]),this.$=a[o];break;case 70:r.addRel("rel_d",...a[o]),this.$=a[o];break;case 71:r.addRel("rel_l",...a[o]),this.$=a[o];break;case 72:r.addRel("rel_r",...a[o]),this.$=a[o];break;case 73:r.addRel("rel_b",...a[o]),this.$=a[o];break;case 74:a[o].splice(0,1),r.addRel("rel",...a[o]),this.$=a[o];break;case 75:r.updateElStyle("update_el_style",...a[o]),this.$=a[o];break;case 76:r.updateRelStyle("update_rel_style",...a[o]),this.$=a[o];break;case 77:r.updateLayoutConfig("update_layout_config",...a[o]),this.$=a[o];break;case 78:this.$=[a[o]];break;case 79:a[o].unshift(a[o-1]),this.$=a[o];break;case 80:case 82:this.$=a[o].trim();break;case 81:let t={};t[a[o-1].trim()]=a[o].trim(),this.$=t;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:s,25:o,26:l,27:h,28:u},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:n,9:r,10:i,11:5,12:10,18:a,22:s,25:o,26:l,27:h,28:u},{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:d},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:p,33:f,34:g,36:y,38:m,39:58,40:70,42:71,44:b,46:_,47:v,48:x,49:k,50:w,51:T,53:32,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et},{23:79,29:29,30:30,31:31,32:p,33:f,34:g,36:y,38:m,39:58,40:70,42:71,44:b,46:_,47:v,48:x,49:k,50:w,51:T,53:32,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et},{23:80,29:29,30:30,31:31,32:p,33:f,34:g,36:y,38:m,39:58,40:70,42:71,44:b,46:_,47:v,48:x,49:k,50:w,51:T,53:32,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et},{23:81,29:29,30:30,31:31,32:p,33:f,34:g,36:y,38:m,39:58,40:70,42:71,44:b,46:_,47:v,48:x,49:k,50:w,51:T,53:32,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et},{23:82,29:29,30:30,31:31,32:p,33:f,34:g,36:y,38:m,39:58,40:70,42:71,44:b,46:_,47:v,48:x,49:k,50:w,51:T,53:32,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:b,46:_,47:v,48:x,49:k,50:w,51:T,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et}),t(nt,[2,21]),t(rt,[2,23],{15:[1,88]}),t(nt,[2,43],{15:[1,89]}),t(it,[2,26]),t(it,[2,27]),{35:[1,90]},{37:[1,91]},t(it,[2,30]),{45:92,85:93,86:at,87:st,89:ot,90:lt},{45:98,85:93,86:at,87:st,89:ot,90:lt},{45:99,85:93,86:at,87:st,89:ot,90:lt},{45:100,85:93,86:at,87:st,89:ot,90:lt},{45:101,85:93,86:at,87:st,89:ot,90:lt},{45:102,85:93,86:at,87:st,89:ot,90:lt},{45:103,85:93,86:at,87:st,89:ot,90:lt},{45:104,85:93,86:at,87:st,89:ot,90:lt},{45:105,85:93,86:at,87:st,89:ot,90:lt},{45:106,85:93,86:at,87:st,89:ot,90:lt},{45:107,85:93,86:at,87:st,89:ot,90:lt},{45:108,85:93,86:at,87:st,89:ot,90:lt},{45:109,85:93,86:at,87:st,89:ot,90:lt},{45:110,85:93,86:at,87:st,89:ot,90:lt},{45:111,85:93,86:at,87:st,89:ot,90:lt},{45:112,85:93,86:at,87:st,89:ot,90:lt},{45:113,85:93,86:at,87:st,89:ot,90:lt},{45:114,85:93,86:at,87:st,89:ot,90:lt},{45:115,85:93,86:at,87:st,89:ot,90:lt},{45:116,85:93,86:at,87:st,89:ot,90:lt},t(ct,[2,66]),{45:117,85:93,86:at,87:st,89:ot,90:lt},{45:118,85:93,86:at,87:st,89:ot,90:lt},{45:119,85:93,86:at,87:st,89:ot,90:lt},{45:120,85:93,86:at,87:st,89:ot,90:lt},{45:121,85:93,86:at,87:st,89:ot,90:lt},{45:122,85:93,86:at,87:st,89:ot,90:lt},{45:123,85:93,86:at,87:st,89:ot,90:lt},{45:124,85:93,86:at,87:st,89:ot,90:lt},{45:125,85:93,86:at,87:st,89:ot,90:lt},{45:126,85:93,86:at,87:st,89:ot,90:lt},{45:127,85:93,86:at,87:st,89:ot,90:lt},{30:128,39:58,40:70,42:71,44:b,46:_,47:v,48:x,49:k,50:w,51:T,53:32,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et},{15:[1,130],43:[1,129]},{45:131,85:93,86:at,87:st,89:ot,90:lt},{45:132,85:93,86:at,87:st,89:ot,90:lt},{45:133,85:93,86:at,87:st,89:ot,90:lt},{45:134,85:93,86:at,87:st,89:ot,90:lt},{45:135,85:93,86:at,87:st,89:ot,90:lt},{45:136,85:93,86:at,87:st,89:ot,90:lt},{45:137,85:93,86:at,87:st,89:ot,90:lt},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(ht,[2,9]),{14:142,21:d},{21:[2,13]},{1:[2,15]},t(nt,[2,22]),t(rt,[2,24],{31:31,29:143,32:p,33:f,34:g,36:y,38:m}),t(nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:p,33:f,34:g,36:y,38:m,44:b,46:_,47:v,48:x,49:k,50:w,51:T,54:E,55:C,56:S,57:A,58:L,59:N,60:D,61:O,62:M,63:B,64:I,65:F,66:R,67:$,68:P,69:j,70:Y,71:z,72:U,73:W,74:H,75:q,76:V,77:G,78:Z,79:X,80:Q,81:K,82:J,83:tt,84:et}),t(it,[2,28]),t(it,[2,29]),t(ct,[2,46]),t(ut,[2,78],{85:93,45:145,86:at,87:st,89:ot,90:lt}),t(dt,[2,80]),{88:[1,146]},t(dt,[2,82]),t(dt,[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(rt,[2,25]),t(nt,[2,45]),t(ut,[2,79]),t(dt,[2,81]),t(ct,[2,31]),t(ct,[2,42]),t(ft,[2,32]),t(ft,[2,33],{15:[1,152]}),t(ht,[2,10]),t(ft,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},yt={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 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};function mt(){this.yy={}}return gt.lexer=yt,mt.prototype=gt,gt.Parser=mt,new mt}();I_.parser=I_;const F_=I_,R_=t=>null!==t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/);let $_=[],P_=[""],j_="global",Y_="",z_=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],U_=[],W_="",H_=!1,q_=4,V_=2;var G_;const Z_=function(t,e,n,r,i,a,s,o,l){if(null==t||null==e||null==n||null==r)return;let c={};const h=U_.find((t=>t.from===e&&t.to===n));if(h?c=h:U_.push(c),c.type=t,c.from=e,c.to=n,c.label={text:r},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==a)c.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]={text:e}}else c.descr={text:a};if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.sprite=s;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.link=l;c.wrap=iv()},X_=function(t,e,n,r,i,a,s){if(null===e||null===n)return;let o={};const l=$_.find((t=>t.alias===e));if(l&&e===l.alias?o=l:(o.alias=e,$_.push(o)),o.label=null==n?{text:""}:{text:n},null==r)o.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]={text:e}}else o.descr={text:r};if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]=e}else o.sprite=i;if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]=e}else o.tags=a;if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.link=s;o.typeC4Shape={text:t},o.parentBoundary=j_,o.wrap=iv()},Q_=function(t,e,n,r,i,a,s,o){if(null===e||null===n)return;let l={};const c=$_.find((t=>t.alias===e));if(c&&e===c.alias?l=c:(l.alias=e,$_.push(l)),l.label=null==n?{text:""}:{text:n},null==r)l.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]={text:e}}else l.techn={text:r};if(null==i)l.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.descr={text:i};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 o){let[t,e]=Object.entries(o)[0];l[t]=e}else l.link=o;l.wrap=iv(),l.typeC4Shape={text:t},l.parentBoundary=j_},K_=function(t,e,n,r,i,a,s,o){if(null===e||null===n)return;let l={};const c=$_.find((t=>t.alias===e));if(c&&e===c.alias?l=c:(l.alias=e,$_.push(l)),l.label=null==n?{text:""}:{text:n},null==r)l.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]={text:e}}else l.techn={text:r};if(null==i)l.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.descr={text:i};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 o){let[t,e]=Object.entries(o)[0];l[t]=e}else l.link=o;l.wrap=iv(),l.typeC4Shape={text:t},l.parentBoundary=j_},J_=function(t,e,n,r,i){if(null===t||null===e)return;let a={};const s=z_.find((e=>e.alias===t));if(s&&t===s.alias?a=s:(a.alias=t,z_.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.tags=r;if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.link=i;a.parentBoundary=j_,a.wrap=iv(),Y_=j_,j_=t,P_.push(Y_)},tv=function(t,e,n,r,i){if(null===t||null===e)return;let a={};const s=z_.find((e=>e.alias===t));if(s&&t===s.alias?a=s:(a.alias=t,z_.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.tags=r;if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.link=i;a.parentBoundary=j_,a.wrap=iv(),Y_=j_,j_=t,P_.push(Y_)},ev=function(t,e,n,r,i,a,s,o){if(null===e||null===n)return;let l={};const c=z_.find((t=>t.alias===e));if(c&&e===c.alias?l=c:(l.alias=e,z_.push(l)),l.label=null==n?{text:""}:{text:n},null==r)l.type={text:"node"};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]={text:e}}else l.type={text:r};if(null==i)l.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]={text:e}}else l.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof o){let[t,e]=Object.entries(o)[0];l[t]=e}else l.link=o;l.nodeType=t,l.parentBoundary=j_,l.wrap=iv(),Y_=j_,j_=e,P_.push(Y_)},nv=function(t){return null==t?$_:$_.filter((e=>e.parentBoundary===t))},rv=function(t){return Object.keys(nv(t))},iv=function(){return H_},av={addPersonOrSystem:X_,addPersonOrSystemBoundary:J_,addContainer:Q_,addContainerBoundary:tv,addComponent:K_,addDeploymentNode:ev,popBoundaryParseStack:function(){j_=Y_,P_.pop(),Y_=P_.pop(),P_.push(Y_)},addRel:Z_,updateElStyle:function(t,e,n,r,i,a,s,o,l,c,h){let u=$_.find((t=>t.alias===e));if(void 0!==u||(u=z_.find((t=>t.alias===e)),void 0!==u)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];u[t]=e}else u.bgColor=n;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]=e}else u.fontColor=r;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];u[t]=e}else u.borderColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]=e}else u.shadowing=a;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.shape=s;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.sprite=o;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];u[t]=e}else u.techn=l;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,n,r,i,a,s){const o=U_.find((t=>t.from===e&&t.to===n));if(void 0!==o){if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.textColor=r;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]=e}else o.lineColor=i;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]=parseInt(e)}else o.offsetX=parseInt(a);if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=parseInt(e)}else o.offsetY=parseInt(s)}},updateLayoutConfig:function(t,e,n){let r=q_,i=V_;if("object"==typeof e){const t=Object.values(e)[0];r=parseInt(t)}else r=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];i=parseInt(t)}else i=parseInt(n);r>=1&&(q_=r),i>=1&&(V_=i)},autoWrap:iv,setWrap:function(t){H_=t},getC4ShapeArray:nv,getC4Shape:function(t){return $_.find((e=>e.alias===t))},getC4ShapeKeys:rv,getBoundarys:function(t){return null==t?z_:z_.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return j_},getParentBoundaryParse:function(){return Y_},getRels:function(){return U_},getTitle:function(){return W_},getC4Type:function(){return G_},getC4ShapeInRow:function(){return q_},getC4BoundaryInRow:function(){return V_},setAccTitle:Ub,getAccTitle:Wb,getAccDescription:qb,setAccDescription:Hb,parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().c4,clear:function(){$_=[],z_=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],Y_="",j_="global",P_=[""],U_=[],P_=[""],W_="",H_=!1,q_=4,V_=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){W_=Lu(t,tb())},setC4Type:function(t){G_=Lu(t,tb())}},sv=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 r in e.attrs)n.attr(r,e.attrs[r]);return"undefined"!==e.class&&n.attr("class",e.class),n},ov=function(t,e,n,r,i,a){const s=t.append("image");s.attr("width",e),s.attr("height",n),s.attr("x",r),s.attr("y",i);let o=a.startsWith("data:image/png;base64")?a:m(a);s.attr("xlink:href",o)},lv=(t,e,n)=>{const r=t.append("g");let i=0;for(let a of e){let t=a.textColor?a.textColor:"#444444",e=a.lineColor?a.lineColor:"#444444",s=a.offsetX?parseInt(a.offsetX):0,o=a.offsetY?parseInt(a.offsetY):0,l="";if(0===i){let t=r.append("line");t.attr("x1",a.startPoint.x),t.attr("y1",a.startPoint.y),t.attr("x2",a.endPoint.x),t.attr("y2",a.endPoint.y),t.attr("stroke-width","1"),t.attr("stroke",e),t.style("fill","none"),"rel_b"!==a.type&&t.attr("marker-end","url("+l+"#arrowhead)"),("birel"===a.type||"rel_b"===a.type)&&t.attr("marker-start","url("+l+"#arrowend)"),i=-1}else{let t=r.append("path");t.attr("fill","none").attr("stroke-width","1").attr("stroke",e).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",a.startPoint.x).replaceAll("starty",a.startPoint.y).replaceAll("controlx",a.startPoint.x+(a.endPoint.x-a.startPoint.x)/2-(a.endPoint.x-a.startPoint.x)/4).replaceAll("controly",a.startPoint.y+(a.endPoint.y-a.startPoint.y)/2).replaceAll("stopx",a.endPoint.x).replaceAll("stopy",a.endPoint.y)),"rel_b"!==a.type&&t.attr("marker-end","url("+l+"#arrowhead)"),("birel"===a.type||"rel_b"===a.type)&&t.attr("marker-start","url("+l+"#arrowend)")}let c=n.messageFont();xv(n)(a.label.text,r,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+s,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+o,a.label.width,a.label.height,{fill:t},c),a.techn&&""!==a.techn.text&&(c=n.messageFont(),xv(n)("["+a.techn.text+"]",r,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+s,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+n.messageFontSize+5+o,Math.max(a.label.width,a.techn.width),a.techn.height,{fill:t,"font-style":"italic"},c))}},cv=function(t,e,n){const r=t.append("g");let i=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",s=e.fontColor?e.fontColor:"black",o={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(o={"stroke-width":1});let l={x:e.x,y:e.y,fill:i,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:o};sv(r,l);let c=n.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=s,xv(n)(e.label.text,r,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=n.boundaryFont(),c.fontColor=s,xv(n)(e.type.text,r,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=n.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=s,xv(n)(e.descr.text,r,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))},hv=function(t,e,n){let r=e.bgColor?e.bgColor:n[e.typeC4Shape.text+"_bg_color"],i=e.borderColor?e.borderColor:n[e.typeC4Shape.text+"_border_color"],a=e.fontColor?e.fontColor:"#FFFFFF",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}const o=t.append("g");o.attr("class","person-man");const l=_v();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":l.x=e.x,l.y=e.y,l.fill=r,l.width=e.width,l.height=e.height,l.style="stroke:"+i+";stroke-width:0.5;",l.rx=2.5,l.ry=2.5,sv(o,l);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":o.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),o.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":o.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),o.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",i).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2))}let c=vv(n,e.typeC4Shape.text);switch(o.append("text").attr("fill",a).attr("font-family",c.fontFamily).attr("font-size",c.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":ov(o,48,48,e.x+e.width/2-24,e.y+e.image.Y,s)}let h=n[e.typeC4Shape.text+"Font"]();return h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=a,xv(n)(e.label.text,o,e.x,e.y+e.label.Y,e.width,e.height,{fill:a},h),h=n[e.typeC4Shape.text+"Font"](),h.fontColor=a,e.thchn&&""!==e.thchn.text?xv(n)(e.thchn.text,o,e.x,e.y+e.thchn.Y,e.width,e.height,{fill:a,"font-style":"italic"},h):e.type&&""!==e.type.text&&xv(n)(e.type.text,o,e.x,e.y+e.type.Y,e.width,e.height,{fill:a,"font-style":"italic"},h),e.descr&&""!==e.descr.text&&(h=n.personFont(),h.fontColor=a,xv(n)(e.descr.text,o,e.x,e.y+e.descr.Y,e.width,e.height,{fill:a},h)),e.height},uv=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")},dv=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")},pv=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")},fv=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")},gv=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")},yv=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")},mv=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)},bv=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")},_v=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},vv=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),xv=function(){function t(t,e,n,i,a,s,o){r(e.append("text").attr("x",n+a/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,n,i,a,s,o,l){const{fontSize:c,fontFamily:h,fontWeight:u}=l,d=t.split(Fu.lineBreakRegex);for(let p=0;p<d.length;p++){const t=p*c-c*(d.length-1)/2,s=e.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",c).style("font-weight",u).style("font-family",h);s.append("tspan").attr("dy",t).text(d[p]).attr("alignment-baseline","mathematical"),r(s,o)}}function n(t,n,i,a,s,o,l,c){const h=n.append("switch"),u=h.append("foreignObject").attr("x",i).attr("y",a).attr("width",s).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,i,a,s,o,l,c),r(u,l)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),kv={drawRect:sv,drawBoundary:cv,drawC4Shape:hv,drawRels:lv,drawImage:ov,insertArrowHead:fv,insertArrowEnd:gv,insertArrowFilledHead:yv,insertDynamicNumber:mv,insertArrowCrossHead:bv,insertDatabaseIcon:uv,insertComputerIcon:dv,insertClockIcon:pv,getNoteRect:_v,sanitizeUrl:m};let wv=0,Tv=0,Ev=4,Cv=2;I_.yy=av;let Sv={};class Av{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,Lv(t.db.getConfig())}setData(t,e,n,r){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=r}updateVal(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,r=this.nextData.starty+2*t.margin,i=r+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>Ev)&&(e=this.nextData.startx+t.margin+Sv.nextLinePaddingX,r=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=r+t.height,this.nextData.cnt=1),t.x=e,t.y=r,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",r,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",r,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",i,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},Lv(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const Lv=function(t){sg(Sv,t),t.fontFamily&&(Sv.personFontFamily=Sv.systemFontFamily=Sv.messageFontFamily=t.fontFamily),t.fontSize&&(Sv.personFontSize=Sv.systemFontSize=Sv.messageFontSize=t.fontSize),t.fontWeight&&(Sv.personFontWeight=Sv.systemFontWeight=Sv.messageFontWeight=t.fontWeight)},Nv=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),Dv=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),Ov=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight});function Mv(t,e,n,r,i){if(!e[t].width)if(n)e[t].text=Yy(e[t].text,i,r),e[t].textLines=e[t].text.split(Fu.lineBreakRegex).length,e[t].width=i,e[t].height=Uy(e[t].text,r);else{let n=e[t].text.split(Fu.lineBreakRegex);e[t].textLines=n.length;let i=0;e[t].height=0,e[t].width=0;for(const a of n)e[t].width=Math.max(Wy(a,r),e[t].width),i=Uy(a,r),e[t].height=e[t].height+i}}const Bv=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=Sv.c4ShapeMargin-35;let r=e.wrap&&Sv.wrap,i=Dv(Sv);i.fontSize=i.fontSize+2,i.fontWeight="bold",Mv("label",e,r,i,Wy(e.label.text,i)),kv.drawBoundary(t,e,Sv)},Iv=function(t,e,n,r){let i=0;for(const a of r){i=0;const r=n[a];let s=Nv(Sv,r.typeC4Shape.text);switch(s.fontSize=s.fontSize-2,r.typeC4Shape.width=Wy("<<"+r.typeC4Shape.text+">>",s),r.typeC4Shape.height=s.fontSize+2,r.typeC4Shape.Y=Sv.c4ShapePadding,i=r.typeC4Shape.Y+r.typeC4Shape.height-4,r.image={width:0,height:0,Y:0},r.typeC4Shape.text){case"person":case"external_person":r.image.width=48,r.image.height=48,r.image.Y=i,i=r.image.Y+r.image.height}r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=i,i=r.image.Y+r.image.height);let o=r.wrap&&Sv.wrap,l=Sv.width-2*Sv.c4ShapePadding,c=Nv(Sv,r.typeC4Shape.text);c.fontSize=c.fontSize+2,c.fontWeight="bold",Mv("label",r,o,c,l),r.label.Y=i+8,i=r.label.Y+r.label.height,r.type&&""!==r.type.text?(r.type.text="["+r.type.text+"]",Mv("type",r,o,Nv(Sv,r.typeC4Shape.text),l),r.type.Y=i+5,i=r.type.Y+r.type.height):r.techn&&""!==r.techn.text&&(r.techn.text="["+r.techn.text+"]",Mv("techn",r,o,Nv(Sv,r.techn.text),l),r.techn.Y=i+5,i=r.techn.Y+r.techn.height);let h=i,u=r.label.width;r.descr&&""!==r.descr.text&&(Mv("descr",r,o,Nv(Sv,r.typeC4Shape.text),l),r.descr.Y=i+20,i=r.descr.Y+r.descr.height,u=Math.max(r.label.width,r.descr.width),h=i-5*r.descr.textLines),u+=Sv.c4ShapePadding,r.width=Math.max(r.width||Sv.width,u,Sv.width),r.height=Math.max(r.height||Sv.height,h,Sv.height),r.margin=r.margin||Sv.c4ShapeMargin,t.insert(r),kv.drawC4Shape(e,r,Sv)}t.bumpLastMargin(Sv.c4ShapeMargin)};class Fv{constructor(t,e){this.x=t,this.y=e}}let Rv=function(t,e){let n=t.x,r=t.y,i=e.x,a=e.y,s=n+t.width/2,o=r+t.height/2,l=Math.abs(n-i),c=Math.abs(r-a),h=c/l,u=t.height/t.width,d=null;return r==a&&n<i?d=new Fv(n+t.width,o):r==a&&n>i?d=new Fv(n,o):n==i&&r<a?d=new Fv(s,r+t.height):n==i&&r>a&&(d=new Fv(s,r)),n>i&&r<a?d=u>=h?new Fv(n,o+h*t.width/2):new Fv(s-l/c*t.height/2,r+t.height):n<i&&r<a?d=u>=h?new Fv(n+t.width,o+h*t.width/2):new Fv(s+l/c*t.height/2,r+t.height):n<i&&r>a?d=u>=h?new Fv(n+t.width,o-h*t.width/2):new Fv(s+t.height/2*l/c,r):n>i&&r>a&&(d=u>=h?new Fv(n,o-t.width/2*h):new Fv(s-t.height/2*l/c,r)),d},$v=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let r=Rv(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:r,endPoint:Rv(e,n)}};const Pv=function(t,e,n,r){let i=0;for(let a of e){i+=1;let t=a.wrap&&Sv.wrap,e=Ov(Sv);"C4Dynamic"===r.db.getC4Type()&&(a.label.text=i+": "+a.label.text);let s=Wy(a.label.text,e);Mv("label",a,t,e,s),a.techn&&""!==a.techn.text&&(s=Wy(a.techn.text,e),Mv("techn",a,t,e,s)),a.descr&&""!==a.descr.text&&(s=Wy(a.descr.text,e),Mv("descr",a,t,e,s));let o=n(a.from),l=n(a.to),c=$v(o,l);a.startPoint=c.startPoint,a.endPoint=c.endPoint}kv.drawRels(t,e,Sv)};function jv(t,e,n,r,i){let a=new Av(i);a.data.widthLimit=n.data.widthLimit/Math.min(Cv,r.length);for(let[s,o]of r.entries()){let r=0;o.image={width:0,height:0,Y:0},o.sprite&&(o.image.width=48,o.image.height=48,o.image.Y=r,r=o.image.Y+o.image.height);let l=o.wrap&&Sv.wrap,c=Dv(Sv);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",Mv("label",o,l,c,a.data.widthLimit),o.label.Y=r+8,r=o.label.Y+o.label.height,o.type&&""!==o.type.text&&(o.type.text="["+o.type.text+"]",Mv("type",o,l,Dv(Sv),a.data.widthLimit),o.type.Y=r+5,r=o.type.Y+o.type.height),o.descr&&""!==o.descr.text){let t=Dv(Sv);t.fontSize=t.fontSize-2,Mv("descr",o,l,t,a.data.widthLimit),o.descr.Y=r+20,r=o.descr.Y+o.descr.height}if(0==s||s%Cv==0){let t=n.data.startx+Sv.diagramMarginX,e=n.data.stopy+Sv.diagramMarginY+r;a.setData(t,t,e,e)}else{let t=a.data.stopx!==a.data.startx?a.data.stopx+Sv.diagramMarginX:a.data.startx,e=a.data.starty;a.setData(t,t,e,e)}a.name=o.alias;let h=i.db.getC4ShapeArray(o.alias),u=i.db.getC4ShapeKeys(o.alias);u.length>0&&Iv(a,t,h,u),e=o.alias;let d=i.db.getBoundarys(e);d.length>0&&jv(t,e,a,d,i),"global"!==o.alias&&Bv(t,o,a),n.data.stopy=Math.max(a.data.stopy+Sv.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+Sv.c4ShapeMargin,n.data.stopx),wv=Math.max(wv,n.data.stopx),Tv=Math.max(Tv,n.data.stopy)}}const Yv={drawPersonOrSystemArray:Iv,drawBoundary:Bv,setConf:Lv,draw:function(t,e,n,r){Sv=tb().c4;const i=tb().securityLevel;let a;"sandbox"===i&&(a=dn("#i"+e));const s=dn("sandbox"===i?a.nodes()[0].contentDocument.body:"body");let o=r.db;r.db.setWrap(Sv.wrap),Ev=o.getC4ShapeInRow(),Cv=o.getC4BoundaryInRow(),p.debug(`C:${JSON.stringify(Sv,null,2)}`);const l="sandbox"===i?s.select(`[id="${e}"]`):dn(`[id="${e}"]`);kv.insertComputerIcon(l),kv.insertDatabaseIcon(l),kv.insertClockIcon(l);let c=new Av(r);c.setData(Sv.diagramMarginX,Sv.diagramMarginX,Sv.diagramMarginY,Sv.diagramMarginY),c.data.widthLimit=screen.availWidth,wv=Sv.diagramMarginX,Tv=Sv.diagramMarginY;const h=r.db.getTitle();jv(l,"",c,r.db.getBoundarys(""),r),kv.insertArrowHead(l),kv.insertArrowEnd(l),kv.insertArrowCrossHead(l),kv.insertArrowFilledHead(l),Pv(l,r.db.getRels(),r.db.getC4Shape,r),c.data.stopx=wv,c.data.stopy=Tv;const u=c.data;let d=u.stopy-u.starty+2*Sv.diagramMarginY;const f=u.stopx-u.startx+2*Sv.diagramMarginX;h&&l.append("text").text(h).attr("x",(u.stopx-u.startx)/2-4*Sv.diagramMarginX).attr("y",u.starty+Sv.diagramMarginY),hb(l,d,f,Sv.useMaxWidth);const g=h?60:0;l.attr("viewBox",u.startx-Sv.diagramMarginX+" -"+(Sv.diagramMarginY+g)+" "+f+" "+(d+g)),p.debug("models:",u)}};var zv=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,7],r=[1,8],i=[1,9],a=[1,10],s=[1,13],o=[1,12],l=[1,16,25],c=[1,20],h=[1,32],u=[1,33],d=[1,34],p=[1,36],f=[1,39],g=[1,37],y=[1,38],m=[1,44],b=[1,45],_=[1,40],v=[1,41],x=[1,42],k=[1,43],w=[1,48],T=[1,49],E=[1,50],C=[1,51],S=[16,25],A=[1,65],L=[1,66],N=[1,67],D=[1,68],O=[1,69],M=[1,70],B=[1,71],I=[1,80],F=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],R=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],$=[5,8,9,10,11,16,19,23,25],P=[54,88,89,90,91],j=[54,65,66,88,89,90,91],Y=[54,60,61,62,63,64,88,89,90,91],z=[16,25,32],U=[1,107],W={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,noteStatement:38,acc_title:39,acc_title_value:40,acc_descr:41,acc_descr_value:42,acc_descr_multiline_value:43,CLASS:44,STYLE_SEPARATOR:45,STRUCT_START:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,"==":81,"--":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",39:"acc_title",40:"acc_title_value",41:"acc_descr",42:"acc_descr_value",43:"acc_descr_multiline_value",44:"CLASS",45:"STYLE_SEPARATOR",46:"STRUCT_START",48:"STRUCT_STOP",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"STR",55:"NOTE_FOR",57:"NOTE",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"CSSCLASS",77:"graphCodeTokens",79:"TAGSTART",80:"TAGEND",81:"==",82:"--",83:"PCT",84:"DEFAULT",85:"SPACE",86:"MINUS",87:"keywords",88:"UNICODE_TEXT",89:"NUM",90:"ALPHA",91:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 5:r.setDirection("TB");break;case 6:r.setDirection("BT");break;case 7:r.setDirection("RL");break;case 8:r.setDirection("LR");break;case 12:r.parseDirective("%%{","open_directive");break;case 13:r.parseDirective(a[o],"type_directive");break;case 14:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 15:r.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=a[o];break;case 22:this.$=a[o-1]+a[o];break;case 23:case 24:this.$=a[o-1]+"~"+a[o];break;case 25:r.addRelation(a[o]);break;case 26:a[o-1].title=r.cleanupLabel(a[o]),r.addRelation(a[o-1]);break;case 35:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 36:case 37:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 38:r.addClass(a[o]);break;case 39:r.addClass(a[o-2]),r.setCssClass(a[o-2],a[o]);break;case 40:r.addClass(a[o-3]),r.addMembers(a[o-3],a[o-1]);break;case 41:r.addClass(a[o-5]),r.setCssClass(a[o-5],a[o-3]),r.addMembers(a[o-5],a[o-1]);break;case 42:r.addAnnotation(a[o],a[o-2]);break;case 43:this.$=[a[o]];break;case 44:a[o].push(a[o-1]),this.$=a[o];break;case 45:case 47:case 48:break;case 46:r.addMember(a[o-1],r.cleanupLabel(a[o]));break;case 49:this.$={id1:a[o-2],id2:a[o],relation:a[o-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:a[o-3],id2:a[o],relation:a[o-1],relationTitle1:a[o-2],relationTitle2:"none"};break;case 51:this.$={id1:a[o-3],id2:a[o],relation:a[o-2],relationTitle1:"none",relationTitle2:a[o-1]};break;case 52:this.$={id1:a[o-4],id2:a[o],relation:a[o-2],relationTitle1:a[o-3],relationTitle2:a[o-1]};break;case 53:r.addNote(a[o],a[o-1]);break;case 54:r.addNote(a[o]);break;case 55:this.$={type1:a[o-2],type2:a[o],lineType:a[o-1]};break;case 56:this.$={type1:"none",type2:a[o],lineType:a[o-1]};break;case 57:this.$={type1:a[o-1],type2:"none",lineType:a[o]};break;case 58:this.$={type1:"none",type2:"none",lineType:a[o]};break;case 59:this.$=r.relationType.AGGREGATION;break;case 60:this.$=r.relationType.EXTENSION;break;case 61:this.$=r.relationType.COMPOSITION;break;case 62:this.$=r.relationType.DEPENDENCY;break;case 63:this.$=r.relationType.LOLLIPOP;break;case 64:this.$=r.lineType.LINE;break;case 65:this.$=r.lineType.DOTTED_LINE;break;case 66:case 72:this.$=a[o-2],r.setClickEvent(a[o-1],a[o]);break;case 67:case 73:this.$=a[o-3],r.setClickEvent(a[o-2],a[o-1]),r.setTooltip(a[o-2],a[o]);break;case 68:case 76:this.$=a[o-2],r.setLink(a[o-1],a[o]);break;case 69:case 77:this.$=a[o-3],r.setLink(a[o-2],a[o-1],a[o]);break;case 70:case 78:this.$=a[o-3],r.setLink(a[o-2],a[o-1]),r.setTooltip(a[o-2],a[o]);break;case 71:case 79:this.$=a[o-4],r.setLink(a[o-3],a[o-2],a[o]),r.setTooltip(a[o-3],a[o-1]);break;case 74:this.$=a[o-3],r.setClickEvent(a[o-2],a[o-1],a[o]);break;case 75:this.$=a[o-4],r.setClickEvent(a[o-3],a[o-2],a[o-1]),r.setTooltip(a[o-3],a[o]);break;case 80:r.setCssClass(a[o-1],a[o])}},table:[{3:1,4:2,5:e,6:4,7:5,8:n,9:r,10:i,11:a,12:6,13:11,19:s,23:o},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:e,6:4,7:5,8:n,9:r,10:i,11:a,12:6,13:11,19:s,23:o},{1:[2,9]},t(l,[2,5]),t(l,[2,6]),t(l,[2,7]),t(l,[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:r,10:i,11:a,13:11,19:s,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:h,41:u,43:d,44:p,49:f,51:g,52:y,55:m,57:b,67:_,68:v,70:x,74:k,88:w,89:T,90:E,91:C},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},t(S,[2,25],{32:[1,57]}),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),t(S,[2,30]),t(S,[2,31]),t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),{40:[1,58]},{42:[1,59]},t(S,[2,37]),t(S,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:A,61:L,62:N,63:D,64:O,65:M,66:B}),{27:72,28:46,29:47,88:w,89:T,90:E,91:C},t(S,[2,47]),t(S,[2,48]),{28:73,88:w,89:T,90:E},{27:74,28:46,29:47,88:w,89:T,90:E,91:C},{27:75,28:46,29:47,88:w,89:T,90:E,91:C},{27:76,28:46,29:47,88:w,89:T,90:E,91:C},{54:[1,77]},{27:78,28:46,29:47,88:w,89:T,90:E,91:C},{54:I,56:79},t(F,[2,20],{28:46,29:47,27:81,30:[1,82],88:w,89:T,90:E,91:C}),t(F,[2,21],{30:[1,83]}),t(R,[2,94]),t(R,[2,95]),t(R,[2,96]),t([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),t($,[2,10]),{15:84,22:c},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:n,9:r,10:i,11:a,13:11,19:s,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:h,41:u,43:d,44:p,49:f,51:g,52:y,55:m,57:b,67:_,68:v,70:x,74:k,88:w,89:T,90:E,91:C},t(S,[2,26]),t(S,[2,35]),t(S,[2,36]),{27:86,28:46,29:47,54:[1,87],88:w,89:T,90:E,91:C},{53:88,58:63,59:64,60:A,61:L,62:N,63:D,64:O,65:M,66:B},t(S,[2,46]),{59:89,65:M,66:B},t(P,[2,58],{58:90,60:A,61:L,62:N,63:D,64:O}),t(j,[2,59]),t(j,[2,60]),t(j,[2,61]),t(j,[2,62]),t(j,[2,63]),t(Y,[2,64]),t(Y,[2,65]),t(S,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:w,89:T,90:E},{54:I,56:99},t(S,[2,54]),t(S,[2,98]),t(F,[2,22]),t(F,[2,23]),t(F,[2,24]),{16:[1,100]},{25:[2,19]},t(z,[2,49]),{27:101,28:46,29:47,88:w,89:T,90:E,91:C},{27:102,28:46,29:47,54:[1,103],88:w,89:T,90:E,91:C},t(P,[2,57],{58:104,60:A,61:L,62:N,63:D,64:O}),t(P,[2,56]),{28:105,88:w,89:T,90:E},{47:106,51:U},{27:108,28:46,29:47,88:w,89:T,90:E,91:C},t(S,[2,66],{54:[1,109]}),t(S,[2,68],{54:[1,111],69:[1,110]}),t(S,[2,72],{54:[1,112],72:[1,113]}),t(S,[2,76],{54:[1,115],69:[1,114]}),t(S,[2,80]),t(S,[2,53]),t($,[2,11]),t(z,[2,51]),t(z,[2,50]),{27:116,28:46,29:47,88:w,89:T,90:E,91:C},t(P,[2,55]),t(S,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:U},t(S,[2,42]),t(S,[2,67]),t(S,[2,69]),t(S,[2,70],{69:[1,120]}),t(S,[2,73]),t(S,[2,74],{54:[1,121]}),t(S,[2,77]),t(S,[2,78],{69:[1,122]}),t(z,[2,52]),{47:123,51:U},t(S,[2,40]),{48:[2,44]},t(S,[2,71]),t(S,[2,75]),t(S,[2,79]),{48:[1,124]},t(S,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},H={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 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 27:break;case 11:return this.begin("acc_title"),39;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),41;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 39:case 42:case 45:case 48:case 51:case 54:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),46;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),48;case 28:return"MEMBER";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin("generic");break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 43:return"STR";case 44:this.begin("bqstring");break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 49:return 73;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 71;case 55:return 72;case 56:case 57:case 58:case 59:return 69;case 60:case 61:return 61;case 62:case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return"DOT";case 73:return"PLUS";case 74:return 83;case 75:case 76:return"EQUALS";case 77:return 90;case 78:return"PUNCTUATION";case 79:return 89;case 80:return 88;case 81:return 85;case 82:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],inclusive:!0}}};function q(){this.yy={}}return W.lexer=H,q.prototype=W,W.Parser=q,new q}();zv.parser=zv;const Uv=zv,Wv=(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*classDiagram/)},Hv=(t,e)=>{var n;return null!==t.match(/^\s*classDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)||null!==t.match(/^\s*classDiagram-v2/)},qv="classid-";let Vv=[],Gv={},Zv=[],Xv=0,Qv=[];const Kv=t=>Fu.sanitizeText(t,tb()),Jv=function(t,e,n){iz.parseDirective(this,t,e,n)},tx=function(t){let e="",n=t;if(t.indexOf("~")>0){let r=t.split("~");n=r[0],e=Fu.sanitizeText(r[1],tb())}return{className:n,type:e}},ex=function(t){let e=tx(t);void 0===Gv[e.className]&&(Gv[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:qv+e.className+"-"+Xv},Xv++)},nx=function(t){const e=Object.keys(Gv);for(const n of e)if(Gv[n].id===t)return Gv[n].domId},rx=function(){Vv=[],Gv={},Zv=[],Qv=[],Qv.push(wx),zb()},ix=function(t){return Gv[t]},ax=function(){return Gv},sx=function(){return Vv},ox=function(){return Zv},lx=function(t){p.debug("Adding relation: "+JSON.stringify(t)),ex(t.id1),ex(t.id2),t.id1=tx(t.id1).className,t.id2=tx(t.id2).className,t.relationTitle1=Fu.sanitizeText(t.relationTitle1.trim(),tb()),t.relationTitle2=Fu.sanitizeText(t.relationTitle2.trim(),tb()),Vv.push(t)},cx=function(t,e){const n=tx(t).className;Gv[n].annotations.push(e)},hx=function(t,e){const n=tx(t).className,r=Gv[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?r.annotations.push(Kv(t.substring(2,t.length-2))):t.indexOf(")")>0?r.methods.push(Kv(t)):t&&r.members.push(Kv(t))}},ux=function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>hx(t,e))))},dx=function(t,e){const n={id:`note${Zv.length}`,class:e,text:t};Zv.push(n)},px=function(t){return":"===t.substring(0,1)?Fu.sanitizeText(t.substr(1).trim(),tb()):Kv(t.trim())},fx=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=qv+n),void 0!==Gv[n]&&Gv[n].cssClasses.push(e)}))},gx=function(t,e){const n=tb();t.split(",").forEach((function(t){void 0!==e&&(Gv[t].tooltip=Fu.sanitizeText(e,n))}))},yx=function(t){return Gv[t].tooltip},mx=function(t,e,n){const r=tb();t.split(",").forEach((function(t){let i=t;t[0].match(/\d/)&&(i=qv+i),void 0!==Gv[i]&&(Gv[i].link=Qy.formatUrl(e,r),"sandbox"===r.securityLevel?Gv[i].linkTarget="_top":Gv[i].linkTarget="string"==typeof n?Kv(n):"_blank")})),fx(t,"clickable")},bx=function(t,e,n){t.split(",").forEach((function(t){_x(t,e,n),Gv[t].haveCallback=!0})),fx(t,"clickable")},_x=function(t,e,n){const r=tb();let i=t,a=nx(i);if("loose"===r.securityLevel&&void 0!==e&&void 0!==Gv[i]){let t=[];if("string"==typeof n){t=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<t.length;e++){let n=t[e].trim();'"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substr(1,n.length-2)),t[e]=n}}0===t.length&&t.push(a),Qv.push((function(){const n=document.querySelector(`[id="${a}"]`);null!==n&&n.addEventListener("click",(function(){Qy.runFunc(e,...t)}),!1)}))}},vx=function(t){Qv.forEach((function(e){e(t)}))},xx={LINE:0,DOTTED_LINE:1},kx={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},wx=function(t){let e=dn(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=dn("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),dn(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=dn(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),dn(this).classed("hover",!1)}))};Qv.push(wx);let Tx="TB";const Ex={parseDirective:Jv,setAccTitle:Ub,getAccTitle:Wb,getAccDescription:qb,setAccDescription:Hb,getConfig:()=>tb().class,addClass:ex,bindFunctions:vx,clear:rx,getClass:ix,getClasses:ax,getNotes:ox,addAnnotation:cx,addNote:dx,getRelations:sx,addRelation:lx,getDirection:()=>Tx,setDirection:t=>{Tx=t},addMember:hx,addMembers:ux,cleanupLabel:px,lineType:xx,relationType:kx,setClickEvent:bx,setCssClass:fx,setLink:mx,getTooltip:yx,setTooltip:gx,lookUpDomId:nx,setDiagramTitle:Vb,getDiagramTitle:Gb};function Cx(t){return null!=t&&"object"==typeof t}var Sx="[object Symbol]";function Ax(t){return"symbol"==typeof t||Cx(t)&&xg(t)==Sx}function Lx(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}const Nx=Array.isArray;var Dx=1/0,Ox=hg?hg.prototype:void 0,Mx=Ox?Ox.toString:void 0;function Bx(t){if("string"==typeof t)return t;if(Nx(t))return Lx(t,Bx)+"";if(Ax(t))return Mx?Mx.call(t):"";var e=t+"";return"0"==e&&1/t==-Dx?"-0":e}var Ix=/\s/;function Fx(t){for(var e=t.length;e--&&Ix.test(t.charAt(e)););return e}var Rx=/^\s+/;function $x(t){return t&&t.slice(0,Fx(t)+1).replace(Rx,"")}var Px=NaN,jx=/^[-+]0x[0-9a-f]+$/i,Yx=/^0b[01]+$/i,zx=/^0o[0-7]+$/i,Ux=parseInt;function Wx(t){if("number"==typeof t)return t;if(Ax(t))return Px;if(kg(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=kg(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=$x(t);var n=Yx.test(t);return n||zx.test(t)?Ux(t.slice(2),n?2:8):jx.test(t)?Px:+t}var Hx=1/0,qx=17976931348623157e292;function Vx(t){return t?(t=Wx(t))===Hx||t===-Hx?(t<0?-1:1)*qx:t==t?t:0:0===t?t:0}function Gx(t){var e=Vx(t),n=e%1;return e==e?n?e-n:e:0}function Zx(t){return t}const Xx=zg(cg,"WeakMap");var Qx=Object.create;const Kx=function(){function t(){}return function(e){if(!kg(e))return{};if(Qx)return Qx(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Jx(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function tk(){}function ek(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}var nk=800,rk=16,ik=Date.now;function ak(t){var e=0,n=0;return function(){var r=ik(),i=rk-(r-n);if(n=r,i>0){if(++e>=nk)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function sk(t){return function(){return t}}const ok=function(){try{var t=zg(Object,"defineProperty");return t({},"",{}),t}catch{}}(),lk=ak(ok?function(t,e){return ok(t,"toString",{configurable:!0,enumerable:!1,value:sk(e),writable:!0})}:Zx);function ck(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function hk(t,e,n,r){for(var i=t.length,a=n+(r?1:-1);r?a--:++a<i;)if(e(t[a],a,t))return a;return-1}function uk(t){return t!=t}function dk(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function pk(t,e,n){return e==e?dk(t,e,n):hk(t,uk,n)}function fk(t,e){return!(null==t||!t.length)&&pk(t,e,0)>-1}var gk=9007199254740991,yk=/^(?:0|[1-9]\d*)$/;function mk(t,e){var n=typeof t;return!!(e=null==e?gk:e)&&("number"==n||"symbol"!=n&&yk.test(t))&&t>-1&&t%1==0&&t<e}function bk(t,e,n){"__proto__"==e&&ok?ok(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var _k=Object.prototype.hasOwnProperty;function vk(t,e,n){var r=t[e];(!_k.call(t,e)||!ey(r,n)||void 0===n&&!(e in t))&&bk(t,e,n)}function xk(t,e,n,r){var i=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var o=e[a],l=r?r(n[o],t[o],o,n,t):void 0;void 0===l&&(l=t[o]),i?bk(n,o,l):vk(n,o,l)}return n}var kk=Math.max;function wk(t,e,n){return e=kk(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,a=kk(r.length-e,0),s=Array(a);++i<a;)s[i]=r[e+i];i=-1;for(var o=Array(e+1);++i<e;)o[i]=r[i];return o[e]=n(s),Jx(t,this,o)}}function Tk(t,e){return lk(wk(t,e,Zx),t+"")}var Ek=9007199254740991;function Ck(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Ek}function Sk(t){return null!=t&&Ck(t.length)&&!Sg(t)}function Ak(t,e,n){if(!kg(n))return!1;var r=typeof e;return!!("number"==r?Sk(n)&&mk(e,n.length):"string"==r&&e in n)&&ey(n[e],t)}function Lk(t){return Tk((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&Ak(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var o=n[r];o&&t(e,o,r,a)}return e}))}var Nk=Object.prototype;function Dk(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Nk)}function Ok(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var Mk="[object Arguments]";function Bk(t){return Cx(t)&&xg(t)==Mk}var Ik=Object.prototype,Fk=Ik.hasOwnProperty,Rk=Ik.propertyIsEnumerable,$k=Bk(function(){return arguments}())?Bk:function(t){return Cx(t)&&Fk.call(t,"callee")&&!Rk.call(t,"callee")};const Pk=$k;function jk(){return!1}var Yk=e&&!e.nodeType&&e,zk=Yk&&t&&!t.nodeType&&t,Uk=zk&&zk.exports===Yk?cg.Buffer:void 0;const Wk=(Uk?Uk.isBuffer:void 0)||jk;var Hk="[object Arguments]",qk="[object Array]",Vk="[object Boolean]",Gk="[object Date]",Zk="[object Error]",Xk="[object Function]",Qk="[object Map]",Kk="[object Number]",Jk="[object Object]",tw="[object RegExp]",ew="[object Set]",nw="[object String]",rw="[object WeakMap]",iw="[object ArrayBuffer]",aw="[object DataView]",sw="[object Float64Array]",ow="[object Int8Array]",lw="[object Int16Array]",cw="[object Int32Array]",hw="[object Uint8Array]",uw="[object Uint8ClampedArray]",dw="[object Uint16Array]",pw="[object Uint32Array]",fw={};function gw(t){return Cx(t)&&Ck(t.length)&&!!fw[xg(t)]}function yw(t){return function(e){return t(e)}}fw["[object Float32Array]"]=fw[sw]=fw[ow]=fw[lw]=fw[cw]=fw[hw]=fw[uw]=fw[dw]=fw[pw]=!0,fw[Hk]=fw[qk]=fw[iw]=fw[Vk]=fw[aw]=fw[Gk]=fw[Zk]=fw[Xk]=fw[Qk]=fw[Kk]=fw[Jk]=fw[tw]=fw[ew]=fw[nw]=fw[rw]=!1;var mw=e&&!e.nodeType&&e,bw=mw&&t&&!t.nodeType&&t,_w=bw&&bw.exports===mw&&og.process;const vw=function(){try{return bw&&bw.require&&bw.require("util").types||_w&&_w.binding&&_w.binding("util")}catch{}}();var xw=vw&&vw.isTypedArray;const kw=xw?yw(xw):gw;var ww=Object.prototype.hasOwnProperty;function Tw(t,e){var n=Nx(t),r=!n&&Pk(t),i=!n&&!r&&Wk(t),a=!n&&!r&&!i&&kw(t),s=n||r||i||a,o=s?Ok(t.length,String):[],l=o.length;for(var c in t)(e||ww.call(t,c))&&(!s||!("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||mk(c,l)))&&o.push(c);return o}function Ew(t,e){return function(n){return t(e(n))}}const Cw=Ew(Object.keys,Object);var Sw=Object.prototype.hasOwnProperty;function Aw(t){if(!Dk(t))return Cw(t);var e=[];for(var n in Object(t))Sw.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Lw(t){return Sk(t)?Tw(t):Aw(t)}function Nw(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}var Dw=Object.prototype.hasOwnProperty;function Ow(t){if(!kg(t))return Nw(t);var e=Dk(t),n=[];for(var r in t)"constructor"==r&&(e||!Dw.call(t,r))||n.push(r);return n}function Mw(t){return Sk(t)?Tw(t,!0):Ow(t)}var Bw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Iw=/^\w*$/;function Fw(t,e){if(Nx(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ax(t))||Iw.test(t)||!Bw.test(t)||null!=e&&t in Object(e)}var Rw=500;function $w(t){var e=_y(t,(function(t){return n.size===Rw&&n.clear(),t})),n=e.cache;return e}var Pw=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jw=/\\(\\)?/g;const Yw=$w((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Pw,(function(t,n,r,i){e.push(r?i.replace(jw,"$1"):n||t)})),e}));function zw(t){return null==t?"":Bx(t)}function Uw(t,e){return Nx(t)?t:Fw(t,e)?[t]:Yw(zw(t))}var Ww=1/0;function Hw(t){if("string"==typeof t||Ax(t))return t;var e=t+"";return"0"==e&&1/t==-Ww?"-0":e}function qw(t,e){for(var n=0,r=(e=Uw(e,t)).length;null!=t&&n<r;)t=t[Hw(e[n++])];return n&&n==r?t:void 0}function Vw(t,e,n){var r=null==t?void 0:qw(t,e);return void 0===r?n:r}function Gw(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var Zw=hg?hg.isConcatSpreadable:void 0;function Xw(t){return Nx(t)||Pk(t)||!!(Zw&&t&&t[Zw])}function Qw(t,e,n,r,i){var a=-1,s=t.length;for(n||(n=Xw),i||(i=[]);++a<s;){var o=t[a];e>0&&n(o)?e>1?Qw(o,e-1,n,r,i):Gw(i,o):r||(i[i.length]=o)}return i}function Kw(t){return null!=t&&t.length?Qw(t,1):[]}function Jw(t){return lk(wk(t,void 0,Kw),t+"")}const tT=Ew(Object.getPrototypeOf,Object);var eT="[object Object]",nT=Function.prototype,rT=Object.prototype,iT=nT.toString,aT=rT.hasOwnProperty,sT=iT.call(Object);function oT(t){if(!Cx(t)||xg(t)!=eT)return!1;var e=tT(t);if(null===e)return!0;var n=aT.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&iT.call(n)==sT}function lT(t,e,n,r){var i=-1,a=null==t?0:t.length;for(r&&a&&(n=t[++i]);++i<a;)n=e(n,t[i],i,t);return n}function cT(){this.__data__=new ly,this.size=0}function hT(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function uT(t){return this.__data__.get(t)}function dT(t){return this.__data__.has(t)}var pT=200;function fT(t,e){var n=this.__data__;if(n instanceof ly){var r=n.__data__;if(!cy||r.length<pT-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new my(r)}return n.set(t,e),this.size=n.size,this}function gT(t){var e=this.__data__=new ly(t);this.size=e.size}function yT(t,e){return t&&xk(e,Lw(e),t)}function mT(t,e){return t&&xk(e,Mw(e),t)}gT.prototype.clear=cT,gT.prototype.delete=hT,gT.prototype.get=uT,gT.prototype.has=dT,gT.prototype.set=fT;var bT=e&&!e.nodeType&&e,_T=bT&&t&&!t.nodeType&&t,vT=_T&&_T.exports===bT?cg.Buffer:void 0,xT=vT?vT.allocUnsafe:void 0;function kT(t,e){if(e)return t.slice();var n=t.length,r=xT?xT(n):new t.constructor(n);return t.copy(r),r}function wT(t,e){for(var n=-1,r=null==t?0:t.length,i=0,a=[];++n<r;){var s=t[n];e(s,n,t)&&(a[i++]=s)}return a}function TT(){return[]}var ET=Object.prototype.propertyIsEnumerable,CT=Object.getOwnPropertySymbols;const ST=CT?function(t){return null==t?[]:(t=Object(t),wT(CT(t),(function(e){return ET.call(t,e)})))}:TT;function AT(t,e){return xk(t,ST(t),e)}const LT=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Gw(e,ST(t)),t=tT(t);return e}:TT;function NT(t,e){return xk(t,LT(t),e)}function DT(t,e,n){var r=e(t);return Nx(t)?r:Gw(r,n(t))}function OT(t){return DT(t,Lw,ST)}function MT(t){return DT(t,Mw,LT)}const BT=zg(cg,"DataView"),IT=zg(cg,"Promise"),FT=zg(cg,"Set");var RT="[object Map]",$T="[object Object]",PT="[object Promise]",jT="[object Set]",YT="[object WeakMap]",zT="[object DataView]",UT=Og(BT),WT=Og(cy),HT=Og(IT),qT=Og(FT),VT=Og(Xx),GT=xg;(BT&>(new BT(new ArrayBuffer(1)))!=zT||cy&>(new cy)!=RT||IT&>(IT.resolve())!=PT||FT&>(new FT)!=jT||Xx&>(new Xx)!=YT)&&(GT=function(t){var e=xg(t),n=e==$T?t.constructor:void 0,r=n?Og(n):"";if(r)switch(r){case UT:return zT;case WT:return RT;case HT:return PT;case qT:return jT;case VT:return YT}return e});const ZT=GT;var XT=Object.prototype.hasOwnProperty;function QT(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&XT.call(t,"index")&&(n.index=t.index,n.input=t.input),n}const KT=cg.Uint8Array;function JT(t){var e=new t.constructor(t.byteLength);return new KT(e).set(new KT(t)),e}function tE(t,e){var n=e?JT(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var eE=/\w*$/;function nE(t){var e=new t.constructor(t.source,eE.exec(t));return e.lastIndex=t.lastIndex,e}var rE=hg?hg.prototype:void 0,iE=rE?rE.valueOf:void 0;function aE(t){return iE?Object(iE.call(t)):{}}function sE(t,e){var n=e?JT(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var oE="[object Boolean]",lE="[object Date]",cE="[object Map]",hE="[object Number]",uE="[object RegExp]",dE="[object Set]",pE="[object String]",fE="[object Symbol]",gE="[object ArrayBuffer]",yE="[object DataView]",mE="[object Float32Array]",bE="[object Float64Array]",_E="[object Int8Array]",vE="[object Int16Array]",xE="[object Int32Array]",kE="[object Uint8Array]",wE="[object Uint8ClampedArray]",TE="[object Uint16Array]",EE="[object Uint32Array]";function CE(t,e,n){var r=t.constructor;switch(e){case gE:return JT(t);case oE:case lE:return new r(+t);case yE:return tE(t,n);case mE:case bE:case _E:case vE:case xE:case kE:case wE:case TE:case EE:return sE(t,n);case cE:return new r;case hE:case pE:return new r(t);case uE:return nE(t);case dE:return new r;case fE:return aE(t)}}function SE(t){return"function"!=typeof t.constructor||Dk(t)?{}:Kx(tT(t))}var AE="[object Map]";function LE(t){return Cx(t)&&ZT(t)==AE}var NE=vw&&vw.isMap;const DE=NE?yw(NE):LE;var OE="[object Set]";function ME(t){return Cx(t)&&ZT(t)==OE}var BE=vw&&vw.isSet;const IE=BE?yw(BE):ME;var FE=1,RE=2,$E=4,PE="[object Arguments]",jE="[object Array]",YE="[object Boolean]",zE="[object Date]",UE="[object Error]",WE="[object Function]",HE="[object GeneratorFunction]",qE="[object Map]",VE="[object Number]",GE="[object Object]",ZE="[object RegExp]",XE="[object Set]",QE="[object String]",KE="[object Symbol]",JE="[object WeakMap]",tC="[object ArrayBuffer]",eC="[object DataView]",nC="[object Float32Array]",rC="[object Float64Array]",iC="[object Int8Array]",aC="[object Int16Array]",sC="[object Int32Array]",oC="[object Uint8Array]",lC="[object Uint8ClampedArray]",cC="[object Uint16Array]",hC="[object Uint32Array]",uC={};function dC(t,e,n,r,i,a){var s,o=e&FE,l=e&RE,c=e&$E;if(n&&(s=i?n(t,r,i,a):n(t)),void 0!==s)return s;if(!kg(t))return t;var h=Nx(t);if(h){if(s=QT(t),!o)return ek(t,s)}else{var u=ZT(t),d=u==WE||u==HE;if(Wk(t))return kT(t,o);if(u==GE||u==PE||d&&!i){if(s=l||d?{}:SE(t),!o)return l?NT(t,mT(s,t)):AT(t,yT(s,t))}else{if(!uC[u])return i?t:{};s=CE(t,u,o)}}a||(a=new gT);var p=a.get(t);if(p)return p;a.set(t,s),IE(t)?t.forEach((function(r){s.add(dC(r,e,n,r,t,a))})):DE(t)&&t.forEach((function(r,i){s.set(i,dC(r,e,n,i,t,a))}));var f=h?void 0:(c?l?MT:OT:l?Mw:Lw)(t);return ck(f||t,(function(r,i){f&&(r=t[i=r]),vk(s,i,dC(r,e,n,i,t,a))})),s}uC[PE]=uC[jE]=uC[tC]=uC[eC]=uC[YE]=uC[zE]=uC[nC]=uC[rC]=uC[iC]=uC[aC]=uC[sC]=uC[qE]=uC[VE]=uC[GE]=uC[ZE]=uC[XE]=uC[QE]=uC[KE]=uC[oC]=uC[lC]=uC[cC]=uC[hC]=!0,uC[UE]=uC[WE]=uC[JE]=!1;var pC=4;function fC(t){return dC(t,pC)}var gC=1,yC=4;function mC(t){return dC(t,gC|yC)}var bC="__lodash_hash_undefined__";function _C(t){return this.__data__.set(t,bC),this}function vC(t){return this.__data__.has(t)}function xC(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new my;++e<n;)this.add(t[e])}function kC(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function wC(t,e){return t.has(e)}xC.prototype.add=xC.prototype.push=_C,xC.prototype.has=vC;var TC=1,EC=2;function CC(t,e,n,r,i,a){var s=n&TC,o=t.length,l=e.length;if(o!=l&&!(s&&l>o))return!1;var c=a.get(t),h=a.get(e);if(c&&h)return c==e&&h==t;var u=-1,d=!0,p=n&EC?new xC:void 0;for(a.set(t,e),a.set(e,t);++u<o;){var f=t[u],g=e[u];if(r)var y=s?r(g,f,u,e,t,a):r(f,g,u,t,e,a);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!kC(e,(function(t,e){if(!wC(p,e)&&(f===t||i(f,t,n,r,a)))return p.push(e)}))){d=!1;break}}else if(f!==g&&!i(f,g,n,r,a)){d=!1;break}}return a.delete(t),a.delete(e),d}function SC(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function AC(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var LC=1,NC=2,DC="[object Boolean]",OC="[object Date]",MC="[object Error]",BC="[object Map]",IC="[object Number]",FC="[object RegExp]",RC="[object Set]",$C="[object String]",PC="[object Symbol]",jC="[object ArrayBuffer]",YC="[object DataView]",zC=hg?hg.prototype:void 0,UC=zC?zC.valueOf:void 0;function WC(t,e,n,r,i,a,s){switch(n){case YC:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case jC:return!(t.byteLength!=e.byteLength||!a(new KT(t),new KT(e)));case DC:case OC:case IC:return ey(+t,+e);case MC:return t.name==e.name&&t.message==e.message;case FC:case $C:return t==e+"";case BC:var o=SC;case RC:var l=r&LC;if(o||(o=AC),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;r|=NC,s.set(t,e);var h=CC(o(t),o(e),r,i,a,s);return s.delete(t),h;case PC:if(UC)return UC.call(t)==UC.call(e)}return!1}var HC=1,qC=Object.prototype.hasOwnProperty;function VC(t,e,n,r,i,a){var s=n&HC,o=OT(t),l=o.length;if(l!=OT(e).length&&!s)return!1;for(var c=l;c--;){var h=o[c];if(!(s?h in e:qC.call(e,h)))return!1}var u=a.get(t),d=a.get(e);if(u&&d)return u==e&&d==t;var p=!0;a.set(t,e),a.set(e,t);for(var f=s;++c<l;){var g=t[h=o[c]],y=e[h];if(r)var m=s?r(y,g,h,e,t,a):r(g,y,h,t,e,a);if(!(void 0===m?g===y||i(g,y,n,r,a):m)){p=!1;break}f||(f="constructor"==h)}if(p&&!f){var b=t.constructor,_=e.constructor;b!=_&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _)&&(p=!1)}return a.delete(t),a.delete(e),p}var GC=1,ZC="[object Arguments]",XC="[object Array]",QC="[object Object]",KC=Object.prototype.hasOwnProperty;function JC(t,e,n,r,i,a){var s=Nx(t),o=Nx(e),l=s?XC:ZT(t),c=o?XC:ZT(e),h=(l=l==ZC?QC:l)==QC,u=(c=c==ZC?QC:c)==QC,d=l==c;if(d&&Wk(t)){if(!Wk(e))return!1;s=!0,h=!1}if(d&&!h)return a||(a=new gT),s||kw(t)?CC(t,e,n,r,i,a):WC(t,e,l,n,r,i,a);if(!(n&GC)){var p=h&&KC.call(t,"__wrapped__"),f=u&&KC.call(e,"__wrapped__");if(p||f){var g=p?t.value():t,y=f?e.value():e;return a||(a=new gT),i(g,y,n,r,a)}}return!!d&&(a||(a=new gT),VC(t,e,n,r,i,a))}function tS(t,e,n,r,i){return t===e||(null==t||null==e||!Cx(t)&&!Cx(e)?t!=t&&e!=e:JC(t,e,n,r,tS,i))}var eS=1,nS=2;function rS(t,e,n,r){var i=n.length,a=i,s=!r;if(null==t)return!a;for(t=Object(t);i--;){var o=n[i];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++i<a;){var l=(o=n[i])[0],c=t[l],h=o[1];if(s&&o[2]){if(void 0===c&&!(l in t))return!1}else{var u=new gT;if(r)var d=r(c,h,l,t,e,u);if(!(void 0===d?tS(h,c,eS|nS,r,u):d))return!1}}return!0}function iS(t){return t==t&&!kg(t)}function aS(t){for(var e=Lw(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,iS(i)]}return e}function sS(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}function oS(t){var e=aS(t);return 1==e.length&&e[0][2]?sS(e[0][0],e[0][1]):function(n){return n===t||rS(n,t,e)}}function lS(t,e){return null!=t&&e in Object(t)}function cS(t,e,n){for(var r=-1,i=(e=Uw(e,t)).length,a=!1;++r<i;){var s=Hw(e[r]);if(!(a=null!=t&&n(t,s)))break;t=t[s]}return a||++r!=i?a:!!(i=null==t?0:t.length)&&Ck(i)&&mk(s,i)&&(Nx(t)||Pk(t))}function hS(t,e){return null!=t&&cS(t,e,lS)}var uS=1,dS=2;function pS(t,e){return Fw(t)&&iS(e)?sS(Hw(t),e):function(n){var r=Vw(n,t);return void 0===r&&r===e?hS(n,t):tS(e,r,uS|dS)}}function fS(t){return function(e){return null==e?void 0:e[t]}}function gS(t){return function(e){return qw(e,t)}}function yS(t){return Fw(t)?fS(Hw(t)):gS(t)}function mS(t){return"function"==typeof t?t:null==t?Zx:"object"==typeof t?Nx(t)?pS(t[0],t[1]):oS(t):yS(t)}function bS(t){return function(e,n,r){for(var i=-1,a=Object(e),s=r(e),o=s.length;o--;){var l=s[t?o:++i];if(!1===n(a[l],l,a))break}return e}}const _S=bS();function vS(t,e){return t&&_S(t,e,Lw)}function xS(t,e){return function(n,r){if(null==n)return n;if(!Sk(n))return t(n,r);for(var i=n.length,a=e?i:-1,s=Object(n);(e?a--:++a<i)&&!1!==r(s[a],a,s););return n}}const kS=xS(vS),wS=function(){return cg.Date.now()};var TS=Object.prototype,ES=TS.hasOwnProperty;const CS=Tk((function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&Ak(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],s=Mw(a),o=-1,l=s.length;++o<l;){var c=s[o],h=t[c];(void 0===h||ey(h,TS[c])&&!ES.call(t,c))&&(t[c]=a[c])}return t}));function SS(t,e,n){(void 0!==n&&!ey(t[e],n)||void 0===n&&!(e in t))&&bk(t,e,n)}function AS(t){return Cx(t)&&Sk(t)}function LS(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function NS(t){return xk(t,Mw(t))}function DS(t,e,n,r,i,a,s){var o=LS(t,n),l=LS(e,n),c=s.get(l);if(c)SS(t,n,c);else{var h=a?a(o,l,n+"",t,e,s):void 0,u=void 0===h;if(u){var d=Nx(l),p=!d&&Wk(l),f=!d&&!p&&kw(l);h=l,d||p||f?Nx(o)?h=o:AS(o)?h=ek(o):p?(u=!1,h=kT(l,!0)):f?(u=!1,h=sE(l,!0)):h=[]:oT(l)||Pk(l)?(h=o,Pk(o)?h=NS(o):(!kg(o)||Sg(o))&&(h=SE(l))):u=!1}u&&(s.set(l,h),i(h,l,r,a,s),s.delete(l)),SS(t,n,h)}}function OS(t,e,n,r,i){t!==e&&_S(e,(function(a,s){if(i||(i=new gT),kg(a))DS(t,e,s,n,OS,r,i);else{var o=r?r(LS(t,s),a,s+"",t,e,i):void 0;void 0===o&&(o=a),SS(t,s,o)}}),Mw)}function MS(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function BS(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}function IS(t){return"function"==typeof t?t:Zx}function FS(t,e){return(Nx(t)?ck:kS)(t,IS(e))}function RS(t,e){var n=[];return kS(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function $S(t,e){return(Nx(t)?wT:RS)(t,mS(e))}function PS(t){return function(e,n,r){var i=Object(e);if(!Sk(e)){var a=mS(n);e=Lw(e),n=function(t){return a(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[a?e[s]:s]:void 0}}var jS=Math.max;function YS(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Gx(n);return i<0&&(i=jS(r+i,0)),hk(t,mS(e),i)}const zS=PS(YS);function US(t,e){var n=-1,r=Sk(t)?Array(t.length):[];return kS(t,(function(t,i,a){r[++n]=e(t,i,a)})),r}function WS(t,e){return(Nx(t)?Lx:US)(t,mS(e))}function HS(t,e){return null==t?t:_S(t,IS(e),Mw)}function qS(t,e){return t>e}var VS=Object.prototype.hasOwnProperty;function GS(t,e){return null!=t&&VS.call(t,e)}function ZS(t,e){return null!=t&&cS(t,e,GS)}function XS(t,e){return Lx(e,(function(e){return t[e]}))}function QS(t){return null==t?[]:XS(t,Lw(t))}var KS="[object Map]",JS="[object Set]",tA=Object.prototype.hasOwnProperty;function eA(t){if(null==t)return!0;if(Sk(t)&&(Nx(t)||"string"==typeof t||"function"==typeof t.splice||Wk(t)||kw(t)||Pk(t)))return!t.length;var e=ZT(t);if(e==KS||e==JS)return!t.size;if(Dk(t))return!Aw(t).length;for(var n in t)if(tA.call(t,n))return!1;return!0}function nA(t){return void 0===t}function rA(t,e){return t<e}function iA(t,e){var n={};return e=mS(e),vS(t,(function(t,r,i){bk(n,r,e(t,r,i))})),n}function aA(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],s=e(a);if(null!=s&&(void 0===o?s==s&&!Ax(s):n(s,o)))var o=s,l=a}return l}function sA(t){return t&&t.length?aA(t,Zx,qS):void 0}const oA=Lk((function(t,e,n){OS(t,e,n)}));function lA(t){return t&&t.length?aA(t,Zx,rA):void 0}function cA(t,e){return t&&t.length?aA(t,mS(e),rA):void 0}function hA(t,e,n,r){if(!kg(t))return t;for(var i=-1,a=(e=Uw(e,t)).length,s=a-1,o=t;null!=o&&++i<a;){var l=Hw(e[i]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(i!=s){var h=o[l];void 0===(c=r?r(h,l,o):void 0)&&(c=kg(h)?h:mk(e[i+1])?[]:{})}vk(o,l,c),o=o[l]}return t}function uA(t,e,n){for(var r=-1,i=e.length,a={};++r<i;){var s=e[r],o=qw(t,s);n(o,s)&&hA(a,Uw(s,t),o)}return a}function dA(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function pA(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,a=Ax(t),s=void 0!==e,o=null===e,l=e==e,c=Ax(e);if(!o&&!c&&!a&&t>e||a&&s&&l&&!o&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!a&&!c&&t<e||c&&n&&i&&!r&&!a||o&&n&&i||!s&&i||!l)return-1}return 0}function fA(t,e,n){for(var r=-1,i=t.criteria,a=e.criteria,s=i.length,o=n.length;++r<s;){var l=pA(i[r],a[r]);if(l)return r>=o?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}function gA(t,e,n){e=e.length?Lx(e,(function(t){return Nx(t)?function(e){return qw(e,1===t.length?t[0]:t)}:t})):[Zx];var r=-1;return e=Lx(e,yw(mS)),dA(US(t,(function(t,n,i){return{criteria:Lx(e,(function(e){return e(t)})),index:++r,value:t}})),(function(t,e){return fA(t,e,n)}))}function yA(t,e){return uA(t,e,(function(e,n){return hS(t,n)}))}const mA=Jw((function(t,e){return null==t?{}:yA(t,e)}));var bA=Math.ceil,_A=Math.max;function vA(t,e,n,r){for(var i=-1,a=_A(bA((e-t)/(n||1)),0),s=Array(a);a--;)s[r?a:++i]=t,t+=n;return s}function xA(t){return function(e,n,r){return r&&"number"!=typeof r&&Ak(e,n,r)&&(n=r=void 0),e=Vx(e),void 0===n?(n=e,e=0):n=Vx(n),vA(e,n,r=void 0===r?e<n?1:-1:Vx(r),t)}}const kA=xA();function wA(t,e,n,r,i){return i(t,(function(t,i,a){n=r?(r=!1,t):e(n,t,i,a)})),n}function TA(t,e,n){var r=Nx(t)?lT:wA,i=arguments.length<3;return r(t,mS(e),n,i,kS)}const EA=Tk((function(t,e){if(null==t)return[];var n=e.length;return n>1&&Ak(t,e[0],e[1])?e=[]:n>2&&Ak(e[0],e[1],e[2])&&(e=[e[0]]),gA(t,Qw(e,1),[])}));var CA=1/0;const SA=FT&&1/AC(new FT([,-0]))[1]==CA?function(t){return new FT(t)}:tk;var AA=200;function LA(t,e,n){var r=-1,i=fk,a=t.length,s=!0,o=[],l=o;if(n)s=!1,i=MS;else if(a>=AA){var c=e?null:SA(t);if(c)return AC(c);s=!1,i=wC,l=new xC}else l=e?[]:o;t:for(;++r<a;){var h=t[r],u=e?e(h):h;if(h=n||0!==h?h:0,s&&u==u){for(var d=l.length;d--;)if(l[d]===u)continue t;e&&l.push(u),o.push(h)}else i(l,u,n)||(l!==o&&l.push(u),o.push(h))}return o}const NA=Tk((function(t){return LA(Qw(t,1,AS,!0))}));var DA=0;function OA(t){var e=++DA;return zw(t)+e}function MA(t,e,n){for(var r=-1,i=t.length,a=e.length,s={};++r<i;){var o=r<a?e[r]:void 0;n(s,t[r],o)}return s}function BA(t,e){return MA(t||[],e||[],vk)}var IA="\0",FA="\0",RA="\x01";class $A{constructor(t={}){this._isDirected=!ZS(t,"directed")||t.directed,this._isMultigraph=!!ZS(t,"multigraph")&&t.multigraph,this._isCompound=!!ZS(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=sk(void 0),this._defaultEdgeLabelFn=sk(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[FA]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return Sg(t)||(t=sk(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Lw(this._nodes)}sources(){var t=this;return $S(this.nodes(),(function(e){return eA(t._in[e])}))}sinks(){var t=this;return $S(this.nodes(),(function(e){return eA(t._out[e])}))}setNodes(t,e){var n=arguments,r=this;return FS(t,(function(t){n.length>1?r.setNode(t,e):r.setNode(t)})),this}setNode(t,e){return ZS(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=FA,this._children[t]={},this._children[FA][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return ZS(this._nodes,t)}removeNode(t){var e=this;if(ZS(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],FS(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),FS(Lw(this._in[t]),n),delete this._in[t],delete this._preds[t],FS(Lw(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(nA(e))e=FA;else{for(var n=e+="";!nA(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==FA)return e}}children(t){if(nA(t)&&(t=FA),this._isCompound){var e=this._children[t];if(e)return Lw(e)}else{if(t===FA)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return Lw(e)}successors(t){var e=this._sucs[t];if(e)return Lw(e)}neighbors(t){var e=this.predecessors(t);if(e)return NA(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;FS(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),FS(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var r={};function i(t){var a=n.parent(t);return void 0===a||e.hasNode(a)?(r[t]=a,a):a in r?r[a]:i(a)}return this._isCompound&&FS(e.nodes(),(function(t){e.setParent(t,i(t))})),e}setDefaultEdgeLabel(t){return Sg(t)||(t=sk(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return QS(this._edgeObjs)}setPath(t,e){var n=this,r=arguments;return TA(t,(function(t,i){return r.length>1?n.setEdge(t,i,e):n.setEdge(t,i),i})),this}setEdge(){var t,e,n,r,i=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(r=arguments[1],i=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),t=""+t,e=""+e,nA(n)||(n=""+n);var s=YA(this._isDirected,t,e,n);if(ZS(this._edgeLabels,s))return i&&(this._edgeLabels[s]=r),this;if(!nA(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=i?r:this._defaultEdgeLabelFn(t,e,n);var o=zA(this._isDirected,t,e,n);return t=o.v,e=o.w,Object.freeze(o),this._edgeObjs[s]=o,PA(this._preds[e],t),PA(this._sucs[t],e),this._in[e][s]=o,this._out[t][s]=o,this._edgeCount++,this}edge(t,e,n){var r=1===arguments.length?UA(this._isDirected,arguments[0]):YA(this._isDirected,t,e,n);return this._edgeLabels[r]}hasEdge(t,e,n){var r=1===arguments.length?UA(this._isDirected,arguments[0]):YA(this._isDirected,t,e,n);return ZS(this._edgeLabels,r)}removeEdge(t,e,n){var r=1===arguments.length?UA(this._isDirected,arguments[0]):YA(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],jA(this._preds[e],t),jA(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this}inEdges(t,e){var n=this._in[t];if(n){var r=QS(n);return e?$S(r,(function(t){return t.v===e})):r}}outEdges(t,e){var n=this._out[t];if(n){var r=QS(n);return e?$S(r,(function(t){return t.w===e})):r}}nodeEdges(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}}function PA(t,e){t[e]?t[e]++:t[e]=1}function jA(t,e){--t[e]||delete t[e]}function YA(t,e,n,r){var i=""+e,a=""+n;if(!t&&i>a){var s=i;i=a,a=s}return i+RA+a+RA+(nA(r)?IA:r)}function zA(t,e,n,r){var i=""+e,a=""+n;if(!t&&i>a){var s=i;i=a,a=s}var o={v:i,w:a};return r&&(o.name=r),o}function UA(t,e){return YA(t,e.v,e.w,e.name)}$A.prototype._nodeCount=0,$A.prototype._edgeCount=0;class WA{constructor(){var t={};t._next=t._prev=t,this._sentinel=t}dequeue(){var t=this._sentinel,e=t._prev;if(e!==t)return HA(e),e}enqueue(t){var e=this._sentinel;t._prev&&t._next&&HA(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e}toString(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,qA)),n=n._prev;return"["+t.join(", ")+"]"}}function HA(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function qA(t,e){if("_next"!==t&&"_prev"!==t)return e}var VA=sk(1);function GA(t,e){if(t.nodeCount()<=1)return[];var n=QA(t,e||VA);return Kw(WS(ZA(n.graph,n.buckets,n.zeroIdx),(function(e){return t.outEdges(e.v,e.w)})))}function ZA(t,e,n){for(var r,i=[],a=e[e.length-1],s=e[0];t.nodeCount();){for(;r=s.dequeue();)XA(t,e,n,r);for(;r=a.dequeue();)XA(t,e,n,r);if(t.nodeCount())for(var o=e.length-2;o>0;--o)if(r=e[o].dequeue()){i=i.concat(XA(t,e,n,r,!0));break}}return i}function XA(t,e,n,r,i){var a=i?[]:void 0;return FS(t.inEdges(r.v),(function(r){var s=t.edge(r),o=t.node(r.v);i&&a.push({v:r.v,w:r.w}),o.out-=s,KA(e,n,o)})),FS(t.outEdges(r.v),(function(r){var i=t.edge(r),a=r.w,s=t.node(a);s.in-=i,KA(e,n,s)})),t.removeNode(r.v),a}function QA(t,e){var n=new $A,r=0,i=0;FS(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),FS(t.edges(),(function(t){var a=n.edge(t.v,t.w)||0,s=e(t),o=a+s;n.setEdge(t.v,t.w,o),i=Math.max(i,n.node(t.v).out+=s),r=Math.max(r,n.node(t.w).in+=s)}));var a=kA(i+r+3).map((function(){return new WA})),s=r+1;return FS(n.nodes(),(function(t){KA(a,s,n.node(t))})),{graph:n,buckets:a,zeroIdx:s}}function KA(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}function JA(t){function e(t){return function(e){return t.edge(e).weight}}FS("greedy"===t.graph().acyclicer?GA(t,e(t)):tL(t),(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,OA("rev"))}))}function tL(t){var e=[],n={},r={};function i(a){ZS(r,a)||(r[a]=!0,n[a]=!0,FS(t.outEdges(a),(function(t){ZS(n,t.w)?e.push(t):i(t.w)})),delete n[a])}return FS(t.nodes(),i),e}function eL(t){FS(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}function nL(t,e,n,r){var i;do{i=OA(r)}while(t.hasNode(i));return n.dummy=e,t.setNode(i,n),i}function rL(t){var e=(new $A).setGraph(t.graph());return FS(t.nodes(),(function(n){e.setNode(n,t.node(n))})),FS(t.edges(),(function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},i=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})})),e}function iL(t){var e=new $A({multigraph:t.isMultigraph()}).setGraph(t.graph());return FS(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),FS(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e}function aL(t,e){var n,r,i=t.x,a=t.y,s=e.x-i,o=e.y-a,l=t.width/2,c=t.height/2;if(!s&&!o)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(o)*l>Math.abs(s)*c?(o<0&&(c=-c),n=c*s/o,r=c):(s<0&&(l=-l),n=l,r=l*o/s),{x:i+n,y:a+r}}function sL(t){var e=WS(kA(hL(t)+1),(function(){return[]}));return FS(t.nodes(),(function(n){var r=t.node(n),i=r.rank;nA(i)||(e[i][r.order]=n)})),e}function oL(t){var e=lA(WS(t.nodes(),(function(e){return t.node(e).rank})));FS(t.nodes(),(function(n){var r=t.node(n);ZS(r,"rank")&&(r.rank-=e)}))}function lL(t){var e=lA(WS(t.nodes(),(function(e){return t.node(e).rank}))),n=[];FS(t.nodes(),(function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)}));var r=0,i=t.graph().nodeRankFactor;FS(n,(function(e,n){nA(e)&&n%i!=0?--r:r&&FS(e,(function(e){t.node(e).rank+=r}))}))}function cL(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),nL(t,"border",i,e)}function hL(t){return sA(WS(t.nodes(),(function(e){var n=t.node(e).rank;if(!nA(n))return n})))}function uL(t,e){var n={lhs:[],rhs:[]};return FS(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n}function dL(t,e){var n=wS();try{return e()}finally{console.log(t+" time: "+(wS()-n)+"ms")}}function pL(t,e){return e()}function fL(t){function e(n){var r=t.children(n),i=t.node(n);if(r.length&&FS(r,e),ZS(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var a=i.minRank,s=i.maxRank+1;a<s;++a)gL(t,"borderLeft","_bl",n,i,a),gL(t,"borderRight","_br",n,i,a)}}FS(t.children(),e)}function gL(t,e,n,r,i,a){var s={width:0,height:0,rank:a,borderType:e},o=i[e][a-1],l=nL(t,"border",s,n);i[e][a]=l,t.setParent(l,r),o&&t.setEdge(o,l,{weight:1})}function yL(t){var e=t.graph().rankdir.toLowerCase();("lr"===e||"rl"===e)&&bL(t)}function mL(t){var e=t.graph().rankdir.toLowerCase();("bt"===e||"rl"===e)&&vL(t),("lr"===e||"rl"===e)&&(kL(t),bL(t))}function bL(t){FS(t.nodes(),(function(e){_L(t.node(e))})),FS(t.edges(),(function(e){_L(t.edge(e))}))}function _L(t){var e=t.width;t.width=t.height,t.height=e}function vL(t){FS(t.nodes(),(function(e){xL(t.node(e))})),FS(t.edges(),(function(e){var n=t.edge(e);FS(n.points,xL),ZS(n,"y")&&xL(n)}))}function xL(t){t.y=-t.y}function kL(t){FS(t.nodes(),(function(e){wL(t.node(e))})),FS(t.edges(),(function(e){var n=t.edge(e);FS(n.points,wL),ZS(n,"x")&&wL(n)}))}function wL(t){var e=t.x;t.x=t.y,t.y=e}function TL(t){var e=nL(t,"root",{},"_root"),n=CL(t),r=sA(QS(n))-1,i=2*r+1;t.graph().nestingRoot=e,FS(t.edges(),(function(e){t.edge(e).minlen*=i}));var a=SL(t)+1;FS(t.children(),(function(s){EL(t,e,i,a,r,n,s)})),t.graph().nodeRankFactor=i}function EL(t,e,n,r,i,a,s){var o=t.children(s);if(o.length){var l=cL(t,"_bt"),c=cL(t,"_bb"),h=t.node(s);t.setParent(l,s),h.borderTop=l,t.setParent(c,s),h.borderBottom=c,FS(o,(function(o){EL(t,e,n,r,i,a,o);var h=t.node(o),u=h.borderTop?h.borderTop:o,d=h.borderBottom?h.borderBottom:o,p=h.borderTop?r:2*r,f=u!==d?1:i-a[s]+1;t.setEdge(l,u,{weight:p,minlen:f,nestingEdge:!0}),t.setEdge(d,c,{weight:p,minlen:f,nestingEdge:!0})})),t.parent(s)||t.setEdge(e,l,{weight:0,minlen:i+a[s]})}else s!==e&&t.setEdge(e,s,{weight:0,minlen:n})}function CL(t){var e={};function n(r,i){var a=t.children(r);a&&a.length&&FS(a,(function(t){n(t,i+1)})),e[r]=i}return FS(t.children(),(function(t){n(t,1)})),e}function SL(t){return TA(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}function AL(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,FS(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}function LL(t,e,n){var r,i={};FS(n,(function(n){for(var a,s,o=t.parent(n);o;){if((a=t.parent(o))?(s=i[a],i[a]=o):(s=r,r=o),s&&s!==o)return void e.setEdge(s,o);o=a}}))}function NL(t,e,n){var r=DL(t),i=new $A({compound:!0}).setGraph({root:r}).setDefaultNodeLabel((function(e){return t.node(e)}));return FS(t.nodes(),(function(a){var s=t.node(a),o=t.parent(a);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(i.setNode(a),i.setParent(a,o||r),FS(t[n](a),(function(e){var n=e.v===a?e.w:e.v,r=i.edge(n,a),s=nA(r)?0:r.weight;i.setEdge(n,a,{weight:t.edge(e).weight+s})})),ZS(s,"minRank")&&i.setNode(a,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))})),i}function DL(t){for(var e;t.hasNode(e=OA("_root")););return e}function OL(t,e){for(var n=0,r=1;r<e.length;++r)n+=ML(t,e[r-1],e[r]);return n}function ML(t,e,n){for(var r=BA(n,WS(n,(function(t,e){return e}))),i=Kw(WS(e,(function(e){return EA(WS(t.outEdges(e),(function(e){return{pos:r[e.w],weight:t.edge(e).weight}})),"pos")}))),a=1;a<n.length;)a<<=1;var s=2*a-1;a-=1;var o=WS(new Array(s),(function(){return 0})),l=0;return FS(i.forEach((function(t){var e=t.pos+a;o[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=o[e+1]),o[e=e-1>>1]+=t.weight;l+=t.weight*n}))),l}function BL(t){var e={},n=$S(t.nodes(),(function(e){return!t.children(e).length})),r=sA(WS(n,(function(e){return t.node(e).rank}))),i=WS(kA(r+1),(function(){return[]}));function a(n){if(!ZS(e,n)){e[n]=!0;var r=t.node(n);i[r.rank].push(n),FS(t.successors(n),a)}}return FS(EA(n,(function(e){return t.node(e).rank})),a),i}function IL(t,e){return WS(e,(function(e){var n=t.inEdges(e);if(n.length){var r=TA(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}}return{v:e}}))}function FL(t,e){var n={};return FS(t,(function(t,e){var r=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};nA(t.barycenter)||(r.barycenter=t.barycenter,r.weight=t.weight)})),FS(e.edges(),(function(t){var e=n[t.v],r=n[t.w];!nA(e)&&!nA(r)&&(r.indegree++,e.out.push(n[t.w]))})),RL($S(n,(function(t){return!t.indegree})))}function RL(t){var e=[];function n(t){return function(e){e.merged||(nA(e.barycenter)||nA(t.barycenter)||e.barycenter>=t.barycenter)&&$L(t,e)}}function r(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var i=t.pop();e.push(i),FS(i.in.reverse(),n(i)),FS(i.out,r(i))}return WS($S(e,(function(t){return!t.merged})),(function(t){return mA(t,["vs","i","barycenter","weight"])}))}function $L(t,e){var n=0,r=0;t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/r,t.weight=r,t.i=Math.min(e.i,t.i),e.merged=!0}function PL(t,e){var n=uL(t,(function(t){return ZS(t,"barycenter")})),r=n.lhs,i=EA(n.rhs,(function(t){return-t.i})),a=[],s=0,o=0,l=0;r.sort(YL(!!e)),l=jL(a,i,l),FS(r,(function(t){l+=t.vs.length,a.push(t.vs),s+=t.barycenter*t.weight,o+=t.weight,l=jL(a,i,l)}));var c={vs:Kw(a)};return o&&(c.barycenter=s/o,c.weight=o),c}function jL(t,e,n){for(var r;e.length&&(r=BS(e)).i<=n;)e.pop(),t.push(r.vs),n++;return n}function YL(t){return function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:t?n.i-e.i:e.i-n.i}}function zL(t,e,n,r){var i=t.children(e),a=t.node(e),s=a?a.borderLeft:void 0,o=a?a.borderRight:void 0,l={};s&&(i=$S(i,(function(t){return t!==s&&t!==o})));var c=IL(t,i);FS(c,(function(e){if(t.children(e.v).length){var i=zL(t,e.v,n,r);l[e.v]=i,ZS(i,"barycenter")&&WL(e,i)}}));var h=FL(c,n);UL(h,l);var u=PL(h,r);if(s&&(u.vs=Kw([s,u.vs,o]),t.predecessors(s).length)){var d=t.node(t.predecessors(s)[0]),p=t.node(t.predecessors(o)[0]);ZS(u,"barycenter")||(u.barycenter=0,u.weight=0),u.barycenter=(u.barycenter*u.weight+d.order+p.order)/(u.weight+2),u.weight+=2}return u}function UL(t,e){FS(t,(function(t){t.vs=Kw(t.vs.map((function(t){return e[t]?e[t].vs:t})))}))}function WL(t,e){nA(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight)}function HL(t){var e=hL(t),n=qL(t,kA(1,e+1),"inEdges"),r=qL(t,kA(e-1,-1,-1),"outEdges"),i=BL(t);GL(t,i);for(var a,s=Number.POSITIVE_INFINITY,o=0,l=0;l<4;++o,++l){VL(o%2?n:r,o%4>=2);var c=OL(t,i=sL(t));c<s&&(l=0,a=mC(i),s=c)}GL(t,a)}function qL(t,e,n){return WS(e,(function(e){return NL(t,e,n)}))}function VL(t,e){var n=new $A;FS(t,(function(t){var r=t.graph().root,i=zL(t,r,n,e);FS(i.vs,(function(e,n){t.node(e).order=n})),LL(t,n,i.vs)}))}function GL(t,e){FS(e,(function(e){FS(e,(function(e,n){t.node(e).order=n}))}))}function ZL(t){var e=QL(t);FS(t.graph().dummyChains,(function(n){for(var r=t.node(n),i=r.edgeObj,a=XL(t,e,i.v,i.w),s=a.path,o=a.lca,l=0,c=s[l],h=!0;n!==i.w;){if(r=t.node(n),h){for(;(c=s[l])!==o&&t.node(c).maxRank<r.rank;)l++;c===o&&(h=!1)}if(!h){for(;l<s.length-1&&t.node(c=s[l+1]).minRank<=r.rank;)l++;c=s[l]}t.setParent(n,c),n=t.successors(n)[0]}}))}function XL(t,e,n,r){var i,a,s=[],o=[],l=Math.min(e[n].low,e[r].low),c=Math.max(e[n].lim,e[r].lim);i=n;do{i=t.parent(i),s.push(i)}while(i&&(e[i].low>l||c>e[i].lim));for(a=i,i=r;(i=t.parent(i))!==a;)o.push(i);return{path:s.concat(o.reverse()),lca:a}}function QL(t){var e={},n=0;function r(i){var a=n;FS(t.children(i),r),e[i]={low:a,lim:n++}}return FS(t.children(),r),e}function KL(t,e){var n={};function r(e,r){var i=0,a=0,s=e.length,o=BS(r);return FS(r,(function(e,l){var c=tN(t,e),h=c?t.node(c).order:s;(c||e===o)&&(FS(r.slice(a,l+1),(function(e){FS(t.predecessors(e),(function(r){var a=t.node(r),s=a.order;(s<i||h<s)&&(!a.dummy||!t.node(e).dummy)&&eN(n,r,e)}))})),a=l+1,i=h)})),r}return TA(e,r),n}function JL(t,e){var n={};function r(e,r,i,a,s){var o;FS(kA(r,i),(function(r){o=e[r],t.node(o).dummy&&FS(t.predecessors(o),(function(e){var r=t.node(e);r.dummy&&(r.order<a||r.order>s)&&eN(n,e,o)}))}))}function i(e,n){var i,a=-1,s=0;return FS(n,(function(o,l){if("border"===t.node(o).dummy){var c=t.predecessors(o);c.length&&(i=t.node(c[0]).order,r(n,s,l,a,i),s=l,a=i)}r(n,s,n.length,i,e.length)})),n}return TA(e,i),n}function tN(t,e){if(t.node(e).dummy)return zS(t.predecessors(e),(function(e){return t.node(e).dummy}))}function eN(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function nN(t,e,n){if(e>n){var r=e;e=n,n=r}return ZS(t[e],n)}function rN(t,e,n,r){var i={},a={},s={};return FS(e,(function(t){FS(t,(function(t,e){i[t]=t,a[t]=t,s[t]=e}))})),FS(e,(function(t){var e=-1;FS(t,(function(t){var o=r(t);if(o.length)for(var l=((o=EA(o,(function(t){return s[t]}))).length-1)/2,c=Math.floor(l),h=Math.ceil(l);c<=h;++c){var u=o[c];a[t]===t&&e<s[u]&&!nN(n,t,u)&&(a[u]=t,a[t]=i[t]=i[u],e=s[u])}}))})),{root:i,align:a}}function iN(t,e,n,r,i){var a={},s=aN(t,e,n,i),o=i?"borderLeft":"borderRight";function l(t,e){for(var n=s.nodes(),r=n.pop(),i={};r;)i[r]?t(r):(i[r]=!0,n.push(r),n=n.concat(e(r))),r=n.pop()}function c(t){a[t]=s.inEdges(t).reduce((function(t,e){return Math.max(t,a[e.v]+s.edge(e))}),0)}function h(e){var n=s.outEdges(e).reduce((function(t,e){return Math.min(t,a[e.w]-s.edge(e))}),Number.POSITIVE_INFINITY),r=t.node(e);n!==Number.POSITIVE_INFINITY&&r.borderType!==o&&(a[e]=Math.max(a[e],n))}return l(c,s.predecessors.bind(s)),l(h,s.successors.bind(s)),FS(r,(function(t){a[t]=a[n[t]]})),a}function aN(t,e,n,r){var i=new $A,a=t.graph(),s=hN(a.nodesep,a.edgesep,r);return FS(e,(function(e){var r;FS(e,(function(e){var a=n[e];if(i.setNode(a),r){var o=n[r],l=i.edge(o,a);i.setEdge(o,a,Math.max(s(t,e,r),l||0))}r=e}))})),i}function sN(t,e){return cA(QS(e),(function(e){var n=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY;return HS(e,(function(e,i){var a=uN(t,i)/2;n=Math.max(e+a,n),r=Math.min(e-a,r)})),n-r}))}function oN(t,e){var n=QS(e),r=lA(n),i=sA(n);FS(["u","d"],(function(n){FS(["l","r"],(function(a){var s,o=n+a,l=t[o];if(l!==e){var c=QS(l);(s="l"===a?r-lA(c):i-sA(c))&&(t[o]=iA(l,(function(t){return t+s})))}}))}))}function lN(t,e){return iA(t.ul,(function(n,r){if(e)return t[e.toLowerCase()][r];var i=EA(WS(t,r));return(i[1]+i[2])/2}))}function cN(t){var e,n=sL(t),r=oA(KL(t,n),JL(t,n)),i={};FS(["u","d"],(function(a){e="u"===a?n:QS(n).reverse(),FS(["l","r"],(function(n){"r"===n&&(e=WS(e,(function(t){return QS(t).reverse()})));var s=("u"===a?t.predecessors:t.successors).bind(t),o=rN(t,e,r,s),l=iN(t,e,o.root,o.align,"r"===n);"r"===n&&(l=iA(l,(function(t){return-t}))),i[a+n]=l}))}));var a=sN(t,i);return oN(i,a),lN(i,t.graph().align)}function hN(t,e,n){return function(r,i,a){var s,o=r.node(i),l=r.node(a),c=0;if(c+=o.width/2,ZS(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":s=-o.width/2;break;case"r":s=o.width/2}if(s&&(c+=n?s:-s),s=0,c+=(o.dummy?e:t)/2,c+=(l.dummy?e:t)/2,c+=l.width/2,ZS(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":s=l.width/2;break;case"r":s=-l.width/2}return s&&(c+=n?s:-s),s=0,c}}function uN(t,e){return t.node(e).width}function dN(t){pN(t=iL(t)),FS(cN(t),(function(e,n){t.node(n).x=e}))}function pN(t){var e=sL(t),n=t.graph().ranksep,r=0;FS(e,(function(e){var i=sA(WS(e,(function(e){return t.node(e).height})));FS(e,(function(e){t.node(e).y=r+i/2})),r+=i+n}))}function fN(t,e){var n=e&&e.debugTiming?dL:pL;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return EN(t)}));n(" runLayout",(function(){gN(e,n)})),n(" updateInputGraph",(function(){yN(t,e)}))}))}function gN(t,e){e(" makeSpaceForEdgeLabels",(function(){CN(t)})),e(" removeSelfEdges",(function(){IN(t)})),e(" acyclic",(function(){JA(t)})),e(" nestingGraph.run",(function(){TL(t)})),e(" rank",(function(){dD(iL(t))})),e(" injectEdgeLabelProxies",(function(){SN(t)})),e(" removeEmptyRanks",(function(){lL(t)})),e(" nestingGraph.cleanup",(function(){AL(t)})),e(" normalizeRanks",(function(){oL(t)})),e(" assignRankMinMax",(function(){AN(t)})),e(" removeEdgeLabelProxies",(function(){LN(t)})),e(" normalize.run",(function(){jN(t)})),e(" parentDummyChains",(function(){ZL(t)})),e(" addBorderSegments",(function(){fL(t)})),e(" order",(function(){HL(t)})),e(" insertSelfEdges",(function(){FN(t)})),e(" adjustCoordinateSystem",(function(){yL(t)})),e(" position",(function(){dN(t)})),e(" positionSelfEdges",(function(){RN(t)})),e(" removeBorderNodes",(function(){BN(t)})),e(" normalize.undo",(function(){zN(t)})),e(" fixupEdgeLabelCoords",(function(){ON(t)})),e(" undoCoordinateSystem",(function(){mL(t)})),e(" translateGraph",(function(){NN(t)})),e(" assignNodeIntersects",(function(){DN(t)})),e(" reversePoints",(function(){MN(t)})),e(" acyclic.undo",(function(){eL(t)}))}function yN(t,e){FS(t.nodes(),(function(n){var r=t.node(n),i=e.node(n);r&&(r.x=i.x,r.y=i.y,e.children(n).length&&(r.width=i.width,r.height=i.height))})),FS(t.edges(),(function(n){var r=t.edge(n),i=e.edge(n);r.points=i.points,ZS(i,"x")&&(r.x=i.x,r.y=i.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}var mN=["nodesep","edgesep","ranksep","marginx","marginy"],bN={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_N=["acyclicer","ranker","rankdir","align"],vN=["width","height"],xN={width:0,height:0},kN=["minlen","weight","width","height","labeloffset"],wN={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},TN=["labelpos"];function EN(t){var e=new $A({multigraph:!0,compound:!0}),n=PN(t.graph());return e.setGraph(oA({},bN,$N(n,mN),mA(n,_N))),FS(t.nodes(),(function(n){var r=PN(t.node(n));e.setNode(n,CS($N(r,vN),xN)),e.setParent(n,t.parent(n))})),FS(t.edges(),(function(n){var r=PN(t.edge(n));e.setEdge(n,oA({},wN,$N(r,kN),mA(r,TN)))})),e}function CN(t){var e=t.graph();e.ranksep/=2,FS(t.edges(),(function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}function SN(t){FS(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e:e};nL(t,"edge-proxy",i,"_ep")}}))}function AN(t){var e=0;FS(t.nodes(),(function(n){var r=t.node(n);r.borderTop&&(r.minRank=t.node(r.borderTop).rank,r.maxRank=t.node(r.borderBottom).rank,e=sA(e,r.maxRank))})),t.graph().maxRank=e}function LN(t){FS(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}function NN(t){var e=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,i=0,a=t.graph(),s=a.marginx||0,o=a.marginy||0;function l(t){var a=t.x,s=t.y,o=t.width,l=t.height;e=Math.min(e,a-o/2),n=Math.max(n,a+o/2),r=Math.min(r,s-l/2),i=Math.max(i,s+l/2)}FS(t.nodes(),(function(e){l(t.node(e))})),FS(t.edges(),(function(e){var n=t.edge(e);ZS(n,"x")&&l(n)})),e-=s,r-=o,FS(t.nodes(),(function(n){var i=t.node(n);i.x-=e,i.y-=r})),FS(t.edges(),(function(n){var i=t.edge(n);FS(i.points,(function(t){t.x-=e,t.y-=r})),ZS(i,"x")&&(i.x-=e),ZS(i,"y")&&(i.y-=r)})),a.width=n-e+s,a.height=i-r+o}function DN(t){FS(t.edges(),(function(e){var n,r,i=t.edge(e),a=t.node(e.v),s=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=s,r=a),i.points.unshift(aL(a,n)),i.points.push(aL(s,r))}))}function ON(t){FS(t.edges(),(function(e){var n=t.edge(e);if(ZS(n,"x"))switch(("l"===n.labelpos||"r"===n.labelpos)&&(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}function MN(t){FS(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}function BN(t){FS(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),r=t.node(n.borderTop),i=t.node(n.borderBottom),a=t.node(BS(n.borderLeft)),s=t.node(BS(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(i.y-r.y),n.x=a.x+n.width/2,n.y=r.y+n.height/2}})),FS(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}function IN(t){FS(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}}))}function FN(t){FS(sL(t),(function(e){var n=0;FS(e,(function(e,r){var i=t.node(e);i.order=r+n,FS(i.selfEdges,(function(e){nL(t,"selfedge",{width:e.label.width,height:e.label.height,rank:i.rank,order:r+ ++n,e:e.e,label:e.label},"_se")})),delete i.selfEdges}))}))}function RN(t){FS(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,a=r.y,s=n.x-i,o=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*s/3,y:a-o},{x:i+5*s/6,y:a-o},{x:i+s,y:a},{x:i+5*s/6,y:a+o},{x:i+2*s/3,y:a+o}],n.label.x=n.x,n.label.y=n.y}}))}function $N(t,e){return iA(mA(t,e),Number)}function PN(t){var e={};return FS(t,(function(t,n){e[n.toLowerCase()]=t})),e}function jN(t){t.graph().dummyChains=[],FS(t.edges(),(function(e){YN(t,e)}))}function YN(t,e){var n=e.v,r=t.node(n).rank,i=e.w,a=t.node(i).rank,s=e.name,o=t.edge(e),l=o.labelRank;if(a!==r+1){var c,h,u;for(t.removeEdge(e),u=0,++r;r<a;++u,++r)o.points=[],c=nL(t,"edge",h={width:0,height:0,edgeLabel:o,edgeObj:e,rank:r},"_d"),r===l&&(h.width=o.width,h.height=o.height,h.dummy="edge-label",h.labelpos=o.labelpos),t.setEdge(n,c,{weight:o.weight},s),0===u&&t.graph().dummyChains.push(c),n=c;t.setEdge(n,i,{weight:o.weight},s)}}function zN(t){FS(t.graph().dummyChains,(function(e){var n,r=t.node(e),i=r.edgeLabel;for(t.setEdge(r.edgeObj,i);r.dummy;)n=t.successors(e)[0],t.removeNode(e),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),e=n,r=t.node(e)}))}function UN(t){var e={};function n(r){var i=t.node(r);if(ZS(e,r))return i.rank;e[r]=!0;var a=lA(WS(t.outEdges(r),(function(e){return n(e.w)-t.edge(e).minlen})));return(a===Number.POSITIVE_INFINITY||null==a)&&(a=0),i.rank=a}FS(t.sources(),n)}function WN(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function HN(t){var e,n,r=new $A({directed:!1}),i=t.nodes()[0],a=t.nodeCount();for(r.setNode(i,{});qN(r,t)<a;)e=VN(r,t),n=r.hasNode(e.v)?WN(t,e):-WN(t,e),GN(r,t,n);return r}function qN(t,e){function n(r){FS(e.nodeEdges(r),(function(i){var a=i.v,s=r===a?i.w:a;!t.hasNode(s)&&!WN(e,i)&&(t.setNode(s,{}),t.setEdge(r,s,{}),n(s))}))}return FS(t.nodes(),n),t.nodeCount()}function VN(t,e){return cA(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return WN(e,n)}))}function GN(t,e,n){FS(t.nodes(),(function(t){e.node(t).rank+=n}))}function ZN(){}function XN(t,e,n){Nx(e)||(e=[e]);var r=(t.isDirected()?t.successors:t.neighbors).bind(t),i=[],a={};return FS(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);QN(t,e,"post"===n,a,r,i)})),i}function QN(t,e,n,r,i,a){ZS(r,e)||(r[e]=!0,n||a.push(e),FS(i(e),(function(e){QN(t,e,n,r,i,a)})),n&&a.push(e))}function KN(t,e){return XN(t,e,"post")}function JN(t,e){return XN(t,e,"pre")}function tD(t){UN(t=rL(t));var e,n=HN(t);for(iD(n),eD(n,t);e=sD(n);)lD(n,t,e,oD(n,t,e))}function eD(t,e){var n=KN(t,t.nodes());FS(n=n.slice(0,n.length-1),(function(n){nD(t,e,n)}))}function nD(t,e,n){var r=t.node(n).parent;t.edge(n,r).cutvalue=rD(t,e,n)}function rD(t,e,n){var r=t.node(n).parent,i=!0,a=e.edge(n,r),s=0;return a||(i=!1,a=e.edge(r,n)),s=a.weight,FS(e.nodeEdges(n),(function(a){var o=a.v===n,l=o?a.w:a.v;if(l!==r){var c=o===i,h=e.edge(a).weight;if(s+=c?h:-h,hD(t,n,l)){var u=t.edge(n,l).cutvalue;s+=c?-u:u}}})),s}function iD(t,e){arguments.length<2&&(e=t.nodes()[0]),aD(t,{},1,e)}function aD(t,e,n,r,i){var a=n,s=t.node(r);return e[r]=!0,FS(t.neighbors(r),(function(i){ZS(e,i)||(n=aD(t,e,n,i,r))})),s.low=a,s.lim=n++,i?s.parent=i:delete s.parent,n}function sD(t){return zS(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function oD(t,e,n){var r=n.v,i=n.w;e.hasEdge(r,i)||(r=n.w,i=n.v);var a=t.node(r),s=t.node(i),o=a,l=!1;return a.lim>s.lim&&(o=s,l=!0),cA($S(e.edges(),(function(e){return l===uD(t,t.node(e.v),o)&&l!==uD(t,t.node(e.w),o)})),(function(t){return WN(e,t)}))}function lD(t,e,n,r){var i=n.v,a=n.w;t.removeEdge(i,a),t.setEdge(r.v,r.w,{}),iD(t),eD(t,e),cD(t,e)}function cD(t,e){var n=zS(t.nodes(),(function(t){return!e.node(t).parent})),r=JN(t,n);FS(r=r.slice(1),(function(n){var r=t.node(n).parent,i=e.edge(n,r),a=!1;i||(i=e.edge(r,n),a=!0),e.node(n).rank=e.node(r).rank+(a?i.minlen:-i.minlen)}))}function hD(t,e,n){return t.hasEdge(e,n)}function uD(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function dD(t){switch(t.graph().ranker){case"network-simplex":default:gD(t);break;case"tight-tree":fD(t);break;case"longest-path":pD(t)}}ZN.prototype=new Error,tD.initLowLimValues=iD,tD.initCutValues=eD,tD.calcCutValue=rD,tD.leaveEdge=sD,tD.enterEdge=oD,tD.exchangeEdges=lD;var pD=UN;function fD(t){UN(t),HN(t)}function gD(t){tD(t)}let yD=0;const mD=function(t,e,n,r){p.debug("Rendering class ",e,n);const i=e.id,a={id:i,label:e.id,width:0,height:0},s=t.append("g").attr("id",r.db.lookUpDomId(i)).attr("class","classGroup");let o;o=e.link?s.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):s.append("text").attr("y",n.textHeight+n.padding).attr("x",0);let l=!0;e.annotations.forEach((function(t){const e=o.append("tspan").text("\xab"+t+"\xbb");l||e.attr("dy",n.textHeight),l=!1}));let c=e.id;void 0!==e.type&&""!==e.type&&(c+="<"+e.type+">");const h=o.append("tspan").text(c).attr("class","title");l||h.attr("dy",n.textHeight);const u=o.node().getBBox().height,d=s.append("line").attr("x1",0).attr("y1",n.padding+u+n.dividerMargin/2).attr("y2",n.padding+u+n.dividerMargin/2),f=s.append("text").attr("x",n.padding).attr("y",u+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.members.forEach((function(t){kD(f,t,l,n),l=!1}));const g=f.node().getBBox(),y=s.append("line").attr("x1",0).attr("y1",n.padding+u+n.dividerMargin+g.height).attr("y2",n.padding+u+n.dividerMargin+g.height),m=s.append("text").attr("x",n.padding).attr("y",u+2*n.dividerMargin+g.height+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.methods.forEach((function(t){kD(m,t,l,n),l=!1}));const b=s.node().getBBox();var _=" ";e.cssClasses.length>0&&(_+=e.cssClasses.join(" "));const v=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",b.width+2*n.padding).attr("height",b.height+n.padding+.5*n.dividerMargin).attr("class",_).node().getBBox().width;return o.node().childNodes.forEach((function(t){t.setAttribute("x",(v-t.getBBox().width)/2)})),e.tooltip&&o.insert("title").text(e.tooltip),d.attr("x2",v),y.attr("x2",v),a.width=v,a.height=b.height+n.padding+.5*n.dividerMargin,a},bD=function(t){const e=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,n=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let r=t.match(e),i=t.match(n);return r&&!i?_D(r):i?vD(i):xD(t)},_D=function(t){let e="",n="";try{let r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",a=t[3]?Iu(t[3].trim()):"",s=t[4]?t[4].trim():"",o=t[5]?t[5].trim():"";n=r+i+a+" "+s,e=wD(o)}catch{n=t}return{displayText:n,cssStyle:e}},vD=function(t){let e="",n="";try{let r=t[1]?t[1].trim():"",i=t[2]?t[2].trim():"",a=t[3]?Iu(t[3].trim()):"",s=t[4]?t[4].trim():"";n=r+i+"("+a+")"+(t[5]?" : "+Iu(t[5]).trim():""),e=wD(s)}catch{n=t}return{displayText:n,cssStyle:e}},xD=function(t){let e="",n="",r="",i=t.indexOf("("),a=t.indexOf(")");if(i>1&&a>i&&a<=t.length){let s="",o="",l=t.substring(0,1);l.match(/\w/)?o=t.substring(0,i).trim():(l.match(/[#+~-]/)&&(s=l),o=t.substring(1,i).trim());const c=t.substring(i+1,a);t.substring(a+1,1),n=wD(t.substring(a+1,a+2)),e=s+o+"("+Iu(c.trim())+")",a<t.length&&(r=t.substring(a+2).trim(),""!==r&&(r=" : "+Iu(r),e+=r))}else e=Iu(t);return{displayText:e,cssStyle:n}},kD=function(t,e,n,r){let i=bD(e);const a=t.append("tspan").attr("x",r.padding).text(i.displayText);""!==i.cssStyle&&a.attr("style",i.cssStyle),n||a.attr("dy",r.textHeight)},wD=function(t){switch(t){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},TD={drawClass:mD,drawEdge:function(t,e,n,r,i){const a=function(t){switch(t){case i.db.relationType.AGGREGATION:return"aggregation";case i.db.relationType.EXTENSION:return"extension";case i.db.relationType.COMPOSITION:return"composition";case i.db.relationType.DEPENDENCY:return"dependency";case i.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const s=e.points,o=zc().x((function(t){return t.x})).y((function(t){return t.y})).curve(Zc),l=t.append("path").attr("d",o(s)).attr("id","edge"+yD).attr("class","relation");let c,h,u="";r.arrowMarkerAbsolute&&(u=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,u=u.replace(/\(/g,"\\("),u=u.replace(/\)/g,"\\)")),1==n.relation.lineType&&l.attr("class","relation dashed-line"),10==n.relation.lineType&&l.attr("class","relation dotted-line"),"none"!==n.relation.type1&&l.attr("marker-start","url("+u+"#"+a(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&l.attr("marker-end","url("+u+"#"+a(n.relation.type2)+"End)");const d=e.points.length;let f,g,y,m,b=Qy.calcLabelPosition(e.points);if(c=b.x,h=b.y,d%2!=0&&d>1){let t=Qy.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),r=Qy.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[d-1]);p.debug("cardinality_1_point "+JSON.stringify(t)),p.debug("cardinality_2_point "+JSON.stringify(r)),f=t.x,g=t.y,y=r.x,m=r.y}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",c).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=i;const a=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",a.x-r.padding/2).attr("y",a.y-r.padding/2).attr("width",a.width+r.padding).attr("height",a.height+r.padding)}p.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",f).attr("y",g).attr("fill","black").attr("font-size","6").text(n.relationTitle1),void 0!==n.relationTitle2&&"none"!==n.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",y).attr("y",m).attr("fill","black").attr("font-size","6").text(n.relationTitle2),yD++},drawNote:function(t,e,n,r){p.debug("Rendering note ",e,n);const i=e.id,a={id:i,text:e.text,width:0,height:0},s=t.append("g").attr("id",i).attr("class","classGroup");let o=s.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const l=JSON.parse(`"${e.text}"`).split("\n");l.forEach((function(t){p.debug(`Adding line: ${t}`),o.append("tspan").text(t).attr("class","title").attr("dy",n.textHeight)}));const c=s.node().getBBox(),h=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",c.width+2*n.padding).attr("height",c.height+l.length*n.textHeight+n.padding+.5*n.dividerMargin).node().getBBox().width;return o.node().childNodes.forEach((function(t){t.setAttribute("x",(h-t.getBBox().width)/2)})),a.width=h,a.height=c.height+l.length*n.textHeight+n.padding+.5*n.dividerMargin,a},parseMember:bD};let ED={};const CD=20,SD=function(t){const e=Object.entries(ED).find((e=>e[1].label===t));if(e)return e[0]},AD=function(t){t.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},LD={draw:function(t,e,n,r){const i=tb().class;ED={},p.info("Rendering diagram "+t);const a=tb().securityLevel;let s;"sandbox"===a&&(s=dn("#i"+e));const o=dn("sandbox"===a?s.nodes()[0].contentDocument.body:"body"),l=o.select(`[id='${e}']`);AD(l);const c=new $A({multigraph:!0});c.setGraph({isMultiGraph:!0}),c.setDefaultEdgeLabel((function(){return{}}));const h=r.db.getClasses(),u=Object.keys(h);for(const m of u){const t=h[m],e=TD.drawClass(l,t,i,r);ED[e.id]=e,c.setNode(e.id,e),p.info("Org height: "+e.height)}r.db.getRelations().forEach((function(t){p.info("tjoho"+SD(t.id1)+SD(t.id2)+JSON.stringify(t)),c.setEdge(SD(t.id1),SD(t.id2),{relation:t},t.title||"DEFAULT")})),r.db.getNotes().forEach((function(t){p.debug(`Adding note: ${JSON.stringify(t)}`);const e=TD.drawNote(l,t,i,r);ED[e.id]=e,c.setNode(e.id,e),t.class&&t.class in h&&c.setEdge(t.id,SD(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),fN(c),c.nodes().forEach((function(t){void 0!==t&&void 0!==c.node(t)&&(p.debug("Node "+t+": "+JSON.stringify(c.node(t))),o.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(c.node(t).x-c.node(t).width/2)+","+(c.node(t).y-c.node(t).height/2)+" )"))})),c.edges().forEach((function(t){void 0!==t&&void 0!==c.edge(t)&&(p.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(c.edge(t))),TD.drawEdge(l,c.edge(t),c.edge(t).relation,i,r))}));const d=l.node().getBBox(),f=d.width+2*CD,g=d.height+2*CD;hb(l,g,f,i.useMaxWidth);const y=`${d.x-CD} ${d.y-CD} ${f} ${g}`;p.debug(`viewBox ${y}`),l.attr("viewBox",y)}};function ND(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:DD(t),edges:OD(t)};return nA(t.graph())||(e.value=fC(t.graph())),e}function DD(t){return WS(t.nodes(),(function(e){var n=t.node(e),r=t.parent(e),i={v:e};return nA(n)||(i.value=n),nA(r)||(i.parent=r),i}))}function OD(t){return WS(t.edges(),(function(e){var n=t.edge(e),r={v:e.v,w:e.w};return nA(e.name)||(r.name=e.name),nA(n)||(r.value=n),r}))}const MD=(t,e,n,r)=>{e.forEach((e=>{BD[e](t,n,r)}))},BD={extension:(t,e,n)=>{p.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(t,e)=>{t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 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")}},ID=MD;function FD(t,e){e&&t.attr("style",e)}function RD(t){const e=dn(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=e.append("xhtml:div"),r=t.label,i=t.isNode?"nodeLabel":"edgeLabel";return n.html('<span class="'+i+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+r+"</span>"),FD(n,t.labelStyle),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}const $D=(t,e,n,r)=>{let i=t||"";if("object"==typeof i&&(i=i[0]),Bu(tb().flowchart.htmlLabels))return i=i.replace(/\\n|\n/g,"<br />"),p.info("vertexText"+i),RD({isNode:r,label:zY(i).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")});{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let r=[];r="string"==typeof i?i.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(i)?i:[];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"),n?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=e.trim(),t.appendChild(r)}return t}},PD=(t,e,n,r)=>{let i;i=n||"node default";const a=t.insert("g").attr("class",i).attr("id",e.domId||e.id),s=a.insert("g").attr("class","label").attr("style",e.labelStyle);let o;o=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const l=s.node().appendChild($D(Lu(zY(o),tb()),e.labelStyle,!1,r));let c=l.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=l.children[0],e=dn(l);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}const h=e.padding/2;return s.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),{shapeSvg:a,bbox:c,halfPadding:h,label:s}},jD=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height};function YD(t,e,n,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+","+n/2+")")}let zD={},UD={},WD={};const HD=()=>{UD={},WD={},zD={}},qD=(t,e)=>(p.trace("In isDecendant",e," ",t," = ",UD[e].includes(t)),!!UD[e].includes(t)),VD=(t,e)=>(p.info("Decendants of ",e," is ",UD[e]),p.info("Edge is ",t),t.v!==e&&t.w!==e&&(UD[e]?UD[e].includes(t.v)||qD(t.v,e)||qD(t.w,e)||UD[e].includes(t.w):(p.debug("Tilt, ",e,",not in decendants"),!1))),GD=(t,e,n,r)=>{p.warn("Copying children of ",t,"root",r,"data",e.node(t),r);const i=e.children(t)||[];t!==r&&i.push(t),p.warn("Copying (nodes) clusterId",t,"nodes",i),i.forEach((i=>{if(e.children(i).length>0)GD(i,e,n,r);else{const a=e.node(i);p.info("cp ",i," to ",r," with parent ",t),n.setNode(i,a),r!==e.parent(i)&&(p.warn("Setting parent",i,e.parent(i)),n.setParent(i,e.parent(i))),t!==r&&i!==t?(p.debug("Setting parent",i,t),n.setParent(i,t)):(p.info("In copy ",t,"root",r,"data",e.node(t),r),p.debug("Not Setting parent for node=",i,"cluster!==rootId",t!==r,"node!==clusterId",i!==t));const s=e.edges(i);p.debug("Copying Edges",s),s.forEach((i=>{p.info("Edge",i);const a=e.edge(i.v,i.w,i.name);p.info("Edge data",a,r);try{VD(i,r)?(p.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),p.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):p.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",t)}catch(s){p.error(s)}}))}p.debug("Removing node",i),e.removeNode(i)}))},ZD=(t,e)=>{const n=e.children(t);let r=[...n];for(const i of n)WD[i]=t,r=[...r,...ZD(i,e)];return r},XD=(t,e)=>{p.trace("Searching",t);const n=e.children(t);if(p.trace("Searching children of id ",t,n),n.length<1)return p.trace("This is a valid node",t),t;for(const r of n){const n=XD(r,e);if(n)return p.trace("Found replacement for",t," => ",n),n}},QD=t=>zD[t]&&zD[t].externalConnections&&zD[t]?zD[t].id:t,KD=(t,e)=>{!t||e>10?p.debug("Opting out, no graph "):(p.debug("Opting in, graph "),t.nodes().forEach((function(e){t.children(e).length>0&&(p.warn("Cluster identified",e," Replacement id in edges: ",XD(e,t)),UD[e]=ZD(e,t),zD[e]={id:XD(e,t),clusterData:t.node(e)})})),t.nodes().forEach((function(e){const n=t.children(e),r=t.edges();n.length>0?(p.debug("Cluster identified",e,UD),r.forEach((t=>{t.v!==e&&t.w!==e&&qD(t.v,e)^qD(t.w,e)&&(p.warn("Edge: ",t," leaves cluster ",e),p.warn("Decendants of XXX ",e,": ",UD[e]),zD[e].externalConnections=!0)}))):p.debug("Not a cluster ",e,UD)})),t.edges().forEach((function(e){const n=t.edge(e);p.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),p.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let r=e.v,i=e.w;if(p.warn("Fix XXX",zD,"ids:",e.v,e.w,"Translating: ",zD[e.v]," --- ",zD[e.w]),zD[e.v]&&zD[e.w]&&zD[e.v]===zD[e.w]){p.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),p.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),r=QD(e.v),i=QD(e.w),t.removeEdge(e.v,e.w,e.name);const a=e.w+"---"+e.v;t.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const s=JSON.parse(JSON.stringify(n)),o=JSON.parse(JSON.stringify(n));s.label="",s.arrowTypeEnd="none",o.label="",s.fromCluster=e.v,o.toCluster=e.v,t.setEdge(r,a,s,e.name+"-cyclic-special"),t.setEdge(a,i,o,e.name+"-cyclic-special")}else(zD[e.v]||zD[e.w])&&(p.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),r=QD(e.v),i=QD(e.w),t.removeEdge(e.v,e.w,e.name),r!==e.v&&(n.fromCluster=e.v),i!==e.w&&(n.toCluster=e.w),p.warn("Fix Replacing with XXX",r,i,e.name),t.setEdge(r,i,n,e.name))})),p.warn("Adjusted Graph",ND(t)),JD(t,0),p.trace(zD))},JD=(t,e)=>{if(p.warn("extractor - ",e,ND(t),t.children("D")),e>10)return void p.error("Bailing out");let n=t.nodes(),r=!1;for(const i of n){const e=t.children(i);r=r||e.length>0}if(r){p.debug("Nodes = ",n,e);for(const r of n)if(p.debug("Extracting node",r,zD,zD[r]&&!zD[r].externalConnections,!t.parent(r),t.node(r),t.children("D")," Depth ",e),zD[r])if(!zD[r].externalConnections&&t.children(r)&&t.children(r).length>0){p.warn("Cluster without external connections, without a parent and with children",r,e);let n="TB"===t.graph().rankdir?"LR":"TB";zD[r]&&zD[r].clusterData&&zD[r].clusterData.dir&&(n=zD[r].clusterData.dir,p.warn("Fixing dir",zD[r].clusterData.dir,n));const i=new $A({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));p.warn("Old graph before copy",ND(t)),GD(r,t,i,r),t.setNode(r,{clusterNode:!0,id:r,clusterData:zD[r].clusterData,labelText:zD[r].labelText,graph:i}),p.warn("New graph after copy node: (",r,")",ND(i)),p.debug("Old graph after copy",ND(t))}else p.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!zD[r].externalConnections," no parent: ",!t.parent(r)," children ",t.children(r)&&t.children(r).length>0,t.children("D"),e),p.debug(zD);else p.debug("Not a cluster",r,e);n=t.nodes(),p.warn("New list of nodes",n);for(const r of n){const n=t.node(r);p.warn(" Now next level",r,n),n.clusterNode&&JD(n.graph,e+1)}}else p.debug("Done, no node has children",t.nodes())},tO=(t,e)=>{if(0===e.length)return[];let n=Object.assign(e);return e.forEach((e=>{const r=t.children(e),i=tO(t,r);n=[...n,...i]})),n},eO=t=>tO(t,t.children());function nO(t,e){return t.intersect(e)}function rO(t,e,n,r){var i=t.x,a=t.y,s=i-r.x,o=a-r.y,l=Math.sqrt(e*e*o*o+n*n*s*s),c=Math.abs(e*n*s/l);r.x<i&&(c=-c);var h=Math.abs(e*n*o/l);return r.y<a&&(h=-h),{x:i+c,y:a+h}}function iO(t,e,n){return rO(t,e,e,n)}function aO(t,e,n,r){var i,a,s,o,l,c,h,u,d,p,f,g,y;if(i=e.y-t.y,s=t.x-e.x,l=e.x*t.y-t.x*e.y,d=i*n.x+s*n.y+l,p=i*r.x+s*r.y+l,!(0!==d&&0!==p&&sO(d,p)||(a=r.y-n.y,o=n.x-r.x,c=r.x*n.y-n.x*r.y,h=a*t.x+o*t.y+c,u=a*e.x+o*e.y+c,0!==h&&0!==u&&sO(h,u)||(f=i*o-a*s,0===f))))return g=Math.abs(f/2),{x:(y=s*c-o*l)<0?(y-g)/f:(y+g)/f,y:(y=a*l-i*c)<0?(y-g)/f:(y+g)/f}}function sO(t,e){return t*e>0}function oO(t,e,n){var r=t.x,i=t.y,a=[],s=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){s=Math.min(s,t.x),o=Math.min(o,t.y)})):(s=Math.min(s,e.x),o=Math.min(o,e.y));for(var l=r-t.width/2-s,c=i-t.height/2-o,h=0;h<e.length;h++){var u=e[h],d=e[h<e.length-1?h+1:0],p=aO(t,n,{x:l+u.x,y:c+u.y},{x:l+d.x,y:c+d.y});p&&a.push(p)}return a.length?(a.length>1&&a.sort((function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),s=e.x-n.x,o=e.y-n.y,l=Math.sqrt(s*s+o*o);return a<l?-1:a===l?0:1})),a[0]):t}const lO=(t,e)=>{var n,r,i=t.x,a=t.y,s=e.x-i,o=e.y-a,l=t.width/2,c=t.height/2;return Math.abs(o)*l>Math.abs(s)*c?(o<0&&(c=-c),n=0===o?0:c*s/o,r=c):(s<0&&(l=-l),n=l,r=0===s?0:l*o/s),{x:i+n,y:a+r}},cO={node:nO,circle:iO,ellipse:rO,polygon:oO,rect:lO};function hO(t,e,n,r){const i=[],a=t=>{i.push(t,0)},s=t=>{i.push(0,t)};e.includes("t")?(p.debug("add top border"),a(n)):s(n),e.includes("r")?(p.debug("add right border"),a(r)):s(r),e.includes("b")?(p.debug("add bottom border"),a(n)):s(n),e.includes("l")?(p.debug("add left border"),a(r)):s(r),t.attr("stroke-dasharray",i.join(" "))}const uO=(t,e,n)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let i=70,a=10;"LR"===n&&(i=10,a=70);const s=r.append("rect").attr("x",-1*i/2).attr("y",-1*a/2).attr("width",i).attr("height",a).attr("class","fork-join");return jD(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return cO.rect(e,t)},r},dO={question:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding+(r.height+e.padding),a=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];p.info("Question main (Circle)");const s=YD(n,i,i,a);return s.attr("style",e.style),jD(e,s),e.intersect=function(t){return p.warn("Intersect called"),cO.polygon(e,a,t)},n},rect:(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=PD(t,e,"node "+e.classes,!0);p.trace("Classes = ",e.classes);const a=n.insert("rect",":first-child"),s=r.width+e.padding,o=r.height+e.padding;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-i).attr("y",-r.height/2-i).attr("width",s).attr("height",o),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(hO(a,e.props.borders,s,o),t.delete("borders")),t.forEach((t=>{p.warn(`Unknown node property ${t}`)}))}return jD(e,a),e.intersect=function(t){return cO.rect(e,t)},n},labelRect:(t,e)=>{const{shapeSvg:n}=PD(t,e,"label",!0);p.trace("Classes = ",e.classes);const r=n.insert("rect",":first-child"),i=0,a=0;if(r.attr("width",i).attr("height",a),n.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(hO(r,e.props.borders,i,a),t.delete("borders")),t.forEach((t=>{p.warn(`Unknown node property ${t}`)}))}return jD(e,r),e.intersect=function(t){return cO.rect(e,t)},n},rectWithTitle:(t,e)=>{let n;n=e.classes?"node "+e.classes:"node default";const r=t.insert("g").attr("class",n).attr("id",e.domId||e.id),i=r.insert("rect",":first-child"),a=r.insert("line"),s=r.insert("g").attr("class","label"),o=e.labelText.flat?e.labelText.flat():e.labelText;let l="";l="object"==typeof o?o[0]:o,p.info("Label text abc79",l,o,"object"==typeof o);const c=s.node().appendChild($D(l,e.labelStyle,!0,!0));let h={width:0,height:0};if(Bu(tb().flowchart.htmlLabels)){const t=c.children[0],e=dn(c);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}p.info("Text 2",o);const u=o.slice(1,o.length);let d=c.getBBox();const f=s.node().appendChild($D(u.join?u.join("<br/>"):u,e.labelStyle,!0,!0));if(Bu(tb().flowchart.htmlLabels)){const t=f.children[0],e=dn(f);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}const g=e.padding/2;return dn(f).attr("transform","translate( "+(h.width>d.width?0:(d.width-h.width)/2)+", "+(d.height+g+5)+")"),dn(c).attr("transform","translate( "+(h.width<d.width?0:-(d.width-h.width)/2)+", 0)"),h=s.node().getBBox(),s.attr("transform","translate("+-h.width/2+", "+(-h.height/2-g+3)+")"),i.attr("class","outer title-state").attr("x",-h.width/2-g).attr("y",-h.height/2-g).attr("width",h.width+e.padding).attr("height",h.height+e.padding),a.attr("class","divider").attr("x1",-h.width/2-g).attr("x2",h.width/2+g).attr("y1",-h.height/2-g+d.height+g).attr("y2",-h.height/2-g+d.height+g),jD(e,i),e.intersect=function(t){return cO.rect(e,t)},r},choice:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=28,i=[{x:0,y:r/2},{x:r/2,y:0},{x:0,y:-r/2},{x:-r/2,y:0}];return n.insert("polygon",":first-child").attr("points",i.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 cO.circle(e,14,t)},n},circle:(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=PD(t,e,void 0,!0),a=n.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+i).attr("width",r.width+e.padding).attr("height",r.height+e.padding),p.info("Circle main"),jD(e,a),e.intersect=function(t){return p.info("Circle intersect",e,r.width/2+i,t),cO.circle(e,r.width/2+i,t)},n},doublecircle:(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=PD(t,e,void 0,!0),a=5,s=n.insert("g",":first-child"),o=s.insert("circle"),l=s.insert("circle");return o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+i+a).attr("width",r.width+e.padding+2*a).attr("height",r.height+e.padding+2*a),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+i).attr("width",r.width+e.padding).attr("height",r.height+e.padding),p.info("DoubleCircle main"),jD(e,o),e.intersect=function(t){return p.info("DoubleCircle intersect",e,r.width/2+i+a,t),cO.circle(e,r.width/2+i+a,t)},n},stadium:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.height+e.padding,a=r.width+i/4+e.padding,s=n.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-a/2).attr("y",-i/2).attr("width",a).attr("height",i);return jD(e,s),e.intersect=function(t){return cO.rect(e,t)},n},hexagon:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=4,a=r.height+e.padding,s=a/i,o=r.width+2*s+e.padding,l=[{x:s,y:0},{x:o-s,y:0},{x:o,y:-a/2},{x:o-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],c=YD(n,o,a,l);return c.attr("style",e.style),jD(e,c),e.intersect=function(t){return cO.polygon(e,l,t)},n},rect_left_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,s=[{x:-a/2,y:0},{x:i,y:0},{x:i,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return YD(n,i,a,s).attr("style",e.style),e.width=i+a,e.height=a,e.intersect=function(t){return cO.polygon(e,s,t)},n},lean_right:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,s=[{x:-2*a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:a/6,y:-a}],o=YD(n,i,a,s);return o.attr("style",e.style),jD(e,o),e.intersect=function(t){return cO.polygon(e,s,t)},n},lean_left:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,s=[{x:2*a/6,y:0},{x:i+a/6,y:0},{x:i-2*a/6,y:-a},{x:-a/6,y:-a}],o=YD(n,i,a,s);return o.attr("style",e.style),jD(e,o),e.intersect=function(t){return cO.polygon(e,s,t)},n},trapezoid:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,s=[{x:-2*a/6,y:0},{x:i+2*a/6,y:0},{x:i-a/6,y:-a},{x:a/6,y:-a}],o=YD(n,i,a,s);return o.attr("style",e.style),jD(e,o),e.intersect=function(t){return cO.polygon(e,s,t)},n},inv_trapezoid:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,s=[{x:a/6,y:0},{x:i-a/6,y:0},{x:i+2*a/6,y:-a},{x:-2*a/6,y:-a}],o=YD(n,i,a,s);return o.attr("style",e.style),jD(e,o),e.intersect=function(t){return cO.polygon(e,s,t)},n},rect_right_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,s=[{x:0,y:0},{x:i+a/2,y:0},{x:i,y:-a/2},{x:i+a/2,y:-a},{x:0,y:-a}],o=YD(n,i,a,s);return o.attr("style",e.style),jD(e,o),e.intersect=function(t){return cO.polygon(e,s,t)},n},cylinder:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=i/2,s=a/(2.5+i/50),o=r.height+s+e.padding,l="M 0,"+s+" a "+a+","+s+" 0,0,0 "+i+" 0 a "+a+","+s+" 0,0,0 "+-i+" 0 l 0,"+o+" a "+a+","+s+" 0,0,0 "+i+" 0 l 0,"+-o,c=n.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",l).attr("transform","translate("+-i/2+","+-(o/2+s)+")");return jD(e,c),e.intersect=function(t){const n=cO.rect(e,t),r=n.x-e.x;if(0!=a&&(Math.abs(r)<e.width/2||Math.abs(r)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-s)){let i=s*s*(1-r*r/(a*a));0!=i&&(i=Math.sqrt(i)),i=s-i,t.y-e.y>0&&(i=-i),n.y+=i}return n},n},start:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),jD(e,r),e.intersect=function(t){return cO.circle(e,7,t)},n},end:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=n.insert("circle",":first-child"),i=n.insert("circle",":first-child");return i.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),jD(e,i),e.intersect=function(t){return cO.circle(e,7,t)},n},note:(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:i}=PD(t,e,"node "+e.classes,!0);p.info("Classes = ",e.classes);const a=n.insert("rect",":first-child");return a.attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-i).attr("y",-r.height/2-i).attr("width",r.width+e.padding).attr("height",r.height+e.padding),jD(e,a),e.intersect=function(t){return cO.rect(e,t)},n},subroutine:(t,e)=>{const{shapeSvg:n,bbox:r}=PD(t,e,void 0,!0),i=r.width+e.padding,a=r.height+e.padding,s=[{x:0,y:0},{x:i,y:0},{x:i,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],o=YD(n,i,a,s);return o.attr("style",e.style),jD(e,o),e.intersect=function(t){return cO.polygon(e,s,t)},n},fork:uO,join:uO,class_box:(t,e)=>{const n=e.padding/2,r=4,i=8;let a;a=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",a).attr("id",e.domId||e.id),o=s.insert("rect",":first-child"),l=s.insert("line"),c=s.insert("line");let h=0,u=r;const d=s.insert("g").attr("class","label");let p=0;const f=e.classData.annotations&&e.classData.annotations[0],g=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",y=d.node().appendChild($D(g,e.labelStyle,!0,!0));let m=y.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=y.children[0],e=dn(y);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}e.classData.annotations[0]&&(u+=m.height+r,h+=m.width);let b=e.classData.id;void 0!==e.classData.type&&""!==e.classData.type&&(tb().flowchart.htmlLabels?b+="<"+e.classData.type+">":b+="<"+e.classData.type+">");const _=d.node().appendChild($D(b,e.labelStyle,!0,!0));dn(_).attr("class","classTitle");let v=_.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=_.children[0],e=dn(_);v=t.getBoundingClientRect(),e.attr("width",v.width),e.attr("height",v.height)}u+=v.height+r,v.width>h&&(h=v.width);const x=[];e.classData.members.forEach((t=>{const n=bD(t);let i=n.displayText;tb().flowchart.htmlLabels&&(i=i.replace(/</g,"<").replace(/>/g,">"));const a=d.node().appendChild($D(i,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let s=a.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=a.children[0],e=dn(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>h&&(h=s.width),u+=s.height+r,x.push(a)})),u+=i;const k=[];if(e.classData.methods.forEach((t=>{const n=bD(t);let i=n.displayText;tb().flowchart.htmlLabels&&(i=i.replace(/</g,"<").replace(/>/g,">"));const a=d.node().appendChild($D(i,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let s=a.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=a.children[0],e=dn(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>h&&(h=s.width),u+=s.height+r,k.push(a)})),u+=i,f){let t=(h-m.width)/2;dn(y).attr("transform","translate( "+(-1*h/2+t)+", "+-1*u/2+")"),p=m.height+r}let w=(h-v.width)/2;return dn(_).attr("transform","translate( "+(-1*h/2+w)+", "+(-1*u/2+p)+")"),p+=v.height+r,l.attr("class","divider").attr("x1",-h/2-n).attr("x2",h/2+n).attr("y1",-u/2-n+i+p).attr("y2",-u/2-n+i+p),p+=i,x.forEach((t=>{dn(t).attr("transform","translate( "+-h/2+", "+(-1*u/2+p+i/2)+")"),p+=v.height+r})),p+=i,c.attr("class","divider").attr("x1",-h/2-n).attr("x2",h/2+n).attr("y1",-u/2-n+i+p).attr("y2",-u/2-n+i+p),p+=i,k.forEach((t=>{dn(t).attr("transform","translate( "+-h/2+", "+(-1*u/2+p)+")"),p+=v.height+r})),o.attr("class","outer title-state").attr("x",-h/2-n).attr("y",-u/2-n).attr("width",h+e.padding).attr("height",u+e.padding),jD(e,o),e.intersect=function(t){return cO.rect(e,t)},s}};let pO={};const fO=(t,e,n)=>{let r,i;if(e.link){let a;"sandbox"===tb().securityLevel?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),r=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),i=dO[e.shape](r,e,n)}else i=dO[e.shape](t,e,n),r=i;e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),pO[e.id]=r,e.haveCallback&&pO[e.id].attr("class",pO[e.id].attr("class")+" clickable")},gO=(t,e)=>{pO[e.id]=t},yO=()=>{pO={}},mO=t=>{const e=pO[t.id];p.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const n=8,r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-n)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},bO={rect:(t,e)=>{p.trace("Creating subgraph rect for ",e.id,e);const n=t.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=i.node().appendChild($D(e.labelText,e.labelStyle,void 0,!0));let s=a.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=a.children[0],e=dn(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}const o=0*e.padding,l=o/2,c=e.width<=s.width+o?s.width+o:e.width;e.width<=s.width+o?e.diff=(s.width-e.width)/2-e.padding/2:e.diff=-e.padding/2,p.trace("Data ",e,JSON.stringify(e)),r.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-c/2).attr("y",e.y-e.height/2-l).attr("width",c).attr("height",e.height+o),i.attr("transform","translate("+(e.x-s.width/2)+", "+(e.y-e.height/2)+")");const h=r.node().getBBox();return e.width=h.width,e.height=h.height,e.intersect=function(t){return lO(e,t)},n},roundedWithTitle:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),r=n.insert("rect",":first-child"),i=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),s=i.node().appendChild($D(e.labelText,e.labelStyle,void 0,!0));let o=s.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=s.children[0],e=dn(s);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}o=s.getBBox();const l=0*e.padding,c=l/2,h=e.width<=o.width+e.padding?o.width+e.padding:e.width;e.width<=o.width+e.padding?e.diff=(o.width+0*e.padding-e.width)/2:e.diff=-e.padding/2,r.attr("class","outer").attr("x",e.x-h/2-c).attr("y",e.y-e.height/2-c).attr("width",h+l).attr("height",e.height+l),a.attr("class","inner").attr("x",e.x-h/2-c).attr("y",e.y-e.height/2-c+o.height-1).attr("width",h+l).attr("height",e.height+l-o.height-3),i.attr("transform","translate("+(e.x-o.width/2)+", "+(e.y-e.height/2-e.padding/3+(Bu(tb().flowchart.htmlLabels)?5:3))+")");const u=r.node().getBBox();return e.height=u.height,e.intersect=function(t){return lO(e,t)},n},noteGroup:(t,e)=>{const n=t.insert("g").attr("class","note-cluster").attr("id",e.id),r=n.insert("rect",":first-child"),i=0*e.padding,a=i/2;r.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+i).attr("height",e.height+i).attr("fill","none");const s=r.node().getBBox();return e.width=s.width,e.height=s.height,e.intersect=function(t){return lO(e,t)},n},divider:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),r=n.insert("rect",":first-child"),i=0*e.padding,a=i/2;r.attr("class","divider").attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2).attr("width",e.width+i).attr("height",e.height+i);const s=r.node().getBBox();return e.width=s.width,e.height=s.height,e.diff=-e.padding/2,e.intersect=function(t){return lO(e,t)},n}};let _O={};const vO=(t,e)=>{p.trace("Inserting cluster");const n=e.shape||"rect";_O[e.id]=bO[n](t,e)},xO=()=>{_O={}};let kO={},wO={};const TO=()=>{kO={},wO={}},EO=(t,e)=>{const n=$D(e.label,e.labelStyle),r=t.insert("g").attr("class","edgeLabel"),i=r.insert("g").attr("class","label");i.node().appendChild(n);let a,s=n.getBBox();if(Bu(tb().flowchart.htmlLabels)){const t=n.children[0],e=dn(n);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}if(i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),kO[e.id]=r,e.width=s.width,e.height=s.height,e.startLabelLeft){const n=$D(e.startLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const s=n.getBBox();i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),wO[e.id]||(wO[e.id]={}),wO[e.id].startLeft=r,CO(a,e.startLabelLeft)}if(e.startLabelRight){const n=$D(e.startLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=r.node().appendChild(n),i.node().appendChild(n);const s=n.getBBox();i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),wO[e.id]||(wO[e.id]={}),wO[e.id].startRight=r,CO(a,e.startLabelRight)}if(e.endLabelLeft){const n=$D(e.endLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const s=n.getBBox();i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),r.node().appendChild(n),wO[e.id]||(wO[e.id]={}),wO[e.id].endLeft=r,CO(a,e.endLabelLeft)}if(e.endLabelRight){const n=$D(e.endLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),i=r.insert("g").attr("class","inner");a=i.node().appendChild(n);const s=n.getBBox();i.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),r.node().appendChild(n),wO[e.id]||(wO[e.id]={}),wO[e.id].endRight=r,CO(a,e.endLabelRight)}};function CO(t,e){tb().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const SO=(t,e)=>{p.info("Moving label abc78 ",t.id,t.label,kO[t.id]);let n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const r=kO[t.id];let i=t.x,a=t.y;if(n){const r=Qy.calcLabelPosition(n);p.info("Moving label "+t.label+" from (",i,",",a,") to (",r.x,",",r.y,") abc78"),e.updatedPath&&(i=r.x,a=r.y)}r.attr("transform","translate("+i+", "+a+")")}if(t.startLabelLeft){const e=wO[t.id].startLeft;let r=t.x,i=t.y;if(n){const e=Qy.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}if(t.startLabelRight){const e=wO[t.id].startRight;let r=t.x,i=t.y;if(n){const e=Qy.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}if(t.endLabelLeft){const e=wO[t.id].endLeft;let r=t.x,i=t.y;if(n){const e=Qy.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}if(t.endLabelRight){const e=wO[t.id].endRight;let r=t.x,i=t.y;if(n){const e=Qy.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",n);r=e.x,i=e.y}e.attr("transform","translate("+r+", "+i+")")}},AO=(t,e)=>{const n=t.x,r=t.y,i=Math.abs(e.x-n),a=Math.abs(e.y-r),s=t.width/2,o=t.height/2;return i>=s||a>=o},LO=(t,e,n)=>{p.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const r=t.x,i=t.y,a=Math.abs(r-n.x),s=t.width/2;let o=n.x<e.x?s-a:s+a;const l=t.height/2,c=Math.abs(e.y-n.y),h=Math.abs(e.x-n.x);if(Math.abs(i-e.y)*s>Math.abs(r-e.x)*l){let t=n.y<e.y?e.y-l-i:i-l-e.y;o=h*t/c;const r={x:n.x<e.x?n.x+o:n.x-h+o,y:n.y<e.y?n.y+c-t:n.y-c+t};return 0===o&&(r.x=e.x,r.y=e.y),0===h&&(r.x=e.x),0===c&&(r.y=e.y),p.warn(`abc89 topp/bott calc, Q ${c}, q ${t}, R ${h}, r ${o}`,r),r}{o=n.x<e.x?e.x-s-r:r-s-e.x;let t=c*o/h,i=n.x<e.x?n.x+h-o:n.x-h+o,a=n.y<e.y?n.y+t:n.y-t;return p.warn(`sides calc abc89, Q ${c}, q ${t}, R ${h}, r ${o}`,{_x:i,_y:a}),0===o&&(i=e.x,a=e.y),0===h&&(i=e.x),0===c&&(a=e.y),{x:i,y:a}}},NO=(t,e)=>{p.warn("abc88 cutPathAtIntersect",t,e);let n=[],r=t[0],i=!1;return t.forEach((t=>{if(p.info("abc88 checking point",t,e),AO(e,t)||i)p.warn("abc88 outside",t,r),r=t,i||n.push(t);else{const a=LO(e,r,t);p.warn("abc88 inside",t,r,a),p.warn("abc88 intersection",a);let s=!1;n.forEach((t=>{s=s||t.x===a.x&&t.y===a.y})),n.some((t=>t.x===a.x&&t.y===a.y))?p.warn("abc88 no intersect",a,n):n.push(a),i=!0}})),p.warn("abc88 returning points",n),n},DO=function(t,e,n,r,i,a){let s=n.points,o=!1;const l=a.node(e.v);var c=a.node(e.w);p.info("abc88 InsertEdge: ",n),c.intersect&&l.intersect&&(s=s.slice(1,n.points.length-1),s.unshift(l.intersect(s[0])),p.info("Last point",s[s.length-1],c,c.intersect(s[s.length-1])),s.push(c.intersect(s[s.length-1]))),n.toCluster&&(p.info("to cluster abc88",r[n.toCluster]),s=NO(n.points,r[n.toCluster].node),o=!0),n.fromCluster&&(p.info("from cluster abc88",r[n.fromCluster]),s=NO(s.reverse(),r[n.fromCluster].node).reverse(),o=!0);const h=s.filter((t=>!Number.isNaN(t.y)));let u;u=("graph"===i||"flowchart"===i)&&n.curve||Zc;const d=zc().x((function(t){return t.x})).y((function(t){return t.y})).curve(u);let f;switch(n.thickness){case"normal":f="edge-thickness-normal";break;case"thick":f="edge-thickness-thick";break;default:f=""}switch(n.pattern){case"solid":f+=" edge-pattern-solid";break;case"dotted":f+=" edge-pattern-dotted";break;case"dashed":f+=" edge-pattern-dashed"}const g=t.append("path").attr("d",d(h)).attr("id",n.id).attr("class"," "+f+(n.classes?" "+n.classes:"")).attr("style",n.style);let y="";switch((tb().flowchart.arrowMarkerAbsolute||tb().state.arrowMarkerAbsolute)&&(y=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,y=y.replace(/\(/g,"\\("),y=y.replace(/\)/g,"\\)")),p.info("arrowTypeStart",n.arrowTypeStart),p.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":g.attr("marker-start","url("+y+"#"+i+"-crossStart)");break;case"arrow_point":g.attr("marker-start","url("+y+"#"+i+"-pointStart)");break;case"arrow_barb":g.attr("marker-start","url("+y+"#"+i+"-barbStart)");break;case"arrow_circle":g.attr("marker-start","url("+y+"#"+i+"-circleStart)");break;case"aggregation":g.attr("marker-start","url("+y+"#"+i+"-aggregationStart)");break;case"extension":g.attr("marker-start","url("+y+"#"+i+"-extensionStart)");break;case"composition":g.attr("marker-start","url("+y+"#"+i+"-compositionStart)");break;case"dependency":g.attr("marker-start","url("+y+"#"+i+"-dependencyStart)");break;case"lollipop":g.attr("marker-start","url("+y+"#"+i+"-lollipopStart)")}switch(n.arrowTypeEnd){case"arrow_cross":g.attr("marker-end","url("+y+"#"+i+"-crossEnd)");break;case"arrow_point":g.attr("marker-end","url("+y+"#"+i+"-pointEnd)");break;case"arrow_barb":g.attr("marker-end","url("+y+"#"+i+"-barbEnd)");break;case"arrow_circle":g.attr("marker-end","url("+y+"#"+i+"-circleEnd)");break;case"aggregation":g.attr("marker-end","url("+y+"#"+i+"-aggregationEnd)");break;case"extension":g.attr("marker-end","url("+y+"#"+i+"-extensionEnd)");break;case"composition":g.attr("marker-end","url("+y+"#"+i+"-compositionEnd)");break;case"dependency":g.attr("marker-end","url("+y+"#"+i+"-dependencyEnd)");break;case"lollipop":g.attr("marker-end","url("+y+"#"+i+"-lollipopEnd)")}let m={};return o&&(m.updatedPath=s),m.originalPath=n.points,m},OO=(t,e,n,r)=>{p.info("Graph in recursive render: XXX",ND(e),r);const i=e.graph().rankdir;p.trace("Dir in recursive render - dir:",i);const a=t.insert("g").attr("class","root");e.nodes()?p.info("Recursive render XXX",e.nodes()):p.info("No nodes found for",e),e.edges().length>0&&p.trace("Recursive edges",e.edge(e.edges()[0]));const s=a.insert("g").attr("class","clusters"),o=a.insert("g").attr("class","edgePaths"),l=a.insert("g").attr("class","edgeLabels"),c=a.insert("g").attr("class","nodes");e.nodes().forEach((function(t){const a=e.node(t);if(void 0!==r){const n=JSON.parse(JSON.stringify(r.clusterData));p.info("Setting data for cluster XXX (",t,") ",n,r),e.setNode(r.id,n),e.parent(t)||(p.trace("Setting parent",t,r.id),e.setParent(t,r.id,n))}if(p.info("(Insert) Node XXX"+t+": "+JSON.stringify(e.node(t))),a&&a.clusterNode){p.info("Cluster identified",t,a.width,e.node(t));const r=OO(c,a.graph,n,e.node(t)),i=r.elem;jD(a,i),a.diff=r.diff||0,p.info("Node bounds (abc123)",t,a,a.width,a.x,a.y),gO(i,a),p.warn("Recursive render complete ",i,a)}else e.children(t).length>0?(p.info("Cluster - the non recursive path XXX",t,a.id,a,e),p.info(XD(a.id,e)),zD[a.id]={id:XD(a.id,e),node:a}):(p.info("Node - the non recursive path",t,a.id,a),fO(c,e.node(t),i))})),e.edges().forEach((function(t){const n=e.edge(t.v,t.w,t.name);p.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),p.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(e.edge(t))),p.info("Fix",zD,"ids:",t.v,t.w,"Translateing: ",zD[t.v],zD[t.w]),EO(l,n)})),e.edges().forEach((function(t){p.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t))})),p.info("#############################################"),p.info("### Layout ###"),p.info("#############################################"),p.info(e),fN(e),p.info("Graph after layout:",ND(e));let h=0;return eO(e).forEach((function(t){const n=e.node(t);p.info("Position "+t+": "+JSON.stringify(e.node(t))),p.info("Position "+t+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?mO(n):e.children(t).length>0?(vO(s,n),zD[n.id].node=n):mO(n)})),e.edges().forEach((function(t){const r=e.edge(t);p.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r),r);const i=DO(o,t,r,zD,n,e);SO(r,i)})),e.nodes().forEach((function(t){const n=e.node(t);p.info(t,n.type,n.diff),"group"===n.type&&(h=n.diff)})),{elem:a,diff:h}},MO=(t,e,n,r,i)=>{ID(t,n,r,i),yO(),TO(),xO(),HD(),p.warn("Graph at first:",ND(e)),KD(e),p.warn("Graph after:",ND(e)),OO(t,e,r)},BO=t=>Fu.sanitizeText(t,tb());let IO={dividerMargin:10,padding:5,textHeight:10};const FO=function(t,e,n,r){const i=Object.keys(t);p.info("keys:",i),p.info(t),i.forEach((function(n){const i=t[n];let a="";i.cssClasses.length>0&&(a=a+" "+i.cssClasses.join(" "));const s={labelStyle:""};let o=void 0!==i.text?i.text:i.id,l=0,c="";i.type,c="class_box",e.setNode(i.id,{labelStyle:s.labelStyle,shape:c,labelText:BO(o),classData:i,rx:l,ry:l,class:a,style:s.style,id:i.id,domId:i.domId,tooltip:r.db.getTooltip(i.id)||"",haveCallback:i.haveCallback,link:i.link,width:"group"===i.type?500:void 0,type:i.type,padding:tb().flowchart.padding}),p.info("setNode",{labelStyle:s.labelStyle,shape:c,labelText:o,rx:l,ry:l,class:a,style:s.style,id:i.id,width:"group"===i.type?500:void 0,type:i.type,padding:tb().flowchart.padding})}))},RO=function(t,e,n,r){p.info(t),t.forEach((function(t,i){const a=t;let s="";const o={labelStyle:"",style:""};let l=a.text,c=0,h="note";if(e.setNode(a.id,{labelStyle:o.labelStyle,shape:h,labelText:BO(l),noteData:a,rx:c,ry:c,class:s,style:o.style,id:a.id,domId:a.id,tooltip:"",type:"note",padding:tb().flowchart.padding}),p.info("setNode",{labelStyle:o.labelStyle,shape:h,labelText:l,rx:c,ry:c,style:o.style,id:a.id,type:"note",padding:tb().flowchart.padding}),!a.class||!(a.class in r))return;const u=n+i,d={classes:"relation",pattern:"dotted"};d.id=`edgeNote${u}`,d.arrowhead="none",p.info(`Note edge: ${JSON.stringify(d)}, ${JSON.stringify(a)}`),d.startLabelRight="",d.endLabelLeft="",d.arrowTypeStart="none",d.arrowTypeEnd="none";let f="fill:none",g="";d.style=f,d.labelStyle=g,d.curve=Cy(IO.curve,Pc),e.setEdge(a.id,a.class,d,u)}))},$O=function(t,e){const n=tb().flowchart;let r=0;t.forEach((function(i){r++;const a={classes:"relation"};a.pattern=1==i.relation.lineType?"dashed":"solid",a.id="id"+r,"arrow_open"===i.type?a.arrowhead="none":a.arrowhead="normal",p.info(a,i),a.startLabelRight="none"===i.relationTitle1?"":i.relationTitle1,a.endLabelLeft="none"===i.relationTitle2?"":i.relationTitle2,a.arrowTypeStart=PO(i.relation.type1),a.arrowTypeEnd=PO(i.relation.type2);let s="",o="";if(void 0!==i.style){const t=By(i.style);s=t.style,o=t.labelStyle}else s="fill:none";a.style=s,a.labelStyle=o,void 0!==i.interpolate?a.curve=Cy(i.interpolate,Pc):void 0!==t.defaultInterpolate?a.curve=Cy(t.defaultInterpolate,Pc):a.curve=Cy(n.curve,Pc),i.text=i.title,void 0===i.text?void 0!==i.style&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",tb().flowchart.htmlLabels?(a.labelType="html",a.label='<span class="edgeLabel">'+i.text+"</span>"):(a.labelType="text",a.label=i.text.replace(Fu.lineBreakRegex,"\n"),void 0===i.style&&(a.style=a.style||"stroke: #333; stroke-width: 1.5px;fill:none"),a.labelStyle=a.labelStyle.replace("color:","fill:"))),e.setEdge(i.id1,i.id2,a,r)}))};function PO(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}const jO={setConf:function(t){Object.keys(t).forEach((function(e){IO[e]=t[e]}))},draw:function(t,e,n,r){p.info("Drawing class - ",e);const i=tb().flowchart,a=tb().securityLevel;p.info("config:",i);const s=i.nodeSpacing||50,o=i.rankSpacing||50,l=new $A({multigraph:!0,compound:!0}).setGraph({rankdir:r.db.getDirection(),nodesep:s,ranksep:o,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),c=r.db.getClasses(),h=r.db.getRelations(),u=r.db.getNotes();let d;p.info(h),FO(c,l,e,r),$O(h,l),RO(u,l,h.length+1,c),"sandbox"===a&&(d=dn("#i"+e));const f=dn("sandbox"===a?d.nodes()[0].contentDocument.body:"body"),g=f.select(`[id="${e}"]`),y=f.select("#"+e+" g");if(MO(y,l,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),Qy.insertTitle(g,"classTitleText",i.titleTopMargin,r.db.getDiagramTitle()),ub(l,g,i.diagramPadding,i.useMaxWidth),!i.htmlLabels){const t="sandbox"===a?d.nodes()[0].contentDocument:document,n=t.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of n){const n=e.getBBox(),r=t.createElementNS("http://www.w3.org/2000/svg","rect");r.setAttribute("rx",0),r.setAttribute("ry",0),r.setAttribute("width",n.width),r.setAttribute("height",n.height),e.insertBefore(r,e.firstChild)}}}};var YO=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,23,25,27,29,30,31,49],i=[1,17],a=[1,18],s=[1,19],o=[1,20],l=[1,21],c=[1,22],h=[1,25],u=[1,30],d=[1,31],p=[1,32],f=[1,33],g=[6,9,11,15,20,23,25,27,29,30,31,42,43,44,45,49],y=[1,45],m=[30,31,46,47],b=[4,6,9,11,23,25,27,29,30,31,49],_=[42,43,44,45],v=[22,37],x=[1,64],k={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,attributeKeyType:35,attributeComment:36,ATTRIBUTE_WORD:37,ATTRIBUTE_KEY:38,COMMENT:39,cardinality:40,relType:41,ZERO_OR_ONE:42,ZERO_OR_MORE:43,ONE_OR_MORE:44,ONLY_ONE:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,open_directive:49,type_directive:50,arg_directive:51,close_directive:52,$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",38:"ATTRIBUTE_KEY",39:"COMMENT",42:"ZERO_OR_ONE",43:"ZERO_OR_MORE",44:"ONE_OR_MORE",45:"ONLY_ONE",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD",49:"open_directive",50:"type_directive",51:"arg_directive",52:"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],[36,1],[18,3],[40,1],[40,1],[40,1],[40,1],[41,1],[41,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){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 41:case 28:case 29:case 30: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 39:case 40:case 31:this.$=a[o].replace(/"/g,"");break;case 22: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],attributeKeyType: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],attributeKeyType:a[o-1],attributeComment:a[o]};break;case 32:this.$={cardA:a[o],relType:a[o-1],cardB:a[o-2]};break;case 33:this.$=r.Cardinality.ZERO_OR_ONE;break;case 34:this.$=r.Cardinality.ZERO_OR_MORE;break;case 35:this.$=r.Cardinality.ONE_OR_MORE;break;case 36:this.$=r.Cardinality.ONLY_ONE;break;case 37:this.$=r.Identification.NON_IDENTIFYING;break;case 38:this.$=r.Identification.IDENTIFYING;break;case 42:r.parseDirective("%%{","open_directive");break;case 43:r.parseDirective(a[o],"type_directive");break;case 44:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 45:r.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,49:n},{1:[3]},t(r,[2,3],{5:6}),{3:7,4:e,7:3,12:4,49:n},{13:8,50:[1,9]},{50:[2,42]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:i,25:a,27:s,29:o,30:l,31:c,49:n},{1:[2,2]},{14:23,15:[1,24],52:h},t([15,52],[2,43]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:15,10:26,12:4,17:16,23:i,25:a,27:s,29:o,30:l,31:c,49:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),t(r,[2,15],{18:27,40:29,20:[1,28],42:u,43:d,44:p,45:f}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(r,[2,19]),t(g,[2,20]),t(g,[2,21]),{11:[1,37]},{16:38,51:[1,39]},{11:[2,45]},t(r,[2,5]),{17:40,30:l,31:c},{21:41,22:[1,42],32:43,33:44,37:y},{41:46,46:[1,47],47:[1,48]},t(m,[2,33]),t(m,[2,34]),t(m,[2,35]),t(m,[2,36]),t(r,[2,16]),t(r,[2,17]),t(r,[2,18]),t(b,[2,9]),{14:49,52:h},{52:[2,44]},{15:[1,50]},{22:[1,51]},t(r,[2,14]),{21:52,22:[2,22],32:43,33:44,37:y},{34:53,37:[1,54]},{37:[2,28]},{40:55,42:u,43:d,44:p,45:f},t(_,[2,37]),t(_,[2,38]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],48:[1,58]},t(r,[2,13]),{22:[2,23]},t(v,[2,24],{35:61,36:62,38:[1,63],39:x}),t([22,37,38,39],[2,29]),t([30,31],[2,32]),t(b,[2,10]),t(r,[2,12]),t(r,[2,39]),t(r,[2,40]),t(r,[2,41]),t(v,[2,25],{36:65,39:x}),t(v,[2,26]),t([22,37,39],[2,30]),t(v,[2,31]),t(v,[2,27])],defaultActions:{5:[2,42],7:[2,2],25:[2,45],39:[2,44],45:[2,28],52:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},w={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 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){switch(n){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),49;case 8:return this.begin("type_directive"),50;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),52;case 11:return 51;case 12:case 13:case 15:case 21:case 26:break;case 14:return 11;case 16:return 9;case 17:return 31;case 18:return 48;case 19:return 4;case 20:return this.begin("block"),20;case 22:return 38;case 23:case 24:return 37;case 25:return 39;case 27:return this.popState(),22;case 28:case 57:return e.yytext[0];case 29:case 33:case 34:case 47:return 42;case 30:case 31:case 32:case 40:case 42:case 49:return 44;case 35:case 36:case 37:case 38:case 39:case 41:case 48:return 43;case 43:case 44:case 45:case 46:return 45;case 50:case 53:case 54:case 55:return 46;case 51:case 52:return 47;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,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z][A-Za-z0-9\-_\[\]]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,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 T(){this.yy={}}return k.lexer=w,T.prototype=k,k.Parser=T,new T}();YO.parser=YO;const zO=YO,UO=t=>null!==t.match(/^\s*erDiagram/);let WO={},HO=[];const qO=function(t){return void 0===WO[t]&&(WO[t]={attributes:[]},p.info("Added new entity :",t)),WO[t]},VO={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().er,addEntity:qO,addAttributes:function(t,e){let n,r=qO(t);for(n=e.length-1;n>=0;n--)r.attributes.push(e[n]),p.debug("Added attribute ",e[n].attributeName)},getEntities:()=>WO,addRelationship:function(t,e,n,r){let i={entityA:t,roleA:e,entityB:n,relSpec:r};HO.push(i),p.debug("Added new relationship :",i)},getRelationships:()=>HO,clear:function(){WO={},HO=[],zb()},setAccTitle:Ub,getAccTitle:Wb,setAccDescription:Hb,getAccDescription:qb,setDiagramTitle:Vb,getDiagramTitle:Gb},GO={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"},ZO={ERMarkers:GO,insertMarkers:function(t,e){let n;t.append("defs").append("marker").attr("id",GO.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",GO.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",GO.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",GO.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",GO.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",GO.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),n=t.append("defs").append("marker").attr("id",GO.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),n=t.append("defs").append("marker").attr("id",GO.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}};let XO;const QO=new Uint8Array(16);function KO(){if(!XO&&(XO=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!XO))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return XO(QO)}const JO=[];for(let t=0;t<256;++t)JO.push((t+256).toString(16).slice(1));function tM(t,e=0){return(JO[t[e+0]]+JO[t[e+1]]+JO[t[e+2]]+JO[t[e+3]]+"-"+JO[t[e+4]]+JO[t[e+5]]+"-"+JO[t[e+6]]+JO[t[e+7]]+"-"+JO[t[e+8]]+JO[t[e+9]]+"-"+JO[t[e+10]]+JO[t[e+11]]+JO[t[e+12]]+JO[t[e+13]]+JO[t[e+14]]+JO[t[e+15]]).toLowerCase()}const eM={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function nM(t,e,n){if(eM.randomUUID&&!e&&!t)return eM.randomUUID();const r=(t=t||{}).random||(t.rng||KO)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(let t=0;t<16;++t)e[n+t]=r[t];return e}return tM(r)}const rM=/[^\dA-Za-z](\W)*/g;let iM={},aM=new Map;const sM=(t,e,n)=>{const r=iM.entityPadding/3,i=iM.entityPadding/3,a=.85*iM.fontSize,s=e.node().getBBox(),o=[];let l=!1,c=!1,h=0,u=0,d=0,p=0,f=s.height+2*r,g=1;n.forEach((t=>{void 0!==t.attributeKeyType&&(l=!0),void 0!==t.attributeComment&&(c=!0)})),n.forEach((n=>{const i=`${e.node().id}-attr-${g}`;let s=0;const y=Iu(n.attributeType),m=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",tb().fontFamily).style("font-size",a+"px").text(y),b=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",tb().fontFamily).style("font-size",a+"px").text(n.attributeName),_={};_.tn=m,_.nn=b;const v=m.node().getBBox(),x=b.node().getBBox();if(h=Math.max(h,v.width),u=Math.max(u,x.width),s=Math.max(v.height,x.height),l){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",tb().fontFamily).style("font-size",a+"px").text(n.attributeKeyType||"");_.kn=e;const r=e.node().getBBox();d=Math.max(d,r.width),s=Math.max(s,r.height)}if(c){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${i}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",tb().fontFamily).style("font-size",a+"px").text(n.attributeComment||"");_.cn=e;const r=e.node().getBBox();p=Math.max(p,r.width),s=Math.max(s,r.height)}_.height=s,o.push(_),f+=s+2*r,g+=1}));let y=4;l&&(y+=2),c&&(y+=2);const m=h+u+d+p,b={width:Math.max(iM.minEntityWidth,Math.max(s.width+2*iM.entityPadding,m+i*y)),height:n.length>0?f:Math.max(iM.minEntityHeight,s.height+2*iM.entityPadding)};if(n.length>0){const n=Math.max(0,(b.width-m-i*y)/(y/2));e.attr("transform","translate("+b.width/2+","+(r+s.height/2)+")");let a=s.height+2*r,f="attributeBoxOdd";o.forEach((e=>{const s=a+r+e.height/2;e.tn.attr("transform","translate("+i+","+s+")");const o=t.insert("rect","#"+e.tn.node().id).classed(`er ${f}`,!0).attr("x",0).attr("y",a).attr("width",h+2*i+n).attr("height",e.height+2*r),g=parseFloat(o.attr("x"))+parseFloat(o.attr("width"));e.nn.attr("transform","translate("+(g+i)+","+s+")");const y=t.insert("rect","#"+e.nn.node().id).classed(`er ${f}`,!0).attr("x",g).attr("y",a).attr("width",u+2*i+n).attr("height",e.height+2*r);let m=parseFloat(y.attr("x"))+parseFloat(y.attr("width"));if(l){e.kn.attr("transform","translate("+(m+i)+","+s+")");const o=t.insert("rect","#"+e.kn.node().id).classed(`er ${f}`,!0).attr("x",m).attr("y",a).attr("width",d+2*i+n).attr("height",e.height+2*r);m=parseFloat(o.attr("x"))+parseFloat(o.attr("width"))}c&&(e.cn.attr("transform","translate("+(m+i)+","+s+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${f}`,"true").attr("x",m).attr("y",a).attr("width",p+2*i+n).attr("height",e.height+2*r)),a+=e.height+2*r,f="attributeBoxOdd"===f?"attributeBoxEven":"attributeBoxOdd"}))}else b.height=Math.max(iM.minEntityHeight,f),e.attr("transform","translate("+b.width/2+","+b.height/2+")");return b},oM=function(t,e,n){let r;return Object.keys(e).forEach((function(i){const a=pM(i,"entity");aM.set(i,a);const s=t.append("g").attr("id",a);r=void 0===r?a:r;const o="text-"+a,l=s.append("text").classed("er entityLabel",!0).attr("id",o).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",tb().fontFamily).style("font-size",iM.fontSize+"px").text(i),{width:c,height:h}=sM(s,l,e[i].attributes),u=s.insert("rect","#"+o).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",c).attr("height",h).node().getBBox();n.setNode(a,{width:u.width,height:u.height,shape:"rect",id:a})})),r},lM=function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )")}))},cM=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},hM=function(t,e){return t.forEach((function(t){e.setEdge(aM.get(t.entityA),aM.get(t.entityB),{relationship:t},cM(t))})),t};let uM=0;const dM=function(t,e,n,r,i){uM++;const a=n.edge(aM.get(e.entityA),aM.get(e.entityB),cM(e)),s=zc().x((function(t){return t.x})).y((function(t){return t.y})).curve(Zc),o=t.insert("path","#"+r).classed("er relationshipLine",!0).attr("d",s(a.points)).style("stroke",iM.stroke).style("fill","none");e.relSpec.relType===i.db.Identification.NON_IDENTIFYING&&o.attr("stroke-dasharray","8,8");let l="";switch(iM.arrowMarkerAbsolute&&(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,l=l.replace(/\(/g,"\\("),l=l.replace(/\)/g,"\\)")),e.relSpec.cardA){case i.db.Cardinality.ZERO_OR_ONE:o.attr("marker-end","url("+l+"#"+ZO.ERMarkers.ZERO_OR_ONE_END+")");break;case i.db.Cardinality.ZERO_OR_MORE:o.attr("marker-end","url("+l+"#"+ZO.ERMarkers.ZERO_OR_MORE_END+")");break;case i.db.Cardinality.ONE_OR_MORE:o.attr("marker-end","url("+l+"#"+ZO.ERMarkers.ONE_OR_MORE_END+")");break;case i.db.Cardinality.ONLY_ONE:o.attr("marker-end","url("+l+"#"+ZO.ERMarkers.ONLY_ONE_END+")")}switch(e.relSpec.cardB){case i.db.Cardinality.ZERO_OR_ONE:o.attr("marker-start","url("+l+"#"+ZO.ERMarkers.ZERO_OR_ONE_START+")");break;case i.db.Cardinality.ZERO_OR_MORE:o.attr("marker-start","url("+l+"#"+ZO.ERMarkers.ZERO_OR_MORE_START+")");break;case i.db.Cardinality.ONE_OR_MORE:o.attr("marker-start","url("+l+"#"+ZO.ERMarkers.ONE_OR_MORE_START+")");break;case i.db.Cardinality.ONLY_ONE:o.attr("marker-start","url("+l+"#"+ZO.ERMarkers.ONLY_ONE_START+")")}const c=o.node().getTotalLength(),h=o.node().getPointAtLength(.5*c),u="rel"+uM,d=t.append("text").classed("er relationshipLabel",!0).attr("id",u).attr("x",h.x).attr("y",h.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",tb().fontFamily).style("font-size",iM.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).classed("er relationshipLabelBox",!0).attr("x",h.x-d.width/2).attr("y",h.y-d.height/2).attr("width",d.width).attr("height",d.height)};function pM(t="",e=""){const n=t.replace(rM,"");return`${fM(e)}${fM(n)}${nM()}`}function fM(t=""){return t.length>0?`${t}-`:""}const gM={setConf:function(t){const e=Object.keys(t);for(const n of e)iM[n]=t[n]},draw:function(t,e,n,r){iM=tb().er,p.info("Drawing ER diagram");const i=tb().securityLevel;let a;"sandbox"===i&&(a=dn("#i"+e));const s=dn("sandbox"===i?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);let o;ZO.insertMarkers(s,iM),o=new $A({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:iM.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const l=oM(s,r.db.getEntities(),o),c=hM(r.db.getRelationships(),o);fN(o),lM(s,o),c.forEach((function(t){dM(s,t,o,l,r)}));const h=iM.diagramPadding;Qy.insertTitle(s,"entityTitleText",iM.titleTopMargin,r.db.getDiagramTitle());const u=s.node().getBBox(),d=u.width+2*h,f=u.height+2*h;hb(s,f,d,iM.useMaxWidth),s.attr("viewBox",`${u.x-h} ${u.y-h} ${d} ${f}`)}};var yM=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,9],n=[1,7],r=[1,6],i=[1,8],a=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],s=[2,10],o=[1,20],l=[1,21],c=[1,22],h=[1,23],u=[1,30],d=[1,32],p=[1,33],f=[1,34],g=[1,62],y=[1,48],m=[1,52],b=[1,36],_=[1,37],v=[1,38],x=[1,39],k=[1,40],w=[1,56],T=[1,63],E=[1,51],C=[1,53],S=[1,55],A=[1,59],L=[1,60],N=[1,41],D=[1,42],O=[1,43],M=[1,44],B=[1,61],I=[1,50],F=[1,54],R=[1,57],$=[1,58],P=[1,49],j=[1,66],Y=[1,71],z=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],U=[1,75],W=[1,74],H=[1,76],q=[20,21,23,81,82],V=[1,99],G=[1,104],Z=[1,107],X=[1,108],Q=[1,101],K=[1,106],J=[1,109],tt=[1,102],et=[1,114],nt=[1,113],rt=[1,103],it=[1,105],at=[1,110],st=[1,111],ot=[1,112],lt=[1,115],ct=[20,21,22,23,81,82],ht=[20,21,22,23,53,81,82],ut=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],dt=[20,21,23],pt=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],ft=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],gt=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],yt=[1,149],mt=[1,157],bt=[1,158],_t=[1,159],vt=[1,160],xt=[1,144],kt=[1,145],wt=[1,141],Tt=[1,152],Et=[1,153],Ct=[1,154],St=[1,155],At=[1,156],Lt=[1,161],Nt=[1,162],Dt=[1,147],Ot=[1,150],Mt=[1,146],Bt=[1,143],It=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Ft=[1,165],Rt=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],$t=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],Pt=[12,21,22,24],jt=[22,106],Yt=[1,250],zt=[1,245],Ut=[1,246],Wt=[1,254],Ht=[1,251],qt=[1,248],Vt=[1,247],Gt=[1,249],Zt=[1,252],Xt=[1,253],Qt=[1,255],Kt=[1,273],Jt=[20,21,23,106],te=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 5:r.parseDirective("%%{","open_directive");break;case 6:r.parseDirective(a[o],"type_directive");break;case 7:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 8:r.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(a[o])||a[o].length>0)&&a[o-1].push(a[o]),this.$=a[o-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=a[o];break;case 19:r.setDirection("TB"),this.$="TB";break;case 20:r.setDirection(a[o-1]),this.$=a[o-1];break;case 35:this.$=a[o-1].nodes;break;case 41:this.$=r.addSubGraph(a[o-6],a[o-1],a[o-4]);break;case 42:this.$=r.addSubGraph(a[o-3],a[o-1],a[o-3]);break;case 43:this.$=r.addSubGraph(void 0,a[o-1],void 0);break;case 45:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 46:case 47:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 51:r.addLink(a[o-2].stmt,a[o],a[o-1]),this.$={stmt:a[o],nodes:a[o].concat(a[o-2].nodes)};break;case 52:r.addLink(a[o-3].stmt,a[o-1],a[o-2]),this.$={stmt:a[o-1],nodes:a[o-1].concat(a[o-3].nodes)};break;case 53:this.$={stmt:a[o-1],nodes:a[o-1]};break;case 54:this.$={stmt:a[o],nodes:a[o]};break;case 55:case 123:case 125:this.$=[a[o]];break;case 56:this.$=a[o-4].concat(a[o]);break;case 57:this.$=[a[o-2]],r.setClass(a[o-2],a[o]);break;case 58:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"square");break;case 59:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"doublecircle");break;case 60:this.$=a[o-5],r.addVertex(a[o-5],a[o-2],"circle");break;case 61:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"ellipse");break;case 62:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"stadium");break;case 63:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"subroutine");break;case 64:this.$=a[o-7],r.addVertex(a[o-7],a[o-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[o-5],a[o-3]]]));break;case 65:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"cylinder");break;case 66:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"round");break;case 67:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"diamond");break;case 68:this.$=a[o-5],r.addVertex(a[o-5],a[o-2],"hexagon");break;case 69:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"odd");break;case 70:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"trapezoid");break;case 71:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"inv_trapezoid");break;case 72:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"lean_right");break;case 73:this.$=a[o-3],r.addVertex(a[o-3],a[o-1],"lean_left");break;case 74:this.$=a[o],r.addVertex(a[o]);break;case 75:a[o-1].text=a[o],this.$=a[o-1];break;case 76:case 77:a[o-2].text=a[o-1],this.$=a[o-2];break;case 79:var l=r.destructLink(a[o],a[o-2]);this.$={type:l.type,stroke:l.stroke,length:l.length,text:a[o-1]};break;case 80:l=r.destructLink(a[o]),this.$={type:l.type,stroke:l.stroke,length:l.length};break;case 81:this.$=a[o-1];break;case 83:case 97:case 153:case 151:this.$=a[o-1]+""+a[o];break;case 98:case 99:this.$=a[o-4],r.addClass(a[o-2],a[o]);break;case 100:this.$=a[o-4],r.setClass(a[o-2],a[o]);break;case 101:case 109:this.$=a[o-1],r.setClickEvent(a[o-1],a[o]);break;case 102:case 110:this.$=a[o-3],r.setClickEvent(a[o-3],a[o-2]),r.setTooltip(a[o-3],a[o]);break;case 103:this.$=a[o-2],r.setClickEvent(a[o-2],a[o-1],a[o]);break;case 104:this.$=a[o-4],r.setClickEvent(a[o-4],a[o-3],a[o-2]),r.setTooltip(a[o-4],a[o]);break;case 105:case 111:this.$=a[o-1],r.setLink(a[o-1],a[o]);break;case 106:case 112:this.$=a[o-3],r.setLink(a[o-3],a[o-2]),r.setTooltip(a[o-3],a[o]);break;case 107:case 113:this.$=a[o-3],r.setLink(a[o-3],a[o-2],a[o]);break;case 108:case 114:this.$=a[o-5],r.setLink(a[o-5],a[o-4],a[o]),r.setTooltip(a[o-5],a[o-2]);break;case 115:this.$=a[o-4],r.addVertex(a[o-2],void 0,void 0,a[o]);break;case 116:case 118:this.$=a[o-4],r.updateLink(a[o-2],a[o]);break;case 117:this.$=a[o-4],r.updateLink([a[o-2]],a[o]);break;case 119:this.$=a[o-8],r.updateLinkInterpolate([a[o-6]],a[o-2]),r.updateLink([a[o-6]],a[o]);break;case 120:this.$=a[o-8],r.updateLinkInterpolate(a[o-6],a[o-2]),r.updateLink(a[o-6],a[o]);break;case 121:this.$=a[o-6],r.updateLinkInterpolate([a[o-4]],a[o]);break;case 122:this.$=a[o-6],r.updateLinkInterpolate(a[o-4],a[o]);break;case 124:case 126:a[o-2].push(a[o]),this.$=a[o-2];break;case 128:this.$=a[o-1]+a[o];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:n,22:r,24:i},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:r,24:i},t(a,s,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:r,24:i},{16:15,21:n,22:r,24:i},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:o,21:l,22:c,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:u,43:31,44:d,46:p,48:f,50:35,51:45,52:g,54:46,66:y,67:m,86:b,87:_,88:v,89:x,90:k,91:w,95:T,105:E,106:C,109:S,111:A,112:L,116:47,118:N,119:D,120:O,121:M,122:B,123:I,124:F,125:R,126:$,127:P},{8:64,10:[1,65],15:j},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,68],21:[1,69],22:Y,27:67,30:70},t(z,[2,11]),t(z,[2,12]),t(z,[2,13]),t(z,[2,14]),t(z,[2,15]),t(z,[2,16]),{9:72,20:U,21:W,23:H,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:U,21:W,23:H},{9:81,20:U,21:W,23:H},{9:82,20:U,21:W,23:H},{9:83,20:U,21:W,23:H},{9:84,20:U,21:W,23:H},{9:86,20:U,21:W,22:[1,85],23:H},t(z,[2,44]),{45:[1,87]},{47:[1,88]},t(z,[2,47]),t(q,[2,54],{30:89,22:Y}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:V,52:G,66:Z,67:X,84:[1,97],91:Q,97:96,98:[1,94],100:[1,95],105:K,106:J,109:tt,111:et,112:nt,115:100,117:98,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(z,[2,158]),t(z,[2,159]),t(z,[2,160]),t(z,[2,161]),t(ct,[2,55],{53:[1,116]}),t(ht,[2,74],{116:129,40:[1,117],52:g,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:y,67:m,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:w,95:T,105:E,106:C,109:S,111:A,112:L,122:B,123:I,124:F,125:R,126:$,127:P}),t(ut,[2,150]),t(ut,[2,175]),t(ut,[2,176]),t(ut,[2,177]),t(ut,[2,178]),t(ut,[2,179]),t(ut,[2,180]),t(ut,[2,181]),t(ut,[2,182]),t(ut,[2,183]),t(ut,[2,184]),t(ut,[2,185]),t(ut,[2,186]),t(ut,[2,187]),t(ut,[2,188]),t(ut,[2,189]),t(ut,[2,190]),{9:130,20:U,21:W,23:H},{11:131,14:[1,132]},t(dt,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,133]},t(pt,[2,34],{30:134,22:Y}),t(z,[2,35]),{50:135,51:45,52:g,54:46,66:y,67:m,91:w,95:T,105:E,106:C,109:S,111:A,112:L,116:47,122:B,123:I,124:F,125:R,126:$,127:P},t(ft,[2,48]),t(ft,[2,49]),t(ft,[2,50]),t(gt,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:yt,24:mt,26:bt,38:_t,39:139,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),t(z,[2,36]),t(z,[2,37]),t(z,[2,38]),t(z,[2,39]),t(z,[2,40]),{22:yt,24:mt,26:bt,38:_t,39:163,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(It,s,{17:164}),t(z,[2,45]),t(z,[2,46]),t(q,[2,53],{52:Ft}),{26:V,52:G,66:Z,67:X,91:Q,97:166,102:[1,167],105:K,106:J,109:tt,111:et,112:nt,115:100,117:98,122:rt,123:it,124:at,125:st,126:ot,127:lt},{95:[1,168],103:169,105:[1,170]},{26:V,52:G,66:Z,67:X,91:Q,95:[1,171],97:172,105:K,106:J,109:tt,111:et,112:nt,115:100,117:98,122:rt,123:it,124:at,125:st,126:ot,127:lt},{26:V,52:G,66:Z,67:X,91:Q,97:173,105:K,106:J,109:tt,111:et,112:nt,115:100,117:98,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(dt,[2,101],{22:[1,174],99:[1,175]}),t(dt,[2,105],{22:[1,176]}),t(dt,[2,109],{115:100,117:178,22:[1,177],26:V,52:G,66:Z,67:X,91:Q,105:K,106:J,109:tt,111:et,112:nt,122:rt,123:it,124:at,125:st,126:ot,127:lt}),t(dt,[2,111],{22:[1,179]}),t(Rt,[2,152]),t(Rt,[2,154]),t(Rt,[2,155]),t(Rt,[2,156]),t(Rt,[2,157]),t($t,[2,162]),t($t,[2,163]),t($t,[2,164]),t($t,[2,165]),t($t,[2,166]),t($t,[2,167]),t($t,[2,168]),t($t,[2,169]),t($t,[2,170]),t($t,[2,171]),t($t,[2,172]),t($t,[2,173]),t($t,[2,174]),{52:g,54:180,66:y,67:m,91:w,95:T,105:E,106:C,109:S,111:A,112:L,116:47,122:B,123:I,124:F,125:R,126:$,127:P},{22:yt,24:mt,26:bt,38:_t,39:181,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:182,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:184,42:vt,52:G,57:[1,183],66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:185,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:186,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:187,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{66:[1,188]},{22:yt,24:mt,26:bt,38:_t,39:189,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:190,42:vt,52:G,66:Z,67:X,71:[1,191],73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:192,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:193,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:194,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(ut,[2,151]),t(Pt,[2,3]),{8:195,15:j},{15:[2,7]},t(a,[2,28]),t(pt,[2,33]),t(q,[2,51],{30:196,22:Y}),t(gt,[2,75],{22:[1,197]}),{22:[1,198]},{22:yt,24:mt,26:bt,38:_t,39:199,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,66:Z,67:X,73:xt,81:kt,82:[1,200],83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t($t,[2,82]),t($t,[2,84]),t($t,[2,140]),t($t,[2,141]),t($t,[2,142]),t($t,[2,143]),t($t,[2,144]),t($t,[2,145]),t($t,[2,146]),t($t,[2,147]),t($t,[2,148]),t($t,[2,149]),t($t,[2,85]),t($t,[2,86]),t($t,[2,87]),t($t,[2,88]),t($t,[2,89]),t($t,[2,90]),t($t,[2,91]),t($t,[2,92]),t($t,[2,93]),t($t,[2,94]),t($t,[2,95]),{9:203,20:U,21:W,22:yt,23:H,24:mt,26:bt,38:_t,40:[1,202],42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{18:18,19:19,20:o,21:l,22:c,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:u,42:[1,204],43:31,44:d,46:p,48:f,50:35,51:45,52:g,54:46,66:y,67:m,86:b,87:_,88:v,89:x,90:k,91:w,95:T,105:E,106:C,109:S,111:A,112:L,116:47,118:N,119:D,120:O,121:M,122:B,123:I,124:F,125:R,126:$,127:P},{22:Y,30:205},{22:[1,206],26:V,52:G,66:Z,67:X,91:Q,105:K,106:J,109:tt,111:et,112:nt,115:100,117:178,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},t(jt,[2,123]),{22:[1,211]},{22:[1,212],26:V,52:G,66:Z,67:X,91:Q,105:K,106:J,109:tt,111:et,112:nt,115:100,117:178,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:[1,213],26:V,52:G,66:Z,67:X,91:Q,105:K,106:J,109:tt,111:et,112:nt,115:100,117:178,122:rt,123:it,124:at,125:st,126:ot,127:lt},{84:[1,214]},t(dt,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},t(Rt,[2,153]),{84:[1,219],101:[1,220]},t(ct,[2,57],{116:129,52:g,66:y,67:m,91:w,95:T,105:E,106:C,109:S,111:A,112:L,122:B,123:I,124:F,125:R,126:$,127:P}),{22:yt,24:mt,26:bt,38:_t,41:[1,221],42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,56:[1,222],66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:223,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,58:[1,224],66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,60:[1,225],66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,62:[1,226],66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,64:[1,227],66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{67:[1,228]},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,66:Z,67:X,70:[1,229],73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,66:Z,67:X,72:[1,230],73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,39:231,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,41:[1,232],42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,66:Z,67:X,73:xt,75:[1,233],77:[1,234],81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,66:Z,67:X,73:xt,75:[1,236],77:[1,235],81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{9:237,20:U,21:W,23:H},t(q,[2,52],{52:Ft}),t(gt,[2,77]),t(gt,[2,76]),{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,66:Z,67:X,68:[1,238],73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(gt,[2,79]),t($t,[2,83]),{22:yt,24:mt,26:bt,38:_t,39:239,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(It,s,{17:240}),t(z,[2,43]),{51:241,52:g,54:46,66:y,67:m,91:w,95:T,105:E,106:C,109:S,111:A,112:L,116:47,122:B,123:I,124:F,125:R,126:$,127:P},{22:Yt,66:zt,67:Ut,86:Wt,96:242,102:Ht,105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},{22:Yt,66:zt,67:Ut,86:Wt,96:256,102:Ht,105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},{22:Yt,66:zt,67:Ut,86:Wt,96:257,102:Ht,104:[1,258],105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},{22:Yt,66:zt,67:Ut,86:Wt,96:259,102:Ht,104:[1,260],105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},{105:[1,261]},{22:Yt,66:zt,67:Ut,86:Wt,96:262,102:Ht,105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},{22:Yt,66:zt,67:Ut,86:Wt,96:263,102:Ht,105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},{26:V,52:G,66:Z,67:X,91:Q,97:264,105:K,106:J,109:tt,111:et,112:nt,115:100,117:98,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(dt,[2,102]),{84:[1,265]},t(dt,[2,106],{22:[1,266]}),t(dt,[2,107]),t(dt,[2,110]),t(dt,[2,112],{22:[1,267]}),t(dt,[2,113]),t(ht,[2,58]),t(ht,[2,59]),{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,58:[1,268],66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(ht,[2,66]),t(ht,[2,61]),t(ht,[2,62]),t(ht,[2,63]),{66:[1,269]},t(ht,[2,65]),t(ht,[2,67]),{22:yt,24:mt,26:bt,38:_t,42:vt,52:G,66:Z,67:X,72:[1,270],73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(ht,[2,69]),t(ht,[2,70]),t(ht,[2,72]),t(ht,[2,71]),t(ht,[2,73]),t(Pt,[2,4]),t([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:yt,24:mt,26:bt,38:_t,41:[1,271],42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{18:18,19:19,20:o,21:l,22:c,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:u,42:[1,272],43:31,44:d,46:p,48:f,50:35,51:45,52:g,54:46,66:y,67:m,86:b,87:_,88:v,89:x,90:k,91:w,95:T,105:E,106:C,109:S,111:A,112:L,116:47,118:N,119:D,120:O,121:M,122:B,123:I,124:F,125:R,126:$,127:P},t(ct,[2,56]),t(dt,[2,115],{106:Kt}),t(Jt,[2,125],{108:274,22:Yt,66:zt,67:Ut,86:Wt,102:Ht,105:qt,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt}),t(te,[2,127]),t(te,[2,129]),t(te,[2,130]),t(te,[2,131]),t(te,[2,132]),t(te,[2,133]),t(te,[2,134]),t(te,[2,135]),t(te,[2,136]),t(te,[2,137]),t(te,[2,138]),t(te,[2,139]),t(dt,[2,116],{106:Kt}),t(dt,[2,117],{106:Kt}),{22:[1,275]},t(dt,[2,118],{106:Kt}),{22:[1,276]},t(jt,[2,124]),t(dt,[2,98],{106:Kt}),t(dt,[2,99],{106:Kt}),t(dt,[2,100],{115:100,117:178,26:V,52:G,66:Z,67:X,91:Q,105:K,106:J,109:tt,111:et,112:nt,122:rt,123:it,124:at,125:st,126:ot,127:lt}),t(dt,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:U,21:W,23:H},t(z,[2,42]),{22:Yt,66:zt,67:Ut,86:Wt,102:Ht,105:qt,107:283,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},t(te,[2,128]),{26:V,52:G,66:Z,67:X,91:Q,97:284,105:K,106:J,109:tt,111:et,112:nt,115:100,117:98,122:rt,123:it,124:at,125:st,126:ot,127:lt},{26:V,52:G,66:Z,67:X,91:Q,97:285,105:K,106:J,109:tt,111:et,112:nt,115:100,117:98,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(dt,[2,108]),t(dt,[2,114]),t(ht,[2,60]),{22:yt,24:mt,26:bt,38:_t,39:286,42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:140,84:wt,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},t(ht,[2,68]),t(It,s,{17:287}),t(Jt,[2,126],{108:274,22:Yt,66:zt,67:Ut,86:Wt,102:Ht,105:qt,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt}),t(dt,[2,121],{115:100,117:178,22:[1,288],26:V,52:G,66:Z,67:X,91:Q,105:K,106:J,109:tt,111:et,112:nt,122:rt,123:it,124:at,125:st,126:ot,127:lt}),t(dt,[2,122],{115:100,117:178,22:[1,289],26:V,52:G,66:Z,67:X,91:Q,105:K,106:J,109:tt,111:et,112:nt,122:rt,123:it,124:at,125:st,126:ot,127:lt}),{22:yt,24:mt,26:bt,38:_t,41:[1,290],42:vt,52:G,66:Z,67:X,73:xt,81:kt,83:201,85:151,86:Tt,87:Et,88:Ct,89:St,90:At,91:Lt,92:Nt,94:142,95:Dt,105:K,106:J,109:Ot,111:et,112:nt,113:Mt,114:Bt,115:148,122:rt,123:it,124:at,125:st,126:ot,127:lt},{18:18,19:19,20:o,21:l,22:c,23:h,32:24,33:25,34:26,35:27,36:28,37:29,38:u,42:[1,291],43:31,44:d,46:p,48:f,50:35,51:45,52:g,54:46,66:y,67:m,86:b,87:_,88:v,89:x,90:k,91:w,95:T,105:E,106:C,109:S,111:A,112:L,116:47,118:N,119:D,120:O,121:M,122:B,123:I,124:F,125:R,126:$,127:P},{22:Yt,66:zt,67:Ut,86:Wt,96:292,102:Ht,105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},{22:Yt,66:zt,67:Ut,86:Wt,96:293,102:Ht,105:qt,107:243,108:244,109:Vt,110:Gt,111:Zt,112:Xt,113:Qt},t(ht,[2,64]),t(z,[2,41]),t(dt,[2,119],{106:Kt}),t(dt,[2,120],{106:Kt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},ne={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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:{},performAction:function(t,e,n,r){switch(n){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:return t.lex.firstGraph()&&this.begin("dir"),24;case 37:return 38;case 38:return 42;case 39:case 40:case 41:case 42:return 101;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 118;case 55:return 119;case 56:return 120;case 57:return 121;case 58:return 105;case 59:return 111;case 60:return 53;case 61:return 67;case 62:return 52;case 63:return 20;case 64:return 106;case 65:return 126;case 66:case 67:case 68:return 82;case 69:case 70:case 71:return 81;case 72:return 59;case 73:return 60;case 74:return 61;case 75:return 62;case 76:return 63;case 77:return 64;case 78:return 65;case 79:return 69;case 80:return 70;case 81:return 55;case 82:return 56;case 83:return 109;case 84:return 112;case 85:return 127;case 86:return 124;case 87:return 113;case 88:case 89:return 125;case 90:return 114;case 91:return 73;case 92:return 92;case 93:return"SEP";case 94:return 91;case 95:return 66;case 96:return 75;case 97:return 74;case 98:return 77;case 99:return 76;case 100:return 122;case 101:return 123;case 102:return 68;case 103:return 57;case 104:return 58;case 105:return 40;case 106:return 41;case 107:return 71;case 108:return 72;case 109:return 133;case 110:return 21;case 111:return 22;case 112:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[43,44,45,46,47,48,49,50,51,52,53],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,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,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],inclusive:!0}}};function re(){this.yy={}}return ee.lexer=ne,re.prototype=ee,ee.Parser=re,new re}();yM.parser=yM;const mM=yM,bM=(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*graph/)},_M=(t,e)=>{var n;return"dagre-wrapper"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*graph/)||null!==t.match(/^\s*flowchart/)},vM="flowchart-";let xM,kM,wM=0,TM=tb(),EM={},CM=[],SM={},AM=[],LM={},NM={},DM=0,OM=!0,MM=[];const BM=t=>Fu.sanitizeText(t,TM),IM=function(t,e,n){iz.parseDirective(this,t,e,n)},FM=function(t){const e=Object.keys(EM);for(const n of e)if(EM[n].id===t)return EM[n].domId;return t},RM=function(t,e,n,r,i,a,s={}){let o,l=t;void 0!==l&&0!==l.trim().length&&(void 0===EM[l]&&(EM[l]={id:l,domId:vM+l+"-"+wM,styles:[],classes:[]}),wM++,void 0!==e?(TM=tb(),o=BM(e.trim()),'"'===o[0]&&'"'===o[o.length-1]&&(o=o.substring(1,o.length-1)),EM[l].text=o):void 0===EM[l].text&&(EM[l].text=t),void 0!==n&&(EM[l].type=n),null!=r&&r.forEach((function(t){EM[l].styles.push(t)})),null!=i&&i.forEach((function(t){EM[l].classes.push(t)})),void 0!==a&&(EM[l].dir=a),void 0===EM[l].props?EM[l].props=s:void 0!==s&&Object.assign(EM[l].props,s))},$M=function(t,e,n,r){const i={start:t,end:e,type:void 0,text:""};void 0!==(r=n.text)&&(i.text=BM(r.trim()),'"'===i.text[0]&&'"'===i.text[i.text.length-1]&&(i.text=i.text.substring(1,i.text.length-1))),void 0!==n&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length),CM.push(i)},PM=function(t,e,n,r){let i,a;for(i=0;i<t.length;i++)for(a=0;a<e.length;a++)$M(t[i],e[a],n,r)},jM=function(t,e){t.forEach((function(t){"default"===t?CM.defaultInterpolate=e:CM[t].interpolate=e}))},YM=function(t,e){t.forEach((function(t){"default"===t?CM.defaultStyle=e:(-1===Qy.isSubstringInArray("fill",e)&&e.push("fill:none"),CM[t].style=e)}))},zM=function(t,e){void 0===SM[t]&&(SM[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const n=e.replace("fill","bgFill").replace("color","fill");SM[t].textStyles.push(n)}SM[t].styles.push(e)}))},UM=function(t){xM=t,xM.match(/.*</)&&(xM="RL"),xM.match(/.*\^/)&&(xM="BT"),xM.match(/.*>/)&&(xM="LR"),xM.match(/.*v/)&&(xM="TB")},WM=function(t,e){t.split(",").forEach((function(t){let n=t;void 0!==EM[n]&&EM[n].classes.push(e),void 0!==LM[n]&&LM[n].classes.push(e)}))},HM=function(t,e){t.split(",").forEach((function(t){void 0!==e&&(NM["gen-1"===kM?FM(t):t]=BM(e))}))},qM=function(t,e,n){let r=FM(t);if("loose"!==tb().securityLevel||void 0===e)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),void 0!==EM[t]&&(EM[t].haveCallback=!0,MM.push((function(){const t=document.querySelector(`[id="${r}"]`);null!==t&&t.addEventListener("click",(function(){Qy.runFunc(e,...i)}),!1)})))},VM=function(t,e,n){t.split(",").forEach((function(t){void 0!==EM[t]&&(EM[t].link=Qy.formatUrl(e,TM),EM[t].linkTarget=n)})),WM(t,"clickable")},GM=function(t){return NM[t]},ZM=function(t,e,n){t.split(",").forEach((function(t){qM(t,e,n)})),WM(t,"clickable")},XM=function(t){MM.forEach((function(e){e(t)}))},QM=function(){return xM.trim()},KM=function(){return EM},JM=function(){return CM},tB=function(){return SM},eB=function(t){let e=dn(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=dn("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),dn(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=dn(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),dn(this).classed("hover",!1)}))};MM.push(eB);const nB=function(t,e,n){let r=t.trim(),i=n;function a(t){const e={boolean:{},number:{},string:{}},n=[];let r;return{nodeList:t.filter((function(t){const i=typeof t;return t.stmt&&"dir"===t.stmt?(r=t.value,!1):""!==t.trim()&&(i in e?!e[i].hasOwnProperty(t)&&(e[i][t]=!0):!n.includes(t)&&n.push(t))})),dir:r}}t===n&&n.match(/\s/)&&(r=void 0);let s=[];const{nodeList:o,dir:l}=a(s.concat.apply(s,e));if(s=o,"gen-1"===kM)for(let h=0;h<s.length;h++)s[h]=FM(s[h]);r=r||"subGraph"+DM,i=i||"",i=BM(i),DM+=1;const c={id:r,nodes:s,title:i.trim(),classes:[],dir:l};return p.info("Adding",c.id,c.nodes,c.dir),c.nodes=uB(c,AM).nodes,AM.push(c),LM[r]=c,r},rB=function(t){for(const[e,n]of AM.entries())if(n.id===t)return e;return-1};let iB=-1;const aB=[],sB=function(t,e){const n=AM[e].nodes;if(iB+=1,iB>2e3)return;if(aB[iB]=e,AM[e].id===t)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){const e=rB(n[r]);if(e>=0){const n=sB(t,e);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}},oB=t=>{let e=t.trim(),n="arrow_open";switch(e[0]){case"<":n="arrow_point",e=e.slice(1);break;case"x":n="arrow_cross",e=e.slice(1);break;case"o":n="arrow_circle",e=e.slice(1)}let r="normal";return e.includes("=")&&(r="thick"),e.includes(".")&&(r="dotted"),{type:n,stroke:r}},lB=(t,e)=>{const n=e.length;let r=0;for(let i=0;i<n;++i)e[i]===t&&++r;return r},cB=t=>{const e=t.trim();let n=e.slice(0,-1),r="arrow_open";switch(e.slice(-1)){case"x":r="arrow_cross","x"===e[0]&&(r="double_"+r,n=n.slice(1));break;case">":r="arrow_point","<"===e[0]&&(r="double_"+r,n=n.slice(1));break;case"o":r="arrow_circle","o"===e[0]&&(r="double_"+r,n=n.slice(1))}let i="normal",a=n.length-1;"="===n[0]&&(i="thick");let s=lB(".",n);return s&&(i="dotted",a=s),{type:r,stroke:i,length:a}},hB=(t,e)=>{let n=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(n=!0)})),n},uB=(t,e)=>{const n=[];return t.nodes.forEach(((r,i)=>{hB(e,r)||n.push(t.nodes[i])})),{nodes:n}},dB={parseDirective:IM,defaultConfig:()=>Um.flowchart,setAccTitle:Ub,getAccTitle:Wb,getAccDescription:qb,setAccDescription:Hb,addVertex:RM,lookUpDomId:FM,addLink:PM,updateLinkInterpolate:jM,updateLink:YM,addClass:zM,setDirection:UM,setClass:WM,setTooltip:HM,getTooltip:GM,setClickEvent:ZM,setLink:VM,bindFunctions:XM,getDirection:QM,getVertices:KM,getEdges:JM,getClasses:tB,clear:function(t="gen-1"){EM={},SM={},CM=[],MM=[eB],AM=[],LM={},DM=0,NM=[],OM=!0,kM=t,zb()},setGen:t=>{kM=t||"gen-1"},defaultStyle:function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},addSubGraph:nB,getDepthFirstPos:function(t){return aB[t]},indexNodes:function(){iB=-1,AM.length>0&&sB("none",AM.length-1)},getSubGraphs:function(){return AM},destructLink:(t,e)=>{const n=cB(t);let r;if(e){if(r=oB(e),r.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===r.type)r.type=n.type;else{if(r.type!==n.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return"double_arrow"===r.type&&(r.type="double_arrow_point"),r.length=n.length,r}return n},lex:{firstGraph:()=>!!OM&&(OM=!1,!0)},exists:hB,makeUniq:uB,setDiagramTitle:Vb,getDiagramTitle:Gb};function pB(t,e){return!!t.children(e).length}function fB(t){return yB(t.v)+":"+yB(t.w)+":"+yB(t.name)}var gB=/:/g;function yB(t){return t?String(t).replace(gB,"\\:"):""}function mB(t,e){e&&t.attr("style",e)}function bB(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))}function _B(t,e){var n=e.graph();if(oT(n)){var r=n.transition;if(Sg(r))return r(t)}return t}var vB={normal:kB,vee:wB,undirected:TB};function xB(t){vB=t}function kB(t,e,n,r){var i=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");mB(i,n[r+"Style"]),n[r+"Class"]&&i.attr("class",n[r+"Class"])}function wB(t,e,n,r){var i=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");mB(i,n[r+"Style"]),n[r+"Class"]&&i.attr("class",n[r+"Class"])}function TB(t,e,n,r){var i=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");mB(i,n[r+"Style"]),n[r+"Class"]&&i.attr("class",n[r+"Class"])}function EB(t,e){var n=t.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var i=e.label;switch(typeof i){case"function":r.insert(i);break;case"object":r.insert((function(){return i}));break;default:r.html(i)}mB(r,e.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var a=r.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}function CB(t,e){var n=t;return n.node().appendChild(e.label),mB(n,e.labelStyle),n}function SB(t,e){for(var n=t.append("text"),r=AB(e.label).split("\n"),i=0;i<r.length;i++)n.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(r[i]);return mB(n,e.labelStyle),n}function AB(t){for(var e,n="",r=!1,i=0;i<t.length;++i)e=t[i],r?(n+="n"===e?"\n":e,r=!1):"\\"===e?r=!0:n+=e;return n}function LB(t,e,n){var r=e.label,i=t.append("g");"svg"===e.labelType?CB(i,e):"string"!=typeof r||"html"===e.labelType?EB(i,e):SB(i,e);var a,s=i.node().getBBox();switch(n){case"top":a=-e.height/2;break;case"bottom":a=e.height/2-s.height;break;default:a=-s.height/2}return i.attr("transform","translate("+-s.width/2+","+a+")"),i}var NB=function(t,e){var n=e.nodes().filter((function(t){return pB(e,t)})),r=t.selectAll("g.cluster").data(n,(function(t){return t}));_B(r.exit(),e).style("opacity",0).remove();var i=r.enter().append("g").attr("class","cluster").attr("id",(function(t){return e.node(t).id})).style("opacity",0).each((function(t){var n=e.node(t),r=dn(this);dn(this).append("rect"),LB(r.append("g").attr("class","label"),n,n.clusterLabelPos)}));return(r=_B(r=r.merge(i),e).style("opacity",1)).selectAll("rect").each((function(t){var n=e.node(t);mB(dn(this),n.style)})),r};function DB(t){NB=t}let OB=function(t,e){var n=t.selectAll("g.edgeLabel").data(e.edges(),(function(t){return fB(t)})).classed("update",!0);return n.exit().remove(),n.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(n=t.selectAll("g.edgeLabel")).each((function(t){var n=dn(this);n.select(".label").remove();var r=e.edge(t),i=LB(n,e.edge(t),0).classed("label",!0),a=i.node().getBBox();r.labelId&&i.attr("id",r.labelId),ZS(r,"width")||(r.width=a.width),ZS(r,"height")||(r.height=a.height)})),_B(n.exit?n.exit():n.selectAll(null),e).style("opacity",0).remove(),n};function MB(t){OB=t}function BB(t,e){return t.intersect(e)}var IB=function(t,e,n){var r=t.selectAll("g.edgePath").data(e.edges(),(function(t){return fB(t)})).classed("update",!0),i=YB(r,e);zB(r,e);var a=void 0!==r.merge?r.merge(i):r;return _B(a,e).style("opacity",1),a.each((function(t){var n=dn(this),r=e.edge(t);r.elem=this,r.id&&n.attr("id",r.id),bB(n,r.class,(n.classed("update")?"update ":"")+"edgePath")})),a.selectAll("path.path").each((function(t){var n=e.edge(t);n.arrowheadId=OA("arrowhead");var r=dn(this).attr("marker-end",(function(){return"url("+RB(location.href,n.arrowheadId)+")"})).style("fill","none");_B(r,e).attr("d",(function(t){return $B(e,t)})),mB(r,n.style)})),a.selectAll("defs *").remove(),a.selectAll("defs").each((function(t){var r=e.edge(t);(0,n[r.arrowhead])(dn(this),r.arrowheadId,r,"arrowhead")})),a};function FB(t){IB=t}function RB(t,e){return t.split("#")[0]+"#"+e}function $B(t,e){var n=t.edge(e),r=t.node(e.v),i=t.node(e.w),a=n.points.slice(1,n.points.length-1);return a.unshift(BB(r,a[0])),a.push(BB(i,a[a.length-1])),PB(n,a)}function PB(t,e){var n=(zc||Ka.line)().x((function(t){return t.x})).y((function(t){return t.y}));return(n.curve||n.interpolate)(t.curve),n(e)}function jB(t){var e=t.getBBox(),n=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(e.width/2,e.height/2);return{x:n.e,y:n.f}}function YB(t,e){var n=t.enter().append("g").attr("class","edgePath").style("opacity",0);return n.append("path").attr("class","path").attr("d",(function(t){var n=e.edge(t),r=e.node(t.v).elem;return PB(n,kA(n.points.length).map((function(){return jB(r)})))})),n.append("defs"),n}function zB(t,e){_B(t.exit(),e).style("opacity",0).remove()}var UB=function(t,e,n){var r=e.nodes().filter((function(t){return!pB(e,t)})),i=t.selectAll("g.node").data(r,(function(t){return t})).classed("update",!0);return i.exit().remove(),i.enter().append("g").attr("class","node").style("opacity",0),(i=t.selectAll("g.node")).each((function(t){var r=e.node(t),i=dn(this);bB(i,r.class,(i.classed("update")?"update ":"")+"node"),i.select("g.label").remove();var a=i.append("g").attr("class","label"),s=LB(a,r),o=n[r.shape],l=mA(s.node().getBBox(),"width","height");r.elem=this,r.id&&i.attr("id",r.id),r.labelId&&a.attr("id",r.labelId),ZS(r,"width")&&(l.width=r.width),ZS(r,"height")&&(l.height=r.height),l.width+=r.paddingLeft+r.paddingRight,l.height+=r.paddingTop+r.paddingBottom,a.attr("transform","translate("+(r.paddingLeft-r.paddingRight)/2+","+(r.paddingTop-r.paddingBottom)/2+")");var c=dn(this);c.select(".label-container").remove();var h=o(c,l,r).classed("label-container",!0);mB(h,r.style);var u=h.node().getBBox();r.width=u.width,r.height=u.height})),_B(i.exit?i.exit():i.selectAll(null),e).style("opacity",0).remove(),i};function WB(t){UB=t}function HB(t,e){var n=t.filter((function(){return!dn(this).classed("update")}));function r(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}n.attr("transform",r),_B(t,e).style("opacity",1).attr("transform",r),_B(n.selectAll("rect"),e).attr("width",(function(t){return e.node(t).width})).attr("height",(function(t){return e.node(t).height})).attr("x",(function(t){return-e.node(t).width/2})).attr("y",(function(t){return-e.node(t).height/2}))}function qB(t,e){function n(t){var n=e.edge(t);return ZS(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter((function(){return!dn(this).classed("update")})).attr("transform",n),_B(t,e).style("opacity",1).attr("transform",n)}function VB(t,e){function n(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}t.filter((function(){return!dn(this).classed("update")})).attr("transform",n),_B(t,e).style("opacity",1).attr("transform",n)}function GB(t,e,n,r){var i=t.x,a=t.y,s=i-r.x,o=a-r.y,l=Math.sqrt(e*e*o*o+n*n*s*s),c=Math.abs(e*n*s/l);r.x<i&&(c=-c);var h=Math.abs(e*n*o/l);return r.y<a&&(h=-h),{x:i+c,y:a+h}}function ZB(t,e,n){return GB(t,e,e,n)}function XB(t,e,n,r){var i,a,s,o,l,c,h,u,d,p,f,g,y;if(i=e.y-t.y,s=t.x-e.x,l=e.x*t.y-t.x*e.y,d=i*n.x+s*n.y+l,p=i*r.x+s*r.y+l,!(0!==d&&0!==p&&QB(d,p)||(a=r.y-n.y,o=n.x-r.x,c=r.x*n.y-n.x*r.y,h=a*t.x+o*t.y+c,u=a*e.x+o*e.y+c,0!==h&&0!==u&&QB(h,u)||(f=i*o-a*s,0===f))))return g=Math.abs(f/2),{x:(y=s*c-o*l)<0?(y-g)/f:(y+g)/f,y:(y=a*l-i*c)<0?(y-g)/f:(y+g)/f}}function QB(t,e){return t*e>0}function KB(t,e,n){var r=t.x,i=t.y,a=[],s=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach((function(t){s=Math.min(s,t.x),o=Math.min(o,t.y)}));for(var l=r-t.width/2-s,c=i-t.height/2-o,h=0;h<e.length;h++){var u=e[h],d=e[h<e.length-1?h+1:0],p=XB(t,n,{x:l+u.x,y:c+u.y},{x:l+d.x,y:c+d.y});p&&a.push(p)}return a.length?(a.length>1&&a.sort((function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),s=e.x-n.x,o=e.y-n.y,l=Math.sqrt(s*s+o*o);return a<l?-1:a===l?0:1})),a[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",t),t)}function JB(t,e){var n,r,i=t.x,a=t.y,s=e.x-i,o=e.y-a,l=t.width/2,c=t.height/2;return Math.abs(o)*l>Math.abs(s)*c?(o<0&&(c=-c),n=0===o?0:c*s/o,r=c):(s<0&&(l=-l),n=l,r=0===s?0:l*o/s),{x:i+n,y:a+r}}var tI={rect:nI,ellipse:rI,circle:iI,diamond:aI};function eI(t){tI=t}function nI(t,e,n){var r=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return JB(n,t)},r}function rI(t,e,n){var r=e.width/2,i=e.height/2,a=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",r).attr("ry",i);return n.intersect=function(t){return GB(n,r,i,t)},a}function iI(t,e,n){var r=Math.max(e.width,e.height)/2,i=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",r);return n.intersect=function(t){return ZB(n,r,t)},i}function aI(t,e,n){var r=e.width*Math.SQRT2/2,i=e.height*Math.SQRT2/2,a=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],s=t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" "));return n.intersect=function(t){return KB(n,a,t)},s}function sI(){var t=function(t,e){cI(e);var n=uI(t,"output"),r=uI(n,"clusters"),i=uI(n,"edgePaths"),a=OB(uI(n,"edgeLabels"),e),s=UB(uI(n,"nodes"),e,tI);fN(e),VB(s,e),qB(a,e),IB(i,e,vB),HB(NB(r,e),e),hI(e)};return t.createNodes=function(e){return arguments.length?(WB(e),t):UB},t.createClusters=function(e){return arguments.length?(DB(e),t):NB},t.createEdgeLabels=function(e){return arguments.length?(MB(e),t):OB},t.createEdgePaths=function(e){return arguments.length?(FB(e),t):IB},t.shapes=function(e){return arguments.length?(eI(e),t):tI},t.arrows=function(e){return arguments.length?(xB(e),t):vB},t}var oI={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},lI={arrowhead:"normal",curve:Pc};function cI(t){t.nodes().forEach((function(e){var n=t.node(e);!ZS(n,"label")&&!t.children(e).length&&(n.label=e),ZS(n,"paddingX")&&CS(n,{paddingLeft:n.paddingX,paddingRight:n.paddingX}),ZS(n,"paddingY")&&CS(n,{paddingTop:n.paddingY,paddingBottom:n.paddingY}),ZS(n,"padding")&&CS(n,{paddingLeft:n.padding,paddingRight:n.padding,paddingTop:n.padding,paddingBottom:n.padding}),CS(n,oI),FS(["paddingLeft","paddingRight","paddingTop","paddingBottom"],(function(t){n[t]=Number(n[t])})),ZS(n,"width")&&(n._prevWidth=n.width),ZS(n,"height")&&(n._prevHeight=n.height)})),t.edges().forEach((function(e){var n=t.edge(e);ZS(n,"label")||(n.label=""),CS(n,lI)}))}function hI(t){FS(t.nodes(),(function(e){var n=t.node(e);ZS(n,"_prevWidth")?n.width=n._prevWidth:delete n.width,ZS(n,"_prevHeight")?n.height=n._prevHeight:delete n.height,delete n._prevWidth,delete n._prevHeight}))}function uI(t,e){var n=t.select("g."+e);return n.empty()&&(n=t.append("g").attr("class",e)),n}function dI(t,e,n){const r=.9*(e.width+e.height),i=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}],a=EI(t,r,r,i);return n.intersect=function(t){return KB(n,i,t)},a}function pI(t,e,n){const r=e.height,i=r/4,a=e.width+2*i,s=[{x:i,y:0},{x:a-i,y:0},{x:a,y:-r/2},{x:a-i,y:-r},{x:i,y:-r},{x:0,y:-r/2}],o=EI(t,a,r,s);return n.intersect=function(t){return KB(n,s,t)},o}function fI(t,e,n){const r=e.width,i=e.height,a=[{x:-i/2,y:0},{x:r,y:0},{x:r,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}],s=EI(t,r,i,a);return n.intersect=function(t){return KB(n,a,t)},s}function gI(t,e,n){const r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:i/6,y:-i}],s=EI(t,r,i,a);return n.intersect=function(t){return KB(n,a,t)},s}function yI(t,e,n){const r=e.width,i=e.height,a=[{x:2*i/6,y:0},{x:r+i/6,y:0},{x:r-2*i/6,y:-i},{x:-i/6,y:-i}],s=EI(t,r,i,a);return n.intersect=function(t){return KB(n,a,t)},s}function mI(t,e,n){const r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r+2*i/6,y:0},{x:r-i/6,y:-i},{x:i/6,y:-i}],s=EI(t,r,i,a);return n.intersect=function(t){return KB(n,a,t)},s}function bI(t,e,n){const r=e.width,i=e.height,a=[{x:i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:-2*i/6,y:-i}],s=EI(t,r,i,a);return n.intersect=function(t){return KB(n,a,t)},s}function _I(t,e,n){const r=e.width,i=e.height,a=[{x:0,y:0},{x:r+i/2,y:0},{x:r,y:-i/2},{x:r+i/2,y:-i},{x:0,y:-i}],s=EI(t,r,i,a);return n.intersect=function(t){return KB(n,a,t)},s}function vI(t,e,n){const r=e.height,i=e.width+r/4,a=t.insert("rect",":first-child").attr("rx",r/2).attr("ry",r/2).attr("x",-i/2).attr("y",-r/2).attr("width",i).attr("height",r);return n.intersect=function(t){return JB(n,t)},a}function xI(t,e,n){const r=e.width,i=e.height,a=[{x:0,y:0},{x:r,y:0},{x:r,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:r+8,y:0},{x:r+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],s=EI(t,r,i,a);return n.intersect=function(t){return KB(n,a,t)},s}function kI(t,e,n){const r=e.width,i=r/2,a=i/(2.5+r/50),s=e.height+a,o="M 0,"+a+" a "+i+","+a+" 0,0,0 "+r+" 0 a "+i+","+a+" 0,0,0 "+-r+" 0 l 0,"+s+" a "+i+","+a+" 0,0,0 "+r+" 0 l 0,"+-s,l=t.attr("label-offset-y",a).insert("path",":first-child").attr("d",o).attr("transform","translate("+-r/2+","+-(s/2+a)+")");return n.intersect=function(t){const e=JB(n,t),r=e.x-n.x;if(0!=i&&(Math.abs(r)<n.width/2||Math.abs(r)==n.width/2&&Math.abs(e.y-n.y)>n.height/2-a)){let s=a*a*(1-r*r/(i*i));0!=s&&(s=Math.sqrt(s)),s=a-s,t.y-n.y>0&&(s=-s),e.y+=s}return e},l}function wI(t){t.shapes().question=dI,t.shapes().hexagon=pI,t.shapes().stadium=vI,t.shapes().subroutine=xI,t.shapes().cylinder=kI,t.shapes().rect_left_inv_arrow=fI,t.shapes().lean_right=gI,t.shapes().lean_left=yI,t.shapes().trapezoid=mI,t.shapes().inv_trapezoid=bI,t.shapes().rect_right_inv_arrow=_I}function TI(t){t({question:dI}),t({hexagon:pI}),t({stadium:vI}),t({subroutine:xI}),t({cylinder:kI}),t({rect_left_inv_arrow:fI}),t({lean_right:gI}),t({lean_left:yI}),t({trapezoid:mI}),t({inv_trapezoid:bI}),t({rect_right_inv_arrow:_I})}function EI(t,e,n,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+-e/2+","+n/2+")")}const CI={addToRender:wI,addToRenderV2:TI},SI={},AI=function(t,e,n,r,i,a){const s=r?r.select(`[id="${n}"]`):dn(`[id="${n}"]`),o=i||document;Object.keys(t).forEach((function(n){const r=t[n];let i="default";r.classes.length>0&&(i=r.classes.join(" "));const l=By(r.styles);let c,h=void 0!==r.text?r.text:r.id;if(Bu(tb().flowchart.htmlLabels)){const t={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};c=EB(s,t).node(),c.parentNode.removeChild(c)}else{const t=o.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",l.labelStyle.replace("color:","fill:"));const e=h.split(Fu.lineBreakRegex);for(const n of e){const e=o.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}c=t}let u=0,d="";switch(r.type){case"round":u=5,d="rect";break;case"square":case"group":default:d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"odd":case"odd_right":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder"}p.warn("Adding node",r.id,r.domId),e.setNode(a.db.lookUpDomId(r.id),{labelType:"svg",labelStyle:l.labelStyle,shape:d,label:c,rx:u,ry:u,class:i,style:l.style,id:a.db.lookUpDomId(r.id)})}))},LI=function(t,e,n){let r,i,a=0;if(void 0!==t.defaultStyle){const e=By(t.defaultStyle);r=e.style,i=e.labelStyle}t.forEach((function(s){a++;var o="L-"+s.start+"-"+s.end,l="LS-"+s.start,c="LE-"+s.end;const h={};"arrow_open"===s.type?h.arrowhead="none":h.arrowhead="normal";let u="",d="";if(void 0!==s.style){const t=By(s.style);u=t.style,d=t.labelStyle}else switch(s.stroke){case"normal":u="fill:none",void 0!==r&&(u=r),void 0!==i&&(d=i);break;case"dotted":u="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":u=" stroke-width: 3.5px;fill:none"}h.style=u,h.labelStyle=d,void 0!==s.interpolate?h.curve=Cy(s.interpolate,Pc):void 0!==t.defaultInterpolate?h.curve=Cy(t.defaultInterpolate,Pc):h.curve=Cy(SI.curve,Pc),void 0===s.text?void 0!==s.style&&(h.arrowheadStyle="fill: #333"):(h.arrowheadStyle="fill: #333",h.labelpos="c",Bu(tb().flowchart.htmlLabels)?(h.labelType="html",h.label=`<span id="L-${o}" class="edgeLabel L-${l}' L-${c}" style="${h.labelStyle}">${s.text.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))}</span>`):(h.labelType="text",h.label=s.text.replace(Fu.lineBreakRegex,"\n"),void 0===s.style&&(h.style=h.style||"stroke: #333; stroke-width: 1.5px;fill:none"),h.labelStyle=h.labelStyle.replace("color:","fill:"))),h.id=o,h.class=l+" "+c,h.minlen=s.length||1,e.setEdge(n.db.lookUpDomId(s.start),n.db.lookUpDomId(s.end),h,a)}))},NI={setConf:function(t){const e=Object.keys(t);for(const n of e)SI[n]=t[n]},addVertices:AI,addEdges:LI,getClasses:function(t,e){p.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(n){return p.error(n),{}}},draw:function(t,e,n,r){p.info("Drawing flowchart"),r.db.clear();const{securityLevel:i,flowchart:a}=tb();let s;"sandbox"===i&&(s=dn("#i"+e));const o=dn("sandbox"===i?s.nodes()[0].contentDocument.body:"body"),l="sandbox"===i?s.nodes()[0].contentDocument:document;try{r.parser.parse(t)}catch{p.debug("Parsing failed")}let c=r.db.getDirection();void 0===c&&(c="TD");const h=a.nodeSpacing||50,u=a.rankSpacing||50,d=new $A({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:h,ranksep:u,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let f;const g=r.db.getSubGraphs();for(let p=g.length-1;p>=0;p--)f=g[p],r.db.addVertex(f.id,f.title,"group",void 0,f.classes);const y=r.db.getVertices();p.warn("Get vertices",y);const m=r.db.getEdges();let b=0;for(b=g.length-1;b>=0;b--){f=g[b],pn("cluster").append("text");for(let t=0;t<f.nodes.length;t++)p.warn("Setting subgraph",f.nodes[t],r.db.lookUpDomId(f.nodes[t]),r.db.lookUpDomId(f.id)),d.setParent(r.db.lookUpDomId(f.nodes[t]),r.db.lookUpDomId(f.id))}AI(y,d,e,o,l,r),LI(m,d,r);const _=new sI;CI.addToRender(_),_.arrows().none=function(t,e,n,r){mB(t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z"),n[r+"Style"])},_.arrows().normal=function(t,e){t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const v=o.select(`[id="${e}"]`),x=o.select("#"+e+" g");for(_(x,d),x.selectAll("g.node").attr("title",(function(){return r.db.getTooltip(this.id)})),r.db.indexNodes("subGraph"+b),b=0;b<g.length;b++)if(f=g[b],"undefined"!==f.title){const t=l.querySelectorAll("#"+e+' [id="'+r.db.lookUpDomId(f.id)+'"] rect'),n=l.querySelectorAll("#"+e+' [id="'+r.db.lookUpDomId(f.id)+'"]'),i=t[0].x.baseVal.value,a=t[0].y.baseVal.value,s=t[0].width.baseVal.value,o=dn(n[0]).select(".label");o.attr("transform",`translate(${i+s/2}, ${a+14})`),o.attr("id",e+"Text");for(let e=0;e<f.classes.length;e++)n[0].classList.add(f.classes[e])}if(!a.htmlLabels){const t=l.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=l.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild)}}ub(d,v,a.diagramPadding,a.useMaxWidth),Object.keys(y).forEach((function(t){const n=y[t];if(n.link){const a=o.select("#"+e+' [id="'+r.db.lookUpDomId(t)+'"]');if(a){const t=l.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===i?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=a.insert((function(){return t}),":first-child"),r=a.select(".label-container");r&&e.append((function(){return r.node()}));const s=a.select(".label");s&&e.append((function(){return s.node()}))}}}))}},DI={},OI=function(t,e,n,r,i,a){const s=r.select(`[id="${n}"]`);Object.keys(t).forEach((function(n){const r=t[n];let o="default";r.classes.length>0&&(o=r.classes.join(" "));const l=By(r.styles);let c,h=void 0!==r.text?r.text:r.id;if(Bu(tb().flowchart.htmlLabels)){const t={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};c=EB(s,t).node(),c.parentNode.removeChild(c)}else{const t=i.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",l.labelStyle.replace("color:","fill:"));const e=h.split(Fu.lineBreakRegex);for(const n of e){const e=i.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}c=t}let u=0,d="";switch(r.type){case"round":u=5,d="rect";break;case"square":case"group":default:d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"odd":case"odd_right":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"doublecircle":d="doublecircle"}e.setNode(r.id,{labelStyle:l.labelStyle,shape:d,labelText:h,rx:u,ry:u,class:o,style:l.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:tb().flowchart.padding}),p.info("setNode",{labelStyle:l.labelStyle,shape:d,labelText:h,rx:u,ry:u,class:o,style:l.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:tb().flowchart.padding})}))},MI=function(t,e,n){p.info("abc78 edges = ",t);let r,i,a=0,s={};if(void 0!==t.defaultStyle){const e=By(t.defaultStyle);r=e.style,i=e.labelStyle}t.forEach((function(n){a++;var o="L-"+n.start+"-"+n.end;void 0===s[o]?(s[o]=0,p.info("abc78 new entry",o,s[o])):(s[o]++,p.info("abc78 new entry",o,s[o]));let l=o+"-"+s[o];p.info("abc78 new link id to be used is",o,l,s[o]);var c="LS-"+n.start,h="LE-"+n.end;const u={style:"",labelStyle:""};switch(u.minlen=n.length||1,"arrow_open"===n.type?u.arrowhead="none":u.arrowhead="normal",u.arrowTypeStart="arrow_open",u.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":u.arrowTypeStart="arrow_cross";case"arrow_cross":u.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":u.arrowTypeStart="arrow_point";case"arrow_point":u.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":u.arrowTypeStart="arrow_circle";case"arrow_circle":u.arrowTypeEnd="arrow_circle"}let d="",f="";switch(n.stroke){case"normal":d="fill:none;",void 0!==r&&(d=r),void 0!==i&&(f=i),u.thickness="normal",u.pattern="solid";break;case"dotted":u.thickness="normal",u.pattern="dotted",u.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":u.thickness="thick",u.pattern="solid",u.style="stroke-width: 3.5px;fill:none;"}if(void 0!==n.style){const t=By(n.style);d=t.style,f=t.labelStyle}u.style=u.style+=d,u.labelStyle=u.labelStyle+=f,void 0!==n.interpolate?u.curve=Cy(n.interpolate,Pc):void 0!==t.defaultInterpolate?u.curve=Cy(t.defaultInterpolate,Pc):u.curve=Cy(DI.curve,Pc),void 0===n.text?void 0!==n.style&&(u.arrowheadStyle="fill: #333"):(u.arrowheadStyle="fill: #333",u.labelpos="c"),u.labelType="text",u.label=n.text.replace(Fu.lineBreakRegex,"\n"),void 0===n.style&&(u.style=u.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),u.labelStyle=u.labelStyle.replace("color:","fill:"),u.id=l,u.classes="flowchart-link "+c+" "+h,e.setEdge(n.start,n.end,u,a)}))},BI={setConf:function(t){const e=Object.keys(t);for(const n of e)DI[n]=t[n]},addVertices:OI,addEdges:MI,getClasses:function(t,e){p.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch{return}},draw:function(t,e,n,r){p.info("Drawing flowchart"),r.db.clear(),dB.setGen("gen-2"),r.parser.parse(t);let i=r.db.getDirection();void 0===i&&(i="TD");const{securityLevel:a,flowchart:s}=tb(),o=s.nodeSpacing||50,l=s.rankSpacing||50;let c;"sandbox"===a&&(c=dn("#i"+e));const h=dn("sandbox"===a?c.nodes()[0].contentDocument.body:"body"),u="sandbox"===a?c.nodes()[0].contentDocument:document,d=new $A({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:o,ranksep:l,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let f;const g=r.db.getSubGraphs();p.info("Subgraphs - ",g);for(let x=g.length-1;x>=0;x--)f=g[x],p.info("Subgraph - ",f),r.db.addVertex(f.id,f.title,"group",void 0,f.classes,f.dir);const y=r.db.getVertices(),m=r.db.getEdges();p.info(m);let b=0;for(b=g.length-1;b>=0;b--){f=g[b],pn("cluster").append("text");for(let t=0;t<f.nodes.length;t++)p.info("Setting up subgraphs",f.nodes[t],f.id),d.setParent(f.nodes[t],f.id)}OI(y,d,e,h,u,r),MI(m,d);const _=h.select(`[id="${e}"]`),v=h.select("#"+e+" g");if(MO(v,d,["point","circle","cross"],"flowchart",e),Qy.insertTitle(_,"flowchartTitleText",s.titleTopMargin,r.db.getDiagramTitle()),ub(d,_,s.diagramPadding,s.useMaxWidth),r.db.indexNodes("subGraph"+b),!s.htmlLabels){const t=u.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=u.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild)}}Object.keys(y).forEach((function(t){const n=y[t];if(n.link){const r=dn("#"+e+' [id="'+t+'"]');if(r){const t=u.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===a?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=r.insert((function(){return t}),":first-child"),i=r.select(".label-container");i&&e.append((function(){return i.node()}));const s=r.select(".label");s&&e.append((function(){return s.node()}))}}}))}};var II=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],i=[1,15],a=[1,16],s=[1,17],o=[1,18],l=[1,19],c=[1,20],h=[1,21],u=[1,22],d=[1,23],p=[1,24],f=[1,25],g=[1,26],y=[1,27],m=[1,29],b=[1,31],_=[1,34],v=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],x={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 2:return a[o-1];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:this.$=a[o];break;case 9:r.setDateFormat(a[o].substr(11)),this.$=a[o].substr(11);break;case 10:r.enableInclusiveEndDates(),this.$=a[o].substr(18);break;case 11:r.TopAxis(),this.$=a[o].substr(8);break;case 12:r.setAxisFormat(a[o].substr(11)),this.$=a[o].substr(11);break;case 13:r.setTickInterval(a[o].substr(13)),this.$=a[o].substr(13);break;case 14:r.setExcludes(a[o].substr(9)),this.$=a[o].substr(9);break;case 15:r.setIncludes(a[o].substr(9)),this.$=a[o].substr(9);break;case 16:r.setTodayMarker(a[o].substr(12)),this.$=a[o].substr(12);break;case 17:r.setDiagramTitle(a[o].substr(6)),this.$=a[o].substr(6);break;case 18:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 19:case 20:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 21:r.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 23:r.addTask(a[o-1],a[o]),this.$="task";break;case 27:this.$=a[o-1],r.setClickEvent(a[o-1],a[o],null);break;case 28:this.$=a[o-2],r.setClickEvent(a[o-2],a[o-1],a[o]);break;case 29:this.$=a[o-2],r.setClickEvent(a[o-2],a[o-1],null),r.setLink(a[o-2],a[o]);break;case 30:this.$=a[o-3],r.setClickEvent(a[o-3],a[o-2],a[o-1]),r.setLink(a[o-3],a[o]);break;case 31:this.$=a[o-2],r.setClickEvent(a[o-2],a[o],null),r.setLink(a[o-2],a[o-1]);break;case 32:this.$=a[o-3],r.setClickEvent(a[o-3],a[o-1],a[o]),r.setLink(a[o-3],a[o-2]);break;case 33:this.$=a[o-1],r.setLink(a[o-1],a[o]);break;case 34:case 40:this.$=a[o-1]+" "+a[o];break;case 35:case 36:case 38:this.$=a[o-2]+" "+a[o-1]+" "+a[o];break;case 37:case 39:this.$=a[o-3]+" "+a[o-2]+" "+a[o-1]+" "+a[o];break;case 41:r.parseDirective("%%{","open_directive");break;case 42:r.parseDirective(a[o],"type_directive");break;case 43:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 44:r.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(r,[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:i,13:a,14:s,15:o,16:l,17:c,18:h,19:u,20:d,21:p,23:f,25:g,26:y,27:28,28:m,30:4,35:b,40:n},{32:32,33:[1,33],43:_},t([33,43],[2,42]),t(r,[2,8],{1:[2,2]}),t(r,[2,4]),{4:30,10:35,12:i,13:a,14:s,15:o,16:l,17:c,18:h,19:u,20:d,21:p,23:f,25:g,26:y,27:28,28:m,30:4,35:b,40:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),t(r,[2,12]),t(r,[2,13]),t(r,[2,14]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{22:[1,36]},{24:[1,37]},t(r,[2,20]),t(r,[2,21]),t(r,[2,22]),{29:[1,38]},t(r,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(r,[2,5]),t(r,[2,18]),t(r,[2,19]),t(r,[2,23]),t(r,[2,27],{37:[1,44],38:[1,45]}),t(r,[2,33],{36:[1,46]}),t(v,[2,25]),{32:47,43:_},{43:[2,43]},t(r,[2,28],{38:[1,48]}),t(r,[2,29]),t(r,[2,31],{37:[1,49]}),{11:[1,50]},t(r,[2,30]),t(r,[2,32]),t(v,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){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 w(){this.yy={}}return x.lexer=k,w.prototype=x,x.Parser=w,new w}();II.parser=II;const FI=II,RI=t=>null!==t.match(/^\s*gantt/);let $I,PI="",jI="",YI="",zI=[],UI=[],WI={},HI=[],qI=[],VI="";const GI=["active","done","crit","milestone"];let ZI=[],XI=!1,QI=!1,KI=0;const JI=function(){HI=[],qI=[],VI="",ZI=[],oF=0,uF=void 0,dF=void 0,pF=[],PI="",jI="",$I=void 0,YI="",zI=[],UI=[],XI=!1,QI=!1,KI=0,WI={},zb()},tF=function(){let t=yF();const e=10;let n=0;for(;!t&&n<e;)t=yF(),n++;return qI=pF,qI},eF=function(t,e,n,r){return!r.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends")||n.includes(t.format("dddd").toLowerCase()))||n.includes(t.format(e.trim())))},nF=function(t,e,n,r){if(!n.length||t.manualEndTime)return;let i=u(t.startTime,e,!0);i.add(1,"d");let a=u(t.endTime,e,!0),s=rF(i,a,e,n,r);t.endTime=a.toDate(),t.renderEndTime=s},rF=function(t,e,n,r,i){let a=!1,s=null;for(;t<=e;)a||(s=e.toDate()),a=eF(t,n,r,i),a&&e.add(1,"d"),t.add(1,"d");return s},iF=function(t,e,n){n=n.trim();const r=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==r){let t=null;if(r[1].split(" ").forEach((function(e){let n=gF(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 i=u(n,e.trim(),!0);if(i.isValid())return i.toDate();{p.debug("Invalid date:"+n),p.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}},aF=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?u.duration(Number.parseFloat(e[1]),e[2]):u.duration.invalid()},sF=function(t,e,n,r=!1){n=n.trim();let i=u(n,e.trim(),!0);if(i.isValid())return r&&i.add(1,"d"),i.toDate();const a=u(t),s=aF(n);return s.isValid()&&a.add(s),a.toDate()};let oF=0;const lF=function(t){return void 0===t?(oF+=1,"task"+oF):t},cF=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const r=n.split(","),i={};kF(r,i,GI);for(let s=0;s<r.length;s++)r[s]=r[s].trim();let a="";switch(r.length){case 1:i.id=lF(),i.startTime=t.endTime,a=r[0];break;case 2:i.id=lF(),i.startTime=iF(void 0,PI,r[0]),a=r[1];break;case 3:i.id=lF(r[0]),i.startTime=iF(void 0,PI,r[1]),a=r[2]}return a&&(i.endTime=sF(i.startTime,PI,a,XI),i.manualEndTime=u(a,"YYYY-MM-DD",!0).isValid(),nF(i,PI,UI,zI)),i},hF=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const r=n.split(","),i={};kF(r,i,GI);for(let a=0;a<r.length;a++)r[a]=r[a].trim();switch(r.length){case 1:i.id=lF(),i.startTime={type:"prevTaskEnd",id:t},i.endTime={data:r[0]};break;case 2:i.id=lF(),i.startTime={type:"getStartDate",startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=lF(r[0]),i.startTime={type:"getStartDate",startData:r[1]},i.endTime={data:r[2]}}return i};let uF,dF,pF=[];const fF={},gF=function(t){const e=fF[t];return pF[e]},yF=function(){const t=function(t){const e=pF[t];let n="";switch(pF[t].raw.startTime.type){case"prevTaskEnd":{const t=gF(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=iF(void 0,PI,pF[t].raw.startTime.startData),n&&(pF[t].startTime=n)}return pF[t].startTime&&(pF[t].endTime=sF(pF[t].startTime,PI,pF[t].raw.endTime.data,XI),pF[t].endTime&&(pF[t].processed=!0,pF[t].manualEndTime=u(pF[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),nF(pF[t],PI,UI,zI))),pF[t].processed};let e=!0;for(const[n,r]of pF.entries())t(n),e=e&&r.processed;return e},mF=function(t,e){let n=e;"loose"!==tb().securityLevel&&(n=m(e)),t.split(",").forEach((function(t){void 0!==gF(t)&&(vF(t,(()=>{window.open(n,"_self")})),WI[t]=n)})),bF(t,"clickable")},bF=function(t,e){t.split(",").forEach((function(t){let n=gF(t);void 0!==n&&n.classes.push(e)}))},_F=function(t,e,n){if("loose"!==tb().securityLevel||void 0===e)return;let r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<r.length;t++){let e=r[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),r[t]=e}}0===r.length&&r.push(t),void 0!==gF(t)&&vF(t,(()=>{Qy.runFunc(e,...r)}))},vF=function(t,e){ZI.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()}))}))},xF={parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().gantt,clear:JI,setDateFormat:function(t){PI=t},getDateFormat:function(){return PI},enableInclusiveEndDates:function(){XI=!0},endDatesAreInclusive:function(){return XI},enableTopAxis:function(){QI=!0},topAxisEnabled:function(){return QI},setAxisFormat:function(t){jI=t},getAxisFormat:function(){return jI},setTickInterval:function(t){$I=t},getTickInterval:function(){return $I},setTodayMarker:function(t){YI=t},getTodayMarker:function(){return YI},setAccTitle:Ub,getAccTitle:Wb,setDiagramTitle:Vb,getDiagramTitle:Gb,setAccDescription:Hb,getAccDescription:qb,addSection:function(t){VI=t,HI.push(t)},getSections:function(){return HI},getTasks:tF,addTask:function(t,e){const n={section:VI,type:VI,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},r=hF(dF,e);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=dF,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.order=KI,KI++;const i=pF.push(n);dF=n.id,fF[n.id]=i-1},findTaskById:gF,addTaskOrg:function(t,e){const n={section:VI,type:VI,description:t,task:t,classes:[]},r=cF(uF,e);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,uF=n,qI.push(n)},setIncludes:function(t){zI=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return zI},setExcludes:function(t){UI=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return UI},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){_F(t,e,n)})),bF(t,"clickable")},setLink:mF,getLinks:function(){return WI},bindFunctions:function(t){ZI.forEach((function(e){e(t)}))},parseDuration:aF,isInvalidDate:eF};function kF(t,e,n){let r=!0;for(;r;)r=!1,n.forEach((function(n){const i=new RegExp("^\\s*"+n+"\\s*$");t[0].match(i)&&(e[n]=!0,t.shift(1),r=!0)}))}let wF;const TF={setConf:function(){p.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,r){const i=tb().gantt,a=tb().securityLevel;let s;"sandbox"===a&&(s=dn("#i"+e));const o=dn("sandbox"===a?s.nodes()[0].contentDocument.body:"body"),l="sandbox"===a?s.nodes()[0].contentDocument:document,c=l.getElementById(e);wF=c.parentElement.offsetWidth,void 0===wF&&(wF=1200),void 0!==i.useWidth&&(wF=i.useWidth);const h=r.db.getTasks(),d=h.length*(i.barHeight+i.barGap)+2*i.topPadding;c.setAttribute("viewBox","0 0 "+wF+" "+d);const p=o.select(`[id="${e}"]`),f=fc().domain([H(h,(function(t){return t.startTime})),W(h,(function(t){return t.endTime}))]).rangeRound([0,wF-i.leftPadding-i.rightPadding]);let g=[];for(const u of h)g.push(u.type);const y=g;function m(t,e){const n=t.startTime,r=e.startTime;let i=0;return n>r?i=1:n<r&&(i=-1),i}function b(t,e,n){const a=i.barHeight,s=a+i.barGap,o=i.topPadding,l=i.leftPadding,c=Ps().domain([0,g.length]).range(["#00B9FA","#F95002"]).interpolate(Xr);v(s,o,l,e,n,t,r.db.getExcludes(),r.db.getIncludes()),x(l,o,e,n),_(t,s,o,l,a,c,e),k(s,o),w(l,o,e,n)}function _(t,n,a,s,o,l,c){p.append("g").selectAll("rect").data(t).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+a-2})).attr("width",(function(){return c-i.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of g.entries())if(t.type===n)return"section section"+e%i.numberSectionStyles;return"section section0"}));const h=p.append("g").selectAll("rect").data(t).enter(),u=r.db.getLinks();if(h.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?f(t.startTime)+s+.5*(f(t.endTime)-f(t.startTime))-.5*o:f(t.startTime)+s})).attr("y",(function(t,e){return t.order*n+a})).attr("width",(function(t){return t.milestone?o:f(t.renderEndTime||t.endTime)-f(t.startTime)})).attr("height",o).attr("transform-origin",(function(t,e){return e=t.order,(f(t.startTime)+s+.5*(f(t.endTime)-f(t.startTime))).toString()+"px "+(e*n+a+.5*o).toString()+"px"})).attr("class",(function(t){const e="task";let n="";t.classes.length>0&&(n=t.classes.join(" "));let r=0;for(const[s,o]of g.entries())t.type===o&&(r=s%i.numberSectionStyles);let a="";return t.active?t.crit?a+=" activeCrit":a=" active":t.done?a=t.crit?" doneCrit":" done":t.crit&&(a+=" crit"),0===a.length&&(a=" task"),t.milestone&&(a=" milestone "+a),a+=r,a+=" "+n,e+a})),h.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",i.fontSize).attr("x",(function(t){let e=f(t.startTime),n=f(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(f(t.endTime)-f(t.startTime))-.5*o),t.milestone&&(n=e+o);const r=this.getBBox().width;return r>n-e?n+r+1.5*i.leftPadding>c?e+s-5:n+s+5:(n-e)/2+e+s})).attr("y",(function(t,e){return t.order*n+i.barHeight/2+(i.fontSize/2-2)+a})).attr("text-height",o).attr("class",(function(t){const e=f(t.startTime);let n=f(t.endTime);t.milestone&&(n=e+o);const r=this.getBBox().width;let a="";t.classes.length>0&&(a=t.classes.join(" "));let s=0;for(const[o,c]of g.entries())t.type===c&&(s=o%i.numberSectionStyles);let l="";return t.active&&(l=t.crit?"activeCritText"+s:"activeText"+s),t.done?l=t.crit?l+" doneCritText"+s:l+" doneText"+s:t.crit&&(l=l+" critText"+s),t.milestone&&(l+=" milestoneText"),r>n-e?n+r+1.5*i.leftPadding>c?a+" taskTextOutsideLeft taskTextOutside"+s+" "+l:a+" taskTextOutsideRight taskTextOutside"+s+" "+l+" width-"+r:a+" taskText taskText"+s+" "+l+" width-"+r})),"sandbox"===tb().securityLevel){let t;t=dn("#i"+e);const n=t.nodes()[0].contentDocument;h.filter((function(t){return void 0!==u[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),r=n.querySelector("#"+t.id+"-text");const i=e.parentNode;var a=n.createElement("a");a.setAttribute("xlink:href",u[t.id]),a.setAttribute("target","_top"),i.appendChild(a),a.appendChild(e),a.appendChild(r)}))}}function v(t,e,n,a,s,o,l,c){const h=o.reduce(((t,{startTime:e})=>t?Math.min(t,e):e),0),d=o.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),g=r.db.getDateFormat();if(!h||!d)return;const y=[];let m=null,b=u(h);for(;b.valueOf()<=d;)r.db.isInvalidDate(b,g,l,c)?m?m.end=b.clone():m={start:b.clone(),end:b.clone()}:m&&(y.push(m),m=null),b.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 f(t.start)+n})).attr("y",i.gridLineStartPadding).attr("width",(function(t){const e=t.end.clone().add(1,"day");return f(e)-f(t.start)})).attr("height",s-e-i.gridLineStartPadding).attr("transform-origin",(function(e,r){return(f(e.start)+n+.5*(f(e.end)-f(e.start))).toString()+"px "+(r*t+.5*s).toString()+"px"})).attr("class","exclude-range")}function x(t,e,n,a){let s=at(f).tickSize(-a+e+i.gridLineStartPadding).tickFormat(qo(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(null!==o){const t=o[1];switch(o[2]){case"minute":s.ticks(no.every(t));break;case"hour":s.ticks(io.every(t));break;case"day":s.ticks(so.every(t));break;case"week":s.ticks(lo.every(t));break;case"month":s.ticks(mo.every(t))}}if(p.append("g").attr("class","grid").attr("transform","translate("+t+", "+(a-50)+")").call(s).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),r.db.topAxisEnabled()||i.topAxis){let n=it(f).tickSize(-a+e+i.gridLineStartPadding).tickFormat(qo(r.db.getAxisFormat()||i.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1];switch(o[2]){case"minute":n.ticks(no.every(t));break;case"hour":n.ticks(io.every(t));break;case"day":n.ticks(so.every(t));break;case"week":n.ticks(lo.every(t));break;case"month":n.ticks(mo.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)}}function k(t,e){const n=[];let r=0;for(const[i,a]of g.entries())n[i]=[a,C(a,y)];p.append("g").selectAll("text").data(n).enter().append((function(t){const e=t[0].split(Fu.lineBreakRegex),n=-(e.length-1)/2,r=l.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("dy",n+"em");for(const[i,a]of e.entries()){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttribute("alignment-baseline","central"),t.setAttribute("x","10"),i>0&&t.setAttribute("dy","1em"),t.textContent=a,r.appendChild(t)}return r})).attr("x",10).attr("y",(function(i,a){if(!(a>0))return i[1]*t/2+e;for(let s=0;s<a;s++)return r+=n[a-1][1],i[1]*t/2+r*t+e})).attr("font-size",i.sectionFontSize).attr("font-size",i.sectionFontSize).attr("class",(function(t){for(const[e,n]of g.entries())if(t[0]===n)return"sectionTitle sectionTitle"+e%i.numberSectionStyles;return"sectionTitle"}))}function w(t,e,n,a){const s=r.db.getTodayMarker();if("off"===s)return;const o=p.append("g").attr("class","today"),l=new Date,c=o.append("line");c.attr("x1",f(l)+t).attr("x2",f(l)+t).attr("y1",i.titleTopMargin).attr("y2",a-i.titleTopMargin).attr("class","today"),""!==s&&c.attr("style",s.replace(/,/g,";"))}function T(t){const e={},n=[];for(let r=0,i=t.length;r<i;++r)Object.prototype.hasOwnProperty.call(e,t[r])||(e[t[r]]=!0,n.push(t[r]));return n}function E(t){let e=t.length;const n={};for(;e;)n[t[--e]]=(n[t[e]]||0)+1;return n}function C(t,e){return E(e)[t]||0}g=T(g),h.sort(m),b(h,wF,d),hb(p,d,wF,i.useMaxWidth),p.append("text").text(r.db.getDiagramTitle()).attr("x",wF/2).attr("y",i.titleTopMargin).attr("class","titleText")}};var EF=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,r,i,a,s){switch(a.length,i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);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,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 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){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 i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();EF.parser=EF;const CF=EF;var SF="",AF=!1;const LF={setMessage:t=>{p.debug("Setting message to: "+t),SF=t},getMessage:()=>SF,setInfo:t=>{AF=t},getInfo:()=>AF,clear:zb},NF={draw:(t,e,n)=>{try{p.debug("Rendering info diagram\n"+t);const r=tb().securityLevel;let i;"sandbox"===r&&(i=dn("#i"+e));const a=dn("sandbox"===r?i.nodes()[0].contentDocument.body:"body").select("#"+e);a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),a.attr("height",100),a.attr("width",400)}catch(l){p.error("Error while rendering info diagram"),p.error(l.message)}}},DF=t=>null!==t.match(/^\s*info/);var OF=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,5],r=[1,6],i=[1,7],a=[1,9],s=[1,11,13,15,17,19,20,26,27,28,29],o=[2,5],l=[1,6,11,13,15,17,19,20,26,27,28,29],c=[26,27,28],h=[2,8],u=[1,18],d=[1,19],p=[1,20],f=[1,21],g=[1,22],y=[1,23],m=[1,28],b=[6,26,27,28,29],_={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 4:r.setShowData(!0);break;case 7:this.$=a[o-1];break;case 9:r.addSection(a[o-1],r.cleanupValue(a[o]));break;case 10:this.$=a[o].trim(),r.setDiagramTitle(this.$);break;case 11:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 12:case 13:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 14:r.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 21:r.parseDirective("%%{","open_directive");break;case 22:r.parseDirective(a[o],"type_directive");break;case 23:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 24:r.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,21:8,26:n,27:r,28:i,29:a},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:n,27:r,28:i,29:a},{3:11,4:2,5:3,6:e,21:8,26:n,27:r,28:i,29:a},t(s,o,{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(c,h,{21:8,9:16,10:17,5:24,1:[2,3],11:u,13:d,15:p,17:f,19:g,20:y,29:a}),t(s,o,{7:25}),{23:26,24:[1,27],32:m},t([24,32],[2,22]),t(s,[2,6]),{4:29,26:n,27:r,28:i},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(c,[2,13]),t(c,[2,14]),t(c,[2,15]),t(c,h,{21:8,9:16,10:17,5:24,1:[2,4],11:u,13:d,15:p,17:f,19:g,20:y,29:a}),t(b,[2,16]),{25:34,31:[1,35]},t(b,[2,24]),t(s,[2,7]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11]),t(c,[2,12]),{23:36,32:m},{32:[2,23]},t(b,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},v={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){switch(n){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function x(){this.yy={}}return _.lexer=v,x.prototype=_,_.Parser=x,new x}();OF.parser=OF;const MF=OF,BF=t=>null!==t.match(/^\s*pie/)||null!==t.match(/^\s*bar/);let IF={},FF=!1;const RF={parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().pie,addSection:function(t,e){t=Fu.sanitizeText(t,tb()),void 0===IF[t]&&(IF[t]=e,p.debug("Added new section :",t))},getSections:()=>IF,cleanupValue:function(t){return":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())},clear:function(){IF={},FF=!1,zb()},setAccTitle:Ub,getAccTitle:Wb,setDiagramTitle:Vb,getDiagramTitle:Gb,setShowData:function(t){FF=t},getShowData:function(){return FF},getAccDescription:qb,setAccDescription:Hb};let $F,PF=tb();const jF=450,YF={draw:(t,e,n,r)=>{try{PF=tb(),p.debug("Rendering info diagram\n"+t);const n=tb().securityLevel;let b;"sandbox"===n&&(b=dn("#i"+e));const _=dn("sandbox"===n?b.nodes()[0].contentDocument.body:"body"),v="sandbox"===n?b.nodes()[0].contentDocument:document;r.db.clear(),r.parser.parse(t),p.debug("Parsed info diagram");const x=v.getElementById(e);$F=x.parentElement.offsetWidth,void 0===$F&&($F=1200),void 0!==PF.useWidth&&($F=PF.useWidth),void 0!==PF.pie.useWidth&&($F=PF.pie.useWidth);const k=_.select("#"+e);hb(k,jF,$F,PF.pie.useMaxWidth),x.setAttribute("viewBox","0 0 "+$F+" "+jF);var i=40,a=18,s=4,o=Math.min($F,jF)/2-i,l=k.append("g").attr("transform","translate("+$F/2+","+jF/2+")"),c=r.db.getSections(),h=0;Object.keys(c).forEach((function(t){h+=c[t]}));const w=PF.themeVariables;var u=[w.pie1,w.pie2,w.pie3,w.pie4,w.pie5,w.pie6,w.pie7,w.pie8,w.pie9,w.pie10,w.pie11,w.pie12],d=Es().range(u),f=Object.entries(c).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),g=Hc().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(f),y=Fc().innerRadius(0).outerRadius(o);l.selectAll("mySlices").data(g).enter().append("path").attr("d",y).attr("fill",(function(t){return d(t.data.name)})).attr("class","pieCircle"),l.selectAll("mySlices").data(g).enter().append("text").text((function(t){return(t.data.value/h*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+y.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),l.append("text").text(r.db.getDiagramTitle()).attr("x",0).attr("y",-(jF-50)/2).attr("class","pieTitleText");var m=l.selectAll(".legend").data(d.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){const n=a+s,r=n*d.domain().length/2;return"translate("+12*a+","+(e*n-r)+")"}));m.append("rect").attr("width",a).attr("height",a).style("fill",d).style("stroke",d),m.data(g).append("text").attr("x",a+s).attr("y",a-s).text((function(t){return r.db.getShowData()||PF.showData||PF.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(b){p.error("Error while rendering info diagram"),p.error(b)}}};var zF=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,3],n=[1,5],r=[1,6],i=[1,7],a=[1,8],s=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],o=[1,22],l=[2,13],c=[1,26],h=[1,27],u=[1,28],d=[1,29],p=[1,30],f=[1,31],g=[1,24],y=[1,32],m=[1,33],b=[1,36],_=[71,72],v=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],x=[1,56],k=[1,57],w=[1,58],T=[1,59],E=[1,60],C=[1,61],S=[1,62],A=[62,63],L=[1,74],N=[1,70],D=[1,71],O=[1,72],M=[1,73],B=[1,75],I=[1,79],F=[1,80],R=[1,77],$=[1,78],P=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],j={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 6:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 7:case 8:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 9:r.parseDirective("%%{","open_directive");break;case 10:r.parseDirective(a[o],"type_directive");break;case 11:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 12:r.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:r.addRequirement(a[o-3],a[o-4]);break;case 20:r.setNewReqId(a[o-2]);break;case 21:r.setNewReqText(a[o-2]);break;case 22:r.setNewReqRisk(a[o-2]);break;case 23:r.setNewReqVerifyMethod(a[o-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(a[o-3]);break;case 40:r.setNewElementType(a[o-2]);break;case 41:r.setNewElementDocRef(a[o-2]);break;case 44:r.addRelationship(a[o-2],a[o],a[o-4]);break;case 45:r.addRelationship(a[o-2],a[o-4],a[o]);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:e,9:4,14:n,16:r,18:i,19:a},{1:[3]},{3:10,4:2,5:[1,9],6:e,9:4,14:n,16:r,18:i,19:a},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},t(s,[2,8]),{20:[2,9]},{3:16,4:2,6:e,9:4,14:n,16:r,18:i,19:a},{1:[2,2]},{4:21,5:o,7:17,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:h,42:u,43:d,44:p,45:f,53:g,71:y,72:m},{11:34,12:[1,35],22:b},t([12,22],[2,10]),t(s,[2,6]),t(s,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:o,7:38,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:h,42:u,43:d,44:p,45:f,53:g,71:y,72:m},{4:21,5:o,7:39,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:h,42:u,43:d,44:p,45:f,53:g,71:y,72:m},{4:21,5:o,7:40,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:h,42:u,43:d,44:p,45:f,53:g,71:y,72:m},{4:21,5:o,7:41,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:h,42:u,43:d,44:p,45:f,53:g,71:y,72:m},{4:21,5:o,7:42,8:l,9:4,14:n,16:r,18:i,19:a,23:18,24:19,25:20,26:23,32:25,40:c,41:h,42:u,43:d,44:p,45:f,53:g,71:y,72:m},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},t(_,[2,26]),t(_,[2,27]),t(_,[2,28]),t(_,[2,29]),t(_,[2,30]),t(_,[2,31]),t(v,[2,55]),t(v,[2,56]),t(s,[2,4]),{13:51,21:[1,52]},t(s,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:x,65:k,66:w,67:T,68:E,69:C,70:S},{61:63,64:x,65:k,66:w,67:T,68:E,69:C,70:S},{11:64,22:b},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},t(A,[2,46]),t(A,[2,47]),t(A,[2,48]),t(A,[2,49]),t(A,[2,50]),t(A,[2,51]),t(A,[2,52]),{63:[1,68]},t(s,[2,5]),{5:L,29:69,30:N,33:D,35:O,37:M,39:B},{5:I,39:F,55:76,56:R,58:$},{32:81,71:y,72:m},{32:82,71:y,72:m},t(P,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:L,29:87,30:N,33:D,35:O,37:M,39:B},t(P,[2,25]),t(P,[2,39]),{31:[1,88]},{31:[1,89]},{5:I,39:F,55:90,56:R,58:$},t(P,[2,43]),t(P,[2,44]),t(P,[2,45]),{32:91,71:y,72:m},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},t(P,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},t(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:L,29:116,30:N,33:D,35:O,37:M,39:B},{5:L,29:117,30:N,33:D,35:O,37:M,39:B},{5:L,29:118,30:N,33:D,35:O,37:M,39:B},{5:L,29:119,30:N,33:D,35:O,37:M,39:B},{5:I,39:F,55:120,56:R,58:$},{5:I,39:F,55:121,56:R,58:$},t(P,[2,20]),t(P,[2,21]),t(P,[2,22]),t(P,[2,23]),t(P,[2,40]),t(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(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},Y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){switch(n){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return e.yytext=e.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};function z(){this.yy={}}return j.lexer=Y,z.prototype=j,j.Parser=z,new z}();zF.parser=zF;const UF=zF,WF=t=>null!==t.match(/^\s*requirement(Diagram)?/);let HF=[],qF={},VF={},GF={},ZF={};const XF={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().req,addRequirement:(t,e)=>(void 0===VF[t]&&(VF[t]={name:t,type:e,id:qF.id,text:qF.text,risk:qF.risk,verifyMethod:qF.verifyMethod}),qF={},VF[t]),getRequirements:()=>VF,setNewReqId:t=>{void 0!==qF&&(qF.id=t)},setNewReqText:t=>{void 0!==qF&&(qF.text=t)},setNewReqRisk:t=>{void 0!==qF&&(qF.risk=t)},setNewReqVerifyMethod:t=>{void 0!==qF&&(qF.verifyMethod=t)},setAccTitle:Ub,getAccTitle:Wb,setAccDescription:Hb,getAccDescription:qb,addElement:t=>(void 0===ZF[t]&&(ZF[t]={name:t,type:GF.type,docRef:GF.docRef},p.info("Added new requirement: ",t)),GF={},ZF[t]),getElements:()=>ZF,setNewElementType:t=>{void 0!==GF&&(GF.type=t)},setNewElementDocRef:t=>{void 0!==GF&&(GF.docRef=t)},addRelationship:(t,e,n)=>{HF.push({type:t,src:e,dst:n})},getRelationships:()=>HF,clear:()=>{HF=[],qF={},VF={},GF={},ZF={},zb()}},QF={CONTAINS:"contains",ARROW:"arrow"},KF={ReqMarkers:QF,insertLineEndings:(t,e)=>{let n=t.append("defs").append("marker").attr("id",QF.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");n.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),n.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),n.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",QF.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1)}};let JF={},tR=0;const eR=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",JF.rect_min_width+"px").attr("height",JF.rect_min_height+"px"),nR=(t,e,n)=>{let r=JF.rect_min_width/2,i=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",r).attr("y",JF.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((t=>{0==a?i.append("tspan").attr("text-anchor","middle").attr("x",JF.rect_min_width/2).attr("dy",0).text(t):i.append("tspan").attr("text-anchor","middle").attr("x",JF.rect_min_width/2).attr("dy",.75*JF.line_height).text(t),a++}));let s=1.5*JF.rect_padding+a*JF.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",JF.rect_min_width).attr("y1",s).attr("y2",s),{titleNode:i,y:s}},rR=(t,e,n,r)=>{let i=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",JF.rect_padding).attr("y",r).attr("dominant-baseline","hanging"),a=0;const s=30;let o=[];return n.forEach((t=>{let e=t.length;for(;e>s&&a<3;){let n=t.substring(0,s);e=(t=t.substring(s,t.length)).length,o[o.length]=n,a++}if(3==a){let t=o[o.length-1];o[o.length-1]=t.substring(0,t.length-4)+"..."}else o[o.length]=t;a=0})),o.forEach((t=>{i.append("tspan").attr("x",JF.rect_padding).attr("dy",JF.line_height).text(t)})),i},iR=(t,e,n,r)=>{const i=e.node().getTotalLength(),a=e.node().getPointAtLength(.5*i),s="rel"+tR;tR++;const o=t.append("text").attr("class","req relationshipLabel").attr("id",s).attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(r).node().getBBox();t.insert("rect","#"+s).attr("class","req reqLabelBox").attr("x",a.x-o.width/2).attr("y",a.y-o.height/2).attr("width",o.width).attr("height",o.height).attr("fill","white").attr("fill-opacity","85%")},aR=function(t,e,n,r,i){const a=n.edge(hR(e.src),hR(e.dst)),s=zc().x((function(t){return t.x})).y((function(t){return t.y})),o=t.insert("path","#"+r).attr("class","er relationshipLine").attr("d",s(a.points)).attr("fill","none");e.type==i.db.Relationships.CONTAINS?o.attr("marker-start","url("+Fu.getUrl(JF.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(o.attr("stroke-dasharray","10,7"),o.attr("marker-end","url("+Fu.getUrl(JF.arrowMarkerAbsolute)+"#"+KF.ReqMarkers.ARROW+"_line_ending)")),iR(t,o,JF,`<<${e.type}>>`)},sR=(t,e,n)=>{Object.keys(t).forEach((r=>{let i=t[r];r=hR(r),p.info("Added new requirement: ",r);const a=n.append("g").attr("id",r),s=eR(a,"req-"+r);let o=nR(a,r+"_title",[`<<${i.type}>>`,`${i.name}`]);rR(a,r+"_body",[`Id: ${i.id}`,`Text: ${i.text}`,`Risk: ${i.risk}`,`Verification: ${i.verifyMethod}`],o.y);const l=s.node().getBBox();e.setNode(r,{width:l.width,height:l.height,shape:"rect",id:r})}))},oR=(t,e,n)=>{Object.keys(t).forEach((r=>{let i=t[r];const a=hR(r),s=n.append("g").attr("id",a),o="element-"+a,l=eR(s,o);let c=nR(s,o+"_title",["<<Element>>",`${r}`]);rR(s,o+"_body",[`Type: ${i.type||"Not Specified"}`,`Doc Ref: ${i.docRef||"None"}`],c.y);const h=l.node().getBBox();e.setNode(a,{width:h.width,height:h.height,shape:"rect",id:a})}))},lR=(t,e)=>(t.forEach((function(t){let n=hR(t.src),r=hR(t.dst);e.setEdge(n,r,{relationship:t})})),t),cR=function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&(t.select("#"+n),t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )"))}))},hR=t=>t.replace(/\s/g,"").replace(/\./g,"_"),uR={draw:(t,e,n,r)=>{JF=tb().requirement,r.db.clear(),r.parser.parse(t);const i=JF.securityLevel;let a;"sandbox"===i&&(a=dn("#i"+e));const s=dn("sandbox"===i?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);KF.insertLineEndings(s,JF);const o=new $A({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:JF.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let l=r.db.getRequirements(),c=r.db.getElements(),h=r.db.getRelationships();sR(l,o,s),oR(c,o,s),lR(h,o),fN(o),cR(s,o),h.forEach((function(t){aR(s,t,o,e,r)}));const u=JF.rect_padding,d=s.node().getBBox(),p=d.width+2*u,f=d.height+2*u;hb(s,f,p,JF.useMaxWidth),s.attr("viewBox",`${d.x-u} ${d.y-u} ${p} ${f}`)}};var dR=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],s=[1,15],o=[1,17],l=[1,18],c=[1,19],h=[1,21],u=[1,22],d=[1,23],p=[1,29],f=[1,30],g=[1,31],y=[1,32],m=[1,33],b=[1,34],_=[1,35],v=[1,36],x=[1,37],k=[1,38],w=[1,39],T=[1,40],E=[1,43],C=[1,44],S=[1,45],A=[1,46],L=[1,47],N=[1,48],D=[1,51],O=[1,4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,51,52,53,58,59,60,61,69,79],M=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,53,58,59,60,61,69,79],B=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,52,53,58,59,60,61,69,79],I=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,51,53,58,59,60,61,69,79],F=[4,5,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,53,58,59,60,61,69,79],R=[67,68,69],$=[1,121],P=[1,4,5,7,16,20,22,25,26,32,33,34,36,38,39,40,41,42,43,45,47,49,50,51,52,53,58,59,60,61,69,79],j={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,openDirective:11,typeDirective:12,closeDirective:13,":":14,argDirective:15,participant:16,actor:17,AS:18,restOfLine:19,participant_actor:20,signal:21,autonumber:22,NUM:23,off:24,activate:25,deactivate:26,note_statement:27,links_statement:28,link_statement:29,properties_statement:30,details_statement:31,title:32,legacy_title:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,loop:39,end:40,rect:41,opt:42,alt:43,else_sections:44,par:45,par_sections:46,critical:47,option_sections:48,break:49,option:50,and:51,else:52,note:53,placement:54,text2:55,over:56,actor_pair:57,links:58,link:59,properties:60,details:61,spaceList:62,",":63,left_of:64,right_of:65,signaltype:66,"+":67,"-":68,ACTOR:69,SOLID_OPEN_ARROW:70,DOTTED_OPEN_ARROW:71,SOLID_ARROW:72,DOTTED_ARROW:73,SOLID_CROSS:74,DOTTED_CROSS:75,SOLID_POINT:76,DOTTED_POINT:77,TXT:78,open_directive:79,type_directive:80,arg_directive:81,close_directive:82,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",14:":",16:"participant",18:"AS",19:"restOfLine",20:"participant_actor",22:"autonumber",23:"NUM",24:"off",25:"activate",26:"deactivate",32:"title",33:"legacy_title",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",39:"loop",40:"end",41:"rect",42:"opt",43:"alt",45:"par",47:"critical",49:"break",50:"option",51:"and",52:"else",53:"note",56:"over",58:"links",59:"link",60:"properties",61:"details",63:",",64:"left_of",65:"right_of",67:"+",68:"-",69:"ACTOR",70:"SOLID_OPEN_ARROW",71:"DOTTED_OPEN_ARROW",72:"SOLID_ARROW",73:"DOTTED_ARROW",74:"SOLID_CROSS",75:"DOTTED_CROSS",76:"SOLID_POINT",77:"DOTTED_POINT",78:"TXT",79:"open_directive",80:"type_directive",81:"arg_directive",82:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,5],[10,3],[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],[48,1],[48,4],[46,1],[46,4],[44,1],[44,4],[27,4],[27,4],[28,3],[29,3],[30,3],[31,3],[62,2],[62,1],[57,3],[57,1],[54,1],[54,1],[21,5],[21,5],[21,4],[17,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[66,1],[55,1],[11,1],[12,1],[15,1],[13,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 4:return r.apply(a[o]),a[o];case 5:case 9:this.$=[];break;case 6:a[o-1].push(a[o]),this.$=a[o-1];break;case 7:case 8:case 56:this.$=a[o];break;case 12:a[o-3].type="addParticipant",a[o-3].description=r.parseMessage(a[o-1]),this.$=a[o-3];break;case 13:a[o-1].type="addParticipant",this.$=a[o-1];break;case 14:a[o-3].type="addActor",a[o-3].description=r.parseMessage(a[o-1]),this.$=a[o-3];break;case 15:a[o-1].type="addActor",this.$=a[o-1];break;case 17:this.$={type:"sequenceIndex",sequenceIndex:Number(a[o-2]),sequenceIndexStep:Number(a[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(a[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[o-1]};break;case 22:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[o-1]};break;case 28:r.setDiagramTitle(a[o].substring(6)),this.$=a[o].substring(6);break;case 29:r.setDiagramTitle(a[o].substring(7)),this.$=a[o].substring(7);break;case 30:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 31:case 32:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 33:a[o-1].unshift({type:"loopStart",loopText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.LOOP_START}),a[o-1].push({type:"loopEnd",loopText:a[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[o-1];break;case 34:a[o-1].unshift({type:"rectStart",color:r.parseMessage(a[o-2]),signalType:r.LINETYPE.RECT_START}),a[o-1].push({type:"rectEnd",color:r.parseMessage(a[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=a[o-1];break;case 35:a[o-1].unshift({type:"optStart",optText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.OPT_START}),a[o-1].push({type:"optEnd",optText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=a[o-1];break;case 36:a[o-1].unshift({type:"altStart",altText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.ALT_START}),a[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[o-1];break;case 37:a[o-1].unshift({type:"parStart",parText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.PAR_START}),a[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[o-1];break;case 38:a[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.CRITICAL_START}),a[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=a[o-1];break;case 39:a[o-1].unshift({type:"breakStart",breakText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.BREAK_START}),a[o-1].push({type:"breakEnd",optText:r.parseMessage(a[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=a[o-1];break;case 42:this.$=a[o-3].concat([{type:"option",optionText:r.parseMessage(a[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},a[o]]);break;case 44:this.$=a[o-3].concat([{type:"and",parText:r.parseMessage(a[o-1]),signalType:r.LINETYPE.PAR_AND},a[o]]);break;case 46:this.$=a[o-3].concat([{type:"else",altText:r.parseMessage(a[o-1]),signalType:r.LINETYPE.ALT_ELSE},a[o]]);break;case 47:this.$=[a[o-1],{type:"addNote",placement:a[o-2],actor:a[o-1].actor,text:a[o]}];break;case 48:a[o-2]=[].concat(a[o-1],a[o-1]).slice(0,2),a[o-2][0]=a[o-2][0].actor,a[o-2][1]=a[o-2][1].actor,this.$=[a[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[o-2].slice(0,2),text:a[o]}];break;case 49:this.$=[a[o-1],{type:"addLinks",actor:a[o-1].actor,text:a[o]}];break;case 50:this.$=[a[o-1],{type:"addALink",actor:a[o-1].actor,text:a[o]}];break;case 51:this.$=[a[o-1],{type:"addProperties",actor:a[o-1].actor,text:a[o]}];break;case 52:this.$=[a[o-1],{type:"addDetails",actor:a[o-1].actor,text:a[o]}];break;case 55:this.$=[a[o-2],a[o]];break;case 57:this.$=r.PLACEMENT.LEFTOF;break;case 58:this.$=r.PLACEMENT.RIGHTOF;break;case 59:this.$=[a[o-4],a[o-1],{type:"addMessage",from:a[o-4].actor,to:a[o-1].actor,signalType:a[o-3],msg:a[o]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[o-1]}];break;case 60:this.$=[a[o-4],a[o-1],{type:"addMessage",from:a[o-4].actor,to:a[o-1].actor,signalType:a[o-3],msg:a[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[o-4]}];break;case 61:this.$=[a[o-3],a[o-1],{type:"addMessage",from:a[o-3].actor,to:a[o-1].actor,signalType:a[o-2],msg:a[o]}];break;case 62:this.$={type:"addParticipant",actor:a[o]};break;case 63:this.$=r.LINETYPE.SOLID_OPEN;break;case 64:this.$=r.LINETYPE.DOTTED_OPEN;break;case 65:this.$=r.LINETYPE.SOLID;break;case 66:this.$=r.LINETYPE.DOTTED;break;case 67:this.$=r.LINETYPE.SOLID_CROSS;break;case 68:this.$=r.LINETYPE.DOTTED_CROSS;break;case 69:this.$=r.LINETYPE.SOLID_POINT;break;case 70:this.$=r.LINETYPE.DOTTED_POINT;break;case 71:this.$=r.parseMessage(a[o].trim().substring(1));break;case 72:r.parseDirective("%%{","open_directive");break;case 73:r.parseDirective(a[o],"type_directive");break;case 74:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 75:r.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:n,6:4,7:r,11:6,79:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,11:6,79:i},{3:9,4:e,5:n,6:4,7:r,11:6,79:i},{3:10,4:e,5:n,6:4,7:r,11:6,79:i},t([1,4,5,16,20,22,25,26,32,33,34,36,38,39,41,42,43,45,47,49,53,58,59,60,61,69,79],a,{8:11}),{12:12,80:[1,13]},{80:[2,72]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,41:_,42:v,43:x,45:k,47:w,49:T,53:E,58:C,59:S,60:A,61:L,69:N,79:i},{13:49,14:[1,50],82:D},t([14,82],[2,73]),t(O,[2,6]),{6:41,10:52,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,41:_,42:v,43:x,45:k,47:w,49:T,53:E,58:C,59:S,60:A,61:L,69:N,79:i},t(O,[2,8]),t(O,[2,9]),{17:53,69:N},{17:54,69:N},{5:[1,55]},{5:[1,58],23:[1,56],24:[1,57]},{17:59,69:N},{17:60,69:N},{5:[1,61]},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},t(O,[2,28]),t(O,[2,29]),{35:[1,66]},{37:[1,67]},t(O,[2,32]),{19:[1,68]},{19:[1,69]},{19:[1,70]},{19:[1,71]},{19:[1,72]},{19:[1,73]},{19:[1,74]},t(O,[2,40]),{66:75,70:[1,76],71:[1,77],72:[1,78],73:[1,79],74:[1,80],75:[1,81],76:[1,82],77:[1,83]},{54:84,56:[1,85],64:[1,86],65:[1,87]},{17:88,69:N},{17:89,69:N},{17:90,69:N},{17:91,69:N},t([5,18,63,70,71,72,73,74,75,76,77,78],[2,62]),{5:[1,92]},{15:93,81:[1,94]},{5:[2,75]},t(O,[2,7]),{5:[1,96],18:[1,95]},{5:[1,98],18:[1,97]},t(O,[2,16]),{5:[1,100],23:[1,99]},{5:[1,101]},t(O,[2,20]),{5:[1,102]},{5:[1,103]},t(O,[2,23]),t(O,[2,24]),t(O,[2,25]),t(O,[2,26]),t(O,[2,27]),t(O,[2,30]),t(O,[2,31]),t(M,a,{8:104}),t(M,a,{8:105}),t(M,a,{8:106}),t(B,a,{44:107,8:108}),t(I,a,{46:109,8:110}),t(F,a,{48:111,8:112}),t(M,a,{8:113}),{17:116,67:[1,114],68:[1,115],69:N},t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{17:117,69:N},{17:119,57:118,69:N},{69:[2,57]},{69:[2,58]},{55:120,78:$},{55:122,78:$},{55:123,78:$},{55:124,78:$},t(P,[2,10]),{13:125,82:D},{82:[2,74]},{19:[1,126]},t(O,[2,13]),{19:[1,127]},t(O,[2,15]),{5:[1,128]},t(O,[2,18]),t(O,[2,19]),t(O,[2,21]),t(O,[2,22]),{4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,40:[1,129],41:_,42:v,43:x,45:k,47:w,49:T,53:E,58:C,59:S,60:A,61:L,69:N,79:i},{4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,40:[1,130],41:_,42:v,43:x,45:k,47:w,49:T,53:E,58:C,59:S,60:A,61:L,69:N,79:i},{4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,40:[1,131],41:_,42:v,43:x,45:k,47:w,49:T,53:E,58:C,59:S,60:A,61:L,69:N,79:i},{40:[1,132]},{4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,40:[2,45],41:_,42:v,43:x,45:k,47:w,49:T,52:[1,133],53:E,58:C,59:S,60:A,61:L,69:N,79:i},{40:[1,134]},{4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,40:[2,43],41:_,42:v,43:x,45:k,47:w,49:T,51:[1,135],53:E,58:C,59:S,60:A,61:L,69:N,79:i},{40:[1,136]},{4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,40:[2,41],41:_,42:v,43:x,45:k,47:w,49:T,50:[1,137],53:E,58:C,59:S,60:A,61:L,69:N,79:i},{4:s,5:o,6:41,9:14,10:16,11:6,16:l,17:42,20:c,21:20,22:h,25:u,26:d,27:24,28:25,29:26,30:27,31:28,32:p,33:f,34:g,36:y,38:m,39:b,40:[1,138],41:_,42:v,43:x,45:k,47:w,49:T,53:E,58:C,59:S,60:A,61:L,69:N,79:i},{17:139,69:N},{17:140,69:N},{55:141,78:$},{55:142,78:$},{55:143,78:$},{63:[1,144],78:[2,56]},{5:[2,49]},{5:[2,71]},{5:[2,50]},{5:[2,51]},{5:[2,52]},{5:[1,145]},{5:[1,146]},{5:[1,147]},t(O,[2,17]),t(O,[2,33]),t(O,[2,34]),t(O,[2,35]),t(O,[2,36]),{19:[1,148]},t(O,[2,37]),{19:[1,149]},t(O,[2,38]),{19:[1,150]},t(O,[2,39]),{55:151,78:$},{55:152,78:$},{5:[2,61]},{5:[2,47]},{5:[2,48]},{17:153,69:N},t(P,[2,11]),t(O,[2,12]),t(O,[2,14]),t(B,a,{8:108,44:154}),t(I,a,{8:110,46:155}),t(F,a,{8:112,48:156}),{5:[2,59]},{5:[2,60]},{78:[2,55]},{40:[2,46]},{40:[2,44]},{40:[2,42]}],defaultActions:{7:[2,72],8:[2,1],9:[2,2],10:[2,3],51:[2,75],86:[2,57],87:[2,58],94:[2,74],120:[2,49],121:[2,71],122:[2,50],123:[2,51],124:[2,52],141:[2,61],142:[2,47],143:[2,48],151:[2,59],152:[2,60],153:[2,55],154:[2,46],155:[2,44],156:[2,42]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},Y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){switch(n){case 0:return this.begin("open_directive"),79;case 1:return this.begin("type_directive"),80;case 2:return this.popState(),this.begin("arg_directive"),14;case 3:return this.popState(),this.popState(),82;case 4:return 81;case 5:case 52:case 65:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 23;case 12:return this.begin("ID"),16;case 13:return this.begin("ID"),20;case 14:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),69;case 15:return this.popState(),this.popState(),this.begin("LINE"),18;case 16:return this.popState(),this.popState(),5;case 17:return this.begin("LINE"),39;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"),52;case 22:return this.begin("LINE"),45;case 23:return this.begin("LINE"),51;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),50;case 26:return this.begin("LINE"),49;case 27:return this.popState(),19;case 28:return 40;case 29:return 64;case 30:return 65;case 31:return 58;case 32:return 59;case 33:return 60;case 34:return 61;case 35:return 56;case 36:return 53;case 37:return this.begin("ID"),25;case 38:return this.begin("ID"),26;case 39:return 32;case 40:return 33;case 41:return this.begin("acc_title"),34;case 42:return this.popState(),"acc_title_value";case 43:return this.begin("acc_descr"),36;case 44:return this.popState(),"acc_descr_value";case 45:this.begin("acc_descr_multiline");break;case 46:this.popState();break;case 47:return"acc_descr_multiline_value";case 48:return 7;case 49:return 22;case 50:return 24;case 51:return 63;case 53:return e.yytext=e.yytext.trim(),69;case 54:return 72;case 55:return 73;case 56:return 70;case 57:return 71;case 58:return 74;case 59:return 75;case 60:return 76;case 61:return 77;case 62:return 78;case 63:return 67;case 64:return 68;case 66: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,/^(?: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:[46,47],inclusive:!1},acc_descr:{rules:[44],inclusive:!1},acc_title:{rules:[42],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,14],inclusive:!1},ALIAS:{rules:[7,8,15,16],inclusive:!1},LINE:{rules:[7,8,27],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,17,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,37,38,39,40,41,43,45,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66],inclusive:!0}}};function z(){this.yy={}}return j.lexer=Y,z.prototype=j,j.Parser=z,new z}();dR.parser=dR;const pR=dR,fR=t=>null!==t.match(/^\s*sequenceDiagram/);let gR,yR,mR={},bR=[],_R=!1;const vR=function(t,e,n,r){const i=mR[t];i&&e===i.name&&null==n||((null==n||null==n.text)&&(n={text:e,wrap:null,type:r}),(null==r||null==n.text)&&(n={text:e,wrap:null,type:r}),mR[t]={name:e,description:n.text,wrap:void 0===n.wrap&&ER()||!!n.wrap,prevActor:gR,links:{},properties:{},actorCnt:null,rectData:null,type:r||"participant"},gR&&mR[gR]&&(mR[gR].nextActor=t),gR=t)},xR=t=>{let e,n=0;for(e=0;e<bR.length;e++)bR[e].type===CR.ACTIVE_START&&bR[e].from.actor===t&&n++,bR[e].type===CR.ACTIVE_END&&bR[e].from.actor===t&&n--;return n},kR=function(t,e,n,r){bR.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&ER()||!!n.wrap,answer:r})},wR=function(t,e,n={text:void 0,wrap:void 0},r){if(r===CR.ACTIVE_END&&xR(t.actor)<1){let e=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return bR.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&ER()||!!n.wrap,type:r}),!0},TR=function(t){return mR[t]},ER=()=>void 0!==yR?yR:tb().sequence.wrap,CR={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},SR=function(t,e,n){n.text,void 0===n.wrap&&ER()||n.wrap;const r=[].concat(t,t);bR.push({from:r[0],to:r[1],message:n.text,wrap:void 0===n.wrap&&ER()||!!n.wrap,type:CR.NOTE,placement:e})},AR=function(t,e){const n=TR(t);try{let t=Lu(e.text,tb());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),NR(n,JSON.parse(t))}catch(l){p.error("error while parsing actor link text",l)}},LR=function(t,e){const n=TR(t);try{const t={};let s=Lu(e.text,tb());var r=s.indexOf("@");s=s.replace(/&/g,"&"),s=s.replace(/=/g,"=");var i=s.slice(0,r-1).trim(),a=s.slice(r+1).trim();t[i]=a,NR(n,t)}catch(s){p.error("error while parsing actor link text",s)}};function NR(t,e){if(null==t.links)t.links=e;else for(let n in e)t.links[n]=e[n]}const DR=function(t,e){const n=TR(t);try{let t=Lu(e.text,tb());OR(n,JSON.parse(t))}catch(l){p.error("error while parsing actor properties text",l)}};function OR(t,e){if(null==t.properties)t.properties=e;else for(let n in e)t.properties[n]=e[n]}const MR=function(t,e){const n=TR(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&OR(n,e.properties),e.links&&NR(n,e.links)}catch(i){p.error("error while parsing actor details text",i)}},BR=function(t){if(Array.isArray(t))t.forEach((function(t){BR(t)}));else switch(t.type){case"sequenceIndex":bR.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":vR(t.actor,t.actor,t.description,"participant");break;case"addActor":vR(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":wR(t.actor,void 0,void 0,t.signalType);break;case"addNote":SR(t.actor,t.placement,t.text);break;case"addLinks":AR(t.actor,t.text);break;case"addALink":LR(t.actor,t.text);break;case"addProperties":DR(t.actor,t.text);break;case"addDetails":MR(t.actor,t.text);break;case"addMessage":wR(t.from,t.to,t.msg,t.signalType);break;case"loopStart":wR(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":wR(void 0,void 0,void 0,t.signalType);break;case"rectStart":wR(void 0,void 0,t.color,t.signalType);break;case"optStart":wR(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":wR(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":Ub(t.text);break;case"parStart":case"and":wR(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":wR(void 0,void 0,t.criticalText,t.signalType);break;case"option":wR(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":wR(void 0,void 0,t.breakText,t.signalType)}},IR={addActor:vR,addMessage:kR,addSignal:wR,addLinks:AR,addDetails:MR,addProperties:DR,autoWrap:ER,setWrap:function(t){yR=t},enableSequenceNumbers:function(){_R=!0},disableSequenceNumbers:function(){_R=!1},showSequenceNumbers:()=>_R,getMessages:function(){return bR},getActors:function(){return mR},getActor:TR,getActorKeys:function(){return Object.keys(mR)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:Wb,getDiagramTitle:Gb,setDiagramTitle:Vb,parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().sequence,clear:function(){mR={},bR=[],_R=!1,zb()},parseMessage:function(t){const e=t.trim(),n={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return p.debug("parseMessage:",n),n},LINETYPE:CR,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:SR,setAccTitle:Ub,apply:BR,setAccDescription:Hb,getAccDescription:qb};let FR=[];const RR=t=>{FR.push(t)},$R=()=>{FR.forEach((t=>{t()})),FR=[]},PR=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},jR=(t,e)=>{RR((()=>{const n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",(function(){qR("actor"+e+"_popup")})),n[0].addEventListener("mouseout",(function(){VR("actor"+e+"_popup")})))}))},YR=function(t,e,n,r,i){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const a=e.links,s=e.actorCnt,o=e.rectData;var l="none";i&&(l="block !important");const c=t.append("g");c.attr("id","actor"+s+"_popup"),c.attr("class","actorPopupMenu"),c.attr("display",l),jR("#actor"+s+"_popup",s);var h="";void 0!==o.class&&(h=" "+o.class);let u=o.width>n?o.width:n;const d=c.append("rect");if(d.attr("class","actorPopupMenuPanel"+h),d.attr("x",o.x),d.attr("y",o.height),d.attr("fill",o.fill),d.attr("stroke",o.stroke),d.attr("width",u),d.attr("height",o.height),d.attr("rx",o.rx),d.attr("ry",o.ry),null!=a){var p=20;for(let t in a){var f=c.append("a"),g=m(a[t]);f.attr("xlink:href",g),f.attr("target","_blank"),g$(r)(t,f,o.x+10,o.height+p,u,20,{class:"actor"},r),p+=30}}return d.attr("height",p),{height:o.height+p,width:u}},zR=function(t,e,n,r){const i=t.append("image");i.attr("x",e),i.attr("y",n);var a=m(r);i.attr("xlink:href",a)},UR=function(t,e,n,r){const i=t.append("use");i.attr("x",e),i.attr("y",n);var a=m(r);i.attr("xlink:href","#"+a)},WR=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'block'; }"},HR=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'none'; }"},qR=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},VR=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},GR=function(t,e){let n=0,r=0;const i=e.text.split(Fu.lineBreakRegex);let a=[],s=0,o=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":o=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":o=()=>Math.round(e.y+(n+r+e.textMargin)/2);break;case"bottom":case"end":o=()=>Math.round(e.y+(n+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[l,c]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==e.fontSize&&(s=l*e.fontSize);const i=t.append("text");if(i.attr("x",e.x),i.attr("y",o()),void 0!==e.anchor&&i.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&i.style("font-family",e.fontFamily),void 0!==e.fontSize&&i.style("font-size",e.fontSize),void 0!==e.fontWeight&&i.style("font-weight",e.fontWeight),void 0!==e.fill&&i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class),void 0!==e.dy?i.attr("dy",e.dy):0!==s&&i.attr("dy",s),e.tspan){const t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(c)}else i.text(c);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(i._groups||i)[0][0].getBBox().height,n=r),a.push(i)}return a},ZR=function(t,e){function n(t,e,n,r,i){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+r-i)+" "+(t+n-1.2*i)+","+(e+r)+" "+t+","+(e+r)}const r=t.append("polygon");return r.attr("points",n(e.x,e.y,e.width,e.height,7)),r.attr("class","labelBox"),e.y=e.y+e.height/2,GR(t,e),r};let XR=-1;const QR=(t,e)=>{!t.selectAll||t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},KR=function(t,e,n){const r=e.x+e.width/2,i=t.append("g");var a=i;0===e.y&&(XR++,a.append("line").attr("id","actor"+XR).attr("x1",r).attr("y1",5).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),a=i.append("g"),e.actorCnt=XR,null!=e.links&&(a.attr("id","root-"+XR),jR("#root-"+XR,XR)));const s=p$();var o="actor";null!=e.properties&&e.properties.class?o=e.properties.class:s.fill="#eaeaea",s.x=e.x,s.y=e.y,s.width=e.width,s.height=e.height,s.class=o,s.rx=3,s.ry=3;const l=PR(a,s);if(e.rectData=s,null!=e.properties&&e.properties.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?UR(a,s.x+s.width-20,s.y+10,t.substr(1)):zR(a,s.x+s.width-20,s.y+10,t)}f$(n)(e.description,a,s.x,s.y,s.width,s.height,{class:"actor"},n);let c=e.height;if(l.node){const t=l.node().getBBox();e.height=t.height,c=t.height}return c},JR=function(t,e,n){const r=e.x+e.width/2;0===e.y&&(XR++,t.append("line").attr("id","actor"+XR).attr("x1",r).attr("y1",80).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const i=t.append("g");i.attr("class","actor-man");const a=p$();a.x=e.x,a.y=e.y,a.fill="#eaeaea",a.width=e.width,a.height=e.height,a.class="actor",a.rx=3,a.ry=3,i.append("line").attr("id","actor-man-torso"+XR).attr("x1",r).attr("y1",e.y+25).attr("x2",r).attr("y2",e.y+45),i.append("line").attr("id","actor-man-arms"+XR).attr("x1",r-18).attr("y1",e.y+33).attr("x2",r+18).attr("y2",e.y+33),i.append("line").attr("x1",r-18).attr("y1",e.y+60).attr("x2",r).attr("y2",e.y+45),i.append("line").attr("x1",r).attr("y1",e.y+45).attr("x2",r+16).attr("y2",e.y+60);const s=i.append("circle");s.attr("cx",e.x+e.width/2),s.attr("cy",e.y+10),s.attr("r",15),s.attr("width",e.width),s.attr("height",e.height);const o=i.node().getBBox();return e.height=o.height,f$(n)(e.description,i,a.x,a.y+35,a.width,a.height,{class:"actor"},n),e.height},t$=function(t,e,n){switch(e.type){case"actor":return JR(t,e,n);case"participant":return KR(t,e,n)}},e$=function(t){return t.append("g")},n$=function(t,e,n,r,i){const a=p$(),s=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+i%3,a.width=e.stopx-e.startx,a.height=n-e.starty,PR(s,a)},r$=function(t,e,n,r){const{boxMargin:i,boxTextMargin:a,labelBoxHeight:s,labelBoxWidth:o,messageFontFamily:l,messageFontSize:c,messageFontWeight:h}=r,u=t.append("g"),d=function(t,e,n,r){return u.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",r).attr("class","loopLine")};d(e.startx,e.starty,e.stopx,e.starty),d(e.stopx,e.starty,e.stopx,e.stopy),d(e.startx,e.stopy,e.stopx,e.stopy),d(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){d(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let p=d$();p.text=n,p.x=e.startx,p.y=e.starty,p.fontFamily=l,p.fontSize=c,p.fontWeight=h,p.anchor="middle",p.valign="middle",p.tspan=!1,p.width=o||50,p.height=s||20,p.textMargin=a,p.class="labelText",ZR(u,p),p=d$(),p.text=e.title,p.x=e.startx+o/2+(e.stopx-e.startx)/2,p.y=e.starty+i+a,p.anchor="middle",p.valign="middle",p.textMargin=a,p.class="loopText",p.fontFamily=l,p.fontSize=c,p.fontWeight=h,p.wrap=!0;let f=GR(u,p);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,n){if(t.message){p.text=t.message,p.x=e.startx+(e.stopx-e.startx)/2,p.y=e.sections[n].y+i+a,p.class="loopText",p.anchor="middle",p.valign="middle",p.tspan=!1,p.fontFamily=l,p.fontSize=c,p.fontWeight=h,p.wrap=e.wrap,f=GR(u,p);let r=Math.round(f.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[n].height+=r-(i+a)}})),e.height=Math.round(e.stopy-e.starty),u},i$=function(t,e){PR(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},a$=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")},s$=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")},o$=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")},l$=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")},c$=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){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)},u$=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")},d$=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}},p$=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},f$=function(){function t(t,e,n,i,a,s,o){r(e.append("text").attr("x",n+a/2).attr("y",i+s/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,n,i,a,s,o,l){const{actorFontSize:c,actorFontFamily:h,actorFontWeight:u}=l;let d=c&&c.replace?c.replace("px",""):c;const p=t.split(Fu.lineBreakRegex);for(let f=0;f<p.length;f++){const t=f*d-d*(p.length-1)/2,l=e.append("text").attr("x",n+a/2).attr("y",i).style("text-anchor","middle").style("font-size",c).style("font-weight",u).style("font-family",h);l.append("tspan").attr("x",n+a/2).attr("dy",t).text(p[f]),l.attr("y",i+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(l,o)}}function n(t,n,i,a,s,o,l,c){const h=n.append("switch"),u=h.append("foreignObject").attr("x",i).attr("y",a).attr("width",s).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,i,a,s,o,l,c),r(u,l)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),g$=function(){function t(t,e,n,i,a,s,o){r(e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").text(t),o)}function e(t,e,n,i,a,s,o,l){const{actorFontSize:c,actorFontFamily:h,actorFontWeight:u}=l,d=t.split(Fu.lineBreakRegex);for(let p=0;p<d.length;p++){const t=p*c-c*(d.length-1)/2,a=e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").style("font-size",c).style("font-weight",u).style("font-family",h);a.append("tspan").attr("x",n).attr("dy",t).text(d[p]),a.attr("y",i+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(a,o)}}function n(t,n,i,a,s,o,l,c){const h=n.append("switch"),u=h.append("foreignObject").attr("x",i).attr("y",a).attr("width",s).attr("height",o).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,i,a,s,o,l,c),r(u,l)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),y$={drawRect:PR,drawText:GR,drawLabel:ZR,drawActor:t$,drawPopup:YR,drawImage:zR,drawEmbeddedImage:UR,anchorElement:e$,drawActivation:n$,drawLoop:r$,drawBackgroundRect:i$,insertArrowHead:l$,insertArrowFilledHead:c$,insertSequenceNumber:h$,insertArrowCrossHead:u$,insertDatabaseIcon:a$,insertComputerIcon:s$,insertClockIcon:o$,getTextObj:d$,getNoteRect:p$,popupMenu:WR,popdownMenu:HR,fixLifeLineHeights:QR,sanitizeUrl:m};let m$={};const b$={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.loops=[],this.messages=[],this.notes=[]},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:[],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,S$(tb())},updateVal:function(t,e,n,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(t,e,n,r){const i=this;let a=0;function s(s){return function(o){a++;const l=i.sequenceItems.length-a+1;i.updateVal(o,"starty",e-l*m$.boxMargin,Math.min),i.updateVal(o,"stopy",r+l*m$.boxMargin,Math.max),i.updateVal(b$.data,"startx",t-l*m$.boxMargin,Math.min),i.updateVal(b$.data,"stopx",n+l*m$.boxMargin,Math.max),"activation"!==s&&(i.updateVal(o,"startx",t-l*m$.boxMargin,Math.min),i.updateVal(o,"stopx",n+l*m$.boxMargin,Math.max),i.updateVal(b$.data,"starty",e-l*m$.boxMargin,Math.min),i.updateVal(b$.data,"stopy",r+l*m$.boxMargin,Math.max))}}this.sequenceItems.forEach(s()),this.activations.forEach(s("activation"))},insert:function(t,e,n,r){const i=Math.min(t,n),a=Math.max(t,n),s=Math.min(e,r),o=Math.max(e,r);this.updateVal(b$.data,"startx",i,Math.min),this.updateVal(b$.data,"starty",s,Math.min),this.updateVal(b$.data,"stopx",a,Math.max),this.updateVal(b$.data,"stopy",o,Math.max),this.updateBounds(i,s,a,o)},newActivation:function(t,e,n){const r=n[t.from.actor],i=A$(t.from.actor).length||0,a=r.x+r.width/2+(i-1)*m$.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+m$.activationWidth,stopy:void 0,actor:t.from.actor,anchored:y$.anchorElement(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:b$.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},_$=function(t,e){b$.bumpVerticalPos(m$.boxMargin),e.height=m$.boxMargin,e.starty=b$.getVerticalPos();const n=y$.getNoteRect();n.x=e.startx,n.y=e.starty,n.width=e.width||m$.width,n.class="note";const r=t.append("g"),i=y$.drawRect(r,n),a=y$.getTextObj();a.x=e.startx,a.y=e.starty,a.width=n.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=m$.noteFontFamily,a.fontSize=m$.noteFontSize,a.fontWeight=m$.noteFontWeight,a.anchor=m$.noteAlign,a.textMargin=m$.noteMargin,a.valign="center";const s=GR(r,a),o=Math.round(s.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));i.attr("height",o+2*m$.noteMargin),e.height+=o+2*m$.noteMargin,b$.bumpVerticalPos(o+2*m$.noteMargin),e.stopy=e.starty+o+2*m$.noteMargin,e.stopx=e.startx+n.width,b$.insert(e.startx,e.starty,e.stopx,e.stopy),b$.models.addNote(e)},v$=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),x$=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),k$=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});function w$(t,e){b$.bumpVerticalPos(10);const{startx:n,stopx:r,message:i}=e,a=Fu.splitBreaks(i).length,s=Qy.calculateTextDimensions(i,v$(m$)),o=s.height/a;e.height+=o,b$.bumpVerticalPos(o);let l,c=s.height-10;const h=s.width;if(n===r){l=b$.getVerticalPos()+c,m$.rightAngles||(c+=m$.boxMargin,l=b$.getVerticalPos()+c),c+=30;const t=Math.max(h/2,m$.width/2);b$.insert(n-t,b$.getVerticalPos()-10+c,r+t,b$.getVerticalPos()+30+c)}else c+=m$.boxMargin,l=b$.getVerticalPos()+c,b$.insert(n,l-10,r,l);return b$.bumpVerticalPos(c),e.height+=c,e.stopy=e.starty+e.height,b$.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}const T$=function(t,e,n,r){const{startx:i,stopx:a,starty:s,message:o,type:l,sequenceIndex:c,sequenceVisible:h}=e,u=Qy.calculateTextDimensions(o,v$(m$)),d=y$.getTextObj();d.x=i,d.y=s+10,d.width=a-i,d.class="messageText",d.dy="1em",d.text=o,d.fontFamily=m$.messageFontFamily,d.fontSize=m$.messageFontSize,d.fontWeight=m$.messageFontWeight,d.anchor=m$.messageAlign,d.valign="center",d.textMargin=m$.wrapPadding,d.tspan=!1,GR(t,d);const p=u.width;let f;i===a?f=m$.rightAngles?t.append("path").attr("d",`M ${i},${n} H ${i+Math.max(m$.width/2,p/2)} V ${n+25} H ${i}`):t.append("path").attr("d","M "+i+","+n+" C "+(i+60)+","+(n-10)+" "+(i+60)+","+(n+30)+" "+i+","+(n+20)):(f=t.append("line"),f.attr("x1",i),f.attr("y1",n),f.attr("x2",a),f.attr("y2",n)),l===r.db.LINETYPE.DOTTED||l===r.db.LINETYPE.DOTTED_CROSS||l===r.db.LINETYPE.DOTTED_POINT||l===r.db.LINETYPE.DOTTED_OPEN?(f.style("stroke-dasharray","3, 3"),f.attr("class","messageLine1")):f.attr("class","messageLine0");let g="";m$.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),f.attr("stroke-width",2),f.attr("stroke","none"),f.style("fill","none"),(l===r.db.LINETYPE.SOLID||l===r.db.LINETYPE.DOTTED)&&f.attr("marker-end","url("+g+"#arrowhead)"),(l===r.db.LINETYPE.SOLID_POINT||l===r.db.LINETYPE.DOTTED_POINT)&&f.attr("marker-end","url("+g+"#filled-head)"),(l===r.db.LINETYPE.SOLID_CROSS||l===r.db.LINETYPE.DOTTED_CROSS)&&f.attr("marker-end","url("+g+"#crosshead)"),(h||m$.showSequenceNumbers)&&(f.attr("marker-start","url("+g+"#sequencenumber)"),t.append("text").attr("x",i).attr("y",n+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(c))},E$=function(t,e,n,r,i,a){if(!0===i.hideUnusedParticipants){const t=new Set;a.forEach((e=>{t.add(e.from),t.add(e.to)})),n=n.filter((e=>t.has(e)))}let s=0,o=0,l=0;for(const c of n){const n=e[c];n.width=n.width||m$.width,n.height=Math.max(n.height||m$.height,m$.height),n.margin=n.margin||m$.actorMargin,n.x=s+o,n.y=r;const i=y$.drawActor(t,n,m$);l=Math.max(l,i),b$.insert(n.x,r,n.x+n.width,n.height),s+=n.width,o+=n.margin,b$.models.addActor(n)}b$.bumpVerticalPos(l)},C$=function(t,e,n,r){let i=0,a=0;for(const s of n){const n=e[s],o=M$(n),l=y$.drawPopup(t,n,o,m$,m$.forceMenus,r);l.height>i&&(i=l.height),l.width+n.x>a&&(a=l.width+n.x)}return{maxHeight:i,maxWidth:a}},S$=function(t){sg(m$,t),t.fontFamily&&(m$.actorFontFamily=m$.noteFontFamily=m$.messageFontFamily=t.fontFamily),t.fontSize&&(m$.actorFontSize=m$.noteFontSize=m$.messageFontSize=t.fontSize),t.fontWeight&&(m$.actorFontWeight=m$.noteFontWeight=m$.messageFontWeight=t.fontWeight)},A$=function(t){return b$.activations.filter((function(e){return e.actor===t}))},L$=function(t,e){const n=e[t],r=A$(t);return[r.reduce((function(t,e){return Math.min(t,e.startx)}),n.x+n.width/2),r.reduce((function(t,e){return Math.max(t,e.stopx)}),n.x+n.width/2)]};function N$(t,e,n,r,i){b$.bumpVerticalPos(n);let a=r;if(e.id&&e.message&&t[e.id]){const n=t[e.id].width,i=v$(m$);e.message=Qy.wrapLabel(`[${e.message}]`,n-2*m$.wrapPadding,i),e.width=n,e.wrap=!0;const s=Qy.calculateTextDimensions(e.message,i),o=Math.max(s.height,m$.labelBoxHeight);a=r+o,p.debug(`${o} - ${e.message}`)}i(e),b$.bumpVerticalPos(a)}const D$=function(t,e,n,r){const{securityLevel:i,sequence:a}=tb();let s;m$=a,"sandbox"===i&&(s=dn("#i"+e));const o=dn("sandbox"===i?s.nodes()[0].contentDocument.body:"body"),l="sandbox"===i?s.nodes()[0].contentDocument:document;b$.init(),p.debug(r.db);const c="sandbox"===i?o.select(`[id="${e}"]`):dn(`[id="${e}"]`),h=r.db.getActors(),u=r.db.getActorKeys(),d=r.db.getMessages(),f=r.db.getDiagramTitle(),g=O$(h,d,r);m$.height=B$(h,g),y$.insertComputerIcon(c),y$.insertDatabaseIcon(c),y$.insertClockIcon(c),E$(c,h,u,0,m$,d);const y=R$(d,h,g,r);function m(t,e){const n=b$.endActivation(t);n.starty+18>e&&(n.starty=e-6,e+=12),y$.drawActivation(c,n,e,m$,A$(t.from.actor).length),b$.insert(n.startx,e-10,n.stopx,e)}y$.insertArrowHead(c),y$.insertArrowCrossHead(c),y$.insertArrowFilledHead(c),y$.insertSequenceNumber(c);let b=1,_=1;const v=[];d.forEach((function(t){let e,n,i;switch(t.type){case r.db.LINETYPE.NOTE:n=t.noteModel,_$(c,n);break;case r.db.LINETYPE.ACTIVE_START:b$.newActivation(t,c,h);break;case r.db.LINETYPE.ACTIVE_END:m(t,b$.getVerticalPos());break;case r.db.LINETYPE.LOOP_START:N$(y,t,m$.boxMargin,m$.boxMargin+m$.boxTextMargin,(t=>b$.newLoop(t)));break;case r.db.LINETYPE.LOOP_END:e=b$.endLoop(),y$.drawLoop(c,e,"loop",m$),b$.bumpVerticalPos(e.stopy-b$.getVerticalPos()),b$.models.addLoop(e);break;case r.db.LINETYPE.RECT_START:N$(y,t,m$.boxMargin,m$.boxMargin,(t=>b$.newLoop(void 0,t.message)));break;case r.db.LINETYPE.RECT_END:e=b$.endLoop(),y$.drawBackgroundRect(c,e),b$.models.addLoop(e),b$.bumpVerticalPos(e.stopy-b$.getVerticalPos());break;case r.db.LINETYPE.OPT_START:N$(y,t,m$.boxMargin,m$.boxMargin+m$.boxTextMargin,(t=>b$.newLoop(t)));break;case r.db.LINETYPE.OPT_END:e=b$.endLoop(),y$.drawLoop(c,e,"opt",m$),b$.bumpVerticalPos(e.stopy-b$.getVerticalPos()),b$.models.addLoop(e);break;case r.db.LINETYPE.ALT_START:N$(y,t,m$.boxMargin,m$.boxMargin+m$.boxTextMargin,(t=>b$.newLoop(t)));break;case r.db.LINETYPE.ALT_ELSE:N$(y,t,m$.boxMargin+m$.boxTextMargin,m$.boxMargin,(t=>b$.addSectionToLoop(t)));break;case r.db.LINETYPE.ALT_END:e=b$.endLoop(),y$.drawLoop(c,e,"alt",m$),b$.bumpVerticalPos(e.stopy-b$.getVerticalPos()),b$.models.addLoop(e);break;case r.db.LINETYPE.PAR_START:N$(y,t,m$.boxMargin,m$.boxMargin+m$.boxTextMargin,(t=>b$.newLoop(t)));break;case r.db.LINETYPE.PAR_AND:N$(y,t,m$.boxMargin+m$.boxTextMargin,m$.boxMargin,(t=>b$.addSectionToLoop(t)));break;case r.db.LINETYPE.PAR_END:e=b$.endLoop(),y$.drawLoop(c,e,"par",m$),b$.bumpVerticalPos(e.stopy-b$.getVerticalPos()),b$.models.addLoop(e);break;case r.db.LINETYPE.AUTONUMBER:b=t.message.start||b,_=t.message.step||_,t.message.visible?r.db.enableSequenceNumbers():r.db.disableSequenceNumbers();break;case r.db.LINETYPE.CRITICAL_START:N$(y,t,m$.boxMargin,m$.boxMargin+m$.boxTextMargin,(t=>b$.newLoop(t)));break;case r.db.LINETYPE.CRITICAL_OPTION:N$(y,t,m$.boxMargin+m$.boxTextMargin,m$.boxMargin,(t=>b$.addSectionToLoop(t)));break;case r.db.LINETYPE.CRITICAL_END:e=b$.endLoop(),y$.drawLoop(c,e,"critical",m$),b$.bumpVerticalPos(e.stopy-b$.getVerticalPos()),b$.models.addLoop(e);break;case r.db.LINETYPE.BREAK_START:N$(y,t,m$.boxMargin,m$.boxMargin+m$.boxTextMargin,(t=>b$.newLoop(t)));break;case r.db.LINETYPE.BREAK_END:e=b$.endLoop(),y$.drawLoop(c,e,"break",m$),b$.bumpVerticalPos(e.stopy-b$.getVerticalPos()),b$.models.addLoop(e);break;default:try{i=t.msgModel,i.starty=b$.getVerticalPos(),i.sequenceIndex=b,i.sequenceVisible=r.db.showSequenceNumbers();const e=w$(c,i);v.push({messageModel:i,lineStartY:e}),b$.models.addMessage(i)}catch(a){p.error("error while drawing message",a)}}[r.db.LINETYPE.SOLID_OPEN,r.db.LINETYPE.DOTTED_OPEN,r.db.LINETYPE.SOLID,r.db.LINETYPE.DOTTED,r.db.LINETYPE.SOLID_CROSS,r.db.LINETYPE.DOTTED_CROSS,r.db.LINETYPE.SOLID_POINT,r.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(b+=_)})),v.forEach((t=>T$(c,t.messageModel,t.lineStartY,r))),m$.mirrorActors&&(b$.bumpVerticalPos(2*m$.boxMargin),E$(c,h,u,b$.getVerticalPos(),m$,d),b$.bumpVerticalPos(m$.boxMargin),QR(c,b$.getVerticalPos()));const x=C$(c,h,u,l),{bounds:k}=b$.getBounds();p.debug("For line height fix Querying: #"+e+" .actor-line"),pn("#"+e+" .actor-line").attr("y2",k.stopy);let w=k.stopy-k.starty;w<x.maxHeight&&(w=x.maxHeight);let T=w+2*m$.diagramMarginY;m$.mirrorActors&&(T=T-m$.boxMargin+m$.bottomMarginAdj);let E=k.stopx-k.startx;E<x.maxWidth&&(E=x.maxWidth);const C=E+2*m$.diagramMarginX;f&&c.append("text").text(f).attr("x",(k.stopx-k.startx)/2-2*m$.diagramMarginX).attr("y",-25),hb(c,T,C,m$.useMaxWidth);const S=f?40:0;c.attr("viewBox",k.startx-m$.diagramMarginX+" -"+(m$.diagramMarginY+S)+" "+C+" "+(T+S)),p.debug("models:",b$.models)};function O$(t,e,n){const r={};return e.forEach((function(e){if(t[e.to]&&t[e.from]){const i=t[e.to];if(e.placement===n.db.PLACEMENT.LEFTOF&&!i.prevActor||e.placement===n.db.PLACEMENT.RIGHTOF&&!i.nextActor)return;const a=void 0!==e.placement,s=!a,o=a?x$(m$):v$(m$),l=e.wrap?Qy.wrapLabel(e.message,m$.width-2*m$.wrapPadding,o):e.message,c=Qy.calculateTextDimensions(l,o).width+2*m$.wrapPadding;s&&e.from===i.nextActor?r[e.to]=Math.max(r[e.to]||0,c):s&&e.from===i.prevActor?r[e.from]=Math.max(r[e.from]||0,c):s&&e.from===e.to?(r[e.from]=Math.max(r[e.from]||0,c/2),r[e.to]=Math.max(r[e.to]||0,c/2)):e.placement===n.db.PLACEMENT.RIGHTOF?r[e.from]=Math.max(r[e.from]||0,c):e.placement===n.db.PLACEMENT.LEFTOF?r[i.prevActor]=Math.max(r[i.prevActor]||0,c):e.placement===n.db.PLACEMENT.OVER&&(i.prevActor&&(r[i.prevActor]=Math.max(r[i.prevActor]||0,c/2)),i.nextActor&&(r[e.from]=Math.max(r[e.from]||0,c/2)))}})),p.debug("maxMessageWidthPerActor:",r),r}const M$=function(t){let e=0;const n=k$(m$);for(const r in t.links){const t=Qy.calculateTextDimensions(r,n).width+2*m$.wrapPadding+2*m$.boxMargin;e<t&&(e=t)}return e};function B$(t,e){let n=0;Object.keys(t).forEach((e=>{const r=t[e];r.wrap&&(r.description=Qy.wrapLabel(r.description,m$.width-2*m$.wrapPadding,k$(m$)));const i=Qy.calculateTextDimensions(r.description,k$(m$));r.width=r.wrap?m$.width:Math.max(m$.width,i.width+2*m$.wrapPadding),r.height=r.wrap?Math.max(i.height,m$.height):m$.height,n=Math.max(n,r.height)}));for(const r in e){const n=t[r];if(!n)continue;const i=t[n.nextActor];if(!i)continue;const a=e[r]+m$.actorMargin-n.width/2-i.width/2;n.margin=Math.max(a,m$.actorMargin)}return Math.max(n,m$.height)}const I$=function(t,e,n){const r=e[t.from].x,i=e[t.to].x,a=t.wrap&&t.message;let s=Qy.calculateTextDimensions(a?Qy.wrapLabel(t.message,m$.width,x$(m$)):t.message,x$(m$));const o={width:a?m$.width:Math.max(m$.width,s.width+2*m$.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===n.db.PLACEMENT.RIGHTOF?(o.width=a?Math.max(m$.width,s.width):Math.max(e[t.from].width/2+e[t.to].width/2,s.width+2*m$.noteMargin),o.startx=r+(e[t.from].width+m$.actorMargin)/2):t.placement===n.db.PLACEMENT.LEFTOF?(o.width=Math.max(a?m$.width:e[t.from].width/2+e[t.to].width/2,s.width+2*m$.noteMargin),o.startx=r-o.width+(e[t.from].width-m$.actorMargin)/2):t.to===t.from?(s=Qy.calculateTextDimensions(a?Qy.wrapLabel(t.message,Math.max(m$.width,e[t.from].width),x$(m$)):t.message,x$(m$)),o.width=a?Math.max(m$.width,e[t.from].width):Math.max(e[t.from].width,m$.width,s.width+2*m$.noteMargin),o.startx=r+(e[t.from].width-o.width)/2):(o.width=Math.abs(r+e[t.from].width/2-(i+e[t.to].width/2))+m$.actorMargin,o.startx=r<i?r+e[t.from].width/2-m$.actorMargin/2:i+e[t.to].width/2-m$.actorMargin/2),a&&(o.message=Qy.wrapLabel(t.message,o.width-2*m$.wrapPadding,x$(m$))),p.debug(`NM:[${o.startx},${o.stopx},${o.starty},${o.stopy}:${o.width},${o.height}=${t.message}]`),o},F$=function(t,e,n){let r=!1;if([n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(r=!0),!r)return{};const i=L$(t.from,e),a=L$(t.to,e),s=i[0]<=a[0]?1:0,o=i[0]<a[0]?0:1,l=[...i,...a],c=Math.abs(a[o]-i[s]);t.wrap&&t.message&&(t.message=Qy.wrapLabel(t.message,Math.max(c+2*m$.wrapPadding,m$.width),v$(m$)));const h=Qy.calculateTextDimensions(t.message,v$(m$));return{width:Math.max(t.wrap?0:h.width+2*m$.wrapPadding,c+2*m$.wrapPadding,m$.width),height:0,startx:i[s],stopx:a[o],starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,l),toBounds:Math.max.apply(null,l)}},R$=function(t,e,n,r){const i={},a=[];let s,o,l;return t.forEach((function(t){switch(t.id=Qy.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.CRITICAL_START:case r.db.LINETYPE.BREAK_START:a.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:t.message&&(s=a.pop(),i[s.id]=s,i[t.id]=s,a.push(s));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:s=a.pop(),i[s.id]=s;break;case r.db.LINETYPE.ACTIVE_START:{const n=e[t.from?t.from.actor:t.to.actor],r=A$(t.from?t.from.actor:t.to.actor).length,i=n.x+n.width/2+(r-1)*m$.activationWidth/2,a={startx:i,stopx:i+m$.activationWidth,actor:t.from.actor,enabled:!0};b$.activations.push(a)}break;case r.db.LINETYPE.ACTIVE_END:{const e=b$.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete b$.activations.splice(e,1)[0]}}void 0!==t.placement?(o=I$(t,e,r),t.noteModel=o,a.forEach((t=>{s=t,s.from=Math.min(s.from,o.startx),s.to=Math.max(s.to,o.startx+o.width),s.width=Math.max(s.width,Math.abs(s.from-s.to))-m$.labelBoxWidth}))):(l=F$(t,e,r),t.msgModel=l,l.startx&&l.stopx&&a.length>0&&a.forEach((n=>{if(s=n,l.startx===l.stopx){const n=e[t.from],r=e[t.to];s.from=Math.min(n.x-l.width/2,n.x-n.width/2,s.from),s.to=Math.max(r.x+l.width/2,r.x+n.width/2,s.to),s.width=Math.max(s.width,Math.abs(s.to-s.from))-m$.labelBoxWidth}else s.from=Math.min(l.startx,s.from),s.to=Math.max(l.stopx,s.to),s.width=Math.max(s.width,l.width)-m$.labelBoxWidth})))})),b$.activations=[],p.debug("Loop type widths:",i),i},$$={bounds:b$,drawActors:E$,drawActorsPopup:C$,setConf:S$,draw:D$};var P$=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,5],i=[1,7],a=[2,5],s=[1,15],o=[1,17],l=[1,21],c=[1,22],h=[1,23],u=[1,24],d=[1,37],p=[1,25],f=[1,26],g=[1,27],y=[1,28],m=[1,29],b=[1,32],_=[1,33],v=[1,34],x=[1,35],k=[1,36],w=[1,39],T=[1,40],E=[1,41],C=[1,42],S=[1,38],A=[1,45],L=[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],N=[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],D=[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],M={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(t,e,n,r,i,a,s){var o=a.length-1;switch(i){case 4:return r.setRootDoc(a[o]),a[o];case 5:this.$=[];break;case 6:"nl"!=a[o]&&(a[o-1].push(a[o]),this.$=a[o-1]);break;case 7:case 8:case 12:this.$=a[o];break;case 9:this.$="nl";break;case 13:const t=a[o-1];t.description=r.trimColon(a[o]),this.$=t;break;case 14:this.$={stmt:"relation",state1:a[o-2],state2:a[o]};break;case 15:const e=r.trimColon(a[o]);this.$={stmt:"relation",state1:a[o-3],state2:a[o-1],description:e};break;case 19:this.$={stmt:"state",id:a[o-3],type:"default",description:"",doc:a[o-1]};break;case 20:var l=a[o],c=a[o-2].trim();if(a[o].match(":")){var h=a[o].split(":");l=h[0],c=[c,h[1]]}this.$={stmt:"state",id:l,type:"default",description:c};break;case 21:this.$={stmt:"state",id:a[o-3],type:"default",description:a[o-5],doc:a[o-1]};break;case 22:this.$={stmt:"state",id:a[o],type:"fork"};break;case 23:this.$={stmt:"state",id:a[o],type:"join"};break;case 24:this.$={stmt:"state",id:a[o],type:"choice"};break;case 25:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[o-1].trim(),note:{position:a[o-2].trim(),text:a[o].trim()}};break;case 30:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 31:case 32:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:a[o-1].trim(),classes:a[o].trim()};break;case 35:this.$={stmt:"applyClass",id:a[o-1].trim(),styleClass:a[o].trim()};break;case 38:r.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:r.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:r.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:r.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[o].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[o-2].trim(),classes:[a[o].trim()],type:"default",description:""};break;case 50:r.parseDirective("%%{","open_directive");break;case 51:r.parseDirective(a[o],"type_directive");break;case 52:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 53:r.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:n,6:4,7:r,45:6,60:i},{1:[3]},{3:8,4:e,5:n,6:4,7:r,45:6,60:i},{3:9,4:e,5:n,6:4,7:r,45:6,60:i},{3:10,4:e,5:n,6:4,7:r,45:6,60:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],a,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:s,5:o,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:c,19:h,22:u,24:d,25:p,26:f,27:g,28:y,29:m,32:31,33:b,35:_,37:v,38:x,42:k,45:6,50:w,51:T,52:E,53:C,56:S,60:i},{47:43,48:[1,44],63:A},t([48,63],[2,51]),t(L,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:l,17:c,19:h,22:u,24:d,25:p,26:f,27:g,28:y,29:m,32:31,33:b,35:_,37:v,38:x,42:k,45:6,50:w,51:T,52:E,53:C,56:S,60:i},t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,47],15:[1,48]}),t(L,[2,16]),{18:[1,49]},t(L,[2,18],{20:[1,50]}),{23:[1,51]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(L,[2,28]),t(L,[2,29]),{34:[1,56]},{36:[1,57]},t(L,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(N,[2,44],{57:[1,61]}),t(N,[2,45],{57:[1,62]}),t(L,[2,38]),t(L,[2,39]),t(L,[2,40]),t(L,[2,41]),t(D,[2,36]),{49:63,62:[1,64]},t(D,[2,53]),t(L,[2,7]),t(L,[2,13]),{13:65,24:d,56:S},t(L,[2,17]),t(O,a,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(L,[2,30]),t(L,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:A},{63:[2,52]},t(L,[2,14],{14:[1,76]}),{4:s,5:o,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:c,19:h,21:[1,77],22:u,24:d,25:p,26:f,27:g,28:y,29:m,32:31,33:b,35:_,37:v,38:x,42:k,45:6,50:w,51:T,52:E,53:C,56:S,60:i},t(L,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(L,[2,33]),t(L,[2,34]),t(L,[2,35]),t(N,[2,46]),t(N,[2,47]),t(D,[2,37]),t(L,[2,15]),t(L,[2,19]),t(O,a,{8:81}),t(L,[2,26]),t(L,[2,27]),{4:s,5:o,6:30,9:14,10:16,11:18,12:19,13:20,16:l,17:c,19:h,21:[1,82],22:u,24:d,25:p,26:f,27:g,28:y,29:m,32:31,33:b,35:_,37:v,38:x,42:k,45:6,50:w,51:T,52:E,53:C,56:S,60:i},t(L,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);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,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 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){switch(n){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 48:this.begin("STATE_STRING");break;case 49:return this.popState(),this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 69:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return e.yytext=e.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};function I(){this.yy={}}return M.lexer=B,I.prototype=M,M.Parser=I,new I}();P$.parser=P$;const j$=P$,Y$=(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*stateDiagram/)},z$=(t,e)=>{var n;return!!(null!==t.match(/^\s*stateDiagram-v2/)||t.match(/^\s*stateDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))},U$="LR",W$="TB",H$="state",q$="relation",V$="classDef",G$="applyClass",Z$="default",X$="divider",Q$="[*]",K$="start",J$=Q$,tP="end",eP="color",nP="fill",rP="bgFill",iP=",";function aP(){return{}}let sP=U$,oP=[],lP=aP();const cP=()=>({relations:[],states:{},documents:{}});let hP={root:cP()},uP=hP.root,dP=0,pP=0;const fP=t=>JSON.parse(JSON.stringify(t)),gP=(t,e,n)=>{if(e.stmt===q$)gP(t,e.state1,!0),gP(t,e.state2,!1);else if(e.stmt===H$&&"[*]"===e.id&&(e.id=n?t.id+"_start":t.id+"_end",e.start=n),e.doc){const t=[];let n,r=[];for(n=0;n<e.doc.length;n++)if(e.doc[n].type===X$){const i=fP(e.doc[n]);i.doc=fP(r),t.push(i),r=[]}else r.push(e.doc[n]);if(t.length>0&&r.length>0){const n={stmt:H$,id:Fy(),type:"divider",doc:fP(r)};t.push(fP(n)),e.doc=t}e.doc.forEach((t=>gP(e,t,!0)))}},yP=t=>{let e;e=t.doc?t.doc:t,p.info(e),bP(!0),p.info("Extract",e),e.forEach((t=>{switch(t.stmt){case H$:mP(t.id,t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case q$:EP(t.state1,t.state2,t.description);break;case V$:SP(t.id,t.classes);break;case G$:AP(t.id,t.styleClass)}}))},mP=function(t,e=Z$,n=null,r=null,i=null,a=null,s=null,o=null){void 0===uP.states[t]?(p.info("Adding state ",t,r),uP.states[t]={id:t,descriptions:[],type:e,doc:n,note:i,classes:[],styles:[],textStyles:[]}):(uP.states[t].doc||(uP.states[t].doc=n),uP.states[t].type||(uP.states[t].type=e)),r&&(p.info("Setting state description",t,r),"string"==typeof r&&CP(t,r.trim()),"object"==typeof r&&r.forEach((e=>CP(t,e.trim())))),i&&(uP.states[t].note=i,uP.states[t].note.text=Fu.sanitizeText(uP.states[t].note.text,tb())),a&&(p.info("Setting state classes",t,a),("string"==typeof a?[a]:a).forEach((e=>AP(t,e.trim())))),s&&(p.info("Setting state styles",t,s),("string"==typeof s?[s]:s).forEach((e=>LP(t,e.trim())))),o&&(p.info("Setting state styles",t,s),("string"==typeof o?[o]:o).forEach((e=>NP(t,e.trim()))))},bP=function(t){hP={root:cP()},uP=hP.root,dP=0,lP=aP(),t||zb()},_P=function(t){return uP.states[t]};function vP(t=""){let e=t;return t===Q$&&(dP++,e=`${K$}${dP}`),e}function xP(t="",e=Z$){return t===Q$?K$:e}function kP(t=""){let e=t;return t===J$&&(dP++,e=`${tP}${dP}`),e}function wP(t="",e=Z$){return t===J$?tP:e}function TP(t,e,n){let r=vP(t.id),i=xP(t.id,t.type),a=vP(e.id),s=xP(e.id,e.type);mP(r,i,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),mP(a,s,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),uP.relations.push({id1:r,id2:a,relationTitle:Fu.sanitizeText(n,tb())})}const EP=function(t,e,n){if("object"==typeof t)TP(t,e,n);else{const r=vP(t),i=xP(t),a=kP(e),s=wP(e);mP(r,i),mP(a,s),uP.relations.push({id1:r,id2:a,title:Fu.sanitizeText(n,tb())})}},CP=function(t,e){const n=uP.states[t],r=e.startsWith(":")?e.replace(":","").trim():e;n.descriptions.push(Fu.sanitizeText(r,tb()))},SP=function(t,e=""){void 0===lP[t]&&(lP[t]={id:t,styles:[],textStyles:[]});const n=lP[t];null!=e&&e.split(iP).forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(eP)){const t=e.replace(nP,rP).replace(eP,nP);n.textStyles.push(t)}n.styles.push(e)}))},AP=function(t,e){t.split(",").forEach((function(t){let n=_P(t);if(void 0===n){const e=t.trim();mP(e),n=_P(e)}n.classes.push(e)}))},LP=function(t,e){const n=_P(t);void 0!==n&&n.textStyles.push(e)},NP=function(t,e){const n=_P(t);void 0!==n&&n.textStyles.push(e)},DP={parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().state,addState:mP,clear:bP,getState:_P,getStates:function(){return uP.states},getRelations:function(){return uP.relations},getClasses:function(){return lP},getDirection:()=>sP,addRelation:EP,getDividerId:()=>(pP++,"divider-id-"+pP),setDirection:t=>{sP=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(){p.info("Documents = ",hP)},getRootDoc:()=>oP,setRootDoc:t=>{p.info("Setting root doc",t),oP=t},getRootDocV2:()=>(gP({id:"root"},{id:"root",doc:oP},!0),{id:"root",doc:oP}),extract:yP,trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:Wb,setAccTitle:Ub,getAccDescription:qb,setAccDescription:Hb,addStyleClass:SP,setCssClass:AP,addDescription:CP,setDiagramTitle:Vb,getDiagramTitle:Gb},OP={},MP=()=>Object.keys(OP),BP={get:t=>OP[t],set:(t,e)=>{OP[t]=e},keys:MP,size:()=>MP().length},IP=t=>t.append("circle").attr("class","start-state").attr("r",tb().state.sizeUnit).attr("cx",tb().state.padding+tb().state.sizeUnit).attr("cy",tb().state.padding+tb().state.sizeUnit),FP=t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",tb().state.textHeight).attr("class","divider").attr("x2",2*tb().state.textHeight).attr("y1",0).attr("y2",0),RP=(t,e)=>{const n=t.append("text").attr("x",2*tb().state.padding).attr("y",tb().state.textHeight+2*tb().state.padding).attr("font-size",tb().state.fontSize).attr("class","state-title").text(e.id),r=n.node().getBBox();return t.insert("rect",":first-child").attr("x",tb().state.padding).attr("y",tb().state.padding).attr("width",r.width+2*tb().state.padding).attr("height",r.height+2*tb().state.padding).attr("rx",tb().state.radius),n},$P=(t,e)=>{const n=function(t,e,n){const r=t.append("tspan").attr("x",2*tb().state.padding).text(e);n||r.attr("dy",tb().state.textHeight)},r=t.append("text").attr("x",2*tb().state.padding).attr("y",tb().state.textHeight+1.3*tb().state.padding).attr("font-size",tb().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=r.height,a=t.append("text").attr("x",tb().state.padding).attr("y",i+.4*tb().state.padding+tb().state.dividerMargin+tb().state.textHeight).attr("class","state-description");let s=!0,o=!0;e.descriptions.forEach((function(t){s||(n(a,t,o),o=!1),s=!1}));const l=t.append("line").attr("x1",tb().state.padding).attr("y1",tb().state.padding+i+tb().state.dividerMargin/2).attr("y2",tb().state.padding+i+tb().state.dividerMargin/2).attr("class","descr-divider"),c=a.node().getBBox(),h=Math.max(c.width,r.width);return l.attr("x2",h+3*tb().state.padding),t.insert("rect",":first-child").attr("x",tb().state.padding).attr("y",tb().state.padding).attr("width",h+2*tb().state.padding).attr("height",c.height+i+2*tb().state.padding).attr("rx",tb().state.radius),t},PP=(t,e,n)=>{const r=tb().state.padding,i=2*tb().state.padding,a=t.node().getBBox(),s=a.width,o=a.x,l=t.append("text").attr("x",0).attr("y",tb().state.titleShift).attr("font-size",tb().state.fontSize).attr("class","state-title").text(e.id),c=l.node().getBBox().width+i;let h,u=Math.max(c,s);u===s&&(u+=i);const d=t.node().getBBox();e.doc,h=o-r,c>s&&(h=(s-u)/2+r),Math.abs(o-d.x)<r&&c>s&&(h=o-(c-s)/2);const p=1-tb().state.textHeight;return t.insert("rect",":first-child").attr("x",h).attr("y",p).attr("class",n?"alt-composit":"composit").attr("width",u).attr("height",d.height+tb().state.textHeight+tb().state.titleShift+1).attr("rx","0"),l.attr("x",h+r),c<=s&&l.attr("x",o+(u-i)/2-c/2+r),t.insert("rect",":first-child").attr("x",h).attr("y",tb().state.titleShift-tb().state.textHeight-tb().state.padding).attr("width",u).attr("height",3*tb().state.textHeight).attr("rx",tb().state.radius),t.insert("rect",":first-child").attr("x",h).attr("y",tb().state.titleShift-tb().state.textHeight-tb().state.padding).attr("width",u).attr("height",d.height+3+2*tb().state.textHeight).attr("rx",tb().state.radius),t},jP=t=>(t.append("circle").attr("class","end-state-outer").attr("r",tb().state.sizeUnit+tb().state.miniPadding).attr("cx",tb().state.padding+tb().state.sizeUnit+tb().state.miniPadding).attr("cy",tb().state.padding+tb().state.sizeUnit+tb().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",tb().state.sizeUnit).attr("cx",tb().state.padding+tb().state.sizeUnit+2).attr("cy",tb().state.padding+tb().state.sizeUnit+2)),YP=(t,e)=>{let n=tb().state.forkWidth,r=tb().state.forkHeight;if(e.parentId){let t=n;n=r,r=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",r).attr("x",tb().state.padding).attr("y",tb().state.padding)},zP=(t,e,n,r)=>{let i=0;const a=r.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let s=t.replace(/\r\n/g,"<br/>");s=s.replace(/\n/g,"<br/>");const o=s.split(Fu.lineBreakRegex);let l=1.25*tb().state.noteMargin;for(const c of o){const t=c.trim();if(t.length>0){const r=a.append("tspan");r.text(t),0===l&&(l+=r.node().getBBox().height),i+=l,r.attr("x",e+tb().state.noteMargin),r.attr("y",n+i+1.25*tb().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:i}},UP=(t,e)=>{e.attr("class","state-note");const n=e.append("rect").attr("x",0).attr("y",tb().state.padding),r=e.append("g"),{textWidth:i,textHeight:a}=zP(t,0,0,r);return n.attr("height",a+2*tb().state.noteMargin),n.attr("width",i+2*tb().state.noteMargin),n},WP=function(t,e){const n=e.id,r={id:n,label:e.id,width:0,height:0},i=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&IP(i),"end"===e.type&&jP(i),("fork"===e.type||"join"===e.type)&&YP(i,e),"note"===e.type&&UP(e.note.text,i),"divider"===e.type&&FP(i),"default"===e.type&&0===e.descriptions.length&&RP(i,e),"default"===e.type&&e.descriptions.length>0&&$P(i,e);const a=i.node().getBBox();return r.width=a.width+2*tb().state.padding,r.height=a.height+2*tb().state.padding,BP.set(n,r),r};let HP=0;const qP=function(t,e,n){const r=function(t){switch(t){case DP.relationType.AGGREGATION:return"aggregation";case DP.relationType.EXTENSION:return"extension";case DP.relationType.COMPOSITION:return"composition";case DP.relationType.DEPENDENCY:return"dependency"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const i=e.points,a=zc().x((function(t){return t.x})).y((function(t){return t.y})).curve(Zc),s=t.append("path").attr("d",a(i)).attr("id","edge"+HP).attr("class","transition");let o="";if(tb().state.arrowMarkerAbsolute&&(o=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,o=o.replace(/\(/g,"\\("),o=o.replace(/\)/g,"\\)")),s.attr("marker-end","url("+o+"#"+r(DP.relationType.DEPENDENCY)+"End)"),void 0!==n.title){const r=t.append("g").attr("class","stateLabel"),{x:i,y:a}=Qy.calcLabelPosition(e.points),s=Fu.getRows(n.title);let o=0;const l=[];let c=0,h=0;for(let t=0;t<=s.length;t++){const e=r.append("text").attr("text-anchor","middle").text(s[t]).attr("x",i).attr("y",a+o),n=e.node().getBBox();c=Math.max(c,n.width),h=Math.min(h,n.x),p.info(n.x,i,a+o),0===o&&(o=e.node().getBBox().height,p.info("Title height",o,a)),l.push(e)}let u=o*s.length;if(s.length>1){const t=(s.length-1)*o*.5;l.forEach(((e,n)=>e.attr("y",a+n*o-t))),u=o*s.length}const d=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",i-c/2-tb().state.padding/2).attr("y",a-u/2-tb().state.padding/2-3.5).attr("width",c+tb().state.padding).attr("height",u+tb().state.padding),p.info(d)}HP++};let VP;const GP={},ZP=function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},XP=function(t,e,n,r){VP=tb().state;const i=tb().securityLevel;let a;"sandbox"===i&&(a=dn("#i"+e));const s=dn("sandbox"===i?a.nodes()[0].contentDocument.body:"body"),o="sandbox"===i?a.nodes()[0].contentDocument:document;p.debug("Rendering diagram "+t);const l=s.select(`[id='${e}']`);ZP(l),new $A({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const c=r.db.getRootDoc();KP(c,l,void 0,!1,s,o,r);const h=VP.padding,u=l.node().getBBox(),d=u.width+2*h,f=u.height+2*h;hb(l,f,1.75*d,VP.useMaxWidth),l.attr("viewBox",`${u.x-VP.padding} ${u.y-VP.padding} `+d+" "+f)},QP=t=>t?t.length*VP.fontSizeFactor:1,KP=(t,e,n,r,i,a,s)=>{const o=new $A({compound:!0,multigraph:!0});let l,c=!0;for(l=0;l<t.length;l++)if("relation"===t[l].stmt){c=!1;break}n?o.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:c?1:VP.edgeLengthFactor,nodeSep:c?1:50,isMultiGraph:!0}):o.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:c?1:VP.edgeLengthFactor,nodeSep:c?1:50,ranker:"tight-tree",isMultiGraph:!0}),o.setDefaultEdgeLabel((function(){return{}})),s.db.extract(t);const h=s.db.getStates(),u=s.db.getRelations(),d=Object.keys(h);for(const p of d){const t=h[p];let l;if(n&&(t.parentId=n),t.doc){let n=e.append("g").attr("id",t.id).attr("class","stateGroup");l=KP(t.doc,n,t.id,!r,i,a,s);{n=PP(n,t,r);let e=n.node().getBBox();l.width=e.width,l.height=e.height+VP.padding/2,GP[t.id]={y:VP.compositTitleSize}}}else l=WP(e,t);if(t.note){const n={descriptions:[],id:t.id+"-note",note:t.note,type:"note"},r=WP(e,n);"left of"===t.note.position?(o.setNode(l.id+"-note",r),o.setNode(l.id,l)):(o.setNode(l.id,l),o.setNode(l.id+"-note",r)),o.setParent(l.id,l.id+"-group"),o.setParent(l.id+"-note",l.id+"-group")}else o.setNode(l.id,l)}p.debug("Count=",o.nodeCount(),o);let f=0;u.forEach((function(t){f++,p.debug("Setting edge",t),o.setEdge(t.id1,t.id2,{relation:t,width:QP(t.title),height:VP.labelHeight*Fu.getRows(t.title).length,labelpos:"c"},"id"+f)})),fN(o),p.debug("Graph after layout",o.nodes());const g=e.node();o.nodes().forEach((function(t){void 0!==t&&void 0!==o.node(t)?(p.warn("Node "+t+": "+JSON.stringify(o.node(t))),i.select("#"+g.id+" #"+t).attr("transform","translate("+(o.node(t).x-o.node(t).width/2)+","+(o.node(t).y+(GP[t]?GP[t].y:0)-o.node(t).height/2)+" )"),i.select("#"+g.id+" #"+t).attr("data-x-shift",o.node(t).x-o.node(t).width/2),a.querySelectorAll("#"+g.id+" #"+t+" .divider").forEach((t=>{const e=t.parentElement;let n=0,r=0;e&&(e.parentElement&&(n=e.parentElement.getBBox().width),r=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(r)&&(r=0)),t.setAttribute("x1",0-r+8),t.setAttribute("x2",n-r-8)}))):p.debug("No Node "+t+": "+JSON.stringify(o.node(t)))}));let y=g.getBBox();o.edges().forEach((function(t){void 0!==t&&void 0!==o.edge(t)&&(p.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(o.edge(t))),qP(e,o.edge(t),o.edge(t).relation))})),y=g.getBBox();const m={id:n||"root",label:n||"root",width:0,height:0};return m.width=y.width+2*VP.padding,m.height=y.height+2*VP.padding,p.debug("Doc rendered",m,o),m},JP={setConf:function(){},draw:XP},tj="rect",ej="rectWithTitle",nj="start",rj="end",ij="divider",aj="roundedWithTitle",sj="note",oj="noteGroup",lj="statediagram",cj=`${lj}-state`,hj="transition",uj=`${hj} note-edge`,dj=`${lj}-note`,pj=`${lj}-cluster`,fj=`${lj}-cluster-alt`,gj="parent",yj="note",mj="state",bj="----",_j=`${bj}${yj}`,vj=`${bj}${gj}`,xj="fill:none",kj="fill: #333",wj="c",Tj="text",Ej="normal";let Cj={},Sj=0;function Aj(t){return null==t?"":t.classes?t.classes.join(" "):""}function Lj(t="",e=0,n="",r=bj){const i=null!==n&&n.length>0?`${r}${n}`:"";return`${mj}-${t}${i}-${e}`}const Nj=(t,e,n,r,i,a)=>{const s=n.id,o=Aj(r[s]);if("root"!==s){let e=tj;!0===n.start&&(e=nj),!1===n.start&&(e=rj),n.type!==Z$&&(e=n.type),Cj[s]||(Cj[s]={id:s,shape:e,description:Fu.sanitizeText(s,tb()),classes:`${o} ${cj}`});const r=Cj[s];n.description&&(Array.isArray(r.description)?(r.shape=ej,r.description.push(n.description)):r.description.length>0?(r.shape=ej,r.description===s?r.description=[n.description]:r.description=[r.description,n.description]):(r.shape=tj,r.description=n.description),r.description=Fu.sanitizeTextOrArray(r.description,tb())),1===r.description.length&&r.shape===ej&&(r.shape=tj),!r.type&&n.doc&&(p.info("Setting cluster for ",s,Oj(n)),r.type="group",r.dir=Oj(n),r.shape=n.type===X$?ij:aj,r.classes=r.classes+" "+pj+" "+(a?fj:""));const i={labelStyle:"",shape:r.shape,labelText:r.description,classes:r.classes,style:"",id:s,dir:r.dir,domId:Lj(s,Sj),type:r.type,padding:15};if(n.note){const e={labelStyle:"",shape:sj,labelText:n.note.text,classes:dj,style:"",id:s+_j+"-"+Sj,domId:Lj(s,Sj,yj),type:r.type,padding:15},a={labelStyle:"",shape:oj,labelText:n.note.text,classes:r.classes,style:"",id:s+vj,domId:Lj(s,Sj,gj),type:"group",padding:0};Sj++;const o=s+vj;t.setNode(o,a),t.setNode(e.id,e),t.setNode(s,i),t.setParent(s,o),t.setParent(e.id,o);let l=s,c=e.id;"left of"===n.note.position&&(l=e.id,c=s),t.setEdge(l,c,{arrowhead:"none",arrowType:"",style:xj,labelStyle:"",classes:uj,arrowheadStyle:kj,labelpos:wj,labelType:Tj,thickness:Ej})}else t.setNode(s,i)}e&&"root"!==e.id&&(p.trace("Setting node ",s," to be child of its parent ",e.id),t.setParent(s,e.id)),n.doc&&(p.trace("Adding nodes children "),Dj(t,n,n.doc,r,i,!a))},Dj=(t,e,n,r,i,a)=>{p.trace("items",n),n.forEach((n=>{switch(n.stmt){case H$:case Z$:Nj(t,e,n,r,i,a);break;case q$:{Nj(t,e,n.state1,r,i,a),Nj(t,e,n.state2,r,i,a);const s={id:"edge"+Sj,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:xj,labelStyle:"",label:Fu.sanitizeText(n.description,tb()),arrowheadStyle:kj,labelpos:wj,labelType:Tj,thickness:Ej,classes:hj};t.setEdge(n.state1.id,n.state2.id,s,Sj),Sj++}}}))},Oj=(t,e=W$)=>{let n=e;if(t.doc)for(let r=0;r<t.doc.length;r++){const e=t.doc[r];"dir"===e.stmt&&(n=e.value)}return n},Mj={setConf:function(t){const e=Object.keys(t);for(const n of e)t[n]},getClasses:function(t,e){p.trace("Extracting classes"),e.db.clear();try{return e.parser.parse(t),e.db.extract(e.db.getRootDocV2()),e.db.getClasses()}catch(n){return n}},draw:function(t,e,n,r){p.info("Drawing state diagram (v2)",e),Cj={};let i=r.db.getDirection();void 0===i&&(i=U$);const{securityLevel:a,state:s}=tb(),o=s.nodeSpacing||50,l=s.rankSpacing||50;p.info(r.db.getRootDocV2()),r.db.extract(r.db.getRootDocV2()),p.info(r.db.getRootDocV2());const c=r.db.getStates(),h=new $A({multigraph:!0,compound:!0}).setGraph({rankdir:Oj(r.db.getRootDocV2()),nodesep:o,ranksep:l,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let u;Nj(h,void 0,r.db.getRootDocV2(),c,r.db,!0),"sandbox"===a&&(u=dn("#i"+e));const d=dn("sandbox"===a?u.nodes()[0].contentDocument.body:"body"),f=d.select(`[id="${e}"]`),g=d.select("#"+e+" g");MO(g,h,["barb"],lj,e);const y=8;Qy.insertTitle(f,"statediagramTitleText",s.titleTopMargin,r.db.getDiagramTitle());const m=f.node().getBBox(),b=m.width+2*y,_=m.height+2*y;f.attr("class",lj);const v=f.node().getBBox();hb(f,_,b,s.useMaxWidth);const x=`${v.x-y} ${v.y-y} ${b} ${_}`;p.debug(`viewBox ${x}`),f.attr("viewBox",x);const k=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const p of k){const t=p.getBBox(),e=document.createElementNS("http://www.w3.org/2000/svg",tj);e.setAttribute("rx",0),e.setAttribute("ry",0),e.setAttribute("width",t.width),e.setAttribute("height",t.height),p.insertBefore(e,p.firstChild)}}};var Bj=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,5],r=[6,9,11,17,18,20,22,23,24,26],i=[1,15],a=[1,16],s=[1,17],o=[1,18],l=[1,19],c=[1,20],h=[1,24],u=[4,6,9,11,17,18,20,22,23,24,26],d={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,r,i,a,s){var o=a.length-1;switch(i){case 1:return a[o-1];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:this.$=a[o];break;case 11:r.setDiagramTitle(a[o].substr(6)),this.$=a[o].substr(6);break;case 12:this.$=a[o].trim(),r.setAccTitle(this.$);break;case 13:case 14:this.$=a[o].trim(),r.setAccDescription(this.$);break;case 15:r.addSection(a[o].substr(8)),this.$=a[o].substr(8);break;case 16:r.addTask(a[o-1],a[o]),this.$="task";break;case 18:r.parseDirective("%%{","open_directive");break;case 19:r.parseDirective(a[o],"type_directive");break;case 20:a[o]=a[o].trim().replace(/'/g,'"'),r.parseDirective(a[o],"arg_directive");break;case 21:r.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,26:n},{1:[3]},t(r,[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:i,18:a,20:s,22:o,23:l,24:c,26:n},{1:[2,2]},{14:22,15:[1,23],29:h},t([15,29],[2,19]),t(r,[2,8],{1:[2,1]}),t(r,[2,4]),{7:21,10:25,12:4,17:i,18:a,20:s,22:o,23:l,24:c,26:n},t(r,[2,6]),t(r,[2,7]),t(r,[2,11]),{19:[1,26]},{21:[1,27]},t(r,[2,14]),t(r,[2,15]),{25:[1,28]},t(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},t(r,[2,5]),t(r,[2,12]),t(r,[2,13]),t(r,[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=this,n=[0],r=[],i=[null],a=[],s=this.table,o="",l=0,c=0,h=2,u=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),f={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(f.yy[g]=this.yy[g]);p.setInput(t,f.yy),f.yy.lexer=p,f.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var y=p.yylloc;a.push(y);var m=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||u)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,v,x,k,w,T,E,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===_||typeof _>"u")&&(_=b()),x=s[v]&&s[v][_]),typeof x>"u"||!x.length||!x[0]){var A="";for(w in C=[],s[v])this.terminals_[w]&&w>h&&C.push("'"+this.terminals_[w]+"'");A=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==u?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(A,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:y,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+_);switch(x[0]){case 1:n.push(_),i.push(p.yytext),a.push(p.yylloc),n.push(x[1]),_=null,c=p.yyleng,o=p.yytext,l=p.yylineno,y=p.yylloc;break;case 2:if(T=this.productions_[x[1]][1],S.$=i[i.length-T],S._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},m&&(S._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[o,c,l,f.yy,x[1],i,a].concat(d)))<"u")return k;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(S.$),a.push(S._$),E=s[n[n.length-2]][n[n.length-1]],n.push(E);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 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-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 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=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],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;a<i.length;a++)if((n=this._input.match(this.rules[i[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[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,n,r){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 f(){this.yy={}}return d.lexer=p,f.prototype=d,d.Parser=f,new f}();Bj.parser=Bj;const Ij=Bj,Fj=t=>null!==t.match(/^\s*journey/);let Rj="";const $j=[],Pj=[],jj=[],Yj=function(){let t=Uj();const e=100;let n=0;for(;!t&&n<e;)t=Uj(),n++;return Pj.push(...jj),Pj},zj=function(){const t=[];return Pj.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()},Uj=function(){const t=function(t){return jj[t].processed};let e=!0;for(const[n,r]of jj.entries())t(n),e=e&&r.processed;return e},Wj={parseDirective:function(t,e,n){iz.parseDirective(this,t,e,n)},getConfig:()=>tb().journey,clear:function(){$j.length=0,Pj.length=0,Rj="",jj.length=0,zb()},setDiagramTitle:Vb,getDiagramTitle:Gb,setAccTitle:Ub,getAccTitle:Wb,setAccDescription:Hb,getAccDescription:qb,addSection:function(t){Rj=t,$j.push(t)},getSections:function(){return $j},getTasks:Yj,addTask:function(t,e){const n=e.substr(1).split(":");let r=0,i=[];1===n.length?(r=Number(n[0]),i=[]):(r=Number(n[0]),i=n[1].split(","));const a=i.map((t=>t.trim())),s={section:Rj,type:Rj,people:a,task:t,score:r};jj.push(s)},addTaskOrg:function(t){const e={section:Rj,type:Rj,description:t,task:t,classes:[]};Pj.push(e)},getActors:function(){return zj()}},Hj=function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},qj=function(t,e){const n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=t.append("g");function i(t){const n=Fc().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function a(t){const n=Fc().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function s(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return r.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.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?i(r):e.score<3?a(r):s(r),n},Vj=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},Gj=function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),void 0!==e.class&&r.attr("class",e.class);const i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(n),r},Zj=function(t,e){function n(t,e,n,r,i){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+r-i)+" "+(t+n-1.2*i)+","+(e+r)+" "+t+","+(e+r)}const r=t.append("polygon");r.attr("points",n(e.x,e.y,50,20,7)),r.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,Gj(t,e)},Xj=function(t,e,n){const r=t.append("g"),i=eY();i.x=e.x,i.y=e.y,i.fill=e.fill,i.width=n.width,i.height=n.height,i.class="journey-section section-type-"+e.num,i.rx=3,i.ry=3,Hj(r,i),nY(n)(e.text,r,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+e.num},n,e.colour)};let Qj=-1;const Kj=function(t,e,n){const r=e.x+n.width/2,i=t.append("g");Qj++;const a=450;i.append("line").attr("id","task"+Qj).attr("x1",r).attr("y1",e.y).attr("x2",r).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),qj(i,{cx:r,cy:300+30*(5-e.score),score:e.score});const s=eY();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,Hj(i,s);let o=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,r={cx:o,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};Vj(i,r),o+=10})),nY(n)(e.task,i,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)},Jj=function(t,e){Hj(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},tY=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},eY=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},nY=function(){function t(t,e,n,i,a,s,o,l){r(e.append("text").attr("x",n+a/2).attr("y",i+s/2+5).style("font-color",l).style("text-anchor","middle").text(t),o)}function e(t,e,n,i,a,s,o,l,c){const{taskFontSize:h,taskFontFamily:u}=l,d=t.split(/<br\s*\/?>/gi);for(let p=0;p<d.length;p++){const t=p*h-h*(d.length-1)/2,l=e.append("text").attr("x",n+a/2).attr("y",i).attr("fill",c).style("text-anchor","middle").style("font-size",h).style("font-family",u);l.append("tspan").attr("x",n+a/2).attr("dy",t).text(d[p]),l.attr("y",i+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(l,o)}}function n(t,n,i,a,s,o,l,c){const h=n.append("switch"),u=h.append("foreignObject").attr("x",i).attr("y",a).attr("width",s).attr("height",o).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,i,a,s,o,l,c),r(u,l)}function r(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return function(r){return"fo"===r.textPlacement?n:"old"===r.textPlacement?t:e}}(),rY={drawRect:Hj,drawCircle:Vj,drawSection:Xj,drawText:Gj,drawLabel:Zj,drawTask:Kj,drawBackgroundRect:Jj,getTextObj:tY,getNoteRect:eY,initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},iY=function(t){Object.keys(t).forEach((function(e){oY[e]=t[e]}))},aY={};function sY(t){const e=tb().journey;let n=60;Object.keys(aY).forEach((r=>{const i=aY[r].color,a={cx:20,cy:n,r:7,fill:i,stroke:"#000",pos:aY[r].position};rY.drawCircle(t,a);const s={x:40,y:n+7,fill:"#666",text:r,textMargin:5|e.boxTextMargin};rY.drawText(t,s),n+=20}))}const oY=tb().journey,lY=oY.leftMargin,cY=function(t,e,n,r){const i=tb().journey;r.db.clear(),r.parser.parse(t+"\n");const a=tb().securityLevel;let s;"sandbox"===a&&(s=dn("#i"+e));const o=dn("sandbox"===a?s.nodes()[0].contentDocument.body:"body");hY.init();const l=o.select("#"+e);rY.initGraphics(l);const c=r.db.getTasks(),h=r.db.getDiagramTitle(),u=r.db.getActors();for(const m in aY)delete aY[m];let d=0;u.forEach((t=>{aY[t]={color:i.actorColours[d%i.actorColours.length],position:d},d++})),sY(l),hY.insert(0,0,lY,50*Object.keys(aY).length),pY(l,c,0);const p=hY.getBounds();h&&l.append("text").text(h).attr("x",lY).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const f=p.stopy-p.starty+2*i.diagramMarginY,g=lY+p.stopx+2*i.diagramMarginX;hb(l,f,g,i.useMaxWidth),l.append("line").attr("x1",lY).attr("y1",4*i.height).attr("x2",g-lY-4).attr("y2",4*i.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const y=h?70:0;l.attr("viewBox",`${p.startx} -25 ${g} ${f+y}`),l.attr("preserveAspectRatio","xMinYMin meet"),l.attr("height",f+y+25)},hY={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,r){void 0===t[e]?t[e]=n:t[e]=r(n,t[e])},updateBounds:function(t,e,n,r){const i=tb().journey,a=this;let s=0;function o(o){return function(l){s++;const c=a.sequenceItems.length-s+1;a.updateVal(l,"starty",e-c*i.boxMargin,Math.min),a.updateVal(l,"stopy",r+c*i.boxMargin,Math.max),a.updateVal(hY.data,"startx",t-c*i.boxMargin,Math.min),a.updateVal(hY.data,"stopx",n+c*i.boxMargin,Math.max),"activation"!==o&&(a.updateVal(l,"startx",t-c*i.boxMargin,Math.min),a.updateVal(l,"stopx",n+c*i.boxMargin,Math.max),a.updateVal(hY.data,"starty",e-c*i.boxMargin,Math.min),a.updateVal(hY.data,"stopy",r+c*i.boxMargin,Math.max))}}this.sequenceItems.forEach(o())},insert:function(t,e,n,r){const i=Math.min(t,n),a=Math.max(t,n),s=Math.min(e,r),o=Math.max(e,r);this.updateVal(hY.data,"startx",i,Math.min),this.updateVal(hY.data,"starty",s,Math.min),this.updateVal(hY.data,"stopx",a,Math.max),this.updateVal(hY.data,"stopy",o,Math.max),this.updateBounds(i,s,a,o)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},uY=oY.sectionFills,dY=oY.sectionColours,pY=function(t,e,n){const r=tb().journey;let i="";const a=n+(2*r.height+r.diagramMarginY);let s=0,o="#CCC",l="black",c=0;for(const[h,u]of e.entries()){if(i!==u.section){o=uY[s%uY.length],c=s%uY.length,l=dY[s%dY.length];const e={x:h*r.taskMargin+h*r.width+lY,y:50,text:u.section,fill:o,num:c,colour:l};rY.drawSection(t,e,r),i=u.section,s++}const e=u.people.reduce(((t,e)=>(aY[e]&&(t[e]=aY[e]),t)),{});u.x=h*r.taskMargin+h*r.width+lY,u.y=a,u.width=r.diagramMarginX,u.height=r.diagramMarginY,u.colour=l,u.fill=o,u.num=c,u.actors=e,rY.drawTask(t,u,r),hY.insert(u.x,u.y,u.x+u.width+r.taskMargin,450)}},fY={setConf:iY,draw:cY};let gY={};const yY={setConf:function(t){gY={...gY,...t}},draw:(t,e,n)=>{try{p.debug("Renering svg for syntax error\n");const t=dn("#"+e),r=t.append("g");r.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),r.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),r.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),r.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),r.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),r.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),r.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),r.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+n),t.attr("height",100),t.attr("width",500),t.attr("viewBox","768 0 912 512")}catch(l){p.error("Error while rendering info diagram"),p.error(Xy(l))}}};let mY=!1;const bY=()=>{mY||(mY=!0,Mb("error",{db:{clear:()=>{}},styles:fb,renderer:yY,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},(t=>"error"===t.toLowerCase().trim())),Mb("c4",{parser:F_,db:av,renderer:Yv,styles:wb,init:t=>{Yv.setConf(t.c4)}},R_),Mb("class",{parser:Uv,db:Ex,renderer:LD,styles:db,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Ex.clear()}},Wv),Mb("classDiagram",{parser:Uv,db:Ex,renderer:jO,styles:db,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Ex.clear()}},Hv),Mb("er",{parser:zO,db:VO,renderer:gM,styles:pb},UO),Mb("gantt",{parser:FI,db:xF,renderer:TF,styles:yb},RI),Mb("info",{parser:CF,db:LF,renderer:NF,styles:mb},DF),Mb("pie",{parser:MF,db:RF,renderer:YF,styles:bb},BF),Mb("requirement",{parser:UF,db:XF,renderer:uR,styles:_b},WF),Mb("sequence",{parser:pR,db:IR,renderer:$$,styles:vb,init:t=>{if(t.sequence||(t.sequence={}),t.sequence.arrowMarkerAbsolute=t.arrowMarkerAbsolute,"sequenceDiagram"in t)throw new Error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.");IR.setWrap(t.wrap),$$.setConf(t.sequence)}},fR),Mb("state",{parser:j$,db:DP,renderer:JP,styles:xb,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,DP.clear()}},Y$),Mb("stateDiagram",{parser:j$,db:DP,renderer:Mj,styles:xb,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,DP.clear()}},z$),Mb("journey",{parser:Ij,db:Wj,renderer:fY,styles:kb,init:t=>{fY.setConf(t.journey),Wj.clear()}},Fj),Mb("flowchart",{parser:mM,db:dB,renderer:BI,styles:gb,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,NI.setConf(t.flowchart),dB.clear(),dB.setGen("gen-1")}},bM),Mb("flowchart-v2",{parser:mM,db:dB,renderer:BI,styles:gb,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Jm({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),BI.setConf(t.flowchart),dB.clear(),dB.setGen("gen-2")}},_M),Mb("gitGraph",{parser:Fb,db:m_,renderer:M_,styles:B_},Rb))};class _Y{constructor(t,e){var n,r;a(this,"type","graph"),a(this,"parser"),a(this,"renderer"),a(this,"db"),a(this,"detectTypeFailed",!1),this.txt=t;const i=tb();this.txt=t;try{this.type=ng(t,i)}catch(l){this.handleError(l,e),this.type="error",this.detectTypeFailed=!0}const s=Bb(this.type);p.debug("Type "+this.type),this.db=s.db,null==(r=(n=this.db).clear)||r.call(n),this.renderer=s.renderer,this.parser=s.parser;const o=this.parser.parse.bind(this.parser);this.parser.parse=t=>o(Kf(t,this.db)),this.parser.parser.yy=this.db,s.init&&(s.init(i),p.debug("Initialized diagram "+this.type,i)),this.txt+="\n",this.parse(this.txt,e)}parse(t,e){var n,r;if(this.detectTypeFailed)return!1;try{return t+="\n",null==(r=(n=this.db).clear)||r.call(n),this.parser.parse(t),!0}catch(i){this.handleError(i,e)}return!1}handleError(t,e){if(void 0===e)throw t;Zy(t)?e(t.str,t.hash):e(t)}getParser(){return this.parser}getType(){return this.type}}const vY=(t,e)=>{const n=ng(t,tb());try{Bb(n)}catch{const r=ig(n);if(!r)throw new Error(`Diagram ${n} not found.`);return r().then((({diagram:r})=>(Mb(n,r,void 0),new _Y(t,e))))}return new _Y(t,e)},xY=_Y;function kY(t,e){eA(e)||t.attr("aria-roledescription",e)}function wY(t,e,n,r){if(void 0!==t.insert){if(!e&&!n)return;if(n){const e="chart-desc-"+r;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n)}if(e){const n="chart-title-"+r;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}const TY=["graph","flowchart","flowchart-v2","stateDiagram","stateDiagram-v2"],EY="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",CY="sandbox",SY="loose",AY="http://www.w3.org/2000/svg",LY="http://www.w3.org/1999/xlink",NY="http://www.w3.org/1999/xhtml",DY="100%",OY="100%",MY="border:0;margin:0;",BY="margin:0",IY="allow-top-navigation-by-user-activation allow-popups",FY='The "iframe" tag is not supported by your browser.',RY=["foreignobject"],$Y=["dominant-baseline"];function PY(t,e){return bY(),new xY(t,e).parse(t,e)}async function jY(t,e){return bY(),(await vY(t,e)).parse(t,e)}const YY=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\ufb02\xb0\xb0"+e+"\xb6\xdf":"\ufb02\xb0"+e+"\xb6\xdf"})),e},zY=function(t){let e=t;return e=e.replace(/\ufb02\xb0\xb0/g,"&#"),e=e.replace(/\ufb02\xb0/g,"&"),e=e.replace(/\xb6\xdf/g,";"),e},UY=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,WY=(t,e,n={})=>{var r;let i="";if(void 0!==t.themeCSS&&(i+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(i+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(i+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!eA(n)&&TY.includes(e)){const e=t.htmlLabels||(null==(r=t.flowchart)?void 0:r.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in n){const r=n[t];eA(r.styles)||e.forEach((t=>{i+=UY(r.id,t,r.styles)})),eA(r.textStyles)||(i+=UY(r.id,"tspan",r.textStyles))}}return i},HY=(t,e,n,r)=>{const i=WY(t,e,n);return jm(Im(`${r}{${Cb(e,i,t.themeVariables)}}`),Ym)},qY=(t="",e,n)=>{let r=t;return!n&&!e&&(r=r.replace(/marker-end="url\(.*?#/g,'marker-end="url(#')),r=zY(r),r=r.replace(/<br>/g,"<br/>"),r},VY=(t="",e)=>{const n=e?e.viewBox.baseVal.height+"px":OY,r=btoa('<body style="'+BY+'">'+t+"</body>");return`<iframe style="width:${DY};height:${n};${MY}" src="data:text/html;base64,${r}" sandbox="${IY}">\n ${FY}\n</iframe>`},GY=(t,e,n,r,i)=>{const a=t.append("div");a.attr("id",n),r&&a.attr("style",r);const s=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns",AY);return i&&s.attr("xmlns:xlink",i),s.append("g"),t};function ZY(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const XY=(t,e,n,r)=>{var i,a,s;null==(i=t.getElementById(e))||i.remove(),null==(a=t.getElementById(n))||a.remove(),null==(s=t.getElementById(r))||s.remove()},QY=function(t,e,n,r){var i,a,s,o,l;bY(),rb();const c=Qy.detectInit(e);c&&(Vy(c),nb(c));const h=tb();p.debug(h),e.length>(null!=(i=null==h?void 0:h.maxTextSize)?i:5e4)&&(e=EY),e=e.replace(/\r\n?/g,"\n");const u="#"+t,d="i"+t,f="#"+d,g="d"+t,y="#"+g;let m=dn("body");const b=h.securityLevel===CY,_=h.securityLevel===SY,v=h.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),b){const t=ZY(dn(r),d);m=dn(t.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=dn(r);GY(m,t,g,`font-family: ${v}`,LY)}else{if(XY(document,t,g,d),b){const t=ZY(dn("body"),d);m=dn(t.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=dn("body");GY(m,t,g)}let x,k;e=YY(e);try{if(x=vY(e),"then"in x)throw new Error("Diagram is a promise. Use renderAsync.")}catch(O){x=new xY("error"),k=O}const w=m.select(y).node(),T=x.type,E=w.firstChild,C=E.firstChild,S=TY.includes(T)?x.renderer.getClasses(e,x):{},A=HY(h,T,S,u),L=document.createElement("style");L.innerHTML=A,E.insertBefore(L,C);try{x.renderer.draw(e,t,zm.version,x)}catch(O){throw yY.draw(e,t,zm.version),O}rz(T,m.select(`${y} svg`),null==(s=(a=x.db).getAccTitle)?void 0:s.call(a),null==(l=(o=x.db).getAccDescription)?void 0:l.call(o)),m.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",NY);let N=m.select(y).node().innerHTML;if(p.debug("config.arrowMarkerAbsolute",h.arrowMarkerAbsolute),N=qY(N,b,Bu(h.arrowMarkerAbsolute)),b){const t=m.select(y+" svg").node();N=VY(N,t)}else _||(N=Eu.sanitize(N,{ADD_TAGS:RY,ADD_ATTR:$Y}));if(void 0!==n)switch(T){case"flowchart":case"flowchart-v2":n(N,dB.bindFunctions);break;case"gantt":n(N,xF.bindFunctions);break;case"class":case"classDiagram":n(N,Ex.bindFunctions);break;default:n(N)}else p.debug("CB = undefined!");$R();const D=dn(b?f:y).node();if(D&&"remove"in D&&D.remove(),k)throw k;return N},KY=async function(t,e,n,r){var i,a,s,o,l;bY(),rb();const c=Qy.detectInit(e);c&&(Vy(c),nb(c));const h=tb();p.debug(h),e.length>(null!=(i=null==h?void 0:h.maxTextSize)?i:5e4)&&(e=EY),e=e.replace(/\r\n?/g,"\n");const u="#"+t,d="i"+t,f="#"+d,g="d"+t,y="#"+g;let m=dn("body");const b=h.securityLevel===CY,_=h.securityLevel===SY,v=h.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),b){const t=ZY(dn(r),d);m=dn(t.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=dn(r);GY(m,t,g,`font-family: ${v}`,LY)}else{if(XY(document,t,g,d),b){const t=ZY(dn("body"),d);m=dn(t.nodes()[0].contentDocument.body),m.node().style.margin=0}else m=dn("body");GY(m,t,g)}let x,k;e=YY(e);try{x=await vY(e)}catch(O){x=new xY("error"),k=O}const w=m.select(y).node(),T=x.type,E=w.firstChild,C=E.firstChild,S=TY.includes(T)?x.renderer.getClasses(e,x):{},A=HY(h,T,S,u),L=document.createElement("style");L.innerHTML=A,E.insertBefore(L,C);try{await x.renderer.draw(e,t,zm.version,x)}catch(O){throw yY.draw(e,t,zm.version),O}rz(T,m.select(`${y} svg`),null==(s=(a=x.db).getAccTitle)?void 0:s.call(a),null==(l=(o=x.db).getAccDescription)?void 0:l.call(o)),m.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",NY);let N=m.select(y).node().innerHTML;if(p.debug("config.arrowMarkerAbsolute",h.arrowMarkerAbsolute),N=qY(N,b,Bu(h.arrowMarkerAbsolute)),b){const t=m.select(y+" svg").node();N=VY(N,t)}else _||(N=Eu.sanitize(N,{ADD_TAGS:RY,ADD_ATTR:$Y}));if(void 0!==n)switch(T){case"flowchart":case"flowchart-v2":n(N,dB.bindFunctions);break;case"gantt":n(N,xF.bindFunctions);break;case"class":case"classDiagram":n(N,Ex.bindFunctions);break;default:n(N)}else p.debug("CB = undefined!");$R();const D=dn(b?f:y).node();if(D&&"remove"in D&&D.remove(),k)throw k;return N};let JY={};const tz=function(t,e,n,r){try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":JY={};break;case"type_directive":if(!JY)throw new Error("currentDirective is undefined");JY.type=e.toLowerCase();break;case"arg_directive":if(!JY)throw new Error("currentDirective is undefined");JY.args=JSON.parse(e);break;case"close_directive":ez(t,JY,r),JY=void 0}}catch(i){p.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${n}`),p.error(i.message)}},ez=function(t,e,n){switch(p.debug(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":["config"].forEach((t=>{void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t])})),p.debug("sanitize in handleDirective",e.args),Vy(e.args),p.debug("sanitize in handleDirective (done)",e.args),nb(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":p.warn("themeCss encountered");break;default:p.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e)}};function nz(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null!=(e=t.themeVariables)&&e.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),Xm(t),(null==t?void 0:t.theme)&&t.theme in vd?t.themeVariables=vd[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=vd.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?Zm(t):Km();f(n.logLevel),bY()}function rz(t,e,n,r){kY(e,t),wY(e,n,r,e.attr("id"))}const iz=Object.freeze({render:QY,renderAsync:KY,parse:PY,parseAsync:jY,parseDirective:tz,initialize:nz,getConfig:tb,setConfig:Jm,getSiteConfig:Km,updateSiteConfig:Qm,reset:()=>{rb()},globalReset:()=>{rb(Um)},defaultConfig:Um});f(tb().logLevel),rb(tb());let az=!1;const sz=async function(t,e,n){try{az?await uz(t,e,n):lz(t,e,n)}catch(l){p.warn("Syntax Error rendering"),Zy(l)&&p.warn(l.str),kz.parseError&&kz.parseError(l)}},oz=(t,e,n)=>{p.warn(t),Zy(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},lz=function(t,e,n){const r=iz.getConfig();let i;if(t&&(kz.sequenceConfig=t),p.debug((n?"":"No ")+"Callback function found"),void 0===e)i=document.querySelectorAll(".mermaid");else if("string"==typeof e)i=document.querySelectorAll(e);else if(e instanceof HTMLElement)i=[e];else{if(!(e instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");i=e}p.debug(`Found ${i.length} diagrams`),void 0!==(null==t?void 0:t.startOnLoad)&&(p.debug("Start On Load: "+(null==t?void 0:t.startOnLoad)),iz.updateSiteConfig({startOnLoad:null==t?void 0:t.startOnLoad}));const a=new Qy.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const o=[];for(const c of Array.from(i)){if(p.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");const t=`mermaid-${a.next()}`;s=c.innerHTML,s=Qy.entityDecode(s).trim().replace(/<br\s*\/?>/gi,"<br/>");const e=Qy.detectInit(s);e&&p.debug("Detected early reinit: ",e);try{iz.render(t,s,((e,r)=>{c.innerHTML=e,void 0!==n&&n(t),r&&r(c)}),c)}catch(l){oz(l,o,kz.parseError)}}if(o.length>0)throw o[0]},cz=t=>{for(const{id:e,detector:n,loader:r}of t)rg(e,n,r)},hz=async t=>{p.debug(`Loading ${t.length} external diagrams`);const e=(await Promise.allSettled(t.map((async({id:t,detector:e,loader:n})=>{const{diagram:r}=await n();Mb(t,r,e)})))).filter((t=>"rejected"===t.status));if(e.length>0){p.error(`Failed to load ${e.length} external diagrams`);for(const t of e)p.error(t);throw new Error(`Failed to load ${e.length} external diagrams`)}},uz=async function(t,e,n){const r=iz.getConfig();let i;if(t&&(kz.sequenceConfig=t),p.debug((n?"":"No ")+"Callback function found"),void 0===e)i=document.querySelectorAll(".mermaid");else if("string"==typeof e)i=document.querySelectorAll(e);else if(e instanceof HTMLElement)i=[e];else{if(!(e instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");i=e}p.debug(`Found ${i.length} diagrams`),void 0!==(null==t?void 0:t.startOnLoad)&&(p.debug("Start On Load: "+(null==t?void 0:t.startOnLoad)),iz.updateSiteConfig({startOnLoad:null==t?void 0:t.startOnLoad}));const a=new Qy.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const o=[];for(const c of Array.from(i)){if(p.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");const t=`mermaid-${a.next()}`;s=c.innerHTML,s=Qy.entityDecode(s).trim().replace(/<br\s*\/?>/gi,"<br/>");const e=Qy.detectInit(s);e&&p.debug("Detected early reinit: ",e);try{await iz.renderAsync(t,s,((e,r)=>{c.innerHTML=e,void 0!==n&&n(t),r&&r(c)}),c)}catch(l){oz(l,o,kz.parseError)}}if(o.length>0)throw o[0]},dz=function(t){iz.initialize(t)},pz=async(t,{lazyLoad:e=!0}={})=>{e?cz(t):await hz(t),az=!0},fz=function(){if(kz.startOnLoad){const{startOnLoad:t}=iz.getConfig();t&&kz.init()}};typeof document<"u"&&window.addEventListener("load",fz,!1);const gz=function(t){kz.parseError=t},yz=t=>iz.parse(t,kz.parseError),mz=[];let bz=!1;const _z=async()=>{if(!bz){for(bz=!0;mz.length>0;){const e=mz.shift();if(e)try{await e()}catch(t){p.error("Error executing queue",t)}}bz=!1}},vz=t=>new Promise(((e,n)=>{const r=()=>new Promise(((r,i)=>{iz.parseAsync(t,kz.parseError).then((t=>{r(t),e(t)}),(t=>{p.error("Error parsing",t),i(t),n(t)}))}));mz.push(r),_z()})),xz=(t,e,n,r)=>new Promise(((i,a)=>{const s=()=>new Promise(((s,o)=>{iz.renderAsync(t,e,n,r).then((t=>{s(t),i(t)}),(t=>{p.error("Error parsing",t),o(t),a(t)}))}));mz.push(s),_z()})),kz={startOnLoad:!0,diagrams:{},mermaidAPI:iz,parse:yz,parseAsync:vz,render:iz.render,renderAsync:xz,init:sz,initThrowsErrors:lz,initThrowsErrorsAsync:uz,registerExternalDiagrams:pz,initialize:dz,parseError:void 0,contentLoaded:fz,setParseErrorHandler:gz};return kz}()},7594:(t,e)=>{function n(t){let e,n=[];for(let r of t.split(",").map((t=>t.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(e=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[t,r,i,a]=e;if(r&&a){r=parseInt(r),a=parseInt(a);const t=r<a?1:-1;"-"!==i&&".."!==i&&"\u2025"!==i||(a+=t);for(let e=r;e!==a;e+=t)n.push(e)}}return n}e.default=n,t.exports=n},655:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__assign:()=>a,__asyncDelegator:()=>E,__asyncGenerator:()=>T,__asyncValues:()=>C,__await:()=>w,__awaiter:()=>f,__classPrivateFieldGet:()=>D,__classPrivateFieldIn:()=>M,__classPrivateFieldSet:()=>O,__createBinding:()=>y,__decorate:()=>o,__esDecorate:()=>c,__exportStar:()=>m,__extends:()=>i,__generator:()=>g,__importDefault:()=>N,__importStar:()=>L,__makeTemplateObject:()=>S,__metadata:()=>p,__param:()=>l,__propKey:()=>u,__read:()=>_,__rest:()=>s,__runInitializers:()=>h,__setFunctionName:()=>d,__spread:()=>v,__spreadArray:()=>k,__spreadArrays:()=>x,__values:()=>b});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function o(t,e,n,r){var i,a=arguments.length,s=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(s=(a<3?i(s):a>3?i(e,n,s):i(e,n))||s);return a>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,r){e(n,r,t)}}function c(t,e,n,r,i,a){function s(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var o,l=r.kind,c="getter"===l?"get":"setter"===l?"set":"value",h=!e&&t?r.static?t:t.prototype:null,u=e||(h?Object.getOwnPropertyDescriptor(h,r.name):{}),d=!1,p=n.length-1;p>=0;p--){var f={};for(var g in r)f[g]="access"===g?{}:r[g];for(var g in r.access)f.access[g]=r.access[g];f.addInitializer=function(t){if(d)throw new TypeError("Cannot add initializers after decoration has completed");a.push(s(t||null))};var y=(0,n[p])("accessor"===l?{get:u.get,set:u.set}:u[c],f);if("accessor"===l){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(o=s(y.get))&&(u.get=o),(o=s(y.set))&&(u.set=o),(o=s(y.init))&&i.push(o)}else(o=s(y))&&("field"===l?i.push(o):u[c]=o)}h&&Object.defineProperty(h,r.name,u),d=!0}function h(t,e,n){for(var r=arguments.length>2,i=0;i<e.length;i++)n=r?e[i].call(t,n):e[i].call(t);return r?n:void 0}function u(t){return"symbol"==typeof t?t:"".concat(t)}function d(t,e,n){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})}function p(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function f(t,e,n,r){return new(n||(n=Promise))((function(i,a){function s(t){try{l(r.next(t))}catch(e){a(e)}}function o(t){try{l(r.throw(t))}catch(e){a(e)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,o)}l((r=r.apply(t,e||[])).next())}))}function g(t,e){var n,r,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,o[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(l){o=[6,l],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}var y=Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function m(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||y(e,t,n)}function b(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)s.push(r.value)}catch(o){i={error:o}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return s}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(_(arguments[e]));return t}function x(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var a=arguments[e],s=0,o=a.length;s<o;s++,i++)r[i]=a[s];return r}function k(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function w(t){return this instanceof w?(this.v=t,this):new w(t)}function T(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),a=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(t){i[t]&&(r[t]=function(e){return new Promise((function(n,r){a.push([t,e,n,r])>1||o(t,e)}))})}function o(t,e){try{(n=i[t](e)).value instanceof w?Promise.resolve(n.value.v).then(l,c):h(a[0][2],n)}catch(r){h(a[0][3],r)}var n}function l(t){o("next",t)}function c(t){o("throw",t)}function h(t,e){t(e),a.shift(),a.length&&o(a[0][0],a[0][1])}}function E(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:w(t[r](e)),done:!1}:i?i(e):e}:i}}function C(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=b(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)})(r,i,(e=t[n](e)).done,e.value)}))}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var A=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function L(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&y(e,t,n);return A(e,t),e}function N(t){return t&&t.__esModule?t:{default:t}}function D(t,e,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function O(t,e,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function M(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}}}]); \ No newline at end of file diff --git a/assets/js/17896441.6d45ca3a.js.LICENSE.txt b/assets/js/17896441.6d45ca3a.js.LICENSE.txt new file mode 100644 index 0000000..0dfcae1 --- /dev/null +++ b/assets/js/17896441.6d45ca3a.js.LICENSE.txt @@ -0,0 +1,9 @@ +/*! + * Wait for document loaded before starting the execution + */ + +/*! @license DOMPurify 2.4.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.1/LICENSE */ + +/*! Check if previously processed */ + +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ diff --git a/assets/js/17896441.f24b0a2a.js b/assets/js/17896441.f24b0a2a.js deleted file mode 100644 index 217feb2..0000000 --- a/assets/js/17896441.f24b0a2a.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 17896441.f24b0a2a.js.LICENSE.txt */ -(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[401],{5680:(t,e,n)=>{"use strict";n.d(e,{xA:()=>l,yg:()=>g});var i=n(6540);function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n,i,r={},a=Object.keys(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)n=a[i],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}var c=i.createContext({}),u=function(t){var e=i.useContext(c),n=e;return t&&(n="function"==typeof t?t(e):o(o({},e),t)),n},l=function(t){var e=u(t.components);return i.createElement(c.Provider,{value:e},t.children)},h="mdxType",f={inlineCode:"code",wrapper:function(t){var e=t.children;return i.createElement(i.Fragment,{},e)}},d=i.forwardRef((function(t,e){var n=t.components,r=t.mdxType,a=t.originalType,c=t.parentName,l=s(t,["components","mdxType","originalType","parentName"]),h=u(n),d=r,g=h["".concat(c,".").concat(d)]||h[d]||f[d]||a;return n?i.createElement(g,o(o({ref:e},l),{},{components:n})):i.createElement(g,o({ref:e},l))}));function g(t,e){var n=arguments,r=e&&e.mdxType;if("string"==typeof t||r){var a=n.length,o=new Array(a);o[0]=d;var s={};for(var c in e)hasOwnProperty.call(e,c)&&(s[c]=e[c]);s.originalType=t,s[h]="string"==typeof t?t:r,o[1]=s;for(var u=2;u<a;u++)o[u]=n[u];return i.createElement.apply(null,o)}return i.createElement.apply(null,n)}d.displayName="MDXCreateElement"},7211:(t,e,n)=>{"use strict";n.d(e,{A:()=>w});var i=n(8168),r=n(6540),a=n(53),o=n(7559),s=n(4142),c=n(9169),u=n(5489),l=n(6025),h=n(1312);function f(t){return r.createElement("svg",(0,i.A)({viewBox:"0 0 24 24"},t),r.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const d={breadcrumbsContainer:"breadcrumbsContainer_Z_bl",breadcrumbHomeIcon:"breadcrumbHomeIcon_OVgt"};function g(t){let{children:e,href:n,isLast:i}=t;const a="breadcrumbs__link";return i?r.createElement("span",{className:a,itemProp:"name"},e):n?r.createElement(u.A,{className:a,href:n,itemProp:"item"},r.createElement("span",{itemProp:"name"},e)):r.createElement("span",{className:a},e)}function p(t){let{children:e,active:n,index:o,addMicrodata:s}=t;return r.createElement("li",(0,i.A)({},s&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,a.A)("breadcrumbs__item",{"breadcrumbs__item--active":n})}),e,r.createElement("meta",{itemProp:"position",content:String(o+1)}))}function b(){const t=(0,l.A)("/");return r.createElement("li",{className:"breadcrumbs__item"},r.createElement(u.A,{"aria-label":(0,h.T)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:(0,a.A)("breadcrumbs__link",d.breadcrumbsItemLink),href:t},r.createElement(f,{className:d.breadcrumbHomeIcon})))}function w(){const t=(0,s.OF)(),e=(0,c.Dt)();return t?r.createElement("nav",{className:(0,a.A)(o.G.docs.docBreadcrumbs,d.breadcrumbsContainer),"aria-label":(0,h.T)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},r.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},e&&r.createElement(b,null),t.map(((e,n)=>{const i=n===t.length-1;return r.createElement(p,{key:n,active:i,index:n,addMicrodata:!!e.href},r.createElement(g,{href:e.href,isLast:i},e.label))})))):null}},8641:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>pe});var i=n(6540),r=n(1003),a=n(9532);const o=i.createContext(null);function s(t){let{children:e,content:n}=t;const r=function(t){return(0,i.useMemo)((()=>({metadata:t.metadata,frontMatter:t.frontMatter,assets:t.assets,contentTitle:t.contentTitle,toc:t.toc})),[t])}(n);return i.createElement(o.Provider,{value:r},e)}function c(){const t=(0,i.useContext)(o);if(null===t)throw new a.dV("DocProvider");return t}function u(){const{metadata:t,frontMatter:e,assets:n}=c();return i.createElement(r.be,{title:t.title,description:t.description,keywords:e.keywords,image:n.image??e.image})}var l=n(53),h=n(4581),f=n(6929);function d(){const{metadata:t}=c();return i.createElement(f.A,{previous:t.previous,next:t.next})}var g=n(1878),p=n(4267),b=n(7559),w=n(1312);function y(t){let{lastUpdatedAt:e,formattedLastUpdatedAt:n}=t;return i.createElement(w.A,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:i.createElement("b",null,i.createElement("time",{dateTime:new Date(1e3*e).toISOString()},n))}}," on {date}")}function m(t){let{lastUpdatedBy:e}=t;return i.createElement(w.A,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:i.createElement("b",null,e)}}," by {user}")}function v(t){let{lastUpdatedAt:e,formattedLastUpdatedAt:n,lastUpdatedBy:r}=t;return i.createElement("span",{className:b.G.common.lastUpdated},i.createElement(w.A,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:e&&n?i.createElement(y,{lastUpdatedAt:e,formattedLastUpdatedAt:n}):"",byUser:r?i.createElement(m,{lastUpdatedBy:r}):""}},"Last updated{atDate}{byUser}"),!1)}var x=n(8168);const k={iconEdit:"iconEdit_Z9Sw"};function _(t){let{className:e,...n}=t;return i.createElement("svg",(0,x.A)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,l.A)(k.iconEdit,e),"aria-hidden":"true"},n),i.createElement("g",null,i.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function E(t){let{editUrl:e}=t;return i.createElement("a",{href:e,target:"_blank",rel:"noreferrer noopener",className:b.G.common.editThisPage},i.createElement(_,null),i.createElement(w.A,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}var T=n(5489);const C={tag:"tag_zVej",tagRegular:"tagRegular_sFm0",tagWithCount:"tagWithCount_h2kH"};function S(t){let{permalink:e,label:n,count:r}=t;return i.createElement(T.A,{href:e,className:(0,l.A)(C.tag,r?C.tagWithCount:C.tagRegular)},n,r&&i.createElement("span",null,r))}const A={tags:"tags_jXut",tag:"tag_QGVx"};function M(t){let{tags:e}=t;return i.createElement(i.Fragment,null,i.createElement("b",null,i.createElement(w.A,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),i.createElement("ul",{className:(0,l.A)(A.tags,"padding--none","margin-left--sm")},e.map((t=>{let{label:e,permalink:n}=t;return i.createElement("li",{key:n,className:A.tag},i.createElement(S,{label:e,permalink:n}))}))))}const I={lastUpdated:"lastUpdated_vwxv"};function O(t){return i.createElement("div",{className:(0,l.A)(b.G.docs.docFooterTagsRow,"row margin-bottom--sm")},i.createElement("div",{className:"col"},i.createElement(M,t)))}function L(t){let{editUrl:e,lastUpdatedAt:n,lastUpdatedBy:r,formattedLastUpdatedAt:a}=t;return i.createElement("div",{className:(0,l.A)(b.G.docs.docFooterEditMetaRow,"row")},i.createElement("div",{className:"col"},e&&i.createElement(E,{editUrl:e})),i.createElement("div",{className:(0,l.A)("col",I.lastUpdated)},(n||r)&&i.createElement(v,{lastUpdatedAt:n,formattedLastUpdatedAt:a,lastUpdatedBy:r})))}function N(){const{metadata:t}=c(),{editUrl:e,lastUpdatedAt:n,formattedLastUpdatedAt:r,lastUpdatedBy:a,tags:o}=t,s=o.length>0,u=!!(e||n||a);return s||u?i.createElement("footer",{className:(0,l.A)(b.G.docs.docFooter,"docusaurus-mt-lg")},s&&i.createElement(O,{tags:o}),u&&i.createElement(L,{editUrl:e,lastUpdatedAt:n,lastUpdatedBy:a,formattedLastUpdatedAt:r})):null}var D=n(1422),P=n(6342);function B(t){const e=t.map((t=>({...t,parentIndex:-1,children:[]}))),n=Array(7).fill(-1);e.forEach(((t,e)=>{const i=n.slice(2,t.level);t.parentIndex=Math.max(...i),n[t.level]=e}));const i=[];return e.forEach((t=>{const{parentIndex:n,...r}=t;n>=0?e[n].children.push(r):i.push(r)})),i}function j(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:i}=t;return e.flatMap((t=>{const e=j({toc:t.children,minHeadingLevel:n,maxHeadingLevel:i});return function(t){return t.level>=n&&t.level<=i}(t)?[{...t,children:e}]:e}))}function R(t){const e=t.getBoundingClientRect();return e.top===e.bottom?R(t.parentNode):e}function $(t,e){let{anchorTopOffset:n}=e;const i=t.find((t=>R(t).top>=n));if(i){return function(t){return t.top>0&&t.bottom<window.innerHeight/2}(R(i))?i:t[t.indexOf(i)-1]??null}return t[t.length-1]??null}function F(){const t=(0,i.useRef)(0),{navbar:{hideOnScroll:e}}=(0,P.p)();return(0,i.useEffect)((()=>{t.current=e?0:document.querySelector(".navbar").clientHeight}),[e]),t}function z(t){const e=(0,i.useRef)(void 0),n=F();(0,i.useEffect)((()=>{if(!t)return()=>{};const{linkClassName:i,linkActiveClassName:r,minHeadingLevel:a,maxHeadingLevel:o}=t;function s(){const t=function(t){return Array.from(document.getElementsByClassName(t))}(i),s=function(t){let{minHeadingLevel:e,maxHeadingLevel:n}=t;const i=[];for(let r=e;r<=n;r+=1)i.push(`h${r}.anchor`);return Array.from(document.querySelectorAll(i.join()))}({minHeadingLevel:a,maxHeadingLevel:o}),c=$(s,{anchorTopOffset:n.current}),u=t.find((t=>c&&c.id===function(t){return decodeURIComponent(t.href.substring(t.href.indexOf("#")+1))}(t)));t.forEach((t=>{!function(t,n){n?(e.current&&e.current!==t&&e.current.classList.remove(r),t.classList.add(r),e.current=t):t.classList.remove(r)}(t,t===u)}))}return document.addEventListener("scroll",s),document.addEventListener("resize",s),s(),()=>{document.removeEventListener("scroll",s),document.removeEventListener("resize",s)}}),[t,n])}function H(t){let{toc:e,className:n,linkClassName:r,isChild:a}=t;return e.length?i.createElement("ul",{className:a?void 0:n},e.map((t=>i.createElement("li",{key:t.id},i.createElement("a",{href:`#${t.id}`,className:r??void 0,dangerouslySetInnerHTML:{__html:t.value}}),i.createElement(H,{isChild:!0,toc:t.children,className:n,linkClassName:r}))))):null}const U=i.memo(H);function G(t){let{toc:e,className:n="table-of-contents table-of-contents__left-border",linkClassName:r="table-of-contents__link",linkActiveClassName:a,minHeadingLevel:o,maxHeadingLevel:s,...c}=t;const u=(0,P.p)(),l=o??u.tableOfContents.minHeadingLevel,h=s??u.tableOfContents.maxHeadingLevel,f=function(t){let{toc:e,minHeadingLevel:n,maxHeadingLevel:r}=t;return(0,i.useMemo)((()=>j({toc:B(e),minHeadingLevel:n,maxHeadingLevel:r})),[e,n,r])}({toc:e,minHeadingLevel:l,maxHeadingLevel:h});return z((0,i.useMemo)((()=>{if(r&&a)return{linkClassName:r,linkActiveClassName:a,minHeadingLevel:l,maxHeadingLevel:h}}),[r,a,l,h])),i.createElement(U,(0,x.A)({toc:f,className:n,linkClassName:r},c))}const q={tocCollapsibleButton:"tocCollapsibleButton_TO0P",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_MG3E"};function K(t){let{collapsed:e,...n}=t;return i.createElement("button",(0,x.A)({type:"button"},n,{className:(0,l.A)("clean-btn",q.tocCollapsibleButton,!e&&q.tocCollapsibleButtonExpanded,n.className)}),i.createElement(w.A,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component"},"On this page"))}const Y={tocCollapsible:"tocCollapsible_ETCw",tocCollapsibleContent:"tocCollapsibleContent_vkbj",tocCollapsibleExpanded:"tocCollapsibleExpanded_sAul"};function W(t){let{toc:e,className:n,minHeadingLevel:r,maxHeadingLevel:a}=t;const{collapsed:o,toggleCollapsed:s}=(0,D.u)({initialState:!0});return i.createElement("div",{className:(0,l.A)(Y.tocCollapsible,!o&&Y.tocCollapsibleExpanded,n)},i.createElement(K,{collapsed:o,onClick:s}),i.createElement(D.N,{lazy:!0,className:Y.tocCollapsibleContent,collapsed:o},i.createElement(G,{toc:e,minHeadingLevel:r,maxHeadingLevel:a})))}const X={tocMobile:"tocMobile_ITEo"};function V(){const{toc:t,frontMatter:e}=c();return i.createElement(W,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:(0,l.A)(b.G.docs.docTocMobile,X.tocMobile)})}const Q={tableOfContents:"tableOfContents_bqdL",docItemContainer:"docItemContainer_F8PC"},Z="table-of-contents__link toc-highlight",J="table-of-contents__link--active";function tt(t){let{className:e,...n}=t;return i.createElement("div",{className:(0,l.A)(Q.tableOfContents,"thin-scrollbar",e)},i.createElement(G,(0,x.A)({},n,{linkClassName:Z,linkActiveClassName:J})))}function et(){const{toc:t,frontMatter:e}=c();return i.createElement(tt,{toc:t,minHeadingLevel:e.toc_min_heading_level,maxHeadingLevel:e.toc_max_heading_level,className:b.G.docs.docTocDesktop})}var nt=n(1107),it=n(5680),rt=n(5260);var at=n(2303),ot=n(6058),st=n(8426),ct=n.n(st);const ut=/title=(?<quote>["'])(?<title>.*?)\1/,lt=/\{(?<range>[\d,-]+)\}/,ht={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}};function ft(t,e){const n=t.map((t=>{const{start:n,end:i}=ht[t];return`(?:${n}\\s*(${e.flatMap((t=>[t.line,t.block?.start,t.block?.end].filter(Boolean))).join("|")})\\s*${i})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function dt(t,e){let n=t.replace(/\n$/,"");const{language:i,magicComments:r,metastring:a}=e;if(a&<.test(a)){const t=a.match(lt).groups.range;if(0===r.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const e=r[0].className,i=ct()(t).filter((t=>t>0)).map((t=>[t-1,[e]]));return{lineClassNames:Object.fromEntries(i),code:n}}if(void 0===i)return{lineClassNames:{},code:n};const o=function(t,e){switch(t){case"js":case"javascript":case"ts":case"typescript":return ft(["js","jsBlock"],e);case"jsx":case"tsx":return ft(["js","jsBlock","jsx"],e);case"html":return ft(["js","jsBlock","html"],e);case"python":case"py":case"bash":return ft(["bash"],e);case"markdown":case"md":return ft(["html","jsx","bash"],e);default:return ft(Object.keys(ht),e)}}(i,r),s=n.split("\n"),c=Object.fromEntries(r.map((t=>[t.className,{start:0,range:""}]))),u=Object.fromEntries(r.filter((t=>t.line)).map((t=>{let{className:e,line:n}=t;return[n,e]}))),l=Object.fromEntries(r.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.start,e]}))),h=Object.fromEntries(r.filter((t=>t.block)).map((t=>{let{className:e,block:n}=t;return[n.end,e]})));for(let d=0;d<s.length;){const t=s[d].match(o);if(!t){d+=1;continue}const e=t.slice(1).find((t=>void 0!==t));u[e]?c[u[e]].range+=`${d},`:l[e]?c[l[e]].start=d:h[e]&&(c[h[e]].range+=`${c[h[e]].start}-${d-1},`),s.splice(d,1)}n=s.join("\n");const f={};return Object.entries(c).forEach((t=>{let[e,{range:n}]=t;ct()(n).forEach((t=>{f[t]??=[],f[t].push(e)}))})),{lineClassNames:f,code:n}}const gt="codeBlockContainer_Ckt0";function pt(t){let{as:e,...n}=t;const r=function(t){const e={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(t.plain).forEach((t=>{let[i,r]=t;const a=e[i];a&&"string"==typeof r&&(n[a]=r)})),n}((0,ot.A)());return i.createElement(e,(0,x.A)({},n,{style:r,className:(0,l.A)(n.className,gt,b.G.common.codeBlock)}))}const bt={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function wt(t){let{children:e,className:n}=t;return i.createElement(pt,{as:"pre",tabIndex:0,className:(0,l.A)(bt.codeBlockStandalone,"thin-scrollbar",n)},i.createElement("code",{className:bt.codeBlockLines},e))}const yt={attributes:!0,characterData:!0,childList:!0,subtree:!0};function mt(t,e){const[n,r]=(0,i.useState)(),o=(0,i.useCallback)((()=>{r(t.current?.closest("[role=tabpanel][hidden]"))}),[t,r]);(0,i.useEffect)((()=>{o()}),[o]),function(t,e,n){void 0===n&&(n=yt);const r=(0,a._q)(e),o=(0,a.Be)(n);(0,i.useEffect)((()=>{const e=new MutationObserver(r);return t&&e.observe(t,o),()=>e.disconnect()}),[t,r,o])}(n,(t=>{t.forEach((t=>{"attributes"===t.type&&"hidden"===t.attributeName&&(e(),o())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}const vt={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var xt={Prism:n(1258).A,theme:vt};function kt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _t(){return _t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},_t.apply(this,arguments)}var Et=/\r\n|\r|\n/,Tt=function(t){0===t.length?t.push({types:["plain"],content:"\n",empty:!0}):1===t.length&&""===t[0].content&&(t[0].content="\n",t[0].empty=!0)},Ct=function(t,e){var n=t.length;return n>0&&t[n-1]===e?t:t.concat(e)};function St(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&-1===e.indexOf(i)&&(n[i]=t[i]);return n}var At=function(t){function e(){for(var e=this,n=[],i=arguments.length;i--;)n[i]=arguments[i];t.apply(this,n),kt(this,"getThemeDict",(function(t){if(void 0!==e.themeDict&&t.theme===e.prevTheme&&t.language===e.prevLanguage)return e.themeDict;e.prevTheme=t.theme,e.prevLanguage=t.language;var n=t.theme?function(t,e){var n=t.plain,i=Object.create(null),r=t.styles.reduce((function(t,n){var i=n.languages,r=n.style;return i&&!i.includes(e)||n.types.forEach((function(e){var n=_t({},t[e],r);t[e]=n})),t}),i);return r.root=n,r.plain=_t({},n,{backgroundColor:null}),r}(t.theme,t.language):void 0;return e.themeDict=n})),kt(this,"getLineProps",(function(t){var n=t.key,i=t.className,r=t.style,a=_t({},St(t,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),o=e.getThemeDict(e.props);return void 0!==o&&(a.style=o.plain),void 0!==r&&(a.style=void 0!==a.style?_t({},a.style,r):r),void 0!==n&&(a.key=n),i&&(a.className+=" "+i),a})),kt(this,"getStyleForToken",(function(t){var n=t.types,i=t.empty,r=n.length,a=e.getThemeDict(e.props);if(void 0!==a){if(1===r&&"plain"===n[0])return i?{display:"inline-block"}:void 0;if(1===r&&!i)return a[n[0]];var o=i?{display:"inline-block"}:{},s=n.map((function(t){return a[t]}));return Object.assign.apply(Object,[o].concat(s))}})),kt(this,"getTokenProps",(function(t){var n=t.key,i=t.className,r=t.style,a=t.token,o=_t({},St(t,["key","className","style","token"]),{className:"token "+a.types.join(" "),children:a.content,style:e.getStyleForToken(a),key:void 0});return void 0!==r&&(o.style=void 0!==o.style?_t({},o.style,r):r),void 0!==n&&(o.key=n),i&&(o.className+=" "+i),o})),kt(this,"tokenize",(function(t,e,n,i){var r={code:e,grammar:n,language:i,tokens:[]};t.hooks.run("before-tokenize",r);var a=r.tokens=t.tokenize(r.code,r.grammar,r.language);return t.hooks.run("after-tokenize",r),a}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(){var t=this.props,e=t.Prism,n=t.language,i=t.code,r=t.children,a=this.getThemeDict(this.props),o=e.languages[n];return r({tokens:function(t){for(var e=[[]],n=[t],i=[0],r=[t.length],a=0,o=0,s=[],c=[s];o>-1;){for(;(a=i[o]++)<r[o];){var u=void 0,l=e[o],h=n[o][a];if("string"==typeof h?(l=o>0?l:["plain"],u=h):(l=Ct(l,h.type),h.alias&&(l=Ct(l,h.alias)),u=h.content),"string"==typeof u){var f=u.split(Et),d=f.length;s.push({types:l,content:f[0]});for(var g=1;g<d;g++)Tt(s),c.push(s=[]),s.push({types:l,content:f[g]})}else o++,e.push(l),n.push(u),i.push(0),r.push(u.length)}o--,e.pop(),n.pop(),i.pop(),r.pop()}return Tt(s),c}(void 0!==o?this.tokenize(e,i,o,n):[i]),className:"prism-code language-"+n,style:void 0!==a?a.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},e}(i.Component);const Mt=At,It="codeLine_lJS_",Ot="codeLineNumber_Tfdd",Lt="codeLineContent_feaV";function Nt(t){let{line:e,classNames:n,showLineNumbers:r,getLineProps:a,getTokenProps:o}=t;1===e.length&&"\n"===e[0].content&&(e[0].content="");const s=a({line:e,className:(0,l.A)(n,r&&It)}),c=e.map(((t,e)=>i.createElement("span",(0,x.A)({key:e},o({token:t,key:e})))));return i.createElement("span",s,r?i.createElement(i.Fragment,null,i.createElement("span",{className:Ot}),i.createElement("span",{className:Lt},c)):c,i.createElement("br",null))}const Dt={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function Pt(t){let{code:e,className:n}=t;const[r,a]=(0,i.useState)(!1),o=(0,i.useRef)(void 0),s=(0,i.useCallback)((()=>{!function(t,e){let{target:n=document.body}=void 0===e?{}:e;if("string"!=typeof t)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof t}\`.`);const i=document.createElement("textarea"),r=document.activeElement;i.value=t,i.setAttribute("readonly",""),i.style.contain="strict",i.style.position="absolute",i.style.left="-9999px",i.style.fontSize="12pt";const a=document.getSelection(),o=a.rangeCount>0&&a.getRangeAt(0);n.append(i),i.select(),i.selectionStart=0,i.selectionEnd=t.length;let s=!1;try{s=document.execCommand("copy")}catch{}i.remove(),o&&(a.removeAllRanges(),a.addRange(o)),r&&r.focus()}(e),a(!0),o.current=window.setTimeout((()=>{a(!1)}),1e3)}),[e]);return(0,i.useEffect)((()=>()=>window.clearTimeout(o.current)),[]),i.createElement("button",{type:"button","aria-label":r?(0,w.T)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,w.T)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,w.T)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,l.A)("clean-btn",n,Dt.copyButton,r&&Dt.copyButtonCopied),onClick:s},i.createElement("span",{className:Dt.copyButtonIcons,"aria-hidden":"true"},i.createElement("svg",{className:Dt.copyButtonIcon,viewBox:"0 0 24 24"},i.createElement("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})),i.createElement("svg",{className:Dt.copyButtonSuccessIcon,viewBox:"0 0 24 24"},i.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))))}const Bt="wordWrapButtonIcon_Bwma",jt="wordWrapButtonEnabled_EoeP";function Rt(t){let{className:e,onClick:n,isEnabled:r}=t;const a=(0,w.T)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return i.createElement("button",{type:"button",onClick:n,className:(0,l.A)("clean-btn",e,r&&jt),"aria-label":a,title:a},i.createElement("svg",{className:Bt,viewBox:"0 0 24 24","aria-hidden":"true"},i.createElement("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})))}function $t(t){let{children:e,className:n="",metastring:r,title:a,showLineNumbers:o,language:s}=t;const{prism:{defaultLanguage:c,magicComments:u}}=(0,P.p)(),h=s??function(t){const e=t.split(" ").find((t=>t.startsWith("language-")));return e?.replace(/language-/,"")}(n)??c,f=(0,ot.A)(),d=function(){const[t,e]=(0,i.useState)(!1),[n,r]=(0,i.useState)(!1),a=(0,i.useRef)(null),o=(0,i.useCallback)((()=>{const n=a.current.querySelector("code");t?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),e((t=>!t))}),[a,t]),s=(0,i.useCallback)((()=>{const{scrollWidth:t,clientWidth:e}=a.current,n=t>e||a.current.querySelector("code").hasAttribute("style");r(n)}),[a]);return mt(a,s),(0,i.useEffect)((()=>{s()}),[t,s]),(0,i.useEffect)((()=>(window.addEventListener("resize",s,{passive:!0}),()=>{window.removeEventListener("resize",s)})),[s]),{codeBlockRef:a,isEnabled:t,isCodeScrollable:n,toggle:o}}(),g=function(t){return t?.match(ut)?.groups.title??""}(r)||a,{lineClassNames:p,code:b}=dt(e,{metastring:r,language:h,magicComments:u}),w=o??function(t){return Boolean(t?.includes("showLineNumbers"))}(r);return i.createElement(pt,{as:"div",className:(0,l.A)(n,h&&!n.includes(`language-${h}`)&&`language-${h}`)},g&&i.createElement("div",{className:bt.codeBlockTitle},g),i.createElement("div",{className:bt.codeBlockContent},i.createElement(Mt,(0,x.A)({},xt,{theme:f,code:b,language:h??"text"}),(t=>{let{className:e,tokens:n,getLineProps:r,getTokenProps:a}=t;return i.createElement("pre",{tabIndex:0,ref:d.codeBlockRef,className:(0,l.A)(e,bt.codeBlock,"thin-scrollbar")},i.createElement("code",{className:(0,l.A)(bt.codeBlockLines,w&&bt.codeBlockLinesWithNumbering)},n.map(((t,e)=>i.createElement(Nt,{key:e,line:t,getLineProps:r,getTokenProps:a,classNames:p[e],showLineNumbers:w})))))})),i.createElement("div",{className:bt.buttonGroup},(d.isEnabled||d.isCodeScrollable)&&i.createElement(Rt,{className:bt.codeButton,onClick:()=>d.toggle(),isEnabled:d.isEnabled}),i.createElement(Pt,{className:bt.codeButton,code:b}))))}function Ft(t){let{children:e,...n}=t;const r=(0,at.A)(),a=function(t){return i.Children.toArray(t).some((t=>(0,i.isValidElement)(t)))?t:Array.isArray(t)?t.join(""):t}(e),o="string"==typeof a?$t:wt;return i.createElement(o,(0,x.A)({key:String(r)},n),a)}const zt="details_lb9f",Ht="isBrowser_bmU9",Ut="collapsibleContent_i85q";function Gt(t){return!!t&&("SUMMARY"===t.tagName||Gt(t.parentElement))}function qt(t,e){return!!t&&(t===e||qt(t.parentElement,e))}function Kt(t){let{summary:e,children:n,...r}=t;const a=(0,at.A)(),o=(0,i.useRef)(null),{collapsed:s,setCollapsed:c}=(0,D.u)({initialState:!r.open}),[u,h]=(0,i.useState)(r.open);return i.createElement("details",(0,x.A)({},r,{ref:o,open:u,"data-collapsed":s,className:(0,l.A)(zt,a&&Ht,r.className),onMouseDown:t=>{Gt(t.target)&&t.detail>1&&t.preventDefault()},onClick:t=>{t.stopPropagation();const e=t.target;Gt(e)&&qt(e,o.current)&&(t.preventDefault(),s?(c(!1),h(!0)):c(!0))}}),e??i.createElement("summary",null,"Details"),i.createElement(D.N,{lazy:!1,collapsed:s,disableSSRStyle:!0,onCollapseTransitionEnd:t=>{c(t),h(!t)}},i.createElement("div",{className:Ut},n)))}const Yt="details_b_Ee";function Wt(t){let{...e}=t;return i.createElement(Kt,(0,x.A)({},e,{className:(0,l.A)("alert alert--info",Yt,e.className)}))}function Xt(t){return i.createElement(nt.A,t)}const Vt="containsTaskList_mC6p";const Qt="img_ev3q";const Zt="admonition_LlT9",Jt="admonitionHeading_tbUL",te="admonitionIcon_kALy",ee="admonitionContent_S0QG";const ne={note:{infimaClassName:"secondary",iconComponent:function(){return i.createElement("svg",{viewBox:"0 0 14 16"},i.createElement("path",{fillRule:"evenodd",d:"M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"}))},label:i.createElement(w.A,{id:"theme.admonition.note",description:"The default label used for the Note admonition (:::note)"},"note")},tip:{infimaClassName:"success",iconComponent:function(){return i.createElement("svg",{viewBox:"0 0 12 16"},i.createElement("path",{fillRule:"evenodd",d:"M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"}))},label:i.createElement(w.A,{id:"theme.admonition.tip",description:"The default label used for the Tip admonition (:::tip)"},"tip")},danger:{infimaClassName:"danger",iconComponent:function(){return i.createElement("svg",{viewBox:"0 0 12 16"},i.createElement("path",{fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))},label:i.createElement(w.A,{id:"theme.admonition.danger",description:"The default label used for the Danger admonition (:::danger)"},"danger")},info:{infimaClassName:"info",iconComponent:function(){return i.createElement("svg",{viewBox:"0 0 14 16"},i.createElement("path",{fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))},label:i.createElement(w.A,{id:"theme.admonition.info",description:"The default label used for the Info admonition (:::info)"},"info")},caution:{infimaClassName:"warning",iconComponent:function(){return i.createElement("svg",{viewBox:"0 0 16 16"},i.createElement("path",{fillRule:"evenodd",d:"M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"}))},label:i.createElement(w.A,{id:"theme.admonition.caution",description:"The default label used for the Caution admonition (:::caution)"},"caution")}},ie={secondary:"note",important:"info",success:"tip",warning:"danger"};function re(t){const{mdxAdmonitionTitle:e,rest:n}=function(t){const e=i.Children.toArray(t),n=e.find((t=>i.isValidElement(t)&&"mdxAdmonitionTitle"===t.props?.mdxType)),r=i.createElement(i.Fragment,null,e.filter((t=>t!==n)));return{mdxAdmonitionTitle:n,rest:r}}(t.children);return{...t,title:t.title??e,children:n}}function ae(t){let{children:e,fallback:n}=t;return(0,at.A)()?i.createElement(i.Fragment,null,e?.()):n??null}var oe=n(5090);const se="container_lyt7";function ce(t){let{value:e}=t;const n=(0,oe.vk)(e);return i.createElement("div",{className:`${oe.MO} ${se}`,dangerouslySetInnerHTML:{__html:n}})}const ue={head:function(t){const e=i.Children.map(t.children,(t=>i.isValidElement(t)?function(t){if(t.props?.mdxType&&t.props.originalType){const{mdxType:e,originalType:n,...r}=t.props;return i.createElement(t.props.originalType,r)}return t}(t):t));return i.createElement(rt.A,t,e)},code:function(t){const e=["a","abbr","b","br","button","cite","code","del","dfn","em","i","img","input","ins","kbd","label","object","output","q","ruby","s","small","span","strong","sub","sup","time","u","var","wbr"];return i.Children.toArray(t.children).every((t=>"string"==typeof t&&!t.includes("\n")||(0,i.isValidElement)(t)&&e.includes(t.props?.mdxType)))?i.createElement("code",t):i.createElement(Ft,t)},a:function(t){return i.createElement(T.A,t)},pre:function(t){return i.createElement(Ft,(0,i.isValidElement)(t.children)&&"code"===t.children.props?.originalType?t.children.props:{...t})},details:function(t){const e=i.Children.toArray(t.children),n=e.find((t=>i.isValidElement(t)&&"summary"===t.props?.mdxType)),r=i.createElement(i.Fragment,null,e.filter((t=>t!==n)));return i.createElement(Wt,(0,x.A)({},t,{summary:n}),r)},ul:function(t){return i.createElement("ul",(0,x.A)({},t,{className:(e=t.className,(0,l.A)(e,e?.includes("contains-task-list")&&Vt))}));var e},img:function(t){return i.createElement("img",(0,x.A)({loading:"lazy"},t,{className:(e=t.className,(0,l.A)(e,Qt))}));var e},h1:t=>i.createElement(Xt,(0,x.A)({as:"h1"},t)),h2:t=>i.createElement(Xt,(0,x.A)({as:"h2"},t)),h3:t=>i.createElement(Xt,(0,x.A)({as:"h3"},t)),h4:t=>i.createElement(Xt,(0,x.A)({as:"h4"},t)),h5:t=>i.createElement(Xt,(0,x.A)({as:"h5"},t)),h6:t=>i.createElement(Xt,(0,x.A)({as:"h6"},t)),admonition:function(t){const{children:e,type:n,title:r,icon:a}=re(t),o=function(t){const e=ie[t]??t,n=ne[e];return n||(console.warn(`No admonition config found for admonition type "${e}". Using Info as fallback.`),ne.info)}(n),s=r??o.label,{iconComponent:c}=o,u=a??i.createElement(c,null);return i.createElement("div",{className:(0,l.A)(b.G.common.admonition,b.G.common.admonitionType(t.type),"alert",`alert--${o.infimaClassName}`,Zt)},i.createElement("div",{className:Jt},i.createElement("span",{className:te},u),s),i.createElement("div",{className:ee},e))},mermaid:function(t){return i.createElement(ae,null,(()=>i.createElement(ce,t)))}};function le(t){let{children:e}=t;return i.createElement(it.xA,{components:ue},e)}function he(t){let{children:e}=t;const n=function(){const{metadata:t,frontMatter:e,contentTitle:n}=c();return e.hide_title||void 0!==n?null:t.title}();return i.createElement("div",{className:(0,l.A)(b.G.docs.docMarkdown,"markdown")},n&&i.createElement("header",null,i.createElement(nt.A,{as:"h1"},n)),i.createElement(le,null,e))}var fe=n(7211);const de={docItemContainer:"docItemContainer_Djhp",docItemCol:"docItemCol_VOVn"};function ge(t){let{children:e}=t;const n=function(){const{frontMatter:t,toc:e}=c(),n=(0,h.l)(),r=t.hide_table_of_contents,a=!r&&e.length>0;return{hidden:r,mobile:a?i.createElement(V,null):void 0,desktop:!a||"desktop"!==n&&"ssr"!==n?void 0:i.createElement(et,null)}}();return i.createElement("div",{className:"row"},i.createElement("div",{className:(0,l.A)("col",!n.hidden&&de.docItemCol)},i.createElement(g.A,null),i.createElement("div",{className:de.docItemContainer},i.createElement("article",null,i.createElement(fe.A,null),i.createElement(p.A,null),n.mobile,i.createElement(he,null,e),i.createElement(N,null)),i.createElement(d,null))),n.desktop&&i.createElement("div",{className:"col col--3"},n.desktop))}function pe(t){const e=`docs-doc-id-${t.content.metadata.unversionedId}`,n=t.content;return i.createElement(s,{content:t.content},i.createElement(r.e3,{className:e},i.createElement(u,null),i.createElement(ge,null,i.createElement(n,null))))}},6929:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var i=n(8168),r=n(6540),a=n(1312),o=n(53),s=n(5489);function c(t){const{permalink:e,title:n,subLabel:i,isNext:a}=t;return r.createElement(s.A,{className:(0,o.A)("pagination-nav__link",a?"pagination-nav__link--next":"pagination-nav__link--prev"),to:e},i&&r.createElement("div",{className:"pagination-nav__sublabel"},i),r.createElement("div",{className:"pagination-nav__label"},n))}function u(t){const{previous:e,next:n}=t;return r.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,a.T)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},e&&r.createElement(c,(0,i.A)({},e,{subLabel:r.createElement(a.A,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),n&&r.createElement(c,(0,i.A)({},n,{subLabel:r.createElement(a.A,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},4267:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var i=n(6540),r=n(53),a=n(1312),o=n(7559),s=n(2252);function c(t){let{className:e}=t;const n=(0,s.r)();return n.badge?i.createElement("span",{className:(0,r.A)(e,o.G.docs.docVersionBadge,"badge badge--secondary")},i.createElement(a.A,{id:"theme.docs.versionBadge.label",values:{versionLabel:n.label}},"Version: {versionLabel}")):null}},1878:(t,e,n)=>{"use strict";n.d(e,{A:()=>b});var i=n(6540),r=n(53),a=n(4586),o=n(5489),s=n(1312),c=n(4070),u=n(7559),l=n(5597),h=n(2252);const f={unreleased:function(t){let{siteTitle:e,versionMetadata:n}=t;return i.createElement(s.A,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:e,versionLabel:i.createElement("b",null,n.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(t){let{siteTitle:e,versionMetadata:n}=t;return i.createElement(s.A,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:e,versionLabel:i.createElement("b",null,n.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function d(t){const e=f[t.versionMetadata.banner];return i.createElement(e,t)}function g(t){let{versionLabel:e,to:n,onClick:r}=t;return i.createElement(s.A,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:e,latestVersionLink:i.createElement("b",null,i.createElement(o.A,{to:n,onClick:r},i.createElement(s.A,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function p(t){let{className:e,versionMetadata:n}=t;const{siteConfig:{title:o}}=(0,a.A)(),{pluginId:s}=(0,c.vT)({failfast:!0}),{savePreferredVersionName:h}=(0,l.g1)(s),{latestDocSuggestion:f,latestVersionSuggestion:p}=(0,c.HW)(s),b=f??(w=p).docs.find((t=>t.id===w.mainDocId));var w;return i.createElement("div",{className:(0,r.A)(e,u.G.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},i.createElement("div",null,i.createElement(d,{siteTitle:o,versionMetadata:n})),i.createElement("div",{className:"margin-top--md"},i.createElement(g,{versionLabel:p.label,to:b.path,onClick:()=>h(p.name)})))}function b(t){let{className:e}=t;const n=(0,h.r)();return n.banner?i.createElement(p,{className:e,versionMetadata:n}):null}},1107:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var i=n(8168),r=n(6540),a=n(53),o=n(1312),s=n(6342);const c={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};function u(t){let{as:e,id:n,...u}=t;const{navbar:{hideOnScroll:l}}=(0,s.p)();return"h1"!==e&&n?r.createElement(e,(0,i.A)({},u,{className:(0,a.A)("anchor",l?c.anchorWithHideOnScrollNavbar:c.anchorWithStickyNavbar),id:n}),u.children,r.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,o.T)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"\u200b")):r.createElement(e,(0,i.A)({},u,{id:void 0}))}},6058:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(5293),r=n(6342);function a(){const{prism:t}=(0,r.p)(),{colorMode:e}=(0,i.G)(),n=t.theme,a=t.darkTheme||n;return"dark"===e?a:n}},886:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Collapsible:()=>g.N,HtmlClassNameProvider:()=>w.e3,NavbarSecondaryMenuFiller:()=>m.GX,PageMetadata:()=>w.be,ReactContextError:()=>b.dV,SkipToContentFallbackId:()=>I.j,SkipToContentLink:()=>I.K,ThemeClassNames:()=>p.G,composeProviders:()=>b.fM,createStorageSlot:()=>r.W,duplicates:()=>C.X,filterDocCardListItems:()=>o.d1,isMultiColumnFooterLinks:()=>E.C,isRegexpStringMatch:()=>T.G,listStorageKeys:()=>r.E,listTagsByLetters:()=>_,processAdmonitionProps:()=>M,translateTagsPageTitle:()=>k,uniq:()=>C.s,useCollapsible:()=>g.u,useColorMode:()=>y.G,useContextualSearchFilters:()=>a.af,useCurrentSidebarCategory:()=>o.$S,useDocsPreferredVersion:()=>A.g1,useEvent:()=>b._q,useIsomorphicLayoutEffect:()=>b.Es,usePluralForm:()=>d,usePrevious:()=>b.ZC,usePrismTheme:()=>S.A,useThemeConfig:()=>i.p,useWindowSize:()=>v.l});var i=n(6342),r=n(9466),a=n(2967),o=n(4142),s=n(6540),c=n(4586);const u=["zero","one","two","few","many","other"];function l(t){return u.filter((e=>t.includes(e)))}const h={locale:"en",pluralForms:l(["one","other"]),select:t=>1===t?"one":"other"};function f(){const{i18n:{currentLocale:t}}=(0,c.A)();return(0,s.useMemo)((()=>{try{return function(t){const e=new Intl.PluralRules(t);return{locale:t,pluralForms:l(e.resolvedOptions().pluralCategories),select:t=>e.select(t)}}(t)}catch(e){return console.error(`Failed to use Intl.PluralRules for locale "${t}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${e.message}\n`),h}}),[t])}function d(){const t=f();return{selectMessage:(e,n)=>function(t,e,n){const i=t.split("|");if(1===i.length)return i[0];i.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${i.length}: ${t}`);const r=n.select(e),a=n.pluralForms.indexOf(r);return i[Math.min(a,i.length-1)]}(n,e,t)}}var g=n(1422),p=n(7559),b=n(9532),w=n(1003),y=n(5293),m=n(5600),v=n(4581),x=n(1312);const k=()=>(0,x.T)({id:"theme.tags.tagsPageTitle",message:"Tags",description:"The title of the tag list page"});function _(t){const e={};return Object.values(t).forEach((t=>{const n=function(t){return t[0].toUpperCase()}(t.label);e[n]??=[],e[n].push(t)})),Object.entries(e).sort(((t,e)=>{let[n]=t,[i]=e;return n.localeCompare(i)})).map((t=>{let[e,n]=t;return{letter:e,tags:n.sort(((t,e)=>t.label.localeCompare(e.label)))}}))}var E=n(3106),T=n(1252),C=n(1682),S=n(6058),A=n(5597);function M(t){const{mdxAdmonitionTitle:e,rest:n}=function(t){const e=s.Children.toArray(t),n=e.find((t=>s.isValidElement(t)&&"mdxAdmonitionTitle"===t.props?.mdxType)),i=s.createElement(s.Fragment,null,e.filter((t=>t!==n)));return{mdxAdmonitionTitle:n?.props.children,rest:i}}(t.children),i=t.title??e;return{...t,...i&&{title:i},children:n}}var I=n(5236)},5090:(t,e,n)=>{"use strict";e.vk=e.MO=void 0;const i=n(1635),r=n(6540),a=n(886),o=i.__importDefault(n(3368));function s(){return(0,a.useThemeConfig)().mermaid}function c(){const{colorMode:t}=(0,a.useColorMode)(),e=s(),n=e.theme[t],{options:i}=e;return(0,r.useMemo)((()=>({startOnLoad:!1,...i,theme:n})),[n,i])}e.MO="docusaurus-mermaid-container",e.vk=function(t,e){const n=c(),i=e??n;return(0,r.useMemo)((()=>{o.default.mermaidAPI.initialize(i);const e=`mermaid-svg-${Math.round(1e7*Math.random())}`;return o.default.render(e,t)}),[t,i])}},3368:function(t,e,n){(t=n.nmd(t)).exports=function(){"use strict";function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=Array.from("string"==typeof t?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var r=i.reduce((function(t,e){var n=e.match(/\n([\t ]+|(?!\s).)/g);return n?t.concat(n.map((function(t){var e,n;return null!==(n=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==n?n:0}))):t}),[]);if(r.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,r)+"}","g");i=i.map((function(t){return t.replace(a,"\n")}))}i[0]=i[0].replace(/^\r?\n/,"");var o=i[0];return e.forEach((function(t,e){var n=o.match(/(?:^|\n)( *)$/),r=n?n[1]:"",a=t;"string"==typeof t&&t.includes("\n")&&(a=String(t).split("\n").map((function(t,e){return 0===e?t:""+r+t})).join("\n")),o+=a+i[e+1]})),o}var r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof n.g<"u"?n.g:typeof self<"u"?self:{};function a(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var o,s={};o=function(){var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",a="minute",o="hour",s="day",c="week",u="month",l="quarter",h="year",f="date",d="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},w=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},y={s:w,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+w(i,2,"0")+":"+w(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,u),a=n-r<0,o=e.clone().add(i+(a?-1:1),u);return+(-(i+(n-r)/(a?r-o:o-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:h,w:c,d:s,D:f,h:o,m:a,s:r,ms:i,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},m="en",v={};v[m]=b;var x=function(t){return t instanceof T},k=function t(e,n,i){var r;if(!e)return m;if("string"==typeof e){var a=e.toLowerCase();v[a]&&(r=a),n&&(v[a]=n,r=a);var o=e.split("-");if(!r&&o.length>1)return t(o[0])}else{var s=e.name;v[s]=e,r=s}return!i&&r&&(m=r),r||!i&&m},_=function(t,e){if(x(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new T(n)},E=y;E.l=k,E.i=x,E.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function b(t){this.$L=k(t.locale,null,!0),this.parse(t)}var w=b.prototype;return w.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(g);if(i){var r=i[2]-1||0,a=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},w.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},w.$utils=function(){return E},w.isValid=function(){return this.$d.toString()!==d},w.isSame=function(t,e){var n=_(t);return this.startOf(e)<=n&&n<=this.endOf(e)},w.isAfter=function(t,e){return _(t)<this.startOf(e)},w.isBefore=function(t,e){return this.endOf(e)<_(t)},w.$g=function(t,e,n){return E.u(t)?this[e]:this.set(n,t)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function(t,e){var n=this,i=!!E.u(e)||e,l=E.p(t),d=function(t,e){var r=E.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?r:r.endOf(s)},g=function(t,e){return E.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},p=this.$W,b=this.$M,w=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case h:return i?d(1,0):d(31,11);case u:return i?d(1,b):d(0,b+1);case c:var m=this.$locale().weekStart||0,v=(p<m?p+7:p)-m;return d(i?w-v:w+(6-v),b);case s:case f:return g(y+"Hours",0);case o:return g(y+"Minutes",1);case a:return g(y+"Seconds",2);case r:return g(y+"Milliseconds",3);default:return this.clone()}},w.endOf=function(t){return this.startOf(t,!1)},w.$set=function(t,e){var n,c=E.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[s]=l+"Date",n[f]=l+"Date",n[u]=l+"Month",n[h]=l+"FullYear",n[o]=l+"Hours",n[a]=l+"Minutes",n[r]=l+"Seconds",n[i]=l+"Milliseconds",n)[c],g=c===s?this.$D+(e-this.$W):e;if(c===u||c===h){var p=this.clone().set(f,1);p.$d[d](g),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](g);return this.init(),this},w.set=function(t,e){return this.clone().$set(t,e)},w.get=function(t){return this[E.p(t)]()},w.add=function(i,l){var f,d=this;i=Number(i);var g=E.p(l),p=function(t){var e=_(d);return E.w(e.date(e.date()+Math.round(t*i)),d)};if(g===u)return this.set(u,this.$M+i);if(g===h)return this.set(h,this.$y+i);if(g===s)return p(1);if(g===c)return p(7);var b=(f={},f[a]=e,f[o]=n,f[r]=t,f)[g]||1,w=this.$d.getTime()+i*b;return E.w(w,this)},w.subtract=function(t,e){return this.add(-1*t,e)},w.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=E.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=function(t,n,r,a){return t&&(t[n]||t(e,i))||r[n].slice(0,a)},h=function(t){return E.s(a%12||12,t,"0")},f=n.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},g={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:E.s(s+1,2,"0"),MMM:l(n.monthsShort,s,u,3),MMMM:l(u,s),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,c,2),ddd:l(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(a),HH:E.s(a,2,"0"),h:h(1),hh:h(2),a:f(a,o,!0),A:f(a,o,!1),m:String(o),mm:E.s(o,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:r};return i.replace(p,(function(t,e){return e||g[t]||r.replace(":","")}))},w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function(i,f,d){var g,p=E.p(f),b=_(i),w=(b.utcOffset()-this.utcOffset())*e,y=this-b,m=E.m(this,b);return m=(g={},g[h]=m/12,g[u]=m,g[l]=m/3,g[c]=(y-w)/6048e5,g[s]=(y-w)/864e5,g[o]=y/n,g[a]=y/e,g[r]=y/t,g)[p]||y,d?m:E.a(m)},w.daysInMonth=function(){return this.endOf(u).$D},w.$locale=function(){return v[this.$L]},w.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=k(t,e,!0);return i&&(n.$L=i),n},w.clone=function(){return E.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},b}(),C=T.prototype;return _.prototype=C,[["$ms",i],["$s",r],["$m",a],["$H",o],["$W",s],["$M",u],["$y",h],["$D",f]].forEach((function(t){C[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,T,_),t.$i=!0),_},_.locale=k,_.isDayjs=x,_.unix=function(t){return _(1e3*t)},_.en=v[m],_.Ls=v,_.p={},_},{get exports(){return s},set exports(t){s=t}}.exports=o();const u=s,l={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},h={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},f=function(t="fatal"){let e=l.fatal;"string"==typeof t?(t=t.toLowerCase())in l&&(e=l[t]):"number"==typeof t&&(e=t),h.trace=()=>{},h.debug=()=>{},h.info=()=>{},h.warn=()=>{},h.error=()=>{},h.fatal=()=>{},e<=l.fatal&&(h.fatal=console.error?console.error.bind(console,d("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",d("FATAL"))),e<=l.error&&(h.error=console.error?console.error.bind(console,d("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",d("ERROR"))),e<=l.warn&&(h.warn=console.warn?console.warn.bind(console,d("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",d("WARN"))),e<=l.info&&(h.info=console.info?console.info.bind(console,d("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",d("INFO"))),e<=l.debug&&(h.debug=console.debug?console.debug.bind(console,d("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",d("DEBUG"))),e<=l.trace&&(h.trace=console.debug?console.debug.bind(console,d("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",d("TRACE")))},d=t=>`%c${u().format("ss.SSS")} : ${t} : `;var g={};Object.defineProperty(g,"__esModule",{value:!0});var p=g.sanitizeUrl=void 0,b=/^([^\w]*)(javascript|data|vbscript)/im,w=/&#(\w+)(^\w|;)?/g,y=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,m=/^([^:]+):/gm,v=[".","/"];function x(t){return v.indexOf(t[0])>-1}function k(t){return t.replace(w,(function(t,e){return String.fromCharCode(e)}))}function _(t){var e=k(t||"").replace(y,"").trim();if(!e)return"about:blank";if(x(e))return e;var n=e.match(m);if(!n)return e;var i=n[0];return b.test(i)?"about:blank":e}function E(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function T(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function C(t){let e,n,i;function r(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<0?r=e+1:a=e}while(r<a)}return r}function a(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<=0?r=e+1:a=e}while(r<a)}return r}function o(t,e,n=0,a=t.length){const o=r(t,e,n,a-1);return o>n&&i(t[o-1],e)>-i(t[o],e)?o-1:o}return 2!==t.length?(e=E,n=(e,n)=>E(t(e),n),i=(e,n)=>t(e)-n):(e=t===E||t===T?t:S,n=t,i=t),{left:r,center:o,right:a}}function S(){return 0}function A(t){return null===t?NaN:+t}p=g.sanitizeUrl=_;const M=C(E).right;C(A).center;const I=M;class O extends Map{constructor(t,e=P){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[n,i]of t)this.set(n,i)}get(t){return super.get(L(this,t))}has(t){return super.has(L(this,t))}set(t,e){return super.set(N(this,t),e)}delete(t){return super.delete(D(this,t))}}function L({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function N({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}function D({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}function P(t){return null!==t&&"object"==typeof t?t.valueOf():t}var B=Math.sqrt(50),j=Math.sqrt(10),R=Math.sqrt(2);function $(t,e,n){var i,r,a,o,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((i=e<t)&&(r=t,t=e,e=r),0===(o=F(t,e,n))||!isFinite(o))return[];if(o>0){let n=Math.round(t/o),i=Math.round(e/o);for(n*o<t&&++n,i*o>e&&--i,a=new Array(r=i-n+1);++s<r;)a[s]=(n+s)*o}else{o=-o;let n=Math.round(t*o),i=Math.round(e*o);for(n/o<t&&++n,i/o>e&&--i,a=new Array(r=i-n+1);++s<r;)a[s]=(n+s)/o}return i&&a.reverse(),a}function F(t,e,n){var i=(e-t)/Math.max(0,n),r=Math.floor(Math.log(i)/Math.LN10),a=i/Math.pow(10,r);return r>=0?(a>=B?10:a>=j?5:a>=R?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(a>=B?10:a>=j?5:a>=R?2:1)}function z(t,e,n){var i=Math.abs(e-t)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),a=i/r;return a>=B?r*=10:a>=j?r*=5:a>=R&&(r*=2),e<t?-r:r}function H(t,e){let n;if(void 0===e)for(const i of t)null!=i&&(n<i||void 0===n&&i>=i)&&(n=i);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n<r||void 0===n&&r>=r)&&(n=r)}return n}function U(t,e){let n;if(void 0===e)for(const i of t)null!=i&&(n>i||void 0===n&&i>=i)&&(n=i);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function G(t){return t}var q=1,K=2,Y=3,W=4,X=1e-6;function V(t){return"translate("+t+",0)"}function Q(t){return"translate(0,"+t+")"}function Z(t){return e=>+t(e)}function J(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function tt(){return!this.__axis}function et(t,e){var n=[],i=null,r=null,a=6,o=6,s=3,c=typeof window<"u"&&window.devicePixelRatio>1?0:.5,u=t===q||t===W?-1:1,l=t===W||t===K?"x":"y",h=t===q||t===Y?V:Q;function f(f){var d=i??(e.ticks?e.ticks.apply(e,n):e.domain()),g=r??(e.tickFormat?e.tickFormat.apply(e,n):G),p=Math.max(a,0)+s,b=e.range(),w=+b[0]+c,y=+b[b.length-1]+c,m=(e.bandwidth?J:Z)(e.copy(),c),v=f.selection?f.selection():f,x=v.selectAll(".domain").data([null]),k=v.selectAll(".tick").data(d,e).order(),_=k.exit(),E=k.enter().append("g").attr("class","tick"),T=k.select("line"),C=k.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(E),T=T.merge(E.append("line").attr("stroke","currentColor").attr(l+"2",u*a)),C=C.merge(E.append("text").attr("fill","currentColor").attr(l,u*p).attr("dy",t===q?"0em":t===Y?"0.71em":"0.32em")),f!==v&&(x=x.transition(f),k=k.transition(f),T=T.transition(f),C=C.transition(f),_=_.transition(f).attr("opacity",X).attr("transform",(function(t){return isFinite(t=m(t))?h(t+c):this.getAttribute("transform")})),E.attr("opacity",X).attr("transform",(function(t){var e=this.parentNode.__axis;return h((e&&isFinite(e=e(t))?e:m(t))+c)}))),_.remove(),x.attr("d",t===W||t===K?o?"M"+u*o+","+w+"H"+c+"V"+y+"H"+u*o:"M"+c+","+w+"V"+y:o?"M"+w+","+u*o+"V"+c+"H"+y+"V"+u*o:"M"+w+","+c+"H"+y),k.attr("opacity",1).attr("transform",(function(t){return h(m(t)+c)})),T.attr(l+"2",u*a),C.attr(l,u*p).text(g),v.filter(tt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===K?"start":t===W?"end":"middle"),v.each((function(){this.__axis=m}))}return f.scale=function(t){return arguments.length?(e=t,f):e},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),f):n.slice()},f.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),f):i&&i.slice()},f.tickFormat=function(t){return arguments.length?(r=t,f):r},f.tickSize=function(t){return arguments.length?(a=o=+t,f):a},f.tickSizeInner=function(t){return arguments.length?(a=+t,f):a},f.tickSizeOuter=function(t){return arguments.length?(o=+t,f):o},f.tickPadding=function(t){return arguments.length?(s=+t,f):s},f.offset=function(t){return arguments.length?(c=+t,f):c},f}function nt(t){return et(q,t)}function it(t){return et(Y,t)}var rt={value:()=>{}};function at(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new ot(i)}function ot(t){this._=t}function st(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function ct(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function ut(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=rt,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}ot.prototype=at.prototype={constructor:ot,on:function(t,e){var n,i=this._,r=st(t+"",i),a=-1,o=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<o;)if(n=(t=r[a]).type)i[n]=ut(i[n],t.name,e);else if(null==e)for(n in i)i[n]=ut(i[n],t.name,null);return this}for(;++a<o;)if((n=(t=r[a]).type)&&(n=ct(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ot(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),a=0;a<n;++a)r[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(i=this._[t]).length;a<n;++a)i[a].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,a=i.length;r<a;++r)i[r].value.apply(e,n)}};var lt="http://www.w3.org/1999/xhtml";const ht={svg:"http://www.w3.org/2000/svg",xhtml:lt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ft(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ht.hasOwnProperty(e)?{space:ht[e],local:t}:t}function dt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===lt&&e.documentElement.namespaceURI===lt?e.createElement(t):e.createElementNS(n,t)}}function gt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function pt(t){var e=ft(t);return(e.local?gt:dt)(e)}function bt(){}function wt(t){return null==t?bt:function(){return this.querySelector(t)}}function yt(t){"function"!=typeof t&&(t=wt(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o,s=e[r],c=s.length,u=i[r]=new Array(c),l=0;l<c;++l)(a=s[l])&&(o=t.call(a,a.__data__,l,s))&&("__data__"in a&&(o.__data__=a.__data__),u[l]=o);return new sn(i,this._parents)}function mt(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function vt(){return[]}function xt(t){return null==t?vt:function(){return this.querySelectorAll(t)}}function kt(t){return function(){return mt(t.apply(this,arguments))}}function _t(t){t="function"==typeof t?kt(t):xt(t);for(var e=this._groups,n=e.length,i=[],r=[],a=0;a<n;++a)for(var o,s=e[a],c=s.length,u=0;u<c;++u)(o=s[u])&&(i.push(t.call(o,o.__data__,u,s)),r.push(o));return new sn(i,r)}function Et(t){return function(){return this.matches(t)}}function Tt(t){return function(e){return e.matches(t)}}var Ct=Array.prototype.find;function St(t){return function(){return Ct.call(this.children,t)}}function At(){return this.firstElementChild}function Mt(t){return this.select(null==t?At:St("function"==typeof t?t:Tt(t)))}var It=Array.prototype.filter;function Ot(){return Array.from(this.children)}function Lt(t){return function(){return It.call(this.children,t)}}function Nt(t){return this.selectAll(null==t?Ot:Lt("function"==typeof t?t:Tt(t)))}function Dt(t){"function"!=typeof t&&(t=Et(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new sn(i,this._parents)}function Pt(t){return new Array(t.length)}function Bt(){return new sn(this._enter||this._groups.map(Pt),this._parents)}function jt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function Rt(t){return function(){return t}}function $t(t,e,n,i,r,a){for(var o,s=0,c=e.length,u=a.length;s<u;++s)(o=e[s])?(o.__data__=a[s],i[s]=o):n[s]=new jt(t,a[s]);for(;s<c;++s)(o=e[s])&&(r[s]=o)}function Ft(t,e,n,i,r,a,o){var s,c,u,l=new Map,h=e.length,f=a.length,d=new Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=u=o.call(c,c.__data__,s,e)+"",l.has(u)?r[s]=c:l.set(u,c));for(s=0;s<f;++s)u=o.call(t,a[s],s,a)+"",(c=l.get(u))?(i[s]=c,c.__data__=a[s],l.delete(u)):n[s]=new jt(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&l.get(d[s])===c&&(r[s]=c)}function zt(t){return t.__data__}function Ht(t,e){if(!arguments.length)return Array.from(this,zt);var n=e?Ft:$t,i=this._parents,r=this._groups;"function"!=typeof t&&(t=Rt(t));for(var a=r.length,o=new Array(a),s=new Array(a),c=new Array(a),u=0;u<a;++u){var l=i[u],h=r[u],f=h.length,d=Ut(t.call(l,l&&l.__data__,u,i)),g=d.length,p=s[u]=new Array(g),b=o[u]=new Array(g);n(l,h,p,b,c[u]=new Array(f),d,e);for(var w,y,m=0,v=0;m<g;++m)if(w=p[m]){for(m>=v&&(v=m+1);!(y=b[v])&&++v<g;);w._next=y||null}}return(o=new sn(o,i))._enter=s,o._exit=c,o}function Ut(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Gt(){return new sn(this._exit||this._groups.map(Pt),this._parents)}function qt(t,e,n){var i=this.enter(),r=this,a=this.exit();return"function"==typeof t?(i=t(i))&&(i=i.selection()):i=i.append(t+""),null!=e&&(r=e(r))&&(r=r.selection()),null==n?a.remove():n(a),i&&r?i.merge(r).order():r}function Kt(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,a=i.length,o=Math.min(r,a),s=new Array(r),c=0;c<o;++c)for(var u,l=n[c],h=i[c],f=l.length,d=s[c]=new Array(f),g=0;g<f;++g)(u=l[g]||h[g])&&(d[g]=u);for(;c<r;++c)s[c]=n[c];return new sn(s,this._parents)}function Yt(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],a=r.length-1,o=r[a];--a>=0;)(i=r[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this}function Wt(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Xt);for(var n=this._groups,i=n.length,r=new Array(i),a=0;a<i;++a){for(var o,s=n[a],c=s.length,u=r[a]=new Array(c),l=0;l<c;++l)(o=s[l])&&(u[l]=o);u.sort(e)}return new sn(r,this._parents).order()}function Xt(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Vt(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Qt(){return Array.from(this)}function Zt(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,a=i.length;r<a;++r){var o=i[r];if(o)return o}return null}function Jt(){let t=0;for(const e of this)++t;return t}function te(){return!this.node()}function ee(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,a=e[n],o=0,s=a.length;o<s;++o)(r=a[o])&&t.call(r,r.__data__,o,a);return this}function ne(t){return function(){this.removeAttribute(t)}}function ie(t){return function(){this.removeAttributeNS(t.space,t.local)}}function re(t,e){return function(){this.setAttribute(t,e)}}function ae(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function oe(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function se(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function ce(t,e){var n=ft(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?ie:ne:"function"==typeof e?n.local?se:oe:n.local?ae:re)(n,e))}function ue(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function le(t){return function(){this.style.removeProperty(t)}}function he(t,e,n){return function(){this.style.setProperty(t,e,n)}}function fe(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function de(t,e,n){return arguments.length>1?this.each((null==e?le:"function"==typeof e?fe:he)(t,e,n??"")):ge(this.node(),t)}function ge(t,e){return t.style.getPropertyValue(e)||ue(t).getComputedStyle(t,null).getPropertyValue(e)}function pe(t){return function(){delete this[t]}}function be(t,e){return function(){this[t]=e}}function we(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function ye(t,e){return arguments.length>1?this.each((null==e?pe:"function"==typeof e?we:be)(t,e)):this.node()[t]}function me(t){return t.trim().split(/^|\s+/)}function ve(t){return t.classList||new xe(t)}function xe(t){this._node=t,this._names=me(t.getAttribute("class")||"")}function ke(t,e){for(var n=ve(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function _e(t,e){for(var n=ve(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function Ee(t){return function(){ke(this,t)}}function Te(t){return function(){_e(this,t)}}function Ce(t,e){return function(){(e.apply(this,arguments)?ke:_e)(this,t)}}function Se(t,e){var n=me(t+"");if(arguments.length<2){for(var i=ve(this.node()),r=-1,a=n.length;++r<a;)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"==typeof e?Ce:e?Ee:Te)(n,e))}function Ae(){this.textContent=""}function Me(t){return function(){this.textContent=t}}function Ie(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Oe(t){return arguments.length?this.each(null==t?Ae:("function"==typeof t?Ie:Me)(t)):this.node().textContent}function Le(){this.innerHTML=""}function Ne(t){return function(){this.innerHTML=t}}function De(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Pe(t){return arguments.length?this.each(null==t?Le:("function"==typeof t?De:Ne)(t)):this.node().innerHTML}function Be(){this.nextSibling&&this.parentNode.appendChild(this)}function je(){return this.each(Be)}function Re(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function $e(){return this.each(Re)}function Fe(t){var e="function"==typeof t?t:pt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))}function ze(){return null}function He(t,e){var n="function"==typeof t?t:pt(t),i=null==e?ze:"function"==typeof e?e:wt(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))}function Ue(){var t=this.parentNode;t&&t.removeChild(this)}function Ge(){return this.each(Ue)}function qe(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ke(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ye(t){return this.select(t?Ke:qe)}function We(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Xe(t){return function(e){t.call(this,e,this.__data__)}}function Ve(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Qe(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,a=e.length;i<a;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?e.length=r:delete this.__on}}}function Ze(t,e,n){return function(){var i,r=this.__on,a=Xe(e);if(r)for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),void(i.value=e);this.addEventListener(t.type,a,n),i={type:t.type,name:t.name,value:e,listener:a,options:n},r?r.push(i):this.__on=[i]}}function Je(t,e,n){var i,r,a=Ve(t+""),o=a.length;if(!(arguments.length<2)){for(s=e?Ze:Qe,i=0;i<o;++i)this.each(s(a[i],e,n));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(i=0,c=s[u];i<o;++i)if((r=a[i]).type===c.type&&r.name===c.name)return c.value}function tn(t,e,n){var i=ue(t),r=i.CustomEvent;"function"==typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function en(t,e){return function(){return tn(this,t,e)}}function nn(t,e){return function(){return tn(this,t,e.apply(this,arguments))}}function rn(t,e){return this.each(("function"==typeof e?nn:en)(t,e))}function*an(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,r=t[e],a=0,o=r.length;a<o;++a)(i=r[a])&&(yield i)}jt.prototype={constructor:jt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},xe.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var on=[null];function sn(t,e){this._groups=t,this._parents=e}function cn(){return new sn([[document.documentElement]],on)}function un(){return this}function ln(t){return"string"==typeof t?new sn([[document.querySelector(t)]],[document.documentElement]):new sn([[t]],on)}function hn(t){return"string"==typeof t?new sn([document.querySelectorAll(t)],[document.documentElement]):new sn([mt(t)],on)}function fn(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function dn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function gn(){}sn.prototype=cn.prototype={constructor:sn,select:yt,selectAll:_t,selectChild:Mt,selectChildren:Nt,filter:Dt,data:Ht,enter:Bt,exit:Gt,join:qt,merge:Kt,selection:un,order:Yt,sort:Wt,call:Vt,nodes:Qt,node:Zt,size:Jt,empty:te,each:ee,attr:ce,style:de,property:ye,classed:Se,text:Oe,html:Pe,raise:je,lower:$e,append:Fe,insert:He,remove:Ge,clone:Ye,datum:We,on:Je,dispatch:rn,[Symbol.iterator]:an};var pn=.7,bn=1/pn,wn="\\s*([+-]?\\d+)\\s*",yn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",mn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",vn=/^#([0-9a-f]{3,8})$/,xn=new RegExp(`^rgb\\(${wn},${wn},${wn}\\)$`),kn=new RegExp(`^rgb\\(${mn},${mn},${mn}\\)$`),_n=new RegExp(`^rgba\\(${wn},${wn},${wn},${yn}\\)$`),En=new RegExp(`^rgba\\(${mn},${mn},${mn},${yn}\\)$`),Tn=new RegExp(`^hsl\\(${yn},${mn},${mn}\\)$`),Cn=new RegExp(`^hsla\\(${yn},${mn},${mn},${yn}\\)$`),Sn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function An(){return this.rgb().formatHex()}function Mn(){return this.rgb().formatHex8()}function In(){return qn(this).formatHsl()}function On(){return this.rgb().formatRgb()}function Ln(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=vn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Nn(e):3===n?new jn(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Dn(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Dn(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=xn.exec(t))?new jn(e[1],e[2],e[3],1):(e=kn.exec(t))?new jn(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=_n.exec(t))?Dn(e[1],e[2],e[3],e[4]):(e=En.exec(t))?Dn(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Tn.exec(t))?Gn(e[1],e[2]/100,e[3]/100,1):(e=Cn.exec(t))?Gn(e[1],e[2]/100,e[3]/100,e[4]):Sn.hasOwnProperty(t)?Nn(Sn[t]):"transparent"===t?new jn(NaN,NaN,NaN,0):null}function Nn(t){return new jn(t>>16&255,t>>8&255,255&t,1)}function Dn(t,e,n,i){return i<=0&&(t=e=n=NaN),new jn(t,e,n,i)}function Pn(t){return t instanceof gn||(t=Ln(t)),t?new jn((t=t.rgb()).r,t.g,t.b,t.opacity):new jn}function Bn(t,e,n,i){return 1===arguments.length?Pn(t):new jn(t,e,n,i??1)}function jn(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Rn(){return`#${Un(this.r)}${Un(this.g)}${Un(this.b)}`}function $n(){return`#${Un(this.r)}${Un(this.g)}${Un(this.b)}${Un(255*(isNaN(this.opacity)?1:this.opacity))}`}function Fn(){const t=zn(this.opacity);return`${1===t?"rgb(":"rgba("}${Hn(this.r)}, ${Hn(this.g)}, ${Hn(this.b)}${1===t?")":`, ${t})`}`}function zn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Hn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Un(t){return((t=Hn(t))<16?"0":"")+t.toString(16)}function Gn(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Yn(t,e,n,i)}function qn(t){if(t instanceof Yn)return new Yn(t.h,t.s,t.l,t.opacity);if(t instanceof gn||(t=Ln(t)),!t)return new Yn;if(t instanceof Yn)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),o=NaN,s=a-r,c=(a+r)/2;return s?(o=e===a?(n-i)/s+6*(n<i):n===a?(i-e)/s+2:(e-n)/s+4,s/=c<.5?a+r:2-a-r,o*=60):s=c>0&&c<1?0:o,new Yn(o,s,c,t.opacity)}function Kn(t,e,n,i){return 1===arguments.length?qn(t):new Yn(t,e,n,i??1)}function Yn(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function Wn(t){return(t=(t||0)%360)<0?t+360:t}function Xn(t){return Math.max(0,Math.min(1,t||0))}function Vn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}fn(gn,Ln,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:An,formatHex:An,formatHex8:Mn,formatHsl:In,formatRgb:On,toString:On}),fn(jn,Bn,dn(gn,{brighter(t){return t=null==t?bn:Math.pow(bn,t),new jn(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?pn:Math.pow(pn,t),new jn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new jn(Hn(this.r),Hn(this.g),Hn(this.b),zn(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Rn,formatHex:Rn,formatHex8:$n,formatRgb:Fn,toString:Fn})),fn(Yn,Kn,dn(gn,{brighter(t){return t=null==t?bn:Math.pow(bn,t),new Yn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?pn:Math.pow(pn,t),new Yn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new jn(Vn(t>=240?t-240:t+120,r,i),Vn(t,r,i),Vn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new Yn(Wn(this.h),Xn(this.s),Xn(this.l),zn(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=zn(this.opacity);return`${1===t?"hsl(":"hsla("}${Wn(this.h)}, ${100*Xn(this.s)}%, ${100*Xn(this.l)}%${1===t?")":`, ${t})`}`}}));const Qn=Math.PI/180,Zn=180/Math.PI,Jn=18,ti=.96422,ei=1,ni=.82521,ii=4/29,ri=6/29,ai=3*ri*ri,oi=ri*ri*ri;function si(t){if(t instanceof ui)return new ui(t.l,t.a,t.b,t.opacity);if(t instanceof bi)return wi(t);t instanceof jn||(t=Pn(t));var e,n,i=di(t.r),r=di(t.g),a=di(t.b),o=li((.2225045*i+.7168786*r+.0606169*a)/ei);return i===r&&r===a?e=n=o:(e=li((.4360747*i+.3850649*r+.1430804*a)/ti),n=li((.0139322*i+.0971045*r+.7141733*a)/ni)),new ui(116*o-16,500*(e-o),200*(o-n),t.opacity)}function ci(t,e,n,i){return 1===arguments.length?si(t):new ui(t,e,n,i??1)}function ui(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}function li(t){return t>oi?Math.pow(t,1/3):t/ai+ii}function hi(t){return t>ri?t*t*t:ai*(t-ii)}function fi(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function di(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function gi(t){if(t instanceof bi)return new bi(t.h,t.c,t.l,t.opacity);if(t instanceof ui||(t=si(t)),0===t.a&&0===t.b)return new bi(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Zn;return new bi(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function pi(t,e,n,i){return 1===arguments.length?gi(t):new bi(t,e,n,i??1)}function bi(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function wi(t){if(isNaN(t.h))return new ui(t.l,0,0,t.opacity);var e=t.h*Qn;return new ui(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}fn(ui,ci,dn(gn,{brighter(t){return new ui(this.l+Jn*(t??1),this.a,this.b,this.opacity)},darker(t){return new ui(this.l-Jn*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new jn(fi(3.1338561*(e=ti*hi(e))-1.6168667*(t=ei*hi(t))-.4906146*(n=ni*hi(n))),fi(-.9787684*e+1.9161415*t+.033454*n),fi(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),fn(bi,pi,dn(gn,{brighter(t){return new bi(this.h,this.c,this.l+Jn*(t??1),this.opacity)},darker(t){return new bi(this.h,this.c,this.l-Jn*(t??1),this.opacity)},rgb(){return wi(this).rgb()}}));const yi=t=>()=>t;function mi(t,e){return function(n){return t+n*e}}function vi(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function xi(t,e){var n=e-t;return n?mi(t,n>180||n<-180?n-360*Math.round(n/360):n):yi(isNaN(t)?e:t)}function ki(t){return 1==(t=+t)?_i:function(e,n){return n-e?vi(e,n,t):yi(isNaN(e)?n:e)}}function _i(t,e){var n=e-t;return n?mi(t,n):yi(isNaN(t)?e:t)}const Ei=function t(e){var n=ki(e);function i(t,e){var i=n((t=Bn(t)).r,(e=Bn(e)).r),r=n(t.g,e.g),a=n(t.b,e.b),o=_i(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function Ti(t,e){e||(e=[]);var n,i=t?Math.min(e.length,t.length):0,r=e.slice();return function(a){for(n=0;n<i;++n)r[n]=t[n]*(1-a)+e[n]*a;return r}}function Ci(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Si(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,a=new Array(r),o=new Array(i);for(n=0;n<r;++n)a[n]=Bi(t[n],e[n]);for(;n<i;++n)o[n]=e[n];return function(t){for(n=0;n<r;++n)o[n]=a[n](t);return o}}function Ai(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function Mi(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Ii(t,e){var n,i={},r={};for(n in(null===t||"object"!=typeof t)&&(t={}),(null===e||"object"!=typeof e)&&(e={}),e)n in t?i[n]=Bi(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}}var Oi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Li=new RegExp(Oi.source,"g");function Ni(t){return function(){return t}}function Di(t){return function(e){return t(e)+""}}function Pi(t,e){var n,i,r,a=Oi.lastIndex=Li.lastIndex=0,o=-1,s=[],c=[];for(t+="",e+="";(n=Oi.exec(t))&&(i=Li.exec(e));)(r=i.index)>a&&(r=e.slice(a,r),s[o]?s[o]+=r:s[++o]=r),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:Mi(n,i)})),a=Li.lastIndex;return a<e.length&&(r=e.slice(a),s[o]?s[o]+=r:s[++o]=r),s.length<2?c[0]?Di(c[0].x):Ni(e):(e=c.length,function(t){for(var n,i=0;i<e;++i)s[(n=c[i]).i]=n.x(t);return s.join("")})}function Bi(t,e){var n,i=typeof e;return null==e||"boolean"===i?yi(e):("number"===i?Mi:"string"===i?(n=Ln(e))?(e=n,Ei):Pi:e instanceof Ln?Ei:e instanceof Date?Ai:Ci(e)?Ti:Array.isArray(e)?Si:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Ii:Mi)(t,e)}function ji(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var Ri,$i=180/Math.PI,Fi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function zi(t,e,n,i,r,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(s=Math.sqrt(n*n+i*i))&&(n/=s,i/=s,c/=s),t*i<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:r,translateY:a,rotate:Math.atan2(e,t)*$i,skewX:Math.atan(c)*$i,scaleX:o,scaleY:s}}function Hi(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Fi:zi(e.a,e.b,e.c,e.d,e.e,e.f)}function Ui(t){return null!=t&&(Ri||(Ri=document.createElementNS("http://www.w3.org/2000/svg","g")),Ri.setAttribute("transform",t),t=Ri.transform.baseVal.consolidate())?zi((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Fi}function Gi(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}function a(t,i,r,a,o,s){if(t!==r||i!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:Mi(t,r)},{i:c-2,x:Mi(i,a)})}else(r||a)&&o.push("translate("+r+e+a+n)}function o(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(r(n)+"rotate(",null,i)-2,x:Mi(t,e)})):e&&n.push(r(n)+"rotate("+e+i)}function s(t,e,n,a){t!==e?a.push({i:n.push(r(n)+"skewX(",null,i)-2,x:Mi(t,e)}):e&&n.push(r(n)+"skewX("+e+i)}function c(t,e,n,i,a,o){if(t!==n||e!==i){var s=a.push(r(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Mi(t,n)},{i:s-2,x:Mi(e,i)})}else(1!==n||1!==i)&&a.push(r(a)+"scale("+n+","+i+")")}return function(e,n){var i=[],r=[];return e=t(e),n=t(n),a(e.translateX,e.translateY,n.translateX,n.translateY,i,r),o(e.rotate,n.rotate,i,r),s(e.skewX,n.skewX,i,r),c(e.scaleX,e.scaleY,n.scaleX,n.scaleY,i,r),e=n=null,function(t){for(var e,n=-1,a=r.length;++n<a;)i[(e=r[n]).i]=e.x(t);return i.join("")}}}var qi=Gi(Hi,"px, ","px)","deg)"),Ki=Gi(Ui,", ",")",")");function Yi(t){return function(e,n){var i=t((e=pi(e)).h,(n=pi(n)).h),r=_i(e.c,n.c),a=_i(e.l,n.l),o=_i(e.opacity,n.opacity);return function(t){return e.h=i(t),e.c=r(t),e.l=a(t),e.opacity=o(t),e+""}}}const Wi=Yi(xi);var Xi,Vi,Qi=0,Zi=0,Ji=0,tr=1e3,er=0,nr=0,ir=0,rr="object"==typeof performance&&performance.now?performance:Date,ar="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function or(){return nr||(ar(sr),nr=rr.now()+ir)}function sr(){nr=0}function cr(){this._call=this._time=this._next=null}function ur(t,e,n){var i=new cr;return i.restart(t,e,n),i}function lr(){or(),++Qi;for(var t,e=Xi;e;)(t=nr-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Qi}function hr(){nr=(er=rr.now())+ir,Qi=Zi=0;try{lr()}finally{Qi=0,dr(),nr=0}}function fr(){var t=rr.now(),e=t-er;e>tr&&(ir-=e,er=t)}function dr(){for(var t,e,n=Xi,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Xi=e);Vi=t,gr(i)}function gr(t){Qi||(Zi&&(Zi=clearTimeout(Zi)),t-nr>24?(t<1/0&&(Zi=setTimeout(hr,t-rr.now()-ir)),Ji&&(Ji=clearInterval(Ji))):(Ji||(er=rr.now(),Ji=setInterval(fr,tr)),Qi=1,ar(hr)))}function pr(t,e,n){var i=new cr;return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}cr.prototype=ur.prototype={constructor:cr,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?or():+n)+(null==e?0:+e),!this._next&&Vi!==this&&(Vi?Vi._next=this:Xi=this,Vi=this),this._call=t,this._time=n,gr()},stop:function(){this._call&&(this._call=null,this._time=1/0,gr())}};var br=at("start","end","cancel","interrupt"),wr=[],yr=0,mr=1,vr=2,xr=3,kr=4,_r=5,Er=6;function Tr(t,e,n,i,r,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};Mr(t,n,{name:e,index:i,group:r,on:br,tween:wr,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:yr})}function Cr(t,e){var n=Ar(t,e);if(n.state>yr)throw new Error("too late; already scheduled");return n}function Sr(t,e){var n=Ar(t,e);if(n.state>xr)throw new Error("too late; already running");return n}function Ar(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Mr(t,e,n){var i,r=t.__transition;function a(t){n.state=mr,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}function o(a){var u,l,h,f;if(n.state!==mr)return c();for(u in r)if((f=r[u]).name===n.name){if(f.state===xr)return pr(o);f.state===kr?(f.state=Er,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[u]):+u<e&&(f.state=Er,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete r[u])}if(pr((function(){n.state===xr&&(n.state=kr,n.timer.restart(s,n.delay,n.time),s(a))})),n.state=vr,n.on.call("start",t,t.__data__,n.index,n.group),n.state===vr){for(n.state=xr,i=new Array(h=n.tween.length),u=0,l=-1;u<h;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(i[++l]=f);i.length=l+1}}function s(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=_r,1),a=-1,o=i.length;++a<o;)i[a].call(t,r);n.state===_r&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var i in n.state=Er,n.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=n,n.timer=ur(a,0,n.time)}function Ir(t,e){var n,i,r,a=t.__transition,o=!0;if(a){for(r in e=null==e?null:e+"",a)(n=a[r]).name===e?(i=n.state>vr&&n.state<_r,n.state=Er,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[r]):o=!1;o&&delete t.__transition}}function Or(t){return this.each((function(){Ir(this,t)}))}function Lr(t,e){var n,i;return function(){var r=Sr(this,t),a=r.tween;if(a!==n)for(var o=0,s=(i=n=a).length;o<s;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}r.tween=i}}function Nr(t,e,n){var i,r;if("function"!=typeof n)throw new Error;return function(){var a=Sr(this,t),o=a.tween;if(o!==i){r=(i=o).slice();for(var s={name:e,value:n},c=0,u=r.length;c<u;++c)if(r[c].name===e){r[c]=s;break}c===u&&r.push(s)}a.tween=r}}function Dr(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=Ar(this.node(),n).tween,a=0,o=r.length;a<o;++a)if((i=r[a]).name===t)return i.value;return null}return this.each((null==e?Lr:Nr)(n,t,e))}function Pr(t,e,n){var i=t._id;return t.each((function(){var t=Sr(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return Ar(t,i).value[e]}}function Br(t,e){var n;return("number"==typeof e?Mi:e instanceof Ln?Ei:(n=Ln(e))?(e=n,Ei):Pi)(t,e)}function jr(t){return function(){this.removeAttribute(t)}}function Rr(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $r(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?r:r=e(i=o,n)}}function Fr(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?r:r=e(i=o,n)}}function zr(t,e,n){var i,r,a;return function(){var o,s,c=n(this);return null==c?void this.removeAttribute(t):(o=this.getAttribute(t))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c))}}function Hr(t,e,n){var i,r,a;return function(){var o,s,c=n(this);return null==c?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c))}}function Ur(t,e){var n=ft(t),i="transform"===n?Ki:Br;return this.attrTween(t,"function"==typeof e?(n.local?Hr:zr)(n,i,Pr(this,"attr."+t,e)):null==e?(n.local?Rr:jr)(n):(n.local?Fr:$r)(n,i,e))}function Gr(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function qr(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function Kr(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&qr(t,r)),n}return r._value=e,r}function Yr(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&Gr(t,r)),n}return r._value=e,r}function Wr(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var i=ft(t);return this.tween(n,(i.local?Kr:Yr)(i,e))}function Xr(t,e){return function(){Cr(this,t).delay=+e.apply(this,arguments)}}function Vr(t,e){return e=+e,function(){Cr(this,t).delay=e}}function Qr(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Xr:Vr)(e,t)):Ar(this.node(),e).delay}function Zr(t,e){return function(){Sr(this,t).duration=+e.apply(this,arguments)}}function Jr(t,e){return e=+e,function(){Sr(this,t).duration=e}}function ta(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Zr:Jr)(e,t)):Ar(this.node(),e).duration}function ea(t,e){if("function"!=typeof e)throw new Error;return function(){Sr(this,t).ease=e}}function na(t){var e=this._id;return arguments.length?this.each(ea(e,t)):Ar(this.node(),e).ease}function ia(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;Sr(this,t).ease=n}}function ra(t){if("function"!=typeof t)throw new Error;return this.each(ia(this._id,t))}function aa(t){"function"!=typeof t&&(t=Et(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new Da(i,this._parents,this._name,this._id)}function oa(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,a=Math.min(i,r),o=new Array(i),s=0;s<a;++s)for(var c,u=e[s],l=n[s],h=u.length,f=o[s]=new Array(h),d=0;d<h;++d)(c=u[d]||l[d])&&(f[d]=c);for(;s<i;++s)o[s]=e[s];return new Da(o,this._parents,this._name,this._id)}function sa(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}function ca(t,e,n){var i,r,a=sa(e)?Cr:Sr;return function(){var o=a(this,t),s=o.on;s!==i&&(r=(i=s).copy()).on(e,n),o.on=r}}function ua(t,e){var n=this._id;return arguments.length<2?Ar(this.node(),n).on.on(t):this.each(ca(n,t,e))}function la(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function ha(){return this.on("end.remove",la(this._id))}function fa(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=wt(t));for(var i=this._groups,r=i.length,a=new Array(r),o=0;o<r;++o)for(var s,c,u=i[o],l=u.length,h=a[o]=new Array(l),f=0;f<l;++f)(s=u[f])&&(c=t.call(s,s.__data__,f,u))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,Tr(h[f],e,n,f,h,Ar(s,n)));return new Da(a,this._parents,e,n)}function da(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=xt(t));for(var i=this._groups,r=i.length,a=[],o=[],s=0;s<r;++s)for(var c,u=i[s],l=u.length,h=0;h<l;++h)if(c=u[h]){for(var f,d=t.call(c,c.__data__,h,u),g=Ar(c,n),p=0,b=d.length;p<b;++p)(f=d[p])&&Tr(f,e,n,p,d,g);a.push(d),o.push(c)}return new Da(a,o,e,n)}var ga=cn.prototype.constructor;function pa(){return new ga(this._groups,this._parents)}function ba(t,e){var n,i,r;return function(){var a=ge(this,t),o=(this.style.removeProperty(t),ge(this,t));return a===o?null:a===n&&o===i?r:r=e(n=a,i=o)}}function wa(t){return function(){this.style.removeProperty(t)}}function ya(t,e,n){var i,r,a=n+"";return function(){var o=ge(this,t);return o===a?null:o===i?r:r=e(i=o,n)}}function ma(t,e,n){var i,r,a;return function(){var o=ge(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=ge(this,t)),o===c?null:o===i&&c===r?a:(r=c,a=e(i=o,s))}}function va(t,e){var n,i,r,a,o="style."+e,s="end."+o;return function(){var c=Sr(this,t),u=c.on,l=null==c.value[o]?a||(a=wa(e)):void 0;(u!==n||r!==l)&&(i=(n=u).copy()).on(s,r=l),c.on=i}}function xa(t,e,n){var i="transform"==(t+="")?qi:Br;return null==e?this.styleTween(t,ba(t,i)).on("end.style."+t,wa(t)):"function"==typeof e?this.styleTween(t,ma(t,i,Pr(this,"style."+t,e))).each(va(this._id,t)):this.styleTween(t,ya(t,i,e),n).on("end.style."+t,null)}function ka(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function _a(t,e,n){var i,r;function a(){var a=e.apply(this,arguments);return a!==r&&(i=(r=a)&&ka(t,a,n)),i}return a._value=e,a}function Ea(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,_a(t,e,n??""))}function Ta(t){return function(){this.textContent=t}}function Ca(t){return function(){var e=t(this);this.textContent=e??""}}function Sa(t){return this.tween("text","function"==typeof t?Ca(Pr(this,"text",t)):Ta(null==t?"":t+""))}function Aa(t){return function(e){this.textContent=t.call(this,e)}}function Ma(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&Aa(i)),e}return i._value=t,i}function Ia(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,Ma(t))}function Oa(){for(var t=this._name,e=this._id,n=Pa(),i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)if(o=s[u]){var l=Ar(o,e);Tr(o,t,n,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new Da(i,this._parents,t,n)}function La(){var t,e,n=this,i=n._id,r=n.size();return new Promise((function(a,o){var s={value:o},c={value:function(){0==--r&&a()}};n.each((function(){var n=Sr(this,i),r=n.on;r!==t&&((e=(t=r).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})),0===r&&a()}))}var Na=0;function Da(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Pa(){return++Na}var Ba=cn.prototype;function ja(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Da.prototype={constructor:Da,select:fa,selectAll:da,selectChild:Ba.selectChild,selectChildren:Ba.selectChildren,filter:aa,merge:oa,selection:pa,transition:Oa,call:Ba.call,nodes:Ba.nodes,node:Ba.node,size:Ba.size,empty:Ba.empty,each:Ba.each,on:ua,attr:Ur,attrTween:Wr,style:xa,styleTween:Ea,text:Sa,textTween:Ia,remove:ha,tween:Dr,delay:Qr,duration:ta,ease:na,easeVarying:ra,end:La,[Symbol.iterator]:Ba[Symbol.iterator]};var Ra={time:null,delay:0,duration:250,ease:ja};function $a(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function Fa(t){var e,n;t instanceof Da?(e=t._id,t=t._name):(e=Pa(),(n=Ra).time=or(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)(o=s[u])&&Tr(o,t,e,u,s,n||$a(o,e));return new Da(i,this._parents,t,e)}cn.prototype.interrupt=Or,cn.prototype.transition=Fa;const za=Math.PI,Ha=2*za,Ua=1e-6,Ga=Ha-Ua;function qa(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ka(){return new qa}function Ya(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Wa(t,e){return fetch(t,e).then(Ya)}function Xa(t){return(e,n)=>Wa(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}qa.prototype=Ka.prototype={constructor:qa,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+a)},arcTo:function(t,e,n,i,r){t=+t,e=+e,n=+n,i=+i,r=+r;var a=this._x1,o=this._y1,s=n-t,c=i-e,u=a-t,l=o-e,h=u*u+l*l;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>Ua)if(Math.abs(l*s-c*u)>Ua&&r){var f=n-a,d=i-o,g=s*s+c*c,p=f*f+d*d,b=Math.sqrt(g),w=Math.sqrt(h),y=r*Math.tan((za-Math.acos((g+h-p)/(2*b*w)))/2),m=y/w,v=y/b;Math.abs(m-1)>Ua&&(this._+="L"+(t+m*u)+","+(e+m*l)),this._+="A"+r+","+r+",0,0,"+ +(l*f>u*d)+","+(this._x1=t+v*s)+","+(this._y1=e+v*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,i,r,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(i),s=n*Math.sin(i),c=t+o,u=e+s,l=1^a,h=a?i-r:r-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+u:(Math.abs(this._x1-c)>Ua||Math.abs(this._y1-u)>Ua)&&(this._+="L"+c+","+u),n&&(h<0&&(h=h%Ha+Ha),h>Ga?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=u):h>Ua&&(this._+="A"+n+","+n+",0,"+ +(h>=za)+","+l+","+(this._x1=t+n*Math.cos(r))+","+(this._y1=e+n*Math.sin(r))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};var Va=Xa("image/svg+xml");function Qa(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Za(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function Ja(t){return(t=Za(Math.abs(t)))?t[1]:NaN}function to(t,e){return function(n,i){for(var r=n.length,a=[],o=0,s=t[0],c=0;r>0&&s>0&&(c+s+1>i&&(s=Math.max(1,i-c)),a.push(n.substring(r-=s,r+s)),!((c+=s+1)>i));)s=t[o=(o+1)%t.length];return a.reverse().join(e)}}function eo(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}var no,io=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ro(t){if(!(e=io.exec(t)))throw new Error("invalid format: "+t);var e;return new ao({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ao(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function oo(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+t[i])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(e+1):t}function so(t,e){var n=Za(t,e);if(!n)return t+"";var i=n[0],r=n[1],a=r-(no=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return a===o?i:a>o?i+new Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+Za(t,Math.max(0,e+a-1))[0]}function co(t,e){var n=Za(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}ro.prototype=ao.prototype,ao.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const uo={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Qa,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>co(100*t,e),r:co,s:so,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function lo(t){return t}var ho,fo,go,po=Array.prototype.map,bo=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function wo(t){var e=void 0===t.grouping||void 0===t.thousands?lo:to(po.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",r=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?lo:eo(po.call(t.numerals,String)),o=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"\u2212":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){var u=(t=ro(t)).fill,l=t.align,h=t.sign,f=t.symbol,d=t.zero,g=t.width,p=t.comma,b=t.precision,w=t.trim,y=t.type;"n"===y?(p=!0,y="g"):uo[y]||(void 0===b&&(b=12),w=!0,y="g"),(d||"0"===u&&"="===l)&&(d=!0,u="0",l="=");var m="$"===f?n:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",v="$"===f?i:/[%p]/.test(y)?o:"",x=uo[y],k=/[defgprs%]/.test(y);function _(t){var n,i,o,f=m,_=v;if("c"===y)_=x(t)+_,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:x(Math.abs(t),b),w&&(t=oo(t)),E&&0==+t&&"+"!==h&&(E=!1),f=(E?"("===h?h:s:"-"===h||"("===h?"":h)+f,_=("s"===y?bo[8+no/3]:"")+_+(E&&"("===h?")":""),k)for(n=-1,i=t.length;++n<i;)if(48>(o=t.charCodeAt(n))||o>57){_=(46===o?r+t.slice(n+1):t.slice(n))+_,t=t.slice(0,n);break}}p&&!d&&(t=e(t,1/0));var T=f.length+t.length+_.length,C=T<g?new Array(g-T+1).join(u):"";switch(p&&d&&(t=e(C+t,C.length?g-_.length:1/0),C=""),l){case"<":t=f+t+_+C;break;case"=":t=f+C+t+_;break;case"^":t=C.slice(0,T=C.length>>1)+f+t+_+C.slice(T);break;default:t=C+f+t+_}return a(t)}return b=void 0===b?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),_.toString=function(){return t+""},_}function l(t,e){var n=u(((t=ro(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Ja(e)/3))),r=Math.pow(10,-i),a=bo[8+i/3];return function(t){return n(r*t)+a}}return{format:u,formatPrefix:l}}function yo(t){return ho=wo(t),fo=ho.format,go=ho.formatPrefix,ho}function mo(t){return Math.max(0,-Ja(Math.abs(t)))}function vo(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ja(e)/3)))-Ja(Math.abs(t)))}function xo(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ja(e)-Ja(t))+1}function ko(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}yo({thousands:",",grouping:[3],currency:["$",""]});const _o=Symbol("implicit");function Eo(){var t=new O,e=[],n=[],i=_o;function r(r){let a=t.get(r);if(void 0===a){if(i!==_o)return i;t.set(r,a=e.push(r)-1)}return n[a%n.length]}return r.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new O;for(const i of n)t.has(i)||t.set(i,e.push(i)-1);return r},r.range=function(t){return arguments.length?(n=Array.from(t),r):n.slice()},r.unknown=function(t){return arguments.length?(i=t,r):i},r.copy=function(){return Eo(e,n).unknown(i)},ko.apply(r,arguments),r}function To(t){return function(){return t}}function Co(t){return+t}var So=[0,1];function Ao(t){return t}function Mo(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:To(isNaN(e)?NaN:.5)}function Io(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}function Oo(t,e,n){var i=t[0],r=t[1],a=e[0],o=e[1];return r<i?(i=Mo(r,i),a=n(o,a)):(i=Mo(i,r),a=n(a,o)),function(t){return a(i(t))}}function Lo(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),a=new Array(i),o=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<i;)r[o]=Mo(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=I(t,e,1,i)-1;return a[n](r[n](e))}}function No(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Do(){var t,e,n,i,r,a,o=So,s=So,c=Bi,u=Ao;function l(){var t=Math.min(o.length,s.length);return u!==Ao&&(u=Io(o[0],o[t-1])),i=t>2?Lo:Oo,r=a=null,h}function h(e){return null==e||isNaN(e=+e)?n:(r||(r=i(o.map(t),s,c)))(t(u(e)))}return h.invert=function(n){return u(e((a||(a=i(s,o.map(t),Mi)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,Co),l()):o.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),c=ji,l()},h.clamp=function(t){return arguments.length?(u=!!t||Ao,l()):u!==Ao},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,l()}}function Po(){return Do()(Ao,Ao)}function Bo(t,e,n,i){var r,a=z(t,e,n);switch((i=ro(i??",f")).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null==i.precision&&!isNaN(r=vo(a,o))&&(i.precision=r),go(i,o);case"":case"e":case"g":case"p":case"r":null==i.precision&&!isNaN(r=xo(a,Math.max(Math.abs(t),Math.abs(e))))&&(i.precision=r-("e"===i.type));break;case"f":case"%":null==i.precision&&!isNaN(r=mo(a))&&(i.precision=r-2*("%"===i.type))}return fo(i)}function jo(t){var e=t.domain;return t.ticks=function(t){var n=e();return $(n[0],n[n.length-1],t??10)},t.tickFormat=function(t,n){var i=e();return Bo(i[0],i[i.length-1],t??10,n)},t.nice=function(n){null==n&&(n=10);var i,r,a=e(),o=0,s=a.length-1,c=a[o],u=a[s],l=10;for(u<c&&(r=c,c=u,u=r,r=o,o=s,s=r);l-- >0;){if((r=F(c,u,n))===i)return a[o]=c,a[s]=u,e(a);if(r>0)c=Math.floor(c/r)*r,u=Math.ceil(u/r)*r;else{if(!(r<0))break;c=Math.ceil(c*r)/r,u=Math.floor(u*r)/r}i=r}return t},t}function Ro(){var t=Po();return t.copy=function(){return No(t,Ro())},ko.apply(t,arguments),jo(t)}function $o(t,e){var n,i=0,r=(t=t.slice()).length-1,a=t[i],o=t[r];return o<a&&(n=i,i=r,r=n,n=a,a=o,o=n),t[i]=e.floor(a),t[r]=e.ceil(o),t}var Fo=new Date,zo=new Date;function Ho(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=function(e){return t(e=new Date(+e)),e},r.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},r.round=function(t){var e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},r.range=function(n,i,a){var o,s=[];if(n=r.ceil(n),a=null==a?1:Math.floor(a),!(n<i&&a>0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o<n&&n<i);return s},r.filter=function(n){return Ho((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););}))},n&&(r.count=function(e,i){return Fo.setTime(+e),zo.setTime(+i),t(Fo),t(zo),Math.floor(n(Fo,zo))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var Uo=Ho((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));Uo.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ho((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):Uo:null};const Go=Uo;Uo.range;const qo=1e3,Ko=60*qo,Yo=60*Ko,Wo=24*Yo,Xo=7*Wo,Vo=30*Wo,Qo=365*Wo;var Zo=Ho((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*qo)}),(function(t,e){return(e-t)/qo}),(function(t){return t.getUTCSeconds()}));const Jo=Zo;Zo.range;var ts=Ho((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qo)}),(function(t,e){t.setTime(+t+e*Ko)}),(function(t,e){return(e-t)/Ko}),(function(t){return t.getMinutes()}));const es=ts;ts.range;var ns=Ho((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qo-t.getMinutes()*Ko)}),(function(t,e){t.setTime(+t+e*Yo)}),(function(t,e){return(e-t)/Yo}),(function(t){return t.getHours()}));const is=ns;ns.range;var rs=Ho((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ko)/Wo),(t=>t.getDate()-1));const as=rs;function os(t){return Ho((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ko)/Xo}))}rs.range;var ss=os(0),cs=os(1),us=os(2),ls=os(3),hs=os(4),fs=os(5),ds=os(6);ss.range,cs.range,us.range,ls.range,hs.range,fs.range,ds.range;var gs=Ho((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const ps=gs;gs.range;var bs=Ho((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));bs.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ho((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};const ws=bs;bs.range;var ys=Ho((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*Ko)}),(function(t,e){return(e-t)/Ko}),(function(t){return t.getUTCMinutes()}));const ms=ys;ys.range;var vs=Ho((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*Yo)}),(function(t,e){return(e-t)/Yo}),(function(t){return t.getUTCHours()}));const xs=vs;vs.range;var ks=Ho((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Wo}),(function(t){return t.getUTCDate()-1}));const _s=ks;function Es(t){return Ho((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Xo}))}ks.range;var Ts=Es(0),Cs=Es(1),Ss=Es(2),As=Es(3),Ms=Es(4),Is=Es(5),Os=Es(6);Ts.range,Cs.range,Ss.range,As.range,Ms.range,Is.range,Os.range;var Ls=Ho((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}));const Ns=Ls;Ls.range;var Ds=Ho((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Ds.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ho((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};const Ps=Ds;function Bs(t,e,n,i,r,a){const o=[[Jo,1,qo],[Jo,5,5*qo],[Jo,15,15*qo],[Jo,30,30*qo],[a,1,Ko],[a,5,5*Ko],[a,15,15*Ko],[a,30,30*Ko],[r,1,Yo],[r,3,3*Yo],[r,6,6*Yo],[r,12,12*Yo],[i,1,Wo],[i,2,2*Wo],[n,1,Xo],[e,1,Vo],[e,3,3*Vo],[t,1,Qo]];function s(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"==typeof n.range?n:c(t,e,n),a=r?r.range(t,+e+1):[];return i?a.reverse():a}function c(e,n,i){const r=Math.abs(n-e)/i,a=C((([,,t])=>t)).right(o,r);if(a===o.length)return t.every(z(e/Qo,n/Qo,i));if(0===a)return Go.every(Math.max(z(e,n,i),1));const[s,c]=o[r/o[a-1][2]<o[a][2]/r?a-1:a];return s.every(c)}return[s,c]}Ds.range,Bs(Ps,Ns,Ts,_s,xs,ms);const[js,Rs]=Bs(ws,ps,ss,as,is,es);function $s(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Fs(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function zs(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Hs(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,u=Qs(r),l=Zs(r),h=Qs(a),f=Zs(a),d=Qs(o),g=Zs(o),p=Qs(s),b=Zs(s),w=Qs(c),y=Zs(c),m={a:N,A:D,b:P,B:B,c:null,d:mc,e:mc,f:Ec,g:Pc,G:jc,H:vc,I:xc,j:kc,L:_c,m:Tc,M:Cc,p:j,q:R,Q:ou,s:su,S:Sc,u:Ac,U:Mc,V:Oc,w:Lc,W:Nc,x:null,X:null,y:Dc,Y:Bc,Z:Rc,"%":au},v={a:$,A:F,b:z,B:H,c:null,d:$c,e:$c,f:Gc,g:eu,G:iu,H:Fc,I:zc,j:Hc,L:Uc,m:qc,M:Kc,p:U,q:G,Q:ou,s:su,S:Yc,u:Wc,U:Xc,V:Qc,w:Zc,W:Jc,x:null,X:null,y:tu,Y:nu,Z:ru,"%":au},x={a:C,A:S,b:A,B:M,c:I,d:uc,e:uc,f:pc,g:ac,G:rc,H:hc,I:hc,j:lc,L:gc,m:cc,M:fc,p:T,q:sc,Q:wc,s:yc,S:dc,u:tc,U:ec,V:nc,w:Js,W:ic,x:O,X:L,y:ac,Y:rc,Z:oc,"%":bc};function k(t,e){return function(n){var i,r,a,o=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(o.push(t.slice(c,s)),null!=(r=qs[i=t.charAt(++s)])?i=t.charAt(++s):r="e"===i?" ":"0",(a=e[i])&&(i=a(n,r)),o.push(i),c=s+1);return o.push(t.slice(c,s)),o.join("")}}function _(t,e){return function(n){var i,r,a=zs(1900,void 0,1);if(E(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(e&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=Fs(zs(a.y,0,1))).getUTCDay(),i=r>4||0===r?Cs.ceil(i):Cs(i),i=_s.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(r=(i=$s(zs(a.y,0,1))).getDay(),i=r>4||0===r?cs.ceil(i):cs(i),i=as.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),r="Z"in a?Fs(zs(a.y,0,1)).getUTCDay():$s(zs(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(r+5)%7:a.w+7*a.U-(r+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Fs(a)):$s(a)}}function E(t,e,n,i){for(var r,a,o=0,s=e.length,c=n.length;o<s;){if(i>=c)return-1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(a=x[r in qs?e.charAt(o++):r])||(i=a(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}function T(t,e,n){var i=u.exec(e.slice(n));return i?(t.p=l.get(i[0].toLowerCase()),n+i[0].length):-1}function C(t,e,n){var i=d.exec(e.slice(n));return i?(t.w=g.get(i[0].toLowerCase()),n+i[0].length):-1}function S(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=f.get(i[0].toLowerCase()),n+i[0].length):-1}function A(t,e,n){var i=w.exec(e.slice(n));return i?(t.m=y.get(i[0].toLowerCase()),n+i[0].length):-1}function M(t,e,n){var i=p.exec(e.slice(n));return i?(t.m=b.get(i[0].toLowerCase()),n+i[0].length):-1}function I(t,n,i){return E(t,e,n,i)}function O(t,e,i){return E(t,n,e,i)}function L(t,e,n){return E(t,i,e,n)}function N(t){return o[t.getDay()]}function D(t){return a[t.getDay()]}function P(t){return c[t.getMonth()]}function B(t){return s[t.getMonth()]}function j(t){return r[+(t.getHours()>=12)]}function R(t){return 1+~~(t.getMonth()/3)}function $(t){return o[t.getUTCDay()]}function F(t){return a[t.getUTCDay()]}function z(t){return c[t.getUTCMonth()]}function H(t){return s[t.getUTCMonth()]}function U(t){return r[+(t.getUTCHours()>=12)]}function G(t){return 1+~~(t.getUTCMonth()/3)}return m.x=k(n,m),m.X=k(i,m),m.c=k(e,m),v.x=k(n,v),v.X=k(i,v),v.c=k(e,v),{format:function(t){var e=k(t+="",m);return e.toString=function(){return t},e},parse:function(t){var e=_(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",v);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}var Us,Gs,qs={"-":"",_:" ",0:"0"},Ks=/^\s*\d+/,Ys=/^%/,Ws=/[\\^$*+?|[\]().{}]/g;function Xs(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",a=r.length;return i+(a<n?new Array(n-a+1).join(e)+r:r)}function Vs(t){return t.replace(Ws,"\\$&")}function Qs(t){return new RegExp("^(?:"+t.map(Vs).join("|")+")","i")}function Zs(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Js(t,e,n){var i=Ks.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function tc(t,e,n){var i=Ks.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function ec(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function nc(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function ic(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function rc(t,e,n){var i=Ks.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function ac(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function oc(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function sc(t,e,n){var i=Ks.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function cc(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function uc(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function lc(t,e,n){var i=Ks.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function hc(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function fc(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function dc(t,e,n){var i=Ks.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function gc(t,e,n){var i=Ks.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function pc(t,e,n){var i=Ks.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function bc(t,e,n){var i=Ys.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function wc(t,e,n){var i=Ks.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function yc(t,e,n){var i=Ks.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function mc(t,e){return Xs(t.getDate(),e,2)}function vc(t,e){return Xs(t.getHours(),e,2)}function xc(t,e){return Xs(t.getHours()%12||12,e,2)}function kc(t,e){return Xs(1+as.count(ws(t),t),e,3)}function _c(t,e){return Xs(t.getMilliseconds(),e,3)}function Ec(t,e){return _c(t,e)+"000"}function Tc(t,e){return Xs(t.getMonth()+1,e,2)}function Cc(t,e){return Xs(t.getMinutes(),e,2)}function Sc(t,e){return Xs(t.getSeconds(),e,2)}function Ac(t){var e=t.getDay();return 0===e?7:e}function Mc(t,e){return Xs(ss.count(ws(t)-1,t),e,2)}function Ic(t){var e=t.getDay();return e>=4||0===e?hs(t):hs.ceil(t)}function Oc(t,e){return t=Ic(t),Xs(hs.count(ws(t),t)+(4===ws(t).getDay()),e,2)}function Lc(t){return t.getDay()}function Nc(t,e){return Xs(cs.count(ws(t)-1,t),e,2)}function Dc(t,e){return Xs(t.getFullYear()%100,e,2)}function Pc(t,e){return Xs((t=Ic(t)).getFullYear()%100,e,2)}function Bc(t,e){return Xs(t.getFullYear()%1e4,e,4)}function jc(t,e){var n=t.getDay();return Xs((t=n>=4||0===n?hs(t):hs.ceil(t)).getFullYear()%1e4,e,4)}function Rc(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Xs(e/60|0,"0",2)+Xs(e%60,"0",2)}function $c(t,e){return Xs(t.getUTCDate(),e,2)}function Fc(t,e){return Xs(t.getUTCHours(),e,2)}function zc(t,e){return Xs(t.getUTCHours()%12||12,e,2)}function Hc(t,e){return Xs(1+_s.count(Ps(t),t),e,3)}function Uc(t,e){return Xs(t.getUTCMilliseconds(),e,3)}function Gc(t,e){return Uc(t,e)+"000"}function qc(t,e){return Xs(t.getUTCMonth()+1,e,2)}function Kc(t,e){return Xs(t.getUTCMinutes(),e,2)}function Yc(t,e){return Xs(t.getUTCSeconds(),e,2)}function Wc(t){var e=t.getUTCDay();return 0===e?7:e}function Xc(t,e){return Xs(Ts.count(Ps(t)-1,t),e,2)}function Vc(t){var e=t.getUTCDay();return e>=4||0===e?Ms(t):Ms.ceil(t)}function Qc(t,e){return t=Vc(t),Xs(Ms.count(Ps(t),t)+(4===Ps(t).getUTCDay()),e,2)}function Zc(t){return t.getUTCDay()}function Jc(t,e){return Xs(Cs.count(Ps(t)-1,t),e,2)}function tu(t,e){return Xs(t.getUTCFullYear()%100,e,2)}function eu(t,e){return Xs((t=Vc(t)).getUTCFullYear()%100,e,2)}function nu(t,e){return Xs(t.getUTCFullYear()%1e4,e,4)}function iu(t,e){var n=t.getUTCDay();return Xs((t=n>=4||0===n?Ms(t):Ms.ceil(t)).getUTCFullYear()%1e4,e,4)}function ru(){return"+0000"}function au(){return"%"}function ou(t){return+t}function su(t){return Math.floor(+t/1e3)}function cu(t){return Us=Hs(t),Gs=Us.format,Us.parse,Us.utcFormat,Us.utcParse,Us}function uu(t){return new Date(t)}function lu(t){return t instanceof Date?+t:+new Date(+t)}function hu(t,e,n,i,r,a,o,s,c,u){var l=Po(),h=l.invert,f=l.domain,d=u(".%L"),g=u(":%S"),p=u("%I:%M"),b=u("%I %p"),w=u("%a %d"),y=u("%b %d"),m=u("%B"),v=u("%Y");function x(t){return(c(t)<t?d:s(t)<t?g:o(t)<t?p:a(t)<t?b:i(t)<t?r(t)<t?w:y:n(t)<t?m:v)(t)}return l.invert=function(t){return new Date(h(t))},l.domain=function(t){return arguments.length?f(Array.from(t,lu)):f().map(uu)},l.ticks=function(e){var n=f();return t(n[0],n[n.length-1],e??10)},l.tickFormat=function(t,e){return null==e?x:u(e)},l.nice=function(t){var n=f();return(!t||"function"!=typeof t.range)&&(t=e(n[0],n[n.length-1],t??10)),t?f($o(n,t)):l},l.copy=function(){return No(l,hu(t,e,n,i,r,a,o,s,c,u))},l}function fu(){return ko.apply(hu(js,Rs,ws,ps,ss,as,is,es,Jo,Gs).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function du(t){return function(){return t}}cu({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const gu=Math.abs,pu=Math.atan2,bu=Math.cos,wu=Math.max,yu=Math.min,mu=Math.sin,vu=Math.sqrt,xu=1e-12,ku=Math.PI,_u=ku/2,Eu=2*ku;function Tu(t){return t>1?0:t<-1?ku:Math.acos(t)}function Cu(t){return t>=1?_u:t<=-1?-_u:Math.asin(t)}function Su(t){return t.innerRadius}function Au(t){return t.outerRadius}function Mu(t){return t.startAngle}function Iu(t){return t.endAngle}function Ou(t){return t&&t.padAngle}function Lu(t,e,n,i,r,a,o,s){var c=n-t,u=i-e,l=o-r,h=s-a,f=h*c-l*u;if(!(f*f<xu))return[t+(f=(l*(e-a)-h*(t-r))/f)*c,e+f*u]}function Nu(t,e,n,i,r,a,o){var s=t-n,c=e-i,u=(o?a:-a)/vu(s*s+c*c),l=u*c,h=-u*s,f=t+l,d=e+h,g=n+l,p=i+h,b=(f+g)/2,w=(d+p)/2,y=g-f,m=p-d,v=y*y+m*m,x=r-a,k=f*p-g*d,_=(m<0?-1:1)*vu(wu(0,x*x*v-k*k)),E=(k*m-y*_)/v,T=(-k*y-m*_)/v,C=(k*m+y*_)/v,S=(-k*y+m*_)/v,A=E-b,M=T-w,I=C-b,O=S-w;return A*A+M*M>I*I+O*O&&(E=C,T=S),{cx:E,cy:T,x01:-l,y01:-h,x11:E*(r/x-1),y11:T*(r/x-1)}}function Du(){var t=Su,e=Au,n=du(0),i=null,r=Mu,a=Iu,o=Ou,s=null;function c(){var c,u,l=+t.apply(this,arguments),h=+e.apply(this,arguments),f=r.apply(this,arguments)-_u,d=a.apply(this,arguments)-_u,g=gu(d-f),p=d>f;if(s||(s=c=Ka()),h<l&&(u=h,h=l,l=u),h>xu)if(g>Eu-xu)s.moveTo(h*bu(f),h*mu(f)),s.arc(0,0,h,f,d,!p),l>xu&&(s.moveTo(l*bu(d),l*mu(d)),s.arc(0,0,l,d,f,p));else{var b,w,y=f,m=d,v=f,x=d,k=g,_=g,E=o.apply(this,arguments)/2,T=E>xu&&(i?+i.apply(this,arguments):vu(l*l+h*h)),C=yu(gu(h-l)/2,+n.apply(this,arguments)),S=C,A=C;if(T>xu){var M=Cu(T/l*mu(E)),I=Cu(T/h*mu(E));(k-=2*M)>xu?(v+=M*=p?1:-1,x-=M):(k=0,v=x=(f+d)/2),(_-=2*I)>xu?(y+=I*=p?1:-1,m-=I):(_=0,y=m=(f+d)/2)}var O=h*bu(y),L=h*mu(y),N=l*bu(x),D=l*mu(x);if(C>xu){var P,B=h*bu(m),j=h*mu(m),R=l*bu(v),$=l*mu(v);if(g<ku&&(P=Lu(O,L,R,$,B,j,N,D))){var F=O-P[0],z=L-P[1],H=B-P[0],U=j-P[1],G=1/mu(Tu((F*H+z*U)/(vu(F*F+z*z)*vu(H*H+U*U)))/2),q=vu(P[0]*P[0]+P[1]*P[1]);S=yu(C,(l-q)/(G-1)),A=yu(C,(h-q)/(G+1))}}_>xu?A>xu?(b=Nu(R,$,O,L,h,A,p),w=Nu(B,j,N,D,h,A,p),s.moveTo(b.cx+b.x01,b.cy+b.y01),A<C?s.arc(b.cx,b.cy,A,pu(b.y01,b.x01),pu(w.y01,w.x01),!p):(s.arc(b.cx,b.cy,A,pu(b.y01,b.x01),pu(b.y11,b.x11),!p),s.arc(0,0,h,pu(b.cy+b.y11,b.cx+b.x11),pu(w.cy+w.y11,w.cx+w.x11),!p),s.arc(w.cx,w.cy,A,pu(w.y11,w.x11),pu(w.y01,w.x01),!p))):(s.moveTo(O,L),s.arc(0,0,h,y,m,!p)):s.moveTo(O,L),l>xu&&k>xu?S>xu?(b=Nu(N,D,B,j,l,-S,p),w=Nu(O,L,R,$,l,-S,p),s.lineTo(b.cx+b.x01,b.cy+b.y01),S<C?s.arc(b.cx,b.cy,S,pu(b.y01,b.x01),pu(w.y01,w.x01),!p):(s.arc(b.cx,b.cy,S,pu(b.y01,b.x01),pu(b.y11,b.x11),!p),s.arc(0,0,l,pu(b.cy+b.y11,b.cx+b.x11),pu(w.cy+w.y11,w.cx+w.x11),p),s.arc(w.cx,w.cy,S,pu(w.y11,w.x11),pu(w.y01,w.x01),!p))):s.arc(0,0,l,x,v,p):s.lineTo(N,D)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+r.apply(this,arguments)+ +a.apply(this,arguments))/2-ku/2;return[bu(i)*n,mu(i)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:du(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:du(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:du(+t),c):n},c.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:du(+t),c):i},c.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:du(+t),c):r},c.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:du(+t),c):a},c.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:du(+t),c):o},c.context=function(t){return arguments.length?(s=t??null,c):s},c}function Pu(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Bu(t){this._context=t}function ju(t){return new Bu(t)}function Ru(t){return t[0]}function $u(t){return t[1]}function Fu(t,e){var n=du(!0),i=null,r=ju,a=null;function o(o){var s,c,u,l=(o=Pu(o)).length,h=!1;for(null==i&&(a=r(u=Ka())),s=0;s<=l;++s)!(s<l&&n(c=o[s],s,o))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+t(c,s,o),+e(c,s,o));if(u)return a=null,u+""||null}return t="function"==typeof t?t:void 0===t?Ru:du(t),e="function"==typeof e?e:void 0===e?$u:du(e),o.x=function(e){return arguments.length?(t="function"==typeof e?e:du(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:du(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:du(!!t),o):n},o.curve=function(t){return arguments.length?(r=t,null!=i&&(a=r(i)),o):r},o.context=function(t){return arguments.length?(null==t?i=a=null:a=r(i=t),o):i},o}function zu(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function Hu(t){return t}function Uu(){var t=Hu,e=zu,n=null,i=du(0),r=du(Eu),a=du(0);function o(o){var s,c,u,l,h,f=(o=Pu(o)).length,d=0,g=new Array(f),p=new Array(f),b=+i.apply(this,arguments),w=Math.min(Eu,Math.max(-Eu,r.apply(this,arguments)-b)),y=Math.min(Math.abs(w)/f,a.apply(this,arguments)),m=y*(w<0?-1:1);for(s=0;s<f;++s)(h=p[g[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?g.sort((function(t,n){return e(p[t],p[n])})):null!=n&&g.sort((function(t,e){return n(o[t],o[e])})),s=0,u=d?(w-f*m)/d:0;s<f;++s,b=l)c=g[s],l=b+((h=p[c])>0?h*u:0)+m,p[c]={data:o[c],index:s,value:h,startAngle:b,endAngle:l,padAngle:y};return p}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:du(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:du(+t),o):i},o.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:du(+t),o):r},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:du(+t),o):a},o}Bu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};class Gu{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function qu(t){return new Gu(t,!0)}function Ku(t){return new Gu(t,!1)}function Yu(){}function Wu(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Xu(t){this._context=t}function Vu(t){return new Xu(t)}function Qu(t){this._context=t}function Zu(t){return new Qu(t)}function Ju(t){this._context=t}function tl(t){return new Ju(t)}function el(t,e){this._basis=new Xu(t),this._beta=e}Xu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Wu(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Wu(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Qu.prototype={areaStart:Yu,areaEnd:Yu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Wu(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Ju.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:Wu(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},el.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var i,r=t[0],a=e[0],o=t[n]-r,s=e[n]-a,c=-1;++c<=n;)i=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(r+i*o),this._beta*e[c]+(1-this._beta)*(a+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const nl=function t(e){function n(t){return 1===e?new Xu(t):new el(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function il(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function rl(t,e){this._context=t,this._k=(1-e)/6}rl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:il(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:il(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const al=function t(e){function n(t){return new rl(t,e)}return n.tension=function(e){return t(+e)},n}(0);function ol(t,e){this._context=t,this._k=(1-e)/6}ol.prototype={areaStart:Yu,areaEnd:Yu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:il(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const sl=function t(e){function n(t){return new ol(t,e)}return n.tension=function(e){return t(+e)},n}(0);function cl(t,e){this._context=t,this._k=(1-e)/6}cl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:il(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const ul=function t(e){function n(t){return new cl(t,e)}return n.tension=function(e){return t(+e)},n}(0);function ll(t,e,n){var i=t._x1,r=t._y1,a=t._x2,o=t._y2;if(t._l01_a>xu){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>xu){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/l,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(i,r,a,o,t._x2,t._y2)}function hl(t,e){this._context=t,this._alpha=e}hl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:ll(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const fl=function t(e){function n(t){return e?new hl(t,e):new rl(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function dl(t,e){this._context=t,this._alpha=e}dl.prototype={areaStart:Yu,areaEnd:Yu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ll(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const gl=function t(e){function n(t){return e?new dl(t,e):new ol(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function pl(t,e){this._context=t,this._alpha=e}pl.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ll(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const bl=function t(e){function n(t){return e?new pl(t,e):new cl(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function wl(t){this._context=t}function yl(t){return new wl(t)}function ml(t){return t<0?-1:1}function vl(t,e,n){var i=t._x1-t._x0,r=e-t._x1,a=(t._y1-t._y0)/(i||r<0&&-0),o=(n-t._y1)/(r||i<0&&-0),s=(a*r+o*i)/(i+r);return(ml(a)+ml(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function xl(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function kl(t,e,n){var i=t._x0,r=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,r+s*e,a-s,o-s*n,a,o)}function _l(t){this._context=t}function El(t){this._context=new Tl(t)}function Tl(t){this._context=t}function Cl(t){return new _l(t)}function Sl(t){return new El(t)}function Al(t){this._context=t}function Ml(t){var e,n,i=t.length-1,r=new Array(i),a=new Array(i),o=new Array(i);for(r[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<i-1;++e)r[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(r[i-1]=2,a[i-1]=7,o[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=r[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(r[i-1]=o[i-1]/a[i-1],e=i-2;e>=0;--e)r[e]=(o[e]-r[e+1])/a[e];for(a[i-1]=(t[i]+r[i-1])/2,e=0;e<i-1;++e)a[e]=2*t[e+1]-r[e+1];return[r,a]}function Il(t){return new Al(t)}function Ol(t,e){this._context=t,this._t=e}function Ll(t){return new Ol(t,.5)}function Nl(t){return new Ol(t,0)}function Dl(t){return new Ol(t,1)}function Pl(t,e,n){this.k=t,this.x=e,this.y=n}function Bl(t){return(Bl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},jl(t,e)}function Rl(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}function $l(t,e,n){return($l=Rl()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&jl(r,n.prototype),r}).apply(null,arguments)}function Fl(t){return zl(t)||Hl(t)||Ul(t)||ql()}function zl(t){if(Array.isArray(t))return Gl(t)}function Hl(t){if(typeof Symbol<"u"&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Ul(t,e){if(t){if("string"==typeof t)return Gl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gl(t,e)}}function Gl(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ql(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}wl.prototype={areaStart:Yu,areaEnd:Yu,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},_l.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:kl(this,this._t0,xl(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,kl(this,xl(this,n=vl(this,t,e)),n);break;default:kl(this,this._t0,n=vl(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(El.prototype=Object.create(_l.prototype)).point=function(t,e){_l.prototype.point.call(this,e,t)},Tl.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,r,a){this._context.bezierCurveTo(e,t,i,n,a,r)}},Al.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var i=Ml(t),r=Ml(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(i[0][a],r[0][a],i[1][a],r[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Ol.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},Pl.prototype={constructor:Pl,scale:function(t){return 1===t?this:new Pl(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Pl(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},Pl.prototype;var Kl=Object.hasOwnProperty,Yl=Object.setPrototypeOf,Wl=Object.isFrozen,Xl=Object.getPrototypeOf,Vl=Object.getOwnPropertyDescriptor,Ql=Object.freeze,Zl=Object.seal,Jl=Object.create,th=typeof Reflect<"u"&&Reflect,eh=th.apply,nh=th.construct;eh||(eh=function(t,e,n){return t.apply(e,n)}),Ql||(Ql=function(t){return t}),Zl||(Zl=function(t){return t}),nh||(nh=function(t,e){return $l(t,Fl(e))});var ih=gh(Array.prototype.forEach),rh=gh(Array.prototype.pop),ah=gh(Array.prototype.push),oh=gh(String.prototype.toLowerCase),sh=gh(String.prototype.toString),ch=gh(String.prototype.match),uh=gh(String.prototype.replace),lh=gh(String.prototype.indexOf),hh=gh(String.prototype.trim),fh=gh(RegExp.prototype.test),dh=ph(TypeError);function gh(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return eh(t,e,i)}}function ph(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return nh(t,n)}}function bh(t,e,n){n=n||oh,Yl&&Yl(t,null);for(var i=e.length;i--;){var r=e[i];if("string"==typeof r){var a=n(r);a!==r&&(Wl(e)||(e[i]=a),r=a)}t[r]=!0}return t}function wh(t){var e,n=Jl(null);for(e in t)!0===eh(Kl,t,[e])&&(n[e]=t[e]);return n}function yh(t,e){for(;null!==t;){var n=Vl(t,e);if(n){if(n.get)return gh(n.get);if("function"==typeof n.value)return gh(n.value)}t=Xl(t)}function i(t){return console.warn("fallback value for",t),null}return i}var mh=Ql(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),vh=Ql(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),xh=Ql(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),kh=Ql(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),_h=Ql(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Eh=Ql(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Th=Ql(["#text"]),Ch=Ql(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Sh=Ql(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ah=Ql(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Mh=Ql(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ih=Zl(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Oh=Zl(/<%[\w\W]*|[\w\W]*%>/gm),Lh=Zl(/\${[\w\W]*}/gm),Nh=Zl(/^data-[\-\w.\u00B7-\uFFFF]/),Dh=Zl(/^aria-[\-\w]+$/),Ph=Zl(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Bh=Zl(/^(?:\w+script|data):/i),jh=Zl(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Rh=Zl(/^html$/i),$h=function(){return typeof window>"u"?null:window},Fh=function(t,e){if("object"!==Bl(t)||"function"!=typeof t.createPolicy)return null;var n=null,i="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(i)&&(n=e.currentScript.getAttribute(i));var r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function zh(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:$h(),e=function(t){return zh(t)};if(e.version="2.4.3",e.removed=[],!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var n=t.document,i=t.document,r=t.DocumentFragment,a=t.HTMLTemplateElement,o=t.Node,s=t.Element,c=t.NodeFilter,u=t.NamedNodeMap,l=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,h=t.HTMLFormElement,f=t.DOMParser,d=t.trustedTypes,g=s.prototype,p=yh(g,"cloneNode"),b=yh(g,"nextSibling"),w=yh(g,"childNodes"),y=yh(g,"parentNode");if("function"==typeof a){var m=i.createElement("template");m.content&&m.content.ownerDocument&&(i=m.content.ownerDocument)}var v=Fh(d,n),x=v?v.createHTML(""):"",k=i,_=k.implementation,E=k.createNodeIterator,T=k.createDocumentFragment,C=k.getElementsByTagName,S=n.importNode,A={};try{A=wh(i).documentMode?i.documentMode:{}}catch{}var M={};e.isSupported="function"==typeof y&&_&&typeof _.createHTMLDocument<"u"&&9!==A;var I,O,L=Ih,N=Oh,D=Lh,P=Nh,B=Dh,j=Bh,R=jh,$=Ph,F=null,z=bh({},[].concat(Fl(mh),Fl(vh),Fl(xh),Fl(_h),Fl(Th))),H=null,U=bh({},[].concat(Fl(Ch),Fl(Sh),Fl(Ah),Fl(Mh))),G=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,K=null,Y=!0,W=!0,X=!1,V=!1,Q=!1,Z=!1,J=!1,tt=!1,et=!1,nt=!1,it=!0,rt=!1,at="user-content-",ot=!0,st=!1,ct={},ut=null,lt=bh({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ht=null,ft=bh({},["audio","video","img","source","image","track"]),dt=null,gt=bh({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pt="http://www.w3.org/1998/Math/MathML",bt="http://www.w3.org/2000/svg",wt="http://www.w3.org/1999/xhtml",yt=wt,mt=!1,vt=null,xt=bh({},[pt,bt,wt],sh),kt=["application/xhtml+xml","text/html"],_t="text/html",Et=null,Tt=i.createElement("form"),Ct=function(t){return t instanceof RegExp||t instanceof Function},St=function(t){Et&&Et===t||((!t||"object"!==Bl(t))&&(t={}),t=wh(t),I=I=-1===kt.indexOf(t.PARSER_MEDIA_TYPE)?_t:t.PARSER_MEDIA_TYPE,O="application/xhtml+xml"===I?sh:oh,F="ALLOWED_TAGS"in t?bh({},t.ALLOWED_TAGS,O):z,H="ALLOWED_ATTR"in t?bh({},t.ALLOWED_ATTR,O):U,vt="ALLOWED_NAMESPACES"in t?bh({},t.ALLOWED_NAMESPACES,sh):xt,dt="ADD_URI_SAFE_ATTR"in t?bh(wh(gt),t.ADD_URI_SAFE_ATTR,O):gt,ht="ADD_DATA_URI_TAGS"in t?bh(wh(ft),t.ADD_DATA_URI_TAGS,O):ft,ut="FORBID_CONTENTS"in t?bh({},t.FORBID_CONTENTS,O):lt,q="FORBID_TAGS"in t?bh({},t.FORBID_TAGS,O):{},K="FORBID_ATTR"in t?bh({},t.FORBID_ATTR,O):{},ct="USE_PROFILES"in t&&t.USE_PROFILES,Y=!1!==t.ALLOW_ARIA_ATTR,W=!1!==t.ALLOW_DATA_ATTR,X=t.ALLOW_UNKNOWN_PROTOCOLS||!1,V=t.SAFE_FOR_TEMPLATES||!1,Q=t.WHOLE_DOCUMENT||!1,tt=t.RETURN_DOM||!1,et=t.RETURN_DOM_FRAGMENT||!1,nt=t.RETURN_TRUSTED_TYPE||!1,J=t.FORCE_BODY||!1,it=!1!==t.SANITIZE_DOM,rt=t.SANITIZE_NAMED_PROPS||!1,ot=!1!==t.KEEP_CONTENT,st=t.IN_PLACE||!1,$=t.ALLOWED_URI_REGEXP||$,yt=t.NAMESPACE||wt,t.CUSTOM_ELEMENT_HANDLING&&Ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(G.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&Ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(G.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(G.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),V&&(W=!1),et&&(tt=!0),ct&&(F=bh({},Fl(Th)),H=[],!0===ct.html&&(bh(F,mh),bh(H,Ch)),!0===ct.svg&&(bh(F,vh),bh(H,Sh),bh(H,Mh)),!0===ct.svgFilters&&(bh(F,xh),bh(H,Sh),bh(H,Mh)),!0===ct.mathMl&&(bh(F,_h),bh(H,Ah),bh(H,Mh))),t.ADD_TAGS&&(F===z&&(F=wh(F)),bh(F,t.ADD_TAGS,O)),t.ADD_ATTR&&(H===U&&(H=wh(H)),bh(H,t.ADD_ATTR,O)),t.ADD_URI_SAFE_ATTR&&bh(dt,t.ADD_URI_SAFE_ATTR,O),t.FORBID_CONTENTS&&(ut===lt&&(ut=wh(ut)),bh(ut,t.FORBID_CONTENTS,O)),ot&&(F["#text"]=!0),Q&&bh(F,["html","head","body"]),F.table&&(bh(F,["tbody"]),delete q.tbody),Ql&&Ql(t),Et=t)},At=bh({},["mi","mo","mn","ms","mtext"]),Mt=bh({},["foreignobject","desc","title","annotation-xml"]),It=bh({},["title","style","font","a","script"]),Ot=bh({},vh);bh(Ot,xh),bh(Ot,kh);var Lt=bh({},_h);bh(Lt,Eh);var Nt=function(t){var e=y(t);(!e||!e.tagName)&&(e={namespaceURI:yt,tagName:"template"});var n=oh(t.tagName),i=oh(e.tagName);return!!vt[t.namespaceURI]&&(t.namespaceURI===bt?e.namespaceURI===wt?"svg"===n:e.namespaceURI===pt?"svg"===n&&("annotation-xml"===i||At[i]):Boolean(Ot[n]):t.namespaceURI===pt?e.namespaceURI===wt?"math"===n:e.namespaceURI===bt?"math"===n&&Mt[i]:Boolean(Lt[n]):t.namespaceURI===wt?!(e.namespaceURI===bt&&!Mt[i]||e.namespaceURI===pt&&!At[i])&&!Lt[n]&&(It[n]||!Ot[n]):!("application/xhtml+xml"!==I||!vt[t.namespaceURI]))},Dt=function(t){ah(e.removed,{element:t});try{t.parentNode.removeChild(t)}catch{try{t.outerHTML=x}catch{t.remove()}}},Pt=function(t,n){try{ah(e.removed,{attribute:n.getAttributeNode(t),from:n})}catch{ah(e.removed,{attribute:null,from:n})}if(n.removeAttribute(t),"is"===t&&!H[t])if(tt||et)try{Dt(n)}catch{}else try{n.setAttribute(t,"")}catch{}},Bt=function(t){var e,n;if(J)t="<remove></remove>"+t;else{var r=ch(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===I&&yt===wt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var a=v?v.createHTML(t):t;if(yt===wt)try{e=(new f).parseFromString(a,I)}catch{}if(!e||!e.documentElement){e=_.createDocument(yt,"template",null);try{e.documentElement.innerHTML=mt?x:a}catch{}}var o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),yt===wt?C.call(e,Q?"html":"body")[0]:Q?e.documentElement:o},jt=function(t){return E.call(t.ownerDocument||t,t,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},Rt=function(t){return t instanceof h&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof l)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},$t=function(t){return"object"===Bl(o)?t instanceof o:t&&"object"===Bl(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Ft=function(t,n,i){M[t]&&ih(M[t],(function(t){t.call(e,n,i,Et)}))},zt=function(t){var n;if(Ft("beforeSanitizeElements",t,null),Rt(t)||fh(/[\u0080-\uFFFF]/,t.nodeName))return Dt(t),!0;var i=O(t.nodeName);if(Ft("uponSanitizeElement",t,{tagName:i,allowedTags:F}),t.hasChildNodes()&&!$t(t.firstElementChild)&&(!$t(t.content)||!$t(t.content.firstElementChild))&&fh(/<[/\w]/g,t.innerHTML)&&fh(/<[/\w]/g,t.textContent)||"select"===i&&fh(/<template/i,t.innerHTML))return Dt(t),!0;if(!F[i]||q[i]){if(!q[i]&&Ut(i)&&(G.tagNameCheck instanceof RegExp&&fh(G.tagNameCheck,i)||G.tagNameCheck instanceof Function&&G.tagNameCheck(i)))return!1;if(ot&&!ut[i]){var r=y(t)||t.parentNode,a=w(t)||t.childNodes;if(a&&r)for(var o=a.length-1;o>=0;--o)r.insertBefore(p(a[o],!0),b(t))}return Dt(t),!0}return t instanceof s&&!Nt(t)||("noscript"===i||"noembed"===i)&&fh(/<\/no(script|embed)/i,t.innerHTML)?(Dt(t),!0):(V&&3===t.nodeType&&(n=t.textContent,n=uh(n,L," "),n=uh(n,N," "),n=uh(n,D," "),t.textContent!==n&&(ah(e.removed,{element:t.cloneNode()}),t.textContent=n)),Ft("afterSanitizeElements",t,null),!1)},Ht=function(t,e,n){if(it&&("id"===e||"name"===e)&&(n in i||n in Tt))return!1;if((!W||K[e]||!fh(P,e))&&(!Y||!fh(B,e)))if(!H[e]||K[e]){if(!(Ut(t)&&(G.tagNameCheck instanceof RegExp&&fh(G.tagNameCheck,t)||G.tagNameCheck instanceof Function&&G.tagNameCheck(t))&&(G.attributeNameCheck instanceof RegExp&&fh(G.attributeNameCheck,e)||G.attributeNameCheck instanceof Function&&G.attributeNameCheck(e))||"is"===e&&G.allowCustomizedBuiltInElements&&(G.tagNameCheck instanceof RegExp&&fh(G.tagNameCheck,n)||G.tagNameCheck instanceof Function&&G.tagNameCheck(n))))return!1}else if(!dt[e]&&!fh($,uh(n,R,""))&&("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==lh(n,"data:")||!ht[t])&&(!X||fh(j,uh(n,R,"")))&&n)return!1;return!0},Ut=function(t){return t.indexOf("-")>0},Gt=function(t){var n,i,r,a;Ft("beforeSanitizeAttributes",t,null);var o=t.attributes;if(o){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(a=o.length;a--;){var c=n=o[a],u=c.name,l=c.namespaceURI;if(i="value"===u?n.value:hh(n.value),r=O(u),s.attrName=r,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,Ft("uponSanitizeAttribute",t,s),i=s.attrValue,!s.forceKeepAttr&&(Pt(u,t),s.keepAttr)){if(fh(/\/>/i,i)){Pt(u,t);continue}V&&(i=uh(i,L," "),i=uh(i,N," "),i=uh(i,D," "));var h=O(t.nodeName);if(Ht(h,r,i)){if(rt&&("id"===r||"name"===r)&&(Pt(u,t),i=at+i),v&&"object"===Bl(d)&&"function"==typeof d.getAttributeType&&!l)switch(d.getAttributeType(h,r)){case"TrustedHTML":i=v.createHTML(i);break;case"TrustedScriptURL":i=v.createScriptURL(i)}try{l?t.setAttributeNS(l,u,i):t.setAttribute(u,i),rh(e.removed)}catch{}}}}Ft("afterSanitizeAttributes",t,null)}},qt=function t(e){var n,i=jt(e);for(Ft("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)Ft("uponSanitizeShadowNode",n,null),!zt(n)&&(n.content instanceof r&&t(n.content),Gt(n));Ft("afterSanitizeShadowDOM",e,null)};return e.sanitize=function(i){var a,s,c,u,l,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((mt=!i)&&(i="\x3c!--\x3e"),"string"!=typeof i&&!$t(i)){if("function"!=typeof i.toString)throw dh("toString is not a function");if("string"!=typeof(i=i.toString()))throw dh("dirty is not a string, aborting")}if(!e.isSupported){if("object"===Bl(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof i)return t.toStaticHTML(i);if($t(i))return t.toStaticHTML(i.outerHTML)}return i}if(Z||St(h),e.removed=[],"string"==typeof i&&(st=!1),st){if(i.nodeName){var f=O(i.nodeName);if(!F[f]||q[f])throw dh("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof o)1===(s=(a=Bt("\x3c!----\x3e")).ownerDocument.importNode(i,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else{if(!tt&&!V&&!Q&&-1===i.indexOf("<"))return v&&nt?v.createHTML(i):i;if(!(a=Bt(i)))return tt?null:nt?x:""}a&&J&&Dt(a.firstChild);for(var d=jt(st?i:a);c=d.nextNode();)3===c.nodeType&&c===u||zt(c)||(c.content instanceof r&&qt(c.content),Gt(c),u=c);if(u=null,st)return i;if(tt){if(et)for(l=T.call(a.ownerDocument);a.firstChild;)l.appendChild(a.firstChild);else l=a;return H.shadowroot&&(l=S.call(n,l,!0)),l}var g=Q?a.outerHTML:a.innerHTML;return Q&&F["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&fh(Rh,a.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+g),V&&(g=uh(g,L," "),g=uh(g,N," "),g=uh(g,D," ")),v&&nt?v.createHTML(g):g},e.setConfig=function(t){St(t),Z=!0},e.clearConfig=function(){Et=null,Z=!1},e.isValidAttribute=function(t,e,n){Et||St({});var i=O(t),r=O(e);return Ht(i,r,n)},e.addHook=function(t,e){"function"==typeof e&&(M[t]=M[t]||[],ah(M[t],e))},e.removeHook=function(t){if(M[t])return rh(M[t])},e.removeHooks=function(t){M[t]&&(M[t]=[])},e.removeAllHooks=function(){M={}},e}var Hh=zh();const Uh=t=>t?Vh(t).replace(/\\n/g,"#br#").split("#br#"):[""],Gh=t=>Hh.sanitize(t),qh=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=Gh(t):"loose"!==n&&(t=(t=(t=Vh(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=Xh(t))}return t},Kh=(t,e)=>t&&(t=e.dompurifyConfig?Hh.sanitize(qh(t,e),e.dompurifyConfig).toString():Hh.sanitize(qh(t,e),{FORBID_TAGS:["style"]}).toString()),Yh=(t,e)=>"string"==typeof t?Kh(t,e):t.flat().map((t=>Kh(t,e))),Wh=/<br\s*\/?>/gi,Xh=t=>t.replace(/#br#/g,"<br/>"),Vh=t=>t.replace(Wh,"#br#"),Qh=t=>!(!1===t||["false","null","0"].includes(String(t).trim().toLowerCase())),Zh=function(t){let e=t;if(t.split("~").length-1>=2){let t=e;do{e=t,t=e.replace(/~([^\s,:;]+)~/,"<$1>")}while(t!=e);return Zh(t)}return e},Jh={getRows:Uh,sanitizeText:Kh,sanitizeTextOrArray:Yh,hasBreaks:t=>Wh.test(t),splitBreaks:t=>t.split(Wh),lineBreakRegex:Wh,removeScript:Gh,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:Qh},tf={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100;const r=(n/=100)<.5?n*(1+e):n+e-n*e,a=2*n-r;switch(i){case"r":return 255*tf.hue2rgb(a,r,t+1/3);case"g":return 255*tf.hue2rgb(a,r,t);case"b":return 255*tf.hue2rgb(a,r,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},i)=>{t/=255,e/=255,n/=255;const r=Math.max(t,e,n),a=Math.min(t,e,n),o=(r+a)/2;if("l"===i)return 100*o;if(r===a)return 0;const s=r-a;if("s"===i)return 100*(o>.5?s/(2-r-a):s/(r+a));switch(r){case t:return 60*((e-n)/s+(e<n?6:0));case e:return 60*((n-t)/s+2);case n:return 60*((t-e)/s+4);default:return-1}}},ef={channel:tf,lang:{clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}},nf={};for(let t=0;t<=255;t++)nf[t]=ef.unit.dec2hex(t);const rf={ALL:0,RGB:1,HSL:2};class af{constructor(){this.type=rf.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=rf.ALL}is(t){return this.type===t}}const of=af;class sf{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new of}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=rf.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=ef.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=ef.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=ef.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=ef.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=ef.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=ef.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(rf.HSL)||void 0===e?(this._ensureHSL(),ef.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(rf.HSL)||void 0===e?(this._ensureHSL(),ef.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(rf.HSL)||void 0===e?(this._ensureHSL(),ef.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(rf.RGB)||void 0===e?(this._ensureRGB(),ef.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(rf.RGB)||void 0===e?(this._ensureRGB(),ef.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(rf.RGB)||void 0===e?(this._ensureRGB(),ef.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(rf.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(rf.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(rf.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(rf.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(rf.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(rf.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}const cf=new sf({r:0,g:0,b:0,a:0},"transparent"),uf={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(uf.re);if(!e)return;const n=e[1],i=parseInt(n,16),r=n.length,a=r%4==0,o=r>4,s=o?1:17,c=o?8:4,u=a?0:-1,l=o?255:15;return cf.set({r:(i>>c*(u+3)&l)*s,g:(i>>c*(u+2)&l)*s,b:(i>>c*(u+1)&l)*s,a:a?(i&l)*s/255:1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`#${nf[Math.round(e)]}${nf[Math.round(n)]}${nf[Math.round(i)]}${nf[Math.round(255*r)]}`:`#${nf[Math.round(e)]}${nf[Math.round(n)]}${nf[Math.round(i)]}`}},lf=uf,hf={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(hf.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return ef.channel.clamp.h(.9*parseFloat(t));case"rad":return ef.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return ef.channel.clamp.h(360*parseFloat(t))}}return ef.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(hf.re);if(!n)return;const[,i,r,a,o,s]=n;return cf.set({h:hf._hue2deg(i),s:ef.channel.clamp.s(parseFloat(r)),l:ef.channel.clamp.l(parseFloat(a)),a:o?ef.channel.clamp.a(s?parseFloat(o)/100:parseFloat(o)):1},t)},stringify:t=>{const{h:e,s:n,l:i,a:r}=t;return r<1?`hsla(${ef.lang.round(e)}, ${ef.lang.round(n)}%, ${ef.lang.round(i)}%, ${r})`:`hsl(${ef.lang.round(e)}, ${ef.lang.round(n)}%, ${ef.lang.round(i)}%)`}},ff=hf,df={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=df.colors[t];if(e)return lf.parse(e)},stringify:t=>{const e=lf.stringify(t);for(const n in df.colors)if(df.colors[n]===e)return n}},gf=df,pf={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(pf.re);if(!n)return;const[,i,r,a,o,s,c,u,l]=n;return cf.set({r:ef.channel.clamp.r(r?2.55*parseFloat(i):parseFloat(i)),g:ef.channel.clamp.g(o?2.55*parseFloat(a):parseFloat(a)),b:ef.channel.clamp.b(c?2.55*parseFloat(s):parseFloat(s)),a:u?ef.channel.clamp.a(l?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`rgba(${ef.lang.round(e)}, ${ef.lang.round(n)}, ${ef.lang.round(i)}, ${ef.lang.round(r)})`:`rgb(${ef.lang.round(e)}, ${ef.lang.round(n)}, ${ef.lang.round(i)})`}},bf=pf,wf={format:{keyword:gf,hex:lf,rgb:bf,rgba:bf,hsl:ff,hsla:ff},parse:t=>{if("string"!=typeof t)return t;const e=lf.parse(t)||bf.parse(t)||ff.parse(t)||gf.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(rf.HSL)||void 0===t.data.r?ff.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?bf.stringify(t):lf.stringify(t)},yf=(t,e)=>{const n=wf.parse(t);for(const i in e)n[i]=ef.channel.clamp[i](e[i]);return wf.stringify(n)},mf=(t,e,n=0,i=1)=>{if("number"!=typeof t)return yf(t,{a:e});const r=cf.set({r:ef.channel.clamp.r(t),g:ef.channel.clamp.g(e),b:ef.channel.clamp.b(n),a:ef.channel.clamp.a(i)});return wf.stringify(r)},vf=t=>{const{r:e,g:n,b:i}=wf.parse(t),r=.2126*ef.channel.toLinear(e)+.7152*ef.channel.toLinear(n)+.0722*ef.channel.toLinear(i);return ef.lang.round(r)},xf=t=>vf(t)>=.5,kf=t=>!xf(t),_f=(t,e,n)=>{const i=wf.parse(t),r=i[e],a=ef.channel.clamp[e](r+n);return r!==a&&(i[e]=a),wf.stringify(i)},Ef=(t,e)=>_f(t,"l",e),Tf=(t,e)=>_f(t,"l",-e),Cf=(t,e)=>{const n=wf.parse(t),i={};for(const r in e)e[r]&&(i[r]=n[r]+e[r]);return yf(t,i)},Sf=(t,e,n=50)=>{const{r:i,g:r,b:a,a:o}=wf.parse(t),{r:s,g:c,b:u,a:l}=wf.parse(e),h=n/100,f=2*h-1,d=o-l,g=((f*d==-1?f:(f+d)/(1+f*d))+1)/2,p=1-g;return mf(i*g+s*p,r*g+c*p,a*g+u*p,o*h+l*(1-h))},Af=(t,e=100)=>{const n=wf.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,Sf(n,t,e)},Mf=(t,e)=>Cf(t,e?{s:-40,l:10}:{s:-40,l:-10}),If="#ffffff",Of="#f2f2f2";let Lf=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||Cf(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Cf(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Mf(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Mf(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Mf(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Mf(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||Af(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||Af(this.tertiaryColor),this.lineColor=this.lineColor||Af(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Tf(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Tf(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||Af(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||Ef(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Cf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Cf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Cf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Cf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Cf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Cf(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||Cf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Cf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Cf(this.primaryColor,{h:330}),this.darkMode)for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=Tf(this["cScale"+e],75);else for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScale"+e]=Tf(this["cScale"+e],25);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleInv"+e]=this["cScaleInv"+e]||Af(this["cScale"+e]);for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this.darkMode?this["cScalePeer"+e]=this["cScalePeer"+e]||Ef(this["cScale"+e],10):this["cScalePeer"+e]=this["cScalePeer"+e]||Tf(this["cScale"+e],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++)this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||Cf(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||Cf(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||Cf(this.primaryColor,{h:64}),this.fillType3=this.fillType3||Cf(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||Cf(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||Cf(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||Cf(this.primaryColor,{h:128}),this.fillType7=this.fillType7||Cf(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Cf(this.primaryColor,{l:-10}),this.pie5=this.pie5||Cf(this.secondaryColor,{l:-10}),this.pie6=this.pie6||Cf(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||Cf(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Cf(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Cf(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Cf(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||Cf(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||Cf(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Tf(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Cf(this.primaryColor,{h:-30}),this.git4=this.git4||Cf(this.primaryColor,{h:-60}),this.git5=this.git5||Cf(this.primaryColor,{h:-90}),this.git6=this.git6||Cf(this.primaryColor,{h:60}),this.git7=this.git7||Cf(this.primaryColor,{h:120}),this.darkMode?(this.git0=Ef(this.git0,25),this.git1=Ef(this.git1,25),this.git2=Ef(this.git2,25),this.git3=Ef(this.git3,25),this.git4=Ef(this.git4,25),this.git5=Ef(this.git5,25),this.git6=Ef(this.git6,25),this.git7=Ef(this.git7,25)):(this.git0=Tf(this.git0,25),this.git1=Tf(this.git1,25),this.git2=Tf(this.git2,25),this.git3=Tf(this.git3,25),this.git4=Tf(this.git4,25),this.git5=Tf(this.git5,25),this.git6=Tf(this.git6,25),this.git7=Tf(this.git7,25)),this.gitInv0=this.gitInv0||Af(this.git0),this.gitInv1=this.gitInv1||Af(this.git1),this.gitInv2=this.gitInv2||Af(this.git2),this.gitInv3=this.gitInv3||Af(this.git3),this.gitInv4=this.gitInv4||Af(this.git4),this.gitInv5=this.gitInv5||Af(this.git5),this.gitInv6=this.gitInv6||Af(this.git6),this.gitInv7=this.gitInv7||Af(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||If,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Of}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const Nf=t=>{const e=new Lf;return e.calculate(t),e};let Df=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=Ef(this.primaryColor,16),this.tertiaryColor=Cf(this.primaryColor,{h:-160}),this.primaryBorderColor=Af(this.background),this.secondaryBorderColor=Mf(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mf(this.tertiaryColor,this.darkMode),this.primaryTextColor=Af(this.primaryColor),this.secondaryTextColor=Af(this.secondaryColor),this.tertiaryTextColor=Af(this.tertiaryColor),this.lineColor=Af(this.background),this.textColor=Af(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=Ef(Af("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=mf(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=Tf("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=mf(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=mf(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=Ef(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=Ef(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=Ef(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Cf(this.primaryColor,{h:64}),this.fillType3=Cf(this.secondaryColor,{h:64}),this.fillType4=Cf(this.primaryColor,{h:-64}),this.fillType5=Cf(this.secondaryColor,{h:-64}),this.fillType6=Cf(this.primaryColor,{h:128}),this.fillType7=Cf(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Cf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Cf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Cf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Cf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Cf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Cf(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Cf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Cf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Cf(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Af(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||Ef(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Cf(this.mainBkg,{h:30,s:-30,l:-(4*t-10)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Cf(this.mainBkg,{h:30,s:-30,l:-(4*t-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Tf(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Ef(this.secondaryColor,20),this.git1=Ef(this.pie2||this.secondaryColor,20),this.git2=Ef(this.pie3||this.tertiaryColor,20),this.git3=Ef(this.pie4||Cf(this.primaryColor,{h:-30}),20),this.git4=Ef(this.pie5||Cf(this.primaryColor,{h:-60}),20),this.git5=Ef(this.pie6||Cf(this.primaryColor,{h:-90}),10),this.git6=Ef(this.pie7||Cf(this.primaryColor,{h:60}),10),this.git7=Ef(this.pie8||Cf(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||Af(this.git0),this.gitInv1=this.gitInv1||Af(this.git1),this.gitInv2=this.gitInv2||Af(this.git2),this.gitInv3=this.gitInv3||Af(this.git3),this.gitInv4=this.gitInv4||Af(this.git4),this.gitInv5=this.gitInv5||Af(this.git5),this.gitInv6=this.gitInv6||Af(this.git6),this.gitInv7=this.gitInv7||Af(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ef(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Ef(this.background,2)}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const Pf=t=>{const e=new Df;return e.calculate(t),e};let Bf=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=Cf(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=Cf(this.primaryColor,{h:-160}),this.primaryBorderColor=Mf(this.primaryColor,this.darkMode),this.secondaryBorderColor=Mf(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mf(this.tertiaryColor,this.darkMode),this.primaryTextColor=Af(this.primaryColor),this.secondaryTextColor=Af(this.secondaryColor),this.tertiaryTextColor=Af(this.tertiaryColor),this.lineColor=Af(this.background),this.textColor=Af(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=mf(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Cf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Cf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Cf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Cf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Cf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Cf(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Cf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Cf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Cf(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Tf(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Tf(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=Tf(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||Tf(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Cf(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Cf(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Cf(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||Af(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||Af(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=Ef(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Cf(this.primaryColor,{h:64}),this.fillType3=Cf(this.secondaryColor,{h:64}),this.fillType4=Cf(this.primaryColor,{h:-64}),this.fillType5=Cf(this.secondaryColor,{h:-64}),this.fillType6=Cf(this.primaryColor,{h:128}),this.fillType7=Cf(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||Cf(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||Cf(this.primaryColor,{l:-10}),this.pie5=this.pie5||Cf(this.secondaryColor,{l:-30}),this.pie6=this.pie6||Cf(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||Cf(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||Cf(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||Cf(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||Cf(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||Cf(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||Cf(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Cf(this.primaryColor,{h:-30}),this.git4=this.git4||Cf(this.primaryColor,{h:-60}),this.git5=this.git5||Cf(this.primaryColor,{h:-90}),this.git6=this.git6||Cf(this.primaryColor,{h:60}),this.git7=this.git7||Cf(this.primaryColor,{h:120}),this.darkMode?(this.git0=Ef(this.git0,25),this.git1=Ef(this.git1,25),this.git2=Ef(this.git2,25),this.git3=Ef(this.git3,25),this.git4=Ef(this.git4,25),this.git5=Ef(this.git5,25),this.git6=Ef(this.git6,25),this.git7=Ef(this.git7,25)):(this.git0=Tf(this.git0,25),this.git1=Tf(this.git1,25),this.git2=Tf(this.git2,25),this.git3=Tf(this.git3,25),this.git4=Tf(this.git4,25),this.git5=Tf(this.git5,25),this.git6=Tf(this.git6,25),this.git7=Tf(this.git7,25)),this.gitInv0=this.gitInv0||Tf(Af(this.git0),25),this.gitInv1=this.gitInv1||Af(this.git1),this.gitInv2=this.gitInv2||Af(this.git2),this.gitInv3=this.gitInv3||Af(this.git3),this.gitInv4=this.gitInv4||Af(this.git4),this.gitInv5=this.gitInv5||Af(this.git5),this.gitInv6=this.gitInv6||Af(this.git6),this.gitInv7=this.gitInv7||Af(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||Af(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||Af(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||If,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Of}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const jf=t=>{const e=new Bf;return e.calculate(t),e};let Rf=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=Ef("#cde498",10),this.primaryBorderColor=Mf(this.primaryColor,this.darkMode),this.secondaryBorderColor=Mf(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mf(this.tertiaryColor,this.darkMode),this.primaryTextColor=Af(this.primaryColor),this.secondaryTextColor=Af(this.secondaryColor),this.tertiaryTextColor=Af(this.primaryColor),this.lineColor=Af(this.background),this.textColor=Af(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Cf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Cf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Cf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Cf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Cf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Cf(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Cf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Cf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Cf(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Tf(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Tf(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=Tf(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||Tf(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Cf(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Cf(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Cf(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=Tf(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Cf(this.primaryColor,{h:64}),this.fillType3=Cf(this.secondaryColor,{h:64}),this.fillType4=Cf(this.primaryColor,{h:-64}),this.fillType5=Cf(this.secondaryColor,{h:-64}),this.fillType6=Cf(this.primaryColor,{h:128}),this.fillType7=Cf(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Cf(this.primaryColor,{l:-30}),this.pie5=this.pie5||Cf(this.secondaryColor,{l:-30}),this.pie6=this.pie6||Cf(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||Cf(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Cf(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Cf(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Cf(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||Cf(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||Cf(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Cf(this.primaryColor,{h:-30}),this.git4=this.git4||Cf(this.primaryColor,{h:-60}),this.git5=this.git5||Cf(this.primaryColor,{h:-90}),this.git6=this.git6||Cf(this.primaryColor,{h:60}),this.git7=this.git7||Cf(this.primaryColor,{h:120}),this.darkMode?(this.git0=Ef(this.git0,25),this.git1=Ef(this.git1,25),this.git2=Ef(this.git2,25),this.git3=Ef(this.git3,25),this.git4=Ef(this.git4,25),this.git5=Ef(this.git5,25),this.git6=Ef(this.git6,25),this.git7=Ef(this.git7,25)):(this.git0=Tf(this.git0,25),this.git1=Tf(this.git1,25),this.git2=Tf(this.git2,25),this.git3=Tf(this.git3,25),this.git4=Tf(this.git4,25),this.git5=Tf(this.git5,25),this.git6=Tf(this.git6,25),this.git7=Tf(this.git7,25)),this.gitInv0=this.gitInv0||Af(this.git0),this.gitInv1=this.gitInv1||Af(this.git1),this.gitInv2=this.gitInv2||Af(this.git2),this.gitInv3=this.gitInv3||Af(this.git3),this.gitInv4=this.gitInv4||Af(this.git4),this.gitInv5=this.gitInv5||Af(this.git5),this.gitInv6=this.gitInv6||Af(this.git6),this.gitInv7=this.gitInv7||Af(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||If,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Of}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const $f=t=>{const e=new Rf;return e.calculate(t),e};class Ff{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=Ef(this.contrast,55),this.background="#ffffff",this.tertiaryColor=Cf(this.primaryColor,{h:-160}),this.primaryBorderColor=Mf(this.primaryColor,this.darkMode),this.secondaryBorderColor=Mf(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Mf(this.tertiaryColor,this.darkMode),this.primaryTextColor=Af(this.primaryColor),this.secondaryTextColor=Af(this.secondaryColor),this.tertiaryTextColor=Af(this.tertiaryColor),this.lineColor=Af(this.background),this.textColor=Af(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=Ef(this.contrast,55),this.border2=this.contrast,this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Af(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||Ef(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||Tf(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Cf(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Cf(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=Ef(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.sectionBkgColor=Ef(this.contrast,30),this.sectionBkgColor2=Ef(this.contrast,30),this.taskBorderColor=Tf(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=Ef(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=Tf(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Cf(this.primaryColor,{h:64}),this.fillType3=Cf(this.secondaryColor,{h:64}),this.fillType4=Cf(this.primaryColor,{h:-64}),this.fillType5=Cf(this.secondaryColor,{h:-64}),this.fillType6=Cf(this.primaryColor,{h:128}),this.fillType7=Cf(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Tf(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||Cf(this.primaryColor,{h:-30}),this.git4=this.pie5||Cf(this.primaryColor,{h:-60}),this.git5=this.pie6||Cf(this.primaryColor,{h:-90}),this.git6=this.pie7||Cf(this.primaryColor,{h:60}),this.git7=this.pie8||Cf(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||Af(this.git0),this.gitInv1=this.gitInv1||Af(this.git1),this.gitInv2=this.gitInv2||Af(this.git2),this.gitInv3=this.gitInv3||Af(this.git3),this.gitInv4=this.gitInv4||Af(this.git4),this.gitInv5=this.gitInv5||Af(this.git5),this.gitInv6=this.gitInv6||Af(this.git6),this.gitInv7=this.gitInv7||Af(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||If,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Of}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const zf={base:{getThemeVariables:Nf},dark:{getThemeVariables:Pf},default:{getThemeVariables:jf},forest:{getThemeVariables:$f},neutral:{getThemeVariables:t=>{const e=new Ff;return e.calculate(t),e}}},Hf={theme:"default",themeVariables:zf.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},sequence:{hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};Hf.class&&(Hf.class.arrowMarkerAbsolute=Hf.arrowMarkerAbsolute),Hf.gitGraph&&(Hf.gitGraph.arrowMarkerAbsolute=Hf.arrowMarkerAbsolute);const Uf=(t,e="")=>Object.keys(t).reduce(((n,i)=>Array.isArray(t[i])?n:"object"==typeof t[i]&&null!==t[i]?[...n,e+i,...Uf(t[i],"")]:[...n,e+i]),[]),Gf=Uf(Hf,""),qf=Hf;function Kf(t){return typeof t>"u"||null===t}function Yf(t){return"object"==typeof t&&null!==t}function Wf(t){return Array.isArray(t)?t:Kf(t)?[]:[t]}function Xf(t,e){var n,i,r,a;if(e)for(n=0,i=(a=Object.keys(e)).length;n<i;n+=1)t[r=a[n]]=e[r];return t}function Vf(t,e){var n,i="";for(n=0;n<e;n+=1)i+=t;return i}function Qf(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t}var Zf={isNothing:Kf,isObject:Yf,toArray:Wf,repeat:Vf,isNegativeZero:Qf,extend:Xf};function Jf(t,e){var n="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),i+" "+n):i}function td(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Jf(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}td.prototype=Object.create(Error.prototype),td.prototype.constructor=td,td.prototype.toString=function(t){return this.name+": "+Jf(this,t)};var ed=td;function nd(t,e,n,i,r){var a="",o="",s=Math.floor(r/2)-1;return i-e>s&&(e=i-s+(a=" ... ").length),n-i>s&&(n=i+s-(o=" ...").length),{str:a+t.slice(e,n).replace(/\t/g,"\u2192")+o,pos:i-e+a.length}}function id(t,e){return Zf.repeat(" ",e-t.length)+t}function rd(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,i=/\r?\n|\r|\0/g,r=[0],a=[],o=-1;n=i.exec(t.buffer);)a.push(n.index),r.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s,c,u="",l=Math.min(t.line+e.linesAfter,a.length).toString().length,h=e.maxLength-(e.indent+l+3);for(s=1;s<=e.linesBefore&&!(o-s<0);s++)c=nd(t.buffer,r[o-s],a[o-s],t.position-(r[o]-r[o-s]),h),u=Zf.repeat(" ",e.indent)+id((t.line-s+1).toString(),l)+" | "+c.str+"\n"+u;for(c=nd(t.buffer,r[o],a[o],t.position,h),u+=Zf.repeat(" ",e.indent)+id((t.line+1).toString(),l)+" | "+c.str+"\n",u+=Zf.repeat("-",e.indent+l+3+c.pos)+"^\n",s=1;s<=e.linesAfter&&!(o+s>=a.length);s++)c=nd(t.buffer,r[o+s],a[o+s],t.position-(r[o]-r[o+s]),h),u+=Zf.repeat(" ",e.indent)+id((t.line+s+1).toString(),l)+" | "+c.str+"\n";return u.replace(/\n$/,"")}var ad=rd,od=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],sd=["scalar","sequence","mapping"];function cd(t){var e={};return null!==t&&Object.keys(t).forEach((function(n){t[n].forEach((function(t){e[String(t)]=n}))})),e}function ud(t,e){if(e=e||{},Object.keys(e).forEach((function(e){if(-1===od.indexOf(e))throw new ed('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=cd(e.styleAliases||null),-1===sd.indexOf(this.kind))throw new ed('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var ld=ud;function hd(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,i){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=i)})),n[e]=t})),n}function fd(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return n}function dd(t){return this.extend(t)}dd.prototype.extend=function(t){var e=[],n=[];if(t instanceof ld)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new ed("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof ld))throw new ed("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new ed("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new ed("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof ld))throw new ed("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var i=Object.create(dd.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=hd(i,"implicit"),i.compiledExplicit=hd(i,"explicit"),i.compiledTypeMap=fd(i.compiledImplicit,i.compiledExplicit),i};var gd=dd,pd=new ld("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),bd=new ld("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),wd=new ld("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),yd=new gd({explicit:[pd,bd,wd]});function md(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function vd(){return null}function xd(t){return null===t}var kd=new ld("tag:yaml.org,2002:null",{kind:"scalar",resolve:md,construct:vd,predicate:xd,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function _d(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function Ed(t){return"true"===t||"True"===t||"TRUE"===t}function Td(t){return"[object Boolean]"===Object.prototype.toString.call(t)}var Cd=new ld("tag:yaml.org,2002:bool",{kind:"scalar",resolve:_d,construct:Ed,predicate:Td,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function Sd(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function Ad(t){return 48<=t&&t<=55}function Md(t){return 48<=t&&t<=57}function Id(t){if(null===t)return!1;var e,n=t.length,i=0,r=!1;if(!n)return!1;if(("-"===(e=t[i])||"+"===e)&&(e=t[++i]),"0"===e){if(i+1===n)return!0;if("b"===(e=t[++i])){for(i++;i<n;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;r=!0}return r&&"_"!==e}if("x"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!Sd(t.charCodeAt(i)))return!1;r=!0}return r&&"_"!==e}if("o"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!Ad(t.charCodeAt(i)))return!1;r=!0}return r&&"_"!==e}}if("_"===e)return!1;for(;i<n;i++)if("_"!==(e=t[i])){if(!Md(t.charCodeAt(i)))return!1;r=!0}return!(!r||"_"===e)}function Od(t){var e,n=t,i=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),("-"===(e=n[0])||"+"===e)&&("-"===e&&(i=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return i*parseInt(n.slice(2),2);if("x"===n[1])return i*parseInt(n.slice(2),16);if("o"===n[1])return i*parseInt(n.slice(2),8)}return i*parseInt(n,10)}function Ld(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Zf.isNegativeZero(t)}var Nd=new ld("tag:yaml.org,2002:int",{kind:"scalar",resolve:Id,construct:Od,predicate:Ld,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Dd=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Pd(t){return!(null===t||!Dd.test(t)||"_"===t[t.length-1])}function Bd(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)}var jd=/^[-+]?[0-9]+e/;function Rd(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Zf.isNegativeZero(t))return"-0.0";return n=t.toString(10),jd.test(n)?n.replace("e",".e"):n}function $d(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Zf.isNegativeZero(t))}var Fd=new ld("tag:yaml.org,2002:float",{kind:"scalar",resolve:Pd,construct:Bd,predicate:$d,represent:Rd,defaultStyle:"lowercase"}),zd=yd.extend({implicit:[kd,Cd,Nd,Fd]}),Hd=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Ud=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Gd(t){return null!==t&&(null!==Hd.exec(t)||null!==Ud.exec(t))}function qd(t){var e,n,i,r,a,o,s,c,u=0,l=null;if(null===(e=Hd.exec(t))&&(e=Ud.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],i=+e[2]-1,r=+e[3],!e[4])return new Date(Date.UTC(n,i,r));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(l=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(l=-l)),c=new Date(Date.UTC(n,i,r,a,o,s,u)),l&&c.setTime(c.getTime()-l),c}function Kd(t){return t.toISOString()}var Yd=new ld("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Gd,construct:qd,instanceOf:Date,represent:Kd});function Wd(t){return"<<"===t||null===t}var Xd=new ld("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Wd}),Vd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function Qd(t){if(null===t)return!1;var e,n,i=0,r=t.length,a=Vd;for(n=0;n<r;n++)if(!((e=a.indexOf(t.charAt(n)))>64)){if(e<0)return!1;i+=6}return i%8==0}function Zd(t){var e,n,i=t.replace(/[\r\n=]/g,""),r=i.length,a=Vd,o=0,s=[];for(e=0;e<r;e++)e%4==0&&e&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|a.indexOf(i.charAt(e));return 0==(n=r%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===n?(s.push(o>>10&255),s.push(o>>2&255)):12===n&&s.push(o>>4&255),new Uint8Array(s)}function Jd(t){var e,n,i="",r=0,a=t.length,o=Vd;for(e=0;e<a;e++)e%3==0&&e&&(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]),r=(r<<8)+t[e];return 0==(n=a%3)?(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]):2===n?(i+=o[r>>10&63],i+=o[r>>4&63],i+=o[r<<2&63],i+=o[64]):1===n&&(i+=o[r>>2&63],i+=o[r<<4&63],i+=o[64],i+=o[64]),i}function tg(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}var eg=new ld("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Qd,construct:Zd,predicate:tg,represent:Jd}),ng=Object.prototype.hasOwnProperty,ig=Object.prototype.toString;function rg(t){if(null===t)return!0;var e,n,i,r,a,o=[],s=t;for(e=0,n=s.length;e<n;e+=1){if(i=s[e],a=!1,"[object Object]"!==ig.call(i))return!1;for(r in i)if(ng.call(i,r)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==o.indexOf(r))return!1;o.push(r)}return!0}function ag(t){return null!==t?t:[]}var og=new ld("tag:yaml.org,2002:omap",{kind:"sequence",resolve:rg,construct:ag}),sg=Object.prototype.toString;function cg(t){if(null===t)return!0;var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1){if(i=o[e],"[object Object]"!==sg.call(i)||1!==(r=Object.keys(i)).length)return!1;a[e]=[r[0],i[r[0]]]}return!0}function ug(t){if(null===t)return[];var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1)i=o[e],r=Object.keys(i),a[e]=[r[0],i[r[0]]];return a}var lg=new ld("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:cg,construct:ug}),hg=Object.prototype.hasOwnProperty;function fg(t){if(null===t)return!0;var e,n=t;for(e in n)if(hg.call(n,e)&&null!==n[e])return!1;return!0}function dg(t){return null!==t?t:{}}var gg=new ld("tag:yaml.org,2002:set",{kind:"mapping",resolve:fg,construct:dg}),pg=zd.extend({implicit:[Yd,Xd],explicit:[eg,og,lg,gg]}),bg=Object.prototype.hasOwnProperty,wg=1,yg=2,mg=3,vg=4,xg=1,kg=2,_g=3,Eg=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Tg=/[\x85\u2028\u2029]/,Cg=/[,\[\]\{\}]/,Sg=/^(?:!|!!|![a-z\-]+!)$/i,Ag=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Mg(t){return Object.prototype.toString.call(t)}function Ig(t){return 10===t||13===t}function Og(t){return 9===t||32===t}function Lg(t){return 9===t||32===t||10===t||13===t}function Ng(t){return 44===t||91===t||93===t||123===t||125===t}function Dg(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function Pg(t){return 120===t?2:117===t?4:85===t?8:0}function Bg(t){return 48<=t&&t<=57?t-48:-1}function jg(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function Rg(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var $g=new Array(256),Fg=new Array(256),zg=0;zg<256;zg++)$g[zg]=jg(zg)?1:0,Fg[zg]=jg(zg);function Hg(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||pg,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Ug(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=ad(n),new ed(e,n)}function Gg(t,e){throw Ug(t,e)}function qg(t,e){t.onWarning&&t.onWarning.call(null,Ug(t,e))}var Kg={YAML:function(t,e,n){var i,r,a;null!==t.version&&Gg(t,"duplication of %YAML directive"),1!==n.length&&Gg(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&Gg(t,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),a=parseInt(i[2],10),1!==r&&Gg(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&qg(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var i,r;2!==n.length&&Gg(t,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],Sg.test(i)||Gg(t,"ill-formed tag handle (first argument) of the TAG directive"),bg.call(t.tagMap,i)&&Gg(t,'there is a previously declared suffix for "'+i+'" tag handle'),Ag.test(r)||Gg(t,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch{Gg(t,"tag prefix is malformed: "+r)}t.tagMap[i]=r}};function Yg(t,e,n,i){var r,a,o,s;if(e<n){if(s=t.input.slice(e,n),i)for(r=0,a=s.length;r<a;r+=1)9===(o=s.charCodeAt(r))||32<=o&&o<=1114111||Gg(t,"expected valid JSON character");else Eg.test(s)&&Gg(t,"the stream contains non-printable characters");t.result+=s}}function Wg(t,e,n,i){var r,a,o,s;for(Zf.isObject(n)||Gg(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(r=Object.keys(n)).length;o<s;o+=1)a=r[o],bg.call(e,a)||(e[a]=n[a],i[a]=!0)}function Xg(t,e,n,i,r,a,o,s,c){var u,l;if(Array.isArray(r))for(u=0,l=(r=Array.prototype.slice.call(r)).length;u<l;u+=1)Array.isArray(r[u])&&Gg(t,"nested arrays are not supported inside keys"),"object"==typeof r&&"[object Object]"===Mg(r[u])&&(r[u]="[object Object]");if("object"==typeof r&&"[object Object]"===Mg(r)&&(r="[object Object]"),r=String(r),null===e&&(e={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(a))for(u=0,l=a.length;u<l;u+=1)Wg(t,e,a[u],n);else Wg(t,e,a,n);else!t.json&&!bg.call(n,r)&&bg.call(e,r)&&(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=c||t.position,Gg(t,"duplicated mapping key")),"__proto__"===r?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[r]=a,delete n[r];return e}function Vg(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):Gg(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Qg(t,e,n){for(var i=0,r=t.input.charCodeAt(t.position);0!==r;){for(;Og(r);)9===r&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),r=t.input.charCodeAt(++t.position);if(e&&35===r)do{r=t.input.charCodeAt(++t.position)}while(10!==r&&13!==r&&0!==r);if(!Ig(r))break;for(Vg(t),r=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===r;)t.lineIndent++,r=t.input.charCodeAt(++t.position)}return-1!==n&&0!==i&&t.lineIndent<n&&qg(t,"deficient indentation"),i}function Zg(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,e=t.input.charCodeAt(n),0!==e&&!Lg(e)))}function Jg(t,e){1===e?t.result+=" ":e>1&&(t.result+=Zf.repeat("\n",e-1))}function tp(t,e,n){var i,r,a,o,s,c,u,l,h=t.kind,f=t.result;if(Lg(l=t.input.charCodeAt(t.position))||Ng(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l||(63===l||45===l)&&(Lg(i=t.input.charCodeAt(t.position+1))||n&&Ng(i)))return!1;for(t.kind="scalar",t.result="",r=a=t.position,o=!1;0!==l;){if(58===l){if(Lg(i=t.input.charCodeAt(t.position+1))||n&&Ng(i))break}else if(35===l){if(Lg(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&Zg(t)||n&&Ng(l))break;if(Ig(l)){if(s=t.line,c=t.lineStart,u=t.lineIndent,Qg(t,!1,-1),t.lineIndent>=e){o=!0,l=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=c,t.lineIndent=u;break}}o&&(Yg(t,r,a,!1),Jg(t,t.line-s),r=a=t.position,o=!1),Og(l)||(a=t.position+1),l=t.input.charCodeAt(++t.position)}return Yg(t,r,a,!1),!!t.result||(t.kind=h,t.result=f,!1)}function ep(t,e){var n,i,r;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=r=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(Yg(t,i,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,r=t.position}else Ig(n)?(Yg(t,i,r,!0),Jg(t,Qg(t,!1,e)),i=r=t.position):t.position===t.lineStart&&Zg(t)?Gg(t,"unexpected end of the document within a single quoted scalar"):(t.position++,r=t.position);Gg(t,"unexpected end of the stream within a single quoted scalar")}function np(t,e){var n,i,r,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return Yg(t,n,t.position,!0),t.position++,!0;if(92===s){if(Yg(t,n,t.position,!0),Ig(s=t.input.charCodeAt(++t.position)))Qg(t,!1,e);else if(s<256&&$g[s])t.result+=Fg[s],t.position++;else if((o=Pg(s))>0){for(r=o,a=0;r>0;r--)(o=Dg(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:Gg(t,"expected hexadecimal character");t.result+=Rg(a),t.position++}else Gg(t,"unknown escape sequence");n=i=t.position}else Ig(s)?(Yg(t,n,i,!0),Jg(t,Qg(t,!1,e)),n=i=t.position):t.position===t.lineStart&&Zg(t)?Gg(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}Gg(t,"unexpected end of the stream within a double quoted scalar")}function ip(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g=!0,p=t.tag,b=t.anchor,w=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))o=93,u=!1,a=[];else{if(123!==d)return!1;o=125,u=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),d=t.input.charCodeAt(++t.position);0!==d;){if(Qg(t,!0,e),(d=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=p,t.anchor=b,t.kind=u?"mapping":"sequence",t.result=a,!0;g?44===d&&Gg(t,"expected the node content, but found ','"):Gg(t,"missed comma between flow collection entries"),h=l=f=null,s=c=!1,63===d&&Lg(t.input.charCodeAt(t.position+1))&&(s=c=!0,t.position++,Qg(t,!0,e)),n=t.line,i=t.lineStart,r=t.position,lp(t,e,wg,!1,!0),h=t.tag,l=t.result,Qg(t,!0,e),d=t.input.charCodeAt(t.position),(c||t.line===n)&&58===d&&(s=!0,d=t.input.charCodeAt(++t.position),Qg(t,!0,e),lp(t,e,wg,!1,!0),f=t.result),u?Xg(t,a,w,h,l,f,n,i,r):s?a.push(Xg(t,null,w,h,l,f,n,i,r)):a.push(l),Qg(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(g=!0,d=t.input.charCodeAt(++t.position)):g=!1}Gg(t,"unexpected end of the stream within a flow collection")}function rp(t,e){var n,i,r,a,o=xg,s=!1,c=!1,u=e,l=0,h=!1;if(124===(a=t.input.charCodeAt(t.position)))i=!1;else{if(62!==a)return!1;i=!0}for(t.kind="scalar",t.result="";0!==a;)if(43===(a=t.input.charCodeAt(++t.position))||45===a)xg===o?o=43===a?_g:kg:Gg(t,"repeat of a chomping mode identifier");else{if(!((r=Bg(a))>=0))break;0===r?Gg(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?Gg(t,"repeat of an indentation width identifier"):(u=e+r-1,c=!0)}if(Og(a)){do{a=t.input.charCodeAt(++t.position)}while(Og(a));if(35===a)do{a=t.input.charCodeAt(++t.position)}while(!Ig(a)&&0!==a)}for(;0!==a;){for(Vg(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!c||t.lineIndent<u)&&32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>u&&(u=t.lineIndent),Ig(a))l++;else{if(t.lineIndent<u){o===_g?t.result+=Zf.repeat("\n",s?1+l:l):o===xg&&s&&(t.result+="\n");break}for(i?Og(a)?(h=!0,t.result+=Zf.repeat("\n",s?1+l:l)):h?(h=!1,t.result+=Zf.repeat("\n",l+1)):0===l?s&&(t.result+=" "):t.result+=Zf.repeat("\n",l):t.result+=Zf.repeat("\n",s?1+l:l),s=!0,c=!0,l=0,n=t.position;!Ig(a)&&0!==a;)a=t.input.charCodeAt(++t.position);Yg(t,n,t.position,!1)}}return!0}function ap(t,e){var n,i,r=t.tag,a=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),i=t.input.charCodeAt(t.position);0!==i&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,Gg(t,"tab characters must not be used in indentation")),45===i&&Lg(t.input.charCodeAt(t.position+1)));)if(s=!0,t.position++,Qg(t,!0,-1)&&t.lineIndent<=e)o.push(null),i=t.input.charCodeAt(t.position);else if(n=t.line,lp(t,e,mg,!1,!0),o.push(t.result),Qg(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==i)Gg(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=r,t.anchor=a,t.kind="sequence",t.result=o,!0)}function op(t,e,n){var i,r,a,o,s,c,u,l=t.tag,h=t.anchor,f={},d=Object.create(null),g=null,p=null,b=null,w=!1,y=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=f),u=t.input.charCodeAt(t.position);0!==u;){if(!w&&-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,Gg(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),a=t.line,63!==u&&58!==u||!Lg(i)){if(o=t.line,s=t.lineStart,c=t.position,!lp(t,n,yg,!1,!0))break;if(t.line===a){for(u=t.input.charCodeAt(t.position);Og(u);)u=t.input.charCodeAt(++t.position);if(58===u)Lg(u=t.input.charCodeAt(++t.position))||Gg(t,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(Xg(t,f,d,g,p,null,o,s,c),g=p=b=null),y=!0,w=!1,r=!1,g=t.tag,p=t.result;else{if(!y)return t.tag=l,t.anchor=h,!0;Gg(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return t.tag=l,t.anchor=h,!0;Gg(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===u?(w&&(Xg(t,f,d,g,p,null,o,s,c),g=p=b=null),y=!0,w=!0,r=!0):w?(w=!1,r=!0):Gg(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,u=i;if((t.line===a||t.lineIndent>e)&&(w&&(o=t.line,s=t.lineStart,c=t.position),lp(t,e,vg,!0,r)&&(w?p=t.result:b=t.result),w||(Xg(t,f,d,g,p,b,o,s,c),g=p=b=null),Qg(t,!0,-1),u=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==u)Gg(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return w&&Xg(t,f,d,g,p,null,o,s,c),y&&(t.tag=l,t.anchor=h,t.kind="mapping",t.result=f),y}function sp(t){var e,n,i,r,a=!1,o=!1;if(33!==(r=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&Gg(t,"duplication of a tag property"),60===(r=t.input.charCodeAt(++t.position))?(a=!0,r=t.input.charCodeAt(++t.position)):33===r?(o=!0,n="!!",r=t.input.charCodeAt(++t.position)):n="!",e=t.position,a){do{r=t.input.charCodeAt(++t.position)}while(0!==r&&62!==r);t.position<t.length?(i=t.input.slice(e,t.position),r=t.input.charCodeAt(++t.position)):Gg(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==r&&!Lg(r);)33===r&&(o?Gg(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),Sg.test(n)||Gg(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),r=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),Cg.test(i)&&Gg(t,"tag suffix cannot contain flow indicator characters")}i&&!Ag.test(i)&&Gg(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch{Gg(t,"tag name is malformed: "+i)}return a?t.tag=i:bg.call(t.tagMap,n)?t.tag=t.tagMap[n]+i:"!"===n?t.tag="!"+i:"!!"===n?t.tag="tag:yaml.org,2002:"+i:Gg(t,'undeclared tag handle "'+n+'"'),!0}function cp(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&Gg(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!Lg(n)&&!Ng(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&Gg(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function up(t){var e,n,i;if(42!==(i=t.input.charCodeAt(t.position)))return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!Lg(i)&&!Ng(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&Gg(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),bg.call(t.anchorMap,n)||Gg(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],Qg(t,!0,-1),!0}function lp(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g=1,p=!1,b=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,a=o=s=vg===n||mg===n,i&&Qg(t,!0,-1)&&(p=!0,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)),1===g)for(;sp(t)||cp(t);)Qg(t,!0,-1)?(p=!0,s=a,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)):s=!1;if(s&&(s=p||r),(1===g||vg===n)&&(f=wg===n||yg===n?e:e+1,d=t.position-t.lineStart,1===g?s&&(ap(t,d)||op(t,d,f))||ip(t,f)?b=!0:(o&&rp(t,f)||ep(t,f)||np(t,f)?b=!0:up(t)?(b=!0,(null!==t.tag||null!==t.anchor)&&Gg(t,"alias node should not have any properties")):tp(t,f,wg===n)&&(b=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===g&&(b=s&&ap(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&Gg(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),c=0,u=t.implicitTypes.length;c<u;c+=1)if((h=t.implicitTypes[c]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(bg.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(h=null,c=0,u=(l=t.typeMap.multi[t.kind||"fallback"]).length;c<u;c+=1)if(t.tag.slice(0,l[c].tag.length)===l[c].tag){h=l[c];break}h||Gg(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&Gg(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):Gg(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||b}function hp(t){var e,n,i,r,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(r=t.input.charCodeAt(t.position))&&(Qg(t,!0,-1),r=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==r));){for(o=!0,r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!Lg(r);)r=t.input.charCodeAt(++t.position);for(i=[],(n=t.input.slice(e,t.position)).length<1&&Gg(t,"directive name must not be less than one character in length");0!==r;){for(;Og(r);)r=t.input.charCodeAt(++t.position);if(35===r){do{r=t.input.charCodeAt(++t.position)}while(0!==r&&!Ig(r));break}if(Ig(r))break;for(e=t.position;0!==r&&!Lg(r);)r=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==r&&Vg(t),bg.call(Kg,n)?Kg[n](t,n,i):qg(t,'unknown document directive "'+n+'"')}Qg(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,Qg(t,!0,-1)):o&&Gg(t,"directives end mark is expected"),lp(t,t.lineIndent-1,vg,!1,!0),Qg(t,!0,-1),t.checkLineBreaks&&Tg.test(t.input.slice(a,t.position))&&qg(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Zg(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,Qg(t,!0,-1)):t.position<t.length-1&&Gg(t,"end of the stream or a document separator is expected")}function fp(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new Hg(t,e),i=t.indexOf("\0");for(-1!==i&&(n.position=i,Gg(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)hp(n);return n.documents}function dp(t,e,n){null!==e&&"object"==typeof e&&typeof n>"u"&&(n=e,e=null);var i=fp(t,n);if("function"!=typeof e)return i;for(var r=0,a=i.length;r<a;r+=1)e(i[r])}function gp(t,e){var n=fp(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new ed("expected a single document in the stream, but found more")}}var pp=yd,bp={loadAll:dp,load:gp}.load;const wp=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;function yp(t,e){var n;const i=t.match(wp);if(i){const r=bp(i[1],{schema:pp});return null!=r&&r.title&&(null==(n=e.setDiagramTitle)||n.call(e,r.title)),t.slice(i[0].length)}return t}const mp=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,vp=/\s*%%.*\n/gm,xp={},kp=function(t,e){t=t.replace(wp,"").replace(mp,"").replace(vp,"\n");for(const[n,{detector:i}]of Object.entries(xp))if(i(t,e))return n;throw new Error(`No diagram type detected for text: ${t}`)},_p=(...t)=>{for(const{id:e,detector:n,loader:i}of t)Ep(e,n,i)},Ep=(t,e,n)=>{xp[t]?h.error(`Detector with key ${t} already exists`):xp[t]={detector:e,loader:n},h.debug(`Detector with key ${t} added${n?" with loader":""}`)},Tp=t=>xp[t].loader,Cp=function(t,e,n){const{depth:i,clobber:r}=Object.assign({depth:2,clobber:!1},n);return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Cp(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||i<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(r||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=Cp(t[n],e[n],{depth:i-1,clobber:r}))})),t)},Sp=Cp,Ap="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var Mp="object"==typeof self&&self&&self.Object===Object&&self;const Ip=Ap||Mp||Function("return this")(),Op=Ip.Symbol;var Lp=Object.prototype,Np=Lp.hasOwnProperty,Dp=Lp.toString,Pp=Op?Op.toStringTag:void 0;function Bp(t){var e=Np.call(t,Pp),n=t[Pp];try{t[Pp]=void 0;var i=!0}catch{}var r=Dp.call(t);return i&&(e?t[Pp]=n:delete t[Pp]),r}var jp=Object.prototype.toString;function Rp(t){return jp.call(t)}var $p="[object Null]",Fp="[object Undefined]",zp=Op?Op.toStringTag:void 0;function Hp(t){return null==t?void 0===t?Fp:$p:zp&&zp in Object(t)?Bp(t):Rp(t)}function Up(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var Gp="[object AsyncFunction]",qp="[object Function]",Kp="[object GeneratorFunction]",Yp="[object Proxy]";function Wp(t){if(!Up(t))return!1;var e=Hp(t);return e==qp||e==Kp||e==Gp||e==Yp}const Xp=Ip["__core-js_shared__"];var Vp=function(){var t=/[^.]+$/.exec(Xp&&Xp.keys&&Xp.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Qp(t){return!!Vp&&Vp in t}var Zp=Function.prototype.toString;function Jp(t){if(null!=t){try{return Zp.call(t)}catch{}try{return t+""}catch{}}return""}var tb=/[\\^$.*+?()[\]{}|]/g,eb=/^\[object .+?Constructor\]$/,nb=Function.prototype,ib=Object.prototype,rb=nb.toString,ab=ib.hasOwnProperty,ob=RegExp("^"+rb.call(ab).replace(tb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function sb(t){return!(!Up(t)||Qp(t))&&(Wp(t)?ob:eb).test(Jp(t))}function cb(t,e){return null==t?void 0:t[e]}function ub(t,e){var n=cb(t,e);return sb(n)?n:void 0}const lb=ub(Object,"create");function hb(){this.__data__=lb?lb(null):{},this.size=0}function fb(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var db="__lodash_hash_undefined__",gb=Object.prototype.hasOwnProperty;function pb(t){var e=this.__data__;if(lb){var n=e[t];return n===db?void 0:n}return gb.call(e,t)?e[t]:void 0}var bb=Object.prototype.hasOwnProperty;function wb(t){var e=this.__data__;return lb?void 0!==e[t]:bb.call(e,t)}var yb="__lodash_hash_undefined__";function mb(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=lb&&void 0===e?yb:e,this}function vb(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function xb(){this.__data__=[],this.size=0}function kb(t,e){return t===e||t!=t&&e!=e}function _b(t,e){for(var n=t.length;n--;)if(kb(t[n][0],e))return n;return-1}vb.prototype.clear=hb,vb.prototype.delete=fb,vb.prototype.get=pb,vb.prototype.has=wb,vb.prototype.set=mb;var Eb=Array.prototype.splice;function Tb(t){var e=this.__data__,n=_b(e,t);return!(n<0||(n==e.length-1?e.pop():Eb.call(e,n,1),--this.size,0))}function Cb(t){var e=this.__data__,n=_b(e,t);return n<0?void 0:e[n][1]}function Sb(t){return _b(this.__data__,t)>-1}function Ab(t,e){var n=this.__data__,i=_b(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function Mb(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Mb.prototype.clear=xb,Mb.prototype.delete=Tb,Mb.prototype.get=Cb,Mb.prototype.has=Sb,Mb.prototype.set=Ab;const Ib=ub(Ip,"Map");function Ob(){this.size=0,this.__data__={hash:new vb,map:new(Ib||Mb),string:new vb}}function Lb(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Nb(t,e){var n=t.__data__;return Lb(e)?n["string"==typeof e?"string":"hash"]:n.map}function Db(t){var e=Nb(this,t).delete(t);return this.size-=e?1:0,e}function Pb(t){return Nb(this,t).get(t)}function Bb(t){return Nb(this,t).has(t)}function jb(t,e){var n=Nb(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}function Rb(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}Rb.prototype.clear=Ob,Rb.prototype.delete=Db,Rb.prototype.get=Pb,Rb.prototype.has=Bb,Rb.prototype.set=jb;var $b="Expected a function";function Fb(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError($b);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(Fb.Cache||Rb),n}Fb.Cache=Rb;const zb={curveBasis:Vu,curveBasisClosed:Zu,curveBasisOpen:tl,curveBumpX:qu,curveBumpY:Ku,curveBundle:nl,curveCardinalClosed:sl,curveCardinalOpen:ul,curveCardinal:al,curveCatmullRomClosed:gl,curveCatmullRomOpen:bl,curveCatmullRom:fl,curveLinear:ju,curveLinearClosed:yl,curveMonotoneX:Cl,curveMonotoneY:Sl,curveNatural:Il,curveStep:Ll,curveStepAfter:Dl,curveStepBefore:Nl},Hb=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Ub=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Gb=function(t,e){const n=qb(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(n)){const t=n.map((t=>t.args));gw(t),i=Sp(i,[...t])}else i=n.args;if(i){let n=kp(t,e);["config"].forEach((t=>{void 0!==i[t]&&("flowchart-v2"===n&&(n="flowchart"),i[n]=i[t],delete i[t])}))}return i},qb=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${Ub.source})(?=[}][%]{2}).*\n`,"ig");let i;t=t.trim().replace(n,"").replace(/'/gm,'"'),h.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const r=[];for(;null!==(i=Hb.exec(t));)if(i.index===Hb.lastIndex&&Hb.lastIndex++,i&&!e||e&&i[1]&&i[1].match(e)||e&&i[2]&&i[2].match(e)){const t=i[1]?i[1]:i[2],e=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;r.push({type:t,args:e})}return 0===r.length&&r.push({type:t,args:null}),1===r.length?r[0]:r}catch(n){return h.error(`ERROR: ${n.message} - Unable to parse directive\n ${null!==e?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}},Kb=function(t,e){for(const[n,i]of e.entries())if(i.match(t))return n;return-1};function Yb(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return zb[n]||e}function Wb(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?p(n):n}const Xb=(t,...e)=>{const n=t.split("."),i=n.length-1,r=n[i];let a=window;for(let o=0;o<i;o++)if(a=a[n[o]],!a)return;a[r](...e)};function Vb(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function Qb(t){let e,n=0;t.forEach((t=>{n+=Vb(t,e),e=t}));let i,r=n/2;return e=void 0,t.forEach((t=>{if(e&&!i){const n=Vb(t,e);if(n<r)r-=n;else{const a=r/n;a<=0&&(i=e),a>=1&&(i={x:t.x,y:t.y}),a>0&&a<1&&(i={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y})}}e=t})),i}function Zb(t){return 1===t.length?t[0]:Qb(t)}const Jb=(t,e,n)=>{let i;h.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());let r,a=25;i=void 0,e.forEach((t=>{if(i&&!r){const e=Vb(t,i);if(e<a)a-=e;else{const n=a/e;n<=0&&(r=i),n>=1&&(r={x:t.x,y:t.y}),n>0&&n<1&&(r={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y})}}i=t}));const o=t?10:5,s=Math.atan2(e[0].y-r.y,e[0].x-r.x),c={x:0,y:0};return c.x=Math.sin(s)*o+(e[0].x+r.x)/2,c.y=-Math.cos(s)*o+(e[0].y+r.y)/2,c};function tw(t,e,n){let i,r=JSON.parse(JSON.stringify(n));h.info("our points",r),"start_left"!==e&&"start_right"!==e&&(r=r.reverse()),r.forEach((t=>{i=t}));let a,o=25+t;i=void 0,r.forEach((t=>{if(i&&!a){const e=Vb(t,i);if(e<o)o-=e;else{const n=o/e;n<=0&&(a=i),n>=1&&(a={x:t.x,y:t.y}),n>0&&n<1&&(a={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y})}}i=t}));const s=10+.5*t,c=Math.atan2(r[0].y-a.y,r[0].x-a.x),u={x:0,y:0};return u.x=Math.sin(c)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2,"start_left"===e&&(u.x=Math.sin(c+Math.PI)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c+Math.PI)*s+(r[0].y+a.y)/2),"end_right"===e&&(u.x=Math.sin(c-Math.PI)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c-Math.PI)*s+(r[0].y+a.y)/2-5),"end_left"===e&&(u.x=Math.sin(c)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2-5),u}function ew(t){let e="",n="";for(const i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?n=n+i+";":e=e+i+";");return{style:e,labelStyle:n}}let nw=0;const iw=()=>(nw++,"id-"+Math.random().toString(36).substr(2,12)+"-"+nw);function rw(t){let e="";const n="0123456789abcdef",i=n.length;for(let r=0;r<t;r++)e+=n.charAt(Math.floor(Math.random()*i));return e}const aw=t=>rw(t.length),ow=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0}},sw=function(t,e){const n=e.text.replace(Jh.lineBreakRegex," "),[,i]=yw(e.fontSize),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.style("font-family",e.fontFamily),r.style("font-size",i),r.style("font-weight",e.fontWeight),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);const a=r.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.attr("fill",e.fill),a.text(n),r},cw=Fb(((t,e,n)=>{if(!t||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),Jh.lineBreakRegex.test(t)))return t;const i=t.split(" "),r=[];let a="";return i.forEach(((t,o)=>{const s=hw(`${t} `,n),c=hw(a,n);if(s>e){const{hyphenatedStrings:i,remainingWord:o}=uw(t,e,"-",n);r.push(a,...i),a=o}else c+s>=e?(r.push(a),a=t):a=[a,t].filter(Boolean).join(" ");o+1===i.length&&r.push(a)})),r.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),uw=Fb(((t,e,n="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const r=[...t],a=[];let o="";return r.forEach(((t,s)=>{const c=`${o}${t}`;if(hw(c,i)>=e){const t=s+1,e=r.length===t,i=`${c}${n}`;a.push(e?c:i),o=""}else o=c})),{hyphenatedStrings:a,remainingWord:o}}),((t,e,n="-",i)=>`${t}${e}${n}${i.fontSize}${i.fontWeight}${i.fontFamily}`));function lw(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),fw(t,e).height}function hw(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),fw(t,e).width}const fw=Fb(((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:n,fontFamily:i,fontWeight:r}=e;if(!t)return{width:0,height:0};const[,a]=yw(n),o=["sans-serif",i],s=t.split(Jh.lineBreakRegex),c=[],u=ln("body");if(!u.remove)return{width:0,height:0,lineHeight:0};const l=u.append("svg");for(const h of o){let t=0;const e={width:0,height:0,lineHeight:0};for(const n of s){const i=ow();i.text=n;const o=sw(l,i).style("font-size",a).style("font-weight",r).style("font-family",h),s=(o._groups||o)[0][0].getBBox();e.width=Math.round(Math.max(e.width,s.width)),t=Math.round(s.height),e.height+=t,e.lineHeight=Math.round(Math.max(e.lineHeight,t))}c.push(e)}return l.remove(),c[isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let dw;const gw=t=>{if(h.debug("directiveSanitizer called with",t),"object"==typeof t&&(t.length?t.forEach((t=>gw(t))):Object.keys(t).forEach((e=>{h.debug("Checking key",e),e.startsWith("__")&&(h.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(h.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(h.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(h.debug("sanitizing themeCss option"),t[e]=pw(t[e])),e.includes("fontFamily")&&(h.debug("sanitizing fontFamily option"),t[e]=pw(t[e])),e.includes("altFontFamily")&&(h.debug("sanitizing altFontFamily option"),t[e]=pw(t[e])),Gf.includes(e)?"object"==typeof t[e]&&(h.debug("sanitize deleting object",e),gw(t[e])):(h.debug("sanitize deleting option",e),delete t[e])}))),t.themeVariables){const e=Object.keys(t.themeVariables);for(const n of e){const e=t.themeVariables[n];e&&e.match&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[n]="")}}h.debug("After sanitization",t)},pw=t=>{let e=0,n=0;for(const i of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===i?e++:"}"===i&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t};function bw(t){return"str"in t}function ww(t){return t instanceof Error?t.message:String(t)}const yw=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},mw={assignWithDepth:Sp,wrapLabel:cw,calculateTextHeight:lw,calculateTextWidth:hw,calculateTextDimensions:fw,detectInit:Gb,detectDirective:qb,isSubstringInArray:Kb,interpolateToCurve:Yb,calcLabelPosition:Zb,calcCardinalityPosition:Jb,calcTerminalLabelPosition:tw,formatUrl:Wb,getStylesFromArray:ew,generateId:iw,random:aw,runFunc:Xb,entityDecode:function(t){return dw=dw||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),dw.innerHTML=t,unescape(dw.textContent)},initIdGenerator:class{constructor(t,e){this.deterministic=t,this.seed=e,this.count=e?e.length:0}next(){return this.deterministic?this.count++:Date.now()}},directiveSanitizer:gw,sanitizeCss:pw,insertTitle:(t,e,n,i)=>{if(!i)return;const r=t.node().getBBox();t.append("text").text(i).attr("x",r.x+r.width/2).attr("y",-n).attr("class",e)},parseFontSize:yw};var vw="comm",xw="rule",kw="decl",_w="@import",Ew="@keyframes",Tw=Math.abs,Cw=String.fromCharCode;function Sw(t){return t.trim()}function Aw(t,e,n){return t.replace(e,n)}function Mw(t,e){return t.indexOf(e)}function Iw(t,e){return 0|t.charCodeAt(e)}function Ow(t,e,n){return t.slice(e,n)}function Lw(t){return t.length}function Nw(t){return t.length}function Dw(t,e){return e.push(t),t}var Pw=1,Bw=1,jw=0,Rw=0,$w=0,Fw="";function zw(t,e,n,i,r,a,o){return{value:t,root:e,parent:n,type:i,props:r,children:a,line:Pw,column:Bw,length:o,return:""}}function Hw(){return $w}function Uw(){return $w=Rw>0?Iw(Fw,--Rw):0,Bw--,10===$w&&(Bw=1,Pw--),$w}function Gw(){return $w=Rw<jw?Iw(Fw,Rw++):0,Bw++,10===$w&&(Bw=1,Pw++),$w}function qw(){return Iw(Fw,Rw)}function Kw(){return Rw}function Yw(t,e){return Ow(Fw,t,e)}function Ww(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Xw(t){return Pw=Bw=1,jw=Lw(Fw=t),Rw=0,[]}function Vw(t){return Fw="",t}function Qw(t){return Sw(Yw(Rw-1,ty(91===t?t+2:40===t?t+1:t)))}function Zw(t){for(;($w=qw())&&$w<33;)Gw();return Ww(t)>2||Ww($w)>3?"":" "}function Jw(t,e){for(;--e&&Gw()&&!($w<48||$w>102||$w>57&&$w<65||$w>70&&$w<97););return Yw(t,Kw()+(e<6&&32==qw()&&32==Gw()))}function ty(t){for(;Gw();)switch($w){case t:return Rw;case 34:case 39:34!==t&&39!==t&&ty($w);break;case 40:41===t&&ty(t);break;case 92:Gw()}return Rw}function ey(t,e){for(;Gw()&&t+$w!==57&&(t+$w!==84||47!==qw()););return"/*"+Yw(e,Rw-1)+"*"+Cw(47===t?t:Gw())}function ny(t){for(;!Ww(qw());)Gw();return Yw(t,Rw)}function iy(t){return Vw(ry("",null,null,null,[""],t=Xw(t),0,[0],t))}function ry(t,e,n,i,r,a,o,s,c){for(var u=0,l=0,h=o,f=0,d=0,g=0,p=1,b=1,w=1,y=0,m="",v=r,x=a,k=i,_=m;b;)switch(g=y,y=Gw()){case 40:if(108!=g&&58==Iw(_,h-1)){-1!=Mw(_+=Aw(Qw(y),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:_+=Qw(y);break;case 9:case 10:case 13:case 32:_+=Zw(g);break;case 92:_+=Jw(Kw()-1,7);continue;case 47:switch(qw()){case 42:case 47:Dw(oy(ey(Gw(),Kw()),e,n),c);break;default:_+="/"}break;case 123*p:s[u++]=Lw(_)*w;case 125*p:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+l:d>0&&Lw(_)-h&&Dw(d>32?sy(_+";",i,n,h-1):sy(Aw(_," ","")+";",i,n,h-2),c);break;case 59:_+=";";default:if(Dw(k=ay(_,e,n,u,l,r,s,m,v=[],x=[],h),a),123===y)if(0===l)ry(_,e,k,k,v,a,h,s,x);else switch(f){case 100:case 109:case 115:ry(t,k,k,i&&Dw(ay(t,k,k,0,0,r,s,m,r,v=[],h),x),r,x,h,s,i?v:x);break;default:ry(_,k,k,k,[""],x,0,s,x)}}u=l=d=0,p=w=1,m=_="",h=o;break;case 58:h=1+Lw(_),d=g;default:if(p<1)if(123==y)--p;else if(125==y&&0==p++&&125==Uw())continue;switch(_+=Cw(y),y*p){case 38:w=l>0?1:(_+="\f",-1);break;case 44:s[u++]=(Lw(_)-1)*w,w=1;break;case 64:45===qw()&&(_+=Qw(Gw())),f=qw(),l=h=Lw(m=_+=ny(Kw())),y++;break;case 45:45===g&&2==Lw(_)&&(p=0)}}return a}function ay(t,e,n,i,r,a,o,s,c,u,l){for(var h=r-1,f=0===r?a:[""],d=Nw(f),g=0,p=0,b=0;g<i;++g)for(var w=0,y=Ow(t,h+1,h=Tw(p=o[g])),m=t;w<d;++w)(m=Sw(p>0?f[w]+" "+y:Aw(y,/&\f/g,f[w])))&&(c[b++]=m);return zw(t,e,n,0===r?xw:s,c,u,l)}function oy(t,e,n){return zw(t,e,n,vw,Cw(Hw()),Ow(t,2,-2),0)}function sy(t,e,n,i){return zw(t,e,n,kw,Ow(t,0,i),Ow(t,i+1,-1),i)}function cy(t,e){for(var n="",i=Nw(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function uy(t,e,n,i){switch(t.type){case _w:case kw:return t.return=t.return||t.value;case vw:return"";case Ew:return t.return=t.value+"{"+cy(t.children,i)+"}";case xw:t.value=t.props.join(",")}return Lw(n=cy(t.children,i))?t.return=t.value+"{"+n+"}":""}const ly="9.4.3",hy=Object.freeze(qf);let fy,dy=Sp({},hy),gy=[],py=Sp({},hy);const by=(t,e)=>{let n=Sp({},t),i={};for(const r of e)_y(r),i=Sp(i,r);if(n=Sp(n,i),i.theme&&i.theme in zf){const t=Sp({},fy),e=Sp(t.themeVariables||{},i.themeVariables);n.theme&&n.theme in zf&&(n.themeVariables=zf[n.theme].getThemeVariables(e))}return py=n,My(py),py},wy=t=>(dy=Sp({},hy),dy=Sp(dy,t),t.theme&&zf[t.theme]&&(dy.themeVariables=zf[t.theme].getThemeVariables(t.themeVariables)),by(dy,gy),dy),yy=t=>{fy=Sp({},t)},my=t=>(dy=Sp(dy,t),by(dy,gy),dy),vy=()=>Sp({},dy),xy=t=>(My(t),Sp(py,t),ky()),ky=()=>Sp({},py),_y=t=>{["secure",...dy.secure??[]].forEach((e=>{void 0!==t[e]&&(h.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{0===e.indexOf("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&_y(t[e])}))},Ey=t=>{t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),gy.push(t),by(dy,gy)},Ty=(t=dy)=>{gy=[],by(t,gy)};var Cy=(t=>(t.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",t))(Cy||{});const Sy={},Ay=t=>{Sy[t]||(h.warn(Cy[t]),Sy[t]=!0)},My=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Ay("LAZY_LOAD_DEPRECATED")},Iy=function(t,e){for(let n of e)t.attr(n[0],n[1])},Oy=function(t,e,n){let i=new Map;return n?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},Ly=function(t,e,n,i){const r=Oy(e,n,i);Iy(t,r)},Ny=function(t,e,n,i){const r=e.node().getBBox(),a=r.width,o=r.height;h.info(`SVG bounds: ${a}x${o}`,r);let s=0,c=0;h.info(`Graph bounds: ${s}x${c}`,t),s=a+2*n,c=o+2*n,h.info(`Calculated bounds: ${s}x${c}`),Ly(e,c,s,i);const u=`${r.x-n} ${r.y-n} ${r.width+2*n} ${r.height+2*n}`;e.attr("viewBox",u)},Dy=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`,Py=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`,By=()=>"",jy=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`,Ry=t=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`,$y=()=>"",Fy=t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`,zy=t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 100%;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`,Hy=t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,Uy=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`,Gy=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`,qy=t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,Ky={flowchart:jy,"flowchart-v2":jy,sequence:Hy,gantt:Ry,classDiagram:Dy,"classDiagram-v2":Dy,class:Dy,stateDiagram:Uy,state:Uy,info:$y,pie:Fy,er:Py,error:By,journey:Gy,requirement:zy,c4:qy},Yy=(t,e)=>{Ky[t]=e},Wy=(t,e,n)=>{let i="";return t in Ky&&Ky[t]?i=Ky[t](n):h.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${i}\n\n ${e}\n`};let Xy="",Vy="",Qy="";const Zy=t=>Kh(t,ky()),Jy=function(){Xy="",Qy="",Vy=""},tm=function(t){Xy=Zy(t).replace(/^\s+/g,"")},em=function(){return Xy||Vy},nm=function(t){Qy=Zy(t).replace(/\n\s+/g,"\n")},im=function(){return Qy},rm=function(t){Vy=Zy(t)},am=function(){return Vy},om=Object.freeze(Object.defineProperty({__proto__:null,clear:Jy,default:{setAccTitle:tm,getAccTitle:em,setDiagramTitle:rm,getDiagramTitle:am,getAccDescription:im,setAccDescription:nm,clear:Jy},getAccDescription:im,getAccTitle:em,getDiagramTitle:am,setAccDescription:nm,setAccTitle:tm,setDiagramTitle:rm},Symbol.toStringTag,{value:"Module"}));let sm={};const cm=function(t,e,n,i){h.debug("parseDirective is being called",e,n,i);try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":sm={};break;case"type_directive":if(!sm)throw new Error("currentDirective is undefined");sm.type=e.toLowerCase();break;case"arg_directive":if(!sm)throw new Error("currentDirective is undefined");sm.args=JSON.parse(e);break;case"close_directive":um(t,sm,i),sm=void 0}}catch(r){h.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${n}`),h.error(r.message)}},um=function(t,e,n){switch(h.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":["config"].forEach((t=>{void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t])})),h.info("sanitize in handleDirective",e.args),gw(e.args),h.info("sanitize in handleDirective (done)",e.args),Ey(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":h.warn("themeCss encountered");break;default:h.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e)}},lm=h,hm=f,fm=ky,dm=t=>Kh(t,fm()),gm=Ny,pm=()=>om,bm=(t,e,n,i)=>cm(t,e,n,i),wm={},ym=(t,e,n)=>{if(wm[t])throw new Error(`Diagram ${t} already registered.`);wm[t]=e,n&&Ep(t,n),Yy(t,e.styles),e.injectUtils&&e.injectUtils(lm,hm,fm,dm,gm,pm(),bm)},mm=t=>{if(t in wm)return wm[t];throw new Error(`Diagram ${t} not found.`)};var vm=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,7],i=[1,5],r=[1,9],a=[1,6],o=[2,6],s=[1,16],c=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],u=[8,14,20,22,24,25,27,29,32,37,40],l=[8,13,14,20,22,24,25,27,29,32,37,40],h=[1,26],f=[6,8,14,50,55],d=[8,14,55],g=[1,53],p=[1,52],b=[8,14,30,33,35,38,55],w=[1,67],y=[1,68],m=[1,69],v=[8,14,33,35,42,55],x={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 3:return a[s];case 4:return a[s-1];case 5:return i.setDirection(a[s-3]),a[s-1];case 7:i.setOptions(a[s-1]),this.$=a[s];break;case 8:a[s-1]+=a[s],this.$=a[s-1];break;case 10:this.$=[];break;case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 12:this.$=a[s-1];break;case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 22:i.checkout(a[s]);break;case 23:i.branch(a[s]);break;case 24:i.branch(a[s-2],a[s]);break;case 25:i.cherryPick(a[s],"",void 0);break;case 26:i.cherryPick(a[s-2],"",a[s]);break;case 27:case 29:i.cherryPick(a[s-2],"","");break;case 28:i.cherryPick(a[s],"",a[s-2]);break;case 30:i.merge(a[s],"","","");break;case 31:i.merge(a[s-2],a[s],"","");break;case 32:i.merge(a[s-2],"",a[s],"");break;case 33:i.merge(a[s-2],"","",a[s]);break;case 34:i.merge(a[s-4],a[s],"",a[s-2]);break;case 35:i.merge(a[s-4],"",a[s],a[s-2]);break;case 36:i.merge(a[s-4],"",a[s-2],a[s]);break;case 37:i.merge(a[s-4],a[s-2],a[s],"");break;case 38:i.merge(a[s-4],a[s-2],"",a[s]);break;case 39:i.merge(a[s-4],a[s],a[s-2],"");break;case 40:i.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 41:i.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 42:i.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 43:i.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 44:i.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 45:i.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 46:i.commit(a[s]);break;case 47:i.commit("","",i.commitType.NORMAL,a[s]);break;case 48:i.commit("","",a[s],"");break;case 49:i.commit("","",a[s],a[s-2]);break;case 50:i.commit("","",a[s-2],a[s]);break;case 51:i.commit("",a[s],i.commitType.NORMAL,"");break;case 52:i.commit("",a[s-2],i.commitType.NORMAL,a[s]);break;case 53:i.commit("",a[s],i.commitType.NORMAL,a[s-2]);break;case 54:i.commit("",a[s-2],a[s],"");break;case 55:i.commit("",a[s],a[s-2],"");break;case 56:i.commit("",a[s-4],a[s-2],a[s]);break;case 57:i.commit("",a[s-4],a[s],a[s-2]);break;case 58:i.commit("",a[s-2],a[s-4],a[s]);break;case 59:i.commit("",a[s],a[s-4],a[s-2]);break;case 60:i.commit("",a[s],a[s-2],a[s-4]);break;case 61:i.commit("",a[s-2],a[s],a[s-4]);break;case 62:i.commit(a[s],"",i.commitType.NORMAL,"");break;case 63:i.commit(a[s],"",i.commitType.NORMAL,a[s-2]);break;case 64:i.commit(a[s-2],"",i.commitType.NORMAL,a[s]);break;case 65:i.commit(a[s-2],"",a[s],"");break;case 66:i.commit(a[s],"",a[s-2],"");break;case 67:i.commit(a[s],a[s-2],i.commitType.NORMAL,"");break;case 68:i.commit(a[s-2],a[s],i.commitType.NORMAL,"");break;case 69:i.commit(a[s-4],"",a[s-2],a[s]);break;case 70:i.commit(a[s-4],"",a[s],a[s-2]);break;case 71:i.commit(a[s-2],"",a[s-4],a[s]);break;case 72:i.commit(a[s],"",a[s-4],a[s-2]);break;case 73:i.commit(a[s],"",a[s-2],a[s-4]);break;case 74:i.commit(a[s-2],"",a[s],a[s-4]);break;case 75:i.commit(a[s-4],a[s],a[s-2],"");break;case 76:i.commit(a[s-4],a[s-2],a[s],"");break;case 77:i.commit(a[s-2],a[s],a[s-4],"");break;case 78:i.commit(a[s],a[s-2],a[s-4],"");break;case 79:i.commit(a[s],a[s-4],a[s-2],"");break;case 80:i.commit(a[s-2],a[s-4],a[s],"");break;case 81:i.commit(a[s-4],a[s],i.commitType.NORMAL,a[s-2]);break;case 82:i.commit(a[s-4],a[s-2],i.commitType.NORMAL,a[s]);break;case 83:i.commit(a[s-2],a[s],i.commitType.NORMAL,a[s-4]);break;case 84:i.commit(a[s],a[s-2],i.commitType.NORMAL,a[s-4]);break;case 85:i.commit(a[s],a[s-4],i.commitType.NORMAL,a[s-2]);break;case 86:i.commit(a[s-2],a[s-4],i.commitType.NORMAL,a[s]);break;case 87:i.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 88:i.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 89:i.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 90:i.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 91:i.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 92:i.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 93:i.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 94:i.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 95:i.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 96:i.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 97:i.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 98:i.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 99:i.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 100:i.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 101:i.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 102:i.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 103:i.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 104:i.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 105:i.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 106:i.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 107:i.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 108:i.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 109:i.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 110:i.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 111:this.$="";break;case 112:this.$=a[s];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(a[s],"type_directive");break;case 120:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{1:[3]},{3:10,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{3:11,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{7:12,8:o,9:[1,13],10:[1,14],11:15,14:s},t(c,[2,124]),t(c,[2,125]),t(c,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:o,11:15,14:s},{9:[1,21]},t(u,[2,10],{12:22,13:[1,23]}),t(l,[2,9]),{9:[1,25],48:24,53:h},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:o,11:15,14:s},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},t(l,[2,8]),t(f,[2,116]),{49:45,52:[1,46]},t(f,[2,121]),{1:[2,4]},{8:[1,47]},t(u,[2,11]),{4:48,8:n,14:i,55:a},t(u,[2,13]),t(d,[2,14]),t(d,[2,15]),t(d,[2,16]),{21:[1,49]},{23:[1,50]},t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),{28:51,34:g,54:p},t(d,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:g,54:p},{33:[1,61],35:[1,62]},{28:63,34:g,54:p},{48:64,53:h},{53:[2,120]},{1:[2,5]},t(u,[2,12]),t(d,[2,17]),t(d,[2,18]),t(d,[2,22]),t(b,[2,122]),t(b,[2,123]),t(d,[2,46]),{34:[1,65]},{39:66,43:w,44:y,45:m},{34:[1,70]},{34:[1,71]},t(d,[2,112]),t(d,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(d,[2,23],{30:[1,78]}),t(f,[2,117]),t(d,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(d,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t(v,[2,113]),t(v,[2,114]),t(v,[2,115]),t(d,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(d,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:w,44:y,45:m},{34:[1,93]},t(d,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:w,44:y,45:m},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:w,44:y,45:m},{34:[1,106]},{34:[1,107]},{39:108,43:w,44:y,45:m},{34:[1,109]},t(d,[2,31],{35:[1,111],38:[1,110]}),t(d,[2,32],{33:[1,113],35:[1,112]}),t(d,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(d,[2,24]),t(d,[2,49],{33:[1,120],42:[1,121]}),t(d,[2,53],{38:[1,122],42:[1,123]}),t(d,[2,63],{33:[1,125],38:[1,124]}),t(d,[2,50],{33:[1,126],42:[1,127]}),t(d,[2,55],{35:[1,128],42:[1,129]}),t(d,[2,66],{33:[1,131],35:[1,130]}),t(d,[2,52],{38:[1,132],42:[1,133]}),t(d,[2,54],{35:[1,134],42:[1,135]}),t(d,[2,67],{35:[1,137],38:[1,136]}),t(d,[2,64],{33:[1,139],38:[1,138]}),t(d,[2,65],{33:[1,141],35:[1,140]}),t(d,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:w,44:y,45:m},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:w,44:y,45:m},t(d,[2,26]),t(d,[2,27]),t(d,[2,28]),t(d,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:w,44:y,45:m},{34:[1,153]},{39:154,43:w,44:y,45:m},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:w,44:y,45:m},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:w,44:y,45:m},{34:[1,167]},{39:168,43:w,44:y,45:m},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:w,44:y,45:m},{34:[1,173]},t(d,[2,37],{35:[1,174]}),t(d,[2,38],{38:[1,175]}),t(d,[2,36],{33:[1,176]}),t(d,[2,39],{35:[1,177]}),t(d,[2,34],{38:[1,178]}),t(d,[2,35],{33:[1,179]}),t(d,[2,60],{42:[1,180]}),t(d,[2,73],{33:[1,181]}),t(d,[2,61],{42:[1,182]}),t(d,[2,84],{38:[1,183]}),t(d,[2,74],{33:[1,184]}),t(d,[2,83],{38:[1,185]}),t(d,[2,59],{42:[1,186]}),t(d,[2,72],{33:[1,187]}),t(d,[2,58],{42:[1,188]}),t(d,[2,78],{35:[1,189]}),t(d,[2,71],{33:[1,190]}),t(d,[2,77],{35:[1,191]}),t(d,[2,57],{42:[1,192]}),t(d,[2,85],{38:[1,193]}),t(d,[2,56],{42:[1,194]}),t(d,[2,79],{35:[1,195]}),t(d,[2,80],{35:[1,196]}),t(d,[2,86],{38:[1,197]}),t(d,[2,70],{33:[1,198]}),t(d,[2,81],{38:[1,199]}),t(d,[2,69],{33:[1,200]}),t(d,[2,75],{35:[1,201]}),t(d,[2,76],{35:[1,202]}),t(d,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:w,44:y,45:m},{34:[1,206]},{34:[1,207]},{39:208,43:w,44:y,45:m},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:w,44:y,45:m},{34:[1,214]},{39:215,43:w,44:y,45:m},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:w,44:y,45:m},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:w,44:y,45:m},{34:[1,228]},{39:229,43:w,44:y,45:m},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:w,44:y,45:m},t(d,[2,40]),t(d,[2,42]),t(d,[2,41]),t(d,[2,43]),t(d,[2,45]),t(d,[2,44]),t(d,[2,101]),t(d,[2,102]),t(d,[2,99]),t(d,[2,100]),t(d,[2,104]),t(d,[2,103]),t(d,[2,108]),t(d,[2,107]),t(d,[2,106]),t(d,[2,105]),t(d,[2,110]),t(d,[2,109]),t(d,[2,98]),t(d,[2,97]),t(d,[2,96]),t(d,[2,95]),t(d,[2,93]),t(d,[2,94]),t(d,[2,92]),t(d,[2,91]),t(d,[2,90]),t(d,[2,89]),t(d,[2,87]),t(d,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};function _(){this.yy={}}return x.lexer=k,_.prototype=x,x.Parser=_,new _}();vm.parser=vm;const xm=vm,km=t=>null!==t.match(/^\s*gitGraph/);let _m=ky().gitGraph.mainBranchName,Em=ky().gitGraph.mainBranchOrder,Tm={},Cm=null,Sm={};Sm[_m]={name:_m,order:Em};let Am={};Am[_m]=Cm;let Mm=_m,Im="LR",Om=0;function Lm(){return aw({length:7})}function Nm(t,e){const n=Object.create(null);return t.reduce(((t,i)=>{const r=e(i);return n[r]||(n[r]=!0,t.push(i)),t}),[])}let Dm={};const Pm=function(t,e,n,i){h.debug("Entering commit:",t,e,n,i),e=Jh.sanitizeText(e,ky()),t=Jh.sanitizeText(t,ky()),i=Jh.sanitizeText(i,ky());const r={id:e||Om+"-"+Lm(),message:t,seq:Om++,type:n||Gm.NORMAL,tag:i||"",parents:null==Cm?[]:[Cm.id],branch:Mm};Cm=r,Tm[r.id]=r,Am[Mm]=r.id,h.debug("in pushCommit "+r.id)},Bm=function(t,e){if(t=Jh.sanitizeText(t,ky()),void 0!==Am[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}Am[t]=null!=Cm?Cm.id:null,Sm[t]={name:t,order:e?parseInt(e,10):null},$m(t),h.debug("in createBranch")},jm=function(t,e,n,i){t=Jh.sanitizeText(t,ky()),e=Jh.sanitizeText(e,ky());const r=Tm[Am[Mm]],a=Tm[Am[t]];if(Mm===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===r||!r){let e=new Error('Incorrect usage of "merge". Current branch ('+Mm+")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===Am[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===a||!a){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(r===a){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==Tm[e]){let r=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw r.hash={text:"merge "+t+e+n+i,token:"merge "+t+e+n+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+n+" "+i]},r}const o={id:e||Om+"-"+Lm(),message:"merged branch "+t+" into "+Mm,seq:Om++,parents:[null==Cm?null:Cm.id,Am[t]],branch:Mm,type:Gm.MERGE,customType:n,customId:!!e,tag:i||""};Cm=o,Tm[o.id]=o,Am[Mm]=o.id,h.debug(Am),h.debug("in mergeBranch")},Rm=function(t,e,n){if(h.debug("Entering cherryPick:",t,e,n),t=Jh.sanitizeText(t,ky()),e=Jh.sanitizeText(e,ky()),n=Jh.sanitizeText(n,ky()),!t||void 0===Tm[t]){let n=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}let i=Tm[t],r=i.branch;if(i.type===Gm.MERGE){let n=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}if(!e||void 0===Tm[e]){if(r===Mm){let n=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const a=Tm[Am[Mm]];if(void 0===a||!a){let n=new Error('Incorrect usage of "cherry-pick". Current branch ('+Mm+")has no commits");throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const o={id:Om+"-"+Lm(),message:"cherry-picked "+i+" into "+Mm,seq:Om++,parents:[null==Cm?null:Cm.id,i.id],branch:Mm,type:Gm.CHERRY_PICK,tag:n??"cherry-pick:"+i.id};Cm=o,Tm[o.id]=o,Am[Mm]=o.id,h.debug(Am),h.debug("in cherryPick")}},$m=function(t){if(t=Jh.sanitizeText(t,ky()),void 0===Am[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}{Mm=t;const e=Am[Mm];Cm=Tm[e]}};function Fm(t,e,n){const i=t.indexOf(e);-1===i?t.push(n):t.splice(i,1,n)}function zm(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let n="";t.forEach((function(t){n+=t===e?"\t*":"\t|"}));const i=[n,e.id,e.seq];for(let r in Am)Am[r]===e.id&&i.push(r);if(h.debug(i.join(" ")),e.parents&&2==e.parents.length){const n=Tm[e.parents[0]];Fm(t,e,n),t.push(Tm[e.parents[1]])}else{if(0==e.parents.length)return;{const n=Tm[e.parents];Fm(t,e,n)}}zm(t=Nm(t,(t=>t.id)))}const Hm=function(){h.debug(Tm),zm([Um()[0]])},Um=function(){const t=Object.keys(Tm).map((function(t){return Tm[t]}));return t.forEach((function(t){h.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},Gm={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},qm={parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().gitGraph,setDirection:function(t){Im=t},setOptions:function(t){h.debug("options str",t),t=(t=t&&t.trim())||"{}";try{Dm=JSON.parse(t)}catch(e){h.error("error while parsing gitGraph options",e.message)}},getOptions:function(){return Dm},commit:Pm,branch:Bm,merge:jm,cherryPick:Rm,checkout:$m,prettyPrint:Hm,clear:function(){Tm={},Cm=null;let t=ky().gitGraph.mainBranchName,e=ky().gitGraph.mainBranchOrder;Am={},Am[t]=null,Sm={},Sm[t]={name:t,order:e},Mm=t,Om=0,Jy()},getBranchesAsObjArray:function(){return Object.values(Sm).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 Am},getCommits:function(){return Tm},getCommitsArray:Um,getCurrentBranch:function(){return Mm},getDirection:function(){return Im},getHead:function(){return Cm},setAccTitle:tm,getAccTitle:em,getAccDescription:im,setAccDescription:nm,setDiagramTitle:rm,getDiagramTitle:am,commitType:Gm};let Km={};const Ym={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Wm=8;let Xm={},Vm={},Qm=[],Zm=0;const Jm=()=>{Xm={},Vm={},Km={},Zm=0,Qm=[]},tv=t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let n=[];n="string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(t)?t:[];for(const i of n){const t=document.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","0"),t.setAttribute("class","row"),t.textContent=i.trim(),e.appendChild(t)}return e},ev=(t,e,n)=>{const i=fm().gitGraph,r=t.append("g").attr("class","commit-bullets"),a=t.append("g").attr("class","commit-labels");let o=0;Object.keys(e).sort(((t,n)=>e[t].seq-e[n].seq)).forEach((t=>{const s=e[t],c=Xm[s.branch].pos,u=o+10;if(n){let t,e=void 0!==s.customType&&""!==s.customType?s.customType:s.type;switch(e){case Ym.NORMAL:t="commit-normal";break;case Ym.REVERSE:t="commit-reverse";break;case Ym.HIGHLIGHT:t="commit-highlight";break;case Ym.MERGE:t="commit-merge";break;case Ym.CHERRY_PICK:t="commit-cherry-pick";break;default:t="commit-normal"}if(e===Ym.HIGHLIGHT){const e=r.append("rect");e.attr("x",u-10),e.attr("y",c-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${s.id} commit-highlight${Xm[s.branch].index%Wm} ${t}-outer`),r.append("rect").attr("x",u-6).attr("y",c-6).attr("height",12).attr("width",12).attr("class",`commit ${s.id} commit${Xm[s.branch].index%Wm} ${t}-inner`)}else if(e===Ym.CHERRY_PICK)r.append("circle").attr("cx",u).attr("cy",c).attr("r",10).attr("class",`commit ${s.id} ${t}`),r.append("circle").attr("cx",u-3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${t}`),r.append("circle").attr("cx",u+3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${t}`),r.append("line").attr("x1",u+3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${t}`),r.append("line").attr("x1",u-3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${t}`);else{const n=r.append("circle");if(n.attr("cx",u),n.attr("cy",c),n.attr("r",s.type===Ym.MERGE?9:10),n.attr("class",`commit ${s.id} commit${Xm[s.branch].index%Wm}`),e===Ym.MERGE){const e=r.append("circle");e.attr("cx",u),e.attr("cy",c),e.attr("r",6),e.attr("class",`commit ${t} ${s.id} commit${Xm[s.branch].index%Wm}`)}e===Ym.REVERSE&&r.append("path").attr("d",`M ${u-5},${c-5}L${u+5},${c+5}M${u-5},${c+5}L${u+5},${c-5}`).attr("class",`commit ${t} ${s.id} commit${Xm[s.branch].index%Wm}`)}}if(Vm[s.id]={x:o+10,y:c},n){if(s.type!==Ym.CHERRY_PICK&&(s.customId&&s.type===Ym.MERGE||s.type!==Ym.MERGE)&&i.showCommitLabel){const t=a.append("g"),e=t.insert("rect").attr("class","commit-label-bkg"),n=t.append("text").attr("x",o).attr("y",c+25).attr("class","commit-label").text(s.id);let r=n.node().getBBox();if(e.attr("x",o+10-r.width/2-2).attr("y",c+13.5).attr("width",r.width+4).attr("height",r.height+4),n.attr("x",o+10-r.width/2),i.rotateCommitLabel){let e=-7.5-(r.width+10)/25*9.5,n=10+r.width/25*8.5;t.attr("transform","translate("+e+", "+n+") rotate(-45, "+o+", "+c+")")}}if(s.tag){const t=a.insert("polygon"),e=a.append("circle"),n=a.append("text").attr("y",c-16).attr("class","tag-label").text(s.tag);let i=n.node().getBBox();n.attr("x",o+10-i.width/2);const r=i.height/2,u=c-19.2;t.attr("class","tag-label-bkg").attr("points",`\n ${o-i.width/2-2},${u+2}\n ${o-i.width/2-2},${u-2}\n ${o+10-i.width/2-4},${u-r-2}\n ${o+10+i.width/2+4},${u-r-2}\n ${o+10+i.width/2+4},${u+r+2}\n ${o+10-i.width/2-4},${u+r+2}`),e.attr("cx",o-i.width/2+2).attr("cy",u).attr("r",1.5).attr("class","tag-hole")}}o+=50,o>Zm&&(Zm=o)}))},nv=(t,e,n)=>Object.keys(n).filter((i=>n[i].branch===e.branch&&n[i].seq>t.seq&&n[i].seq<e.seq)).length>0,iv=(t,e,n=0)=>{const i=t+Math.abs(t-e)/2;if(n>5)return i;if(Qm.every((t=>Math.abs(t-i)>=10)))return Qm.push(i),i;const r=Math.abs(t-e);return iv(t,e-r/5,n+1)},rv=(t,e,n,i)=>{const r=Vm[e.id],a=Vm[n.id],o=nv(e,n,i);let s,c="",u="",l=0,h=0,f=Xm[n.branch].index;if(o){c="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",l=10,h=10,f=Xm[n.branch].index;const t=r.y<a.y?iv(r.y,a.y):iv(a.y,r.y);s=r.y<a.y?`M ${r.x} ${r.y} L ${r.x} ${t-l} ${c} ${r.x+h} ${t} L ${a.x-l} ${t} ${u} ${a.x} ${t+h} L ${a.x} ${a.y}`:`M ${r.x} ${r.y} L ${r.x} ${t+l} ${u} ${r.x+h} ${t} L ${a.x-l} ${t} ${c} ${a.x} ${t-h} L ${a.x} ${a.y}`}else r.y<a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=Xm[n.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`),r.y>a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=Xm[e.branch].index,s=`M ${r.x} ${r.y} L ${a.x-l} ${r.y} ${c} ${a.x} ${r.y-h} L ${a.x} ${a.y}`),r.y===a.y&&(f=Xm[e.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`);t.append("path").attr("d",s).attr("class","arrow arrow"+f%Wm)},av=(t,e)=>{const n=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const i=e[t];i.parents&&i.parents.length>0&&i.parents.forEach((t=>{rv(n,e[t],i,e)}))}))},ov=(t,e)=>{const n=fm().gitGraph,i=t.append("g");e.forEach(((t,e)=>{const r=e%Wm,a=Xm[t.name].pos,o=i.append("line");o.attr("x1",0),o.attr("y1",a),o.attr("x2",Zm),o.attr("y2",a),o.attr("class","branch branch"+r),Qm.push(a);let s=t.name;const c=tv(s),u=i.insert("rect"),l=i.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+r);l.node().appendChild(c);let h=c.getBBox();u.attr("class","branchLabelBkg label"+r).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-h.height/2+8).attr("width",h.width+18).attr("height",h.height+4),l.attr("transform","translate("+(-h.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-h.height/2-1)+")"),u.attr("transform","translate(-19, "+(a-h.height/2)+")")}))},sv={draw:function(t,e,n,i){Jm();const r=fm(),a=r.gitGraph;h.debug("in gitgraph renderer",t+"\n","id:",e,n),Km=i.db.getCommits();const o=i.db.getBranchesAsObjArray();let s=0;o.forEach(((t,e)=>{Xm[t.name]={pos:s,index:e},s+=50+(a.rotateCommitLabel?40:0)}));const c=ln(`[id="${e}"]`);ev(c,Km,!1),a.showBranches&&ov(c,o),av(c,Km),ev(c,Km,!0),mw.insertTitle(c,"gitTitleText",a.titleTopMargin,i.db.getDiagramTitle()),gm(void 0,c,a.diagramPadding,a.useMaxWidth??r.useMaxWidth)}},cv=t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n }\n`;var uv=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,6],n=[1,7],i=[1,8],r=[1,9],a=[1,16],o=[1,11],s=[1,12],u=[1,13],l=[1,14],h=[1,15],f=[1,27],d=[1,33],g=[1,34],p=[1,35],b=[1,36],w=[1,37],y=[1,72],m=[1,73],v=[1,74],x=[1,75],k=[1,76],_=[1,77],E=[1,78],T=[1,38],C=[1,39],S=[1,40],A=[1,41],M=[1,42],I=[1,43],O=[1,44],L=[1,45],N=[1,46],D=[1,47],P=[1,48],B=[1,49],j=[1,50],R=[1,51],$=[1,52],F=[1,53],z=[1,54],H=[1,55],U=[1,56],G=[1,57],q=[1,59],K=[1,60],Y=[1,61],W=[1,62],X=[1,63],V=[1,64],Q=[1,65],Z=[1,66],J=[1,67],tt=[1,68],et=[1,69],nt=[24,52],it=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],rt=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],at=[1,94],ot=[1,95],st=[1,96],ct=[1,97],ut=[15,24,52],lt=[7,8,9,10,18,22,25,26,27,28],ht=[15,24,43,52],ft=[15,24,43,52,86,87,89,90],dt=[15,43],gt=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],pt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setDirection("TB");break;case 5:i.setDirection("BT");break;case 6:i.setDirection("RL");break;case 7:i.setDirection("LR");break;case 11:i.parseDirective("%%{","open_directive");break;case 12:break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 14:i.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:i.setC4Type(a[s-3]);break;case 26:i.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 27:i.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 28:this.$=a[s].trim(),i.setTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 35:case 36:a[s].splice(2,0,"ENTERPRISE"),i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 37:i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 38:a[s].splice(2,0,"CONTAINER"),i.addContainerBoundary(...a[s]),this.$=a[s];break;case 39:i.addDeploymentNode("node",...a[s]),this.$=a[s];break;case 40:i.addDeploymentNode("nodeL",...a[s]),this.$=a[s];break;case 41:i.addDeploymentNode("nodeR",...a[s]),this.$=a[s];break;case 42:i.popBoundaryParseStack();break;case 46:i.addPersonOrSystem("person",...a[s]),this.$=a[s];break;case 47:i.addPersonOrSystem("external_person",...a[s]),this.$=a[s];break;case 48:i.addPersonOrSystem("system",...a[s]),this.$=a[s];break;case 49:i.addPersonOrSystem("system_db",...a[s]),this.$=a[s];break;case 50:i.addPersonOrSystem("system_queue",...a[s]),this.$=a[s];break;case 51:i.addPersonOrSystem("external_system",...a[s]),this.$=a[s];break;case 52:i.addPersonOrSystem("external_system_db",...a[s]),this.$=a[s];break;case 53:i.addPersonOrSystem("external_system_queue",...a[s]),this.$=a[s];break;case 54:i.addContainer("container",...a[s]),this.$=a[s];break;case 55:i.addContainer("container_db",...a[s]),this.$=a[s];break;case 56:i.addContainer("container_queue",...a[s]),this.$=a[s];break;case 57:i.addContainer("external_container",...a[s]),this.$=a[s];break;case 58:i.addContainer("external_container_db",...a[s]),this.$=a[s];break;case 59:i.addContainer("external_container_queue",...a[s]),this.$=a[s];break;case 60:i.addComponent("component",...a[s]),this.$=a[s];break;case 61:i.addComponent("component_db",...a[s]),this.$=a[s];break;case 62:i.addComponent("component_queue",...a[s]),this.$=a[s];break;case 63:i.addComponent("external_component",...a[s]),this.$=a[s];break;case 64:i.addComponent("external_component_db",...a[s]),this.$=a[s];break;case 65:i.addComponent("external_component_queue",...a[s]),this.$=a[s];break;case 67:i.addRel("rel",...a[s]),this.$=a[s];break;case 68:i.addRel("birel",...a[s]),this.$=a[s];break;case 69:i.addRel("rel_u",...a[s]),this.$=a[s];break;case 70:i.addRel("rel_d",...a[s]),this.$=a[s];break;case 71:i.addRel("rel_l",...a[s]),this.$=a[s];break;case 72:i.addRel("rel_r",...a[s]),this.$=a[s];break;case 73:i.addRel("rel_b",...a[s]),this.$=a[s];break;case 74:a[s].splice(0,1),i.addRel("rel",...a[s]),this.$=a[s];break;case 75:i.updateElStyle("update_el_style",...a[s]),this.$=a[s];break;case 76:i.updateRelStyle("update_rel_style",...a[s]),this.$=a[s];break;case 77:i.updateLayoutConfig("update_layout_config",...a[s]),this.$=a[s];break;case 78:this.$=[a[s]];break;case 79:a[s].unshift(a[s-1]),this.$=a[s];break;case 80:case 82:this.$=a[s].trim();break;case 81:let t={};t[a[s-1].trim()]=a[s].trim(),this.$=t;break;case 83:this.$=""}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:i,10:r,11:5,12:10,18:a,22:o,25:s,26:u,27:l,28:h},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:n,9:i,10:r,11:5,12:10,18:a,22:o,25:s,26:u,27:l,28:h},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:f},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et},{23:79,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et},{23:80,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et},{23:81,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et},{23:82,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:y,46:m,47:v,48:x,49:k,50:_,51:E,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et}),t(nt,[2,21]),t(it,[2,23],{15:[1,88]}),t(nt,[2,43],{15:[1,89]}),t(rt,[2,26]),t(rt,[2,27]),{35:[1,90]},{37:[1,91]},t(rt,[2,30]),{45:92,85:93,86:at,87:ot,89:st,90:ct},{45:98,85:93,86:at,87:ot,89:st,90:ct},{45:99,85:93,86:at,87:ot,89:st,90:ct},{45:100,85:93,86:at,87:ot,89:st,90:ct},{45:101,85:93,86:at,87:ot,89:st,90:ct},{45:102,85:93,86:at,87:ot,89:st,90:ct},{45:103,85:93,86:at,87:ot,89:st,90:ct},{45:104,85:93,86:at,87:ot,89:st,90:ct},{45:105,85:93,86:at,87:ot,89:st,90:ct},{45:106,85:93,86:at,87:ot,89:st,90:ct},{45:107,85:93,86:at,87:ot,89:st,90:ct},{45:108,85:93,86:at,87:ot,89:st,90:ct},{45:109,85:93,86:at,87:ot,89:st,90:ct},{45:110,85:93,86:at,87:ot,89:st,90:ct},{45:111,85:93,86:at,87:ot,89:st,90:ct},{45:112,85:93,86:at,87:ot,89:st,90:ct},{45:113,85:93,86:at,87:ot,89:st,90:ct},{45:114,85:93,86:at,87:ot,89:st,90:ct},{45:115,85:93,86:at,87:ot,89:st,90:ct},{45:116,85:93,86:at,87:ot,89:st,90:ct},t(ut,[2,66]),{45:117,85:93,86:at,87:ot,89:st,90:ct},{45:118,85:93,86:at,87:ot,89:st,90:ct},{45:119,85:93,86:at,87:ot,89:st,90:ct},{45:120,85:93,86:at,87:ot,89:st,90:ct},{45:121,85:93,86:at,87:ot,89:st,90:ct},{45:122,85:93,86:at,87:ot,89:st,90:ct},{45:123,85:93,86:at,87:ot,89:st,90:ct},{45:124,85:93,86:at,87:ot,89:st,90:ct},{45:125,85:93,86:at,87:ot,89:st,90:ct},{45:126,85:93,86:at,87:ot,89:st,90:ct},{45:127,85:93,86:at,87:ot,89:st,90:ct},{30:128,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et},{15:[1,130],43:[1,129]},{45:131,85:93,86:at,87:ot,89:st,90:ct},{45:132,85:93,86:at,87:ot,89:st,90:ct},{45:133,85:93,86:at,87:ot,89:st,90:ct},{45:134,85:93,86:at,87:ot,89:st,90:ct},{45:135,85:93,86:at,87:ot,89:st,90:ct},{45:136,85:93,86:at,87:ot,89:st,90:ct},{45:137,85:93,86:at,87:ot,89:st,90:ct},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(lt,[2,9]),{14:142,21:f},{21:[2,13]},{1:[2,15]},t(nt,[2,22]),t(it,[2,24],{31:31,29:143,32:d,33:g,34:p,36:b,38:w}),t(nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:d,33:g,34:p,36:b,38:w,44:y,46:m,47:v,48:x,49:k,50:_,51:E,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:N,63:D,64:P,65:B,66:j,67:R,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Q,81:Z,82:J,83:tt,84:et}),t(rt,[2,28]),t(rt,[2,29]),t(ut,[2,46]),t(ht,[2,78],{85:93,45:145,86:at,87:ot,89:st,90:ct}),t(ft,[2,80]),{88:[1,146]},t(ft,[2,82]),t(ft,[2,83]),t(ut,[2,47]),t(ut,[2,48]),t(ut,[2,49]),t(ut,[2,50]),t(ut,[2,51]),t(ut,[2,52]),t(ut,[2,53]),t(ut,[2,54]),t(ut,[2,55]),t(ut,[2,56]),t(ut,[2,57]),t(ut,[2,58]),t(ut,[2,59]),t(ut,[2,60]),t(ut,[2,61]),t(ut,[2,62]),t(ut,[2,63]),t(ut,[2,64]),t(ut,[2,65]),t(ut,[2,67]),t(ut,[2,68]),t(ut,[2,69]),t(ut,[2,70]),t(ut,[2,71]),t(ut,[2,72]),t(ut,[2,73]),t(ut,[2,74]),t(ut,[2,75]),t(ut,[2,76]),t(ut,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},t(dt,[2,35]),t(dt,[2,36]),t(dt,[2,37]),t(dt,[2,38]),t(dt,[2,39]),t(dt,[2,40]),t(dt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},t(it,[2,25]),t(nt,[2,45]),t(ht,[2,79]),t(ft,[2,81]),t(ut,[2,31]),t(ut,[2,42]),t(gt,[2,32]),t(gt,[2,33],{15:[1,152]}),t(lt,[2,10]),t(gt,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},bt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};function wt(){this.yy={}}return pt.lexer=bt,wt.prototype=pt,pt.Parser=wt,new wt}();uv.parser=uv;const lv=uv,hv=t=>null!==t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/);let fv=[],dv=[""],gv="global",pv="",bv=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],wv=[],yv="",mv=!1,vv=4,xv=2;var kv;const _v=function(t,e,n,i,r,a,o,s,c){if(null==t||null==e||null==n||null==i)return;let u={};const l=wv.find((t=>t.from===e&&t.to===n));if(l?u=l:wv.push(u),u.type=t,u.from=e,u.to=n,u.label={text:i},null==r)u.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]={text:e}}else u.techn={text:r};if(null==a)u.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]={text:e}}else u.descr={text:a};if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.sprite=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.tags=s;if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.link=c;u.wrap=Lv()},Ev=function(t,e,n,i,r,a,o){if(null===e||null===n)return;let s={};const c=fv.find((t=>t.alias===e));if(c&&e===c.alias?s=c:(s.alias=e,fv.push(s)),s.label=null==n?{text:""}:{text:n},null==i)s.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e}}else s.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e}else s.sprite=r;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=e}else s.link=o;s.typeC4Shape={text:t},s.parentBoundary=gv,s.wrap=Lv()},Tv=function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=fv.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,fv.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=Lv(),c.typeC4Shape={text:t},c.parentBoundary=gv},Cv=function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=fv.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,fv.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=Lv(),c.typeC4Shape={text:t},c.parentBoundary=gv},Sv=function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=bv.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,bv.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.link=r;a.parentBoundary=gv,a.wrap=Lv(),pv=gv,gv=t,dv.push(pv)},Av=function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=bv.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,bv.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.link=r;a.parentBoundary=gv,a.wrap=Lv(),pv=gv,gv=t,dv.push(pv)},Mv=function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=bv.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,bv.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.type={text:"node"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.type={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.nodeType=t,c.parentBoundary=gv,c.wrap=Lv(),pv=gv,gv=e,dv.push(pv)},Iv=function(t){return null==t?fv:fv.filter((e=>e.parentBoundary===t))},Ov=function(t){return Object.keys(Iv(t))},Lv=function(){return mv},Nv={addPersonOrSystem:Ev,addPersonOrSystemBoundary:Sv,addContainer:Tv,addContainerBoundary:Av,addComponent:Cv,addDeploymentNode:Mv,popBoundaryParseStack:function(){gv=pv,dv.pop(),pv=dv.pop(),dv.push(pv)},addRel:_v,updateElStyle:function(t,e,n,i,r,a,o,s,c,u,l){let h=fv.find((t=>t.alias===e));if(void 0!==h||(h=bv.find((t=>t.alias===e)),void 0!==h)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];h[t]=e}else h.bgColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]=e}else h.fontColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]=e}else h.borderColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];h[t]=e}else h.shadowing=a;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e}else h.shape=o;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=e}else h.sprite=s;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];h[t]=e}else h.techn=c;if(null!=u)if("object"==typeof u){let[t,e]=Object.entries(u)[0];h[t]=e}else h.legendText=u;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e}else h.legendSprite=l}},updateRelStyle:function(t,e,n,i,r,a,o){const s=wv.find((t=>t.from===e&&t.to===n));if(void 0!==s){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.textColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e}else s.lineColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=parseInt(e)}else s.offsetX=parseInt(a);if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=parseInt(e)}else s.offsetY=parseInt(o)}},updateLayoutConfig:function(t,e,n){let i=vv,r=xv;if("object"==typeof e){const t=Object.values(e)[0];i=parseInt(t)}else i=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];r=parseInt(t)}else r=parseInt(n);i>=1&&(vv=i),r>=1&&(xv=r)},autoWrap:Lv,setWrap:function(t){mv=t},getC4ShapeArray:Iv,getC4Shape:function(t){return fv.find((e=>e.alias===t))},getC4ShapeKeys:Ov,getBoundarys:function(t){return null==t?bv:bv.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return gv},getParentBoundaryParse:function(){return pv},getRels:function(){return wv},getTitle:function(){return yv},getC4Type:function(){return kv},getC4ShapeInRow:function(){return vv},getC4BoundaryInRow:function(){return xv},setAccTitle:tm,getAccTitle:em,getAccDescription:im,setAccDescription:nm,parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().c4,clear:function(){fv=[],bv=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],pv="",gv="global",dv=[""],wv=[],dv=[""],yv="",mv=!1,vv=4,xv=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){yv=Kh(t,ky())},setC4Type:function(t){kv=Kh(t,ky())}},Dv=function(t,e){const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let i in e.attrs)n.attr(i,e.attrs[i]);return"undefined"!==e.class&&n.attr("class",e.class),n},Pv=function(t,e,n,i,r,a){const o=t.append("image");o.attr("width",e),o.attr("height",n),o.attr("x",i),o.attr("y",r);let s=a.startsWith("data:image/png;base64")?a:p(a);o.attr("xlink:href",s)},Bv=(t,e,n)=>{const i=t.append("g");let r=0;for(let a of e){let t=a.textColor?a.textColor:"#444444",e=a.lineColor?a.lineColor:"#444444",o=a.offsetX?parseInt(a.offsetX):0,s=a.offsetY?parseInt(a.offsetY):0,c="";if(0===r){let t=i.append("line");t.attr("x1",a.startPoint.x),t.attr("y1",a.startPoint.y),t.attr("x2",a.endPoint.x),t.attr("y2",a.endPoint.y),t.attr("stroke-width","1"),t.attr("stroke",e),t.style("fill","none"),"rel_b"!==a.type&&t.attr("marker-end","url("+c+"#arrowhead)"),("birel"===a.type||"rel_b"===a.type)&&t.attr("marker-start","url("+c+"#arrowend)"),r=-1}else{let t=i.append("path");t.attr("fill","none").attr("stroke-width","1").attr("stroke",e).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",a.startPoint.x).replaceAll("starty",a.startPoint.y).replaceAll("controlx",a.startPoint.x+(a.endPoint.x-a.startPoint.x)/2-(a.endPoint.x-a.startPoint.x)/4).replaceAll("controly",a.startPoint.y+(a.endPoint.y-a.startPoint.y)/2).replaceAll("stopx",a.endPoint.x).replaceAll("stopy",a.endPoint.y)),"rel_b"!==a.type&&t.attr("marker-end","url("+c+"#arrowhead)"),("birel"===a.type||"rel_b"===a.type)&&t.attr("marker-start","url("+c+"#arrowend)")}let u=n.messageFont();Xv(n)(a.label.text,i,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+o,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+s,a.label.width,a.label.height,{fill:t},u),a.techn&&""!==a.techn.text&&(u=n.messageFont(),Xv(n)("["+a.techn.text+"]",i,Math.min(a.startPoint.x,a.endPoint.x)+Math.abs(a.endPoint.x-a.startPoint.x)/2+o,Math.min(a.startPoint.y,a.endPoint.y)+Math.abs(a.endPoint.y-a.startPoint.y)/2+n.messageFontSize+5+s,Math.max(a.label.width,a.techn.width),a.techn.height,{fill:t,"font-style":"italic"},u))}},jv=function(t,e,n){const i=t.append("g");let r=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",o=e.fontColor?e.fontColor:"black",s={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(s={"stroke-width":1});let c={x:e.x,y:e.y,fill:r,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:s};Dv(i,c);let u=n.boundaryFont();u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=o,Xv(n)(e.label.text,i,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},u),e.type&&""!==e.type.text&&(u=n.boundaryFont(),u.fontColor=o,Xv(n)(e.type.text,i,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},u)),e.descr&&""!==e.descr.text&&(u=n.boundaryFont(),u.fontSize=u.fontSize-2,u.fontColor=o,Xv(n)(e.descr.text,i,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},u))},Rv=function(t,e,n){var i;let r=e.bgColor?e.bgColor:n[e.typeC4Shape.text+"_bg_color"],a=e.borderColor?e.borderColor:n[e.typeC4Shape.text+"_border_color"],o=e.fontColor?e.fontColor:"#FFFFFF",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}const c=t.append("g");c.attr("class","person-man");const u=Yv();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":u.x=e.x,u.y=e.y,u.fill=r,u.width=e.width,u.height=e.height,u.stroke=a,u.rx=2.5,u.ry=2.5,u.attrs={"stroke-width":.5},Dv(c,u);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":c.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),c.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":c.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),c.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2))}let l=Wv(n,e.typeC4Shape.text);switch(c.append("text").attr("fill",o).attr("font-family",l.fontFamily).attr("font-size",l.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":Pv(c,48,48,e.x+e.width/2-24,e.y+e.image.Y,s)}let h=n[e.typeC4Shape.text+"Font"]();return h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=o,Xv(n)(e.label.text,c,e.x,e.y+e.label.Y,e.width,e.height,{fill:o},h),h=n[e.typeC4Shape.text+"Font"](),h.fontColor=o,e.techn&&""!==(null==(i=e.techn)?void 0:i.text)?Xv(n)(e.techn.text,c,e.x,e.y+e.techn.Y,e.width,e.height,{fill:o,"font-style":"italic"},h):e.type&&""!==e.type.text&&Xv(n)(e.type.text,c,e.x,e.y+e.type.Y,e.width,e.height,{fill:o,"font-style":"italic"},h),e.descr&&""!==e.descr.text&&(h=n.personFont(),h.fontColor=o,Xv(n)(e.descr.text,c,e.x,e.y+e.descr.Y,e.width,e.height,{fill:o},h)),e.height},$v=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")},Fv=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")},zv=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")},Hv=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")},Uv=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")},Gv=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")},qv=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)},Kv=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")},Yv=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},Wv=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),Xv=function(){function t(t,e,n,r,a,o,s){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,r,a,o,s,c){const{fontSize:u,fontFamily:l,fontWeight:h}=c,f=t.split(Jh.lineBreakRegex);for(let d=0;d<f.length;d++){const t=d*u-u*(f.length-1)/2,o=e.append("text").attr("x",n+a/2).attr("y",r).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",u).style("font-weight",h).style("font-family",l);o.append("tspan").attr("dy",t).text(f[d]).attr("alignment-baseline","mathematical"),i(o,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),Vv={drawRect:Dv,drawBoundary:jv,drawC4Shape:Rv,drawRels:Bv,drawImage:Pv,insertArrowHead:Hv,insertArrowEnd:Uv,insertArrowFilledHead:Gv,insertDynamicNumber:qv,insertArrowCrossHead:Kv,insertDatabaseIcon:$v,insertComputerIcon:Fv,insertClockIcon:zv,getNoteRect:Yv,sanitizeUrl:p};let Qv=0,Zv=0,Jv=4,tx=2;uv.yy=Nv;let ex={};class nx{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,ix(t.db.getConfig())}setData(t,e,n,i){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,i=this.nextData.starty+2*t.margin,r=i+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>Jv)&&(e=this.nextData.startx+t.margin+ex.nextLinePaddingX,i=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=i+t.height,this.nextData.cnt=1),t.x=e,t.y=i,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",i,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",i,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},ix(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const ix=function(t){Sp(ex,t),t.fontFamily&&(ex.personFontFamily=ex.systemFontFamily=ex.messageFontFamily=t.fontFamily),t.fontSize&&(ex.personFontSize=ex.systemFontSize=ex.messageFontSize=t.fontSize),t.fontWeight&&(ex.personFontWeight=ex.systemFontWeight=ex.messageFontWeight=t.fontWeight)},rx=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),ax=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),ox=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight});function sx(t,e,n,i,r){if(!e[t].width)if(n)e[t].text=cw(e[t].text,r,i),e[t].textLines=e[t].text.split(Jh.lineBreakRegex).length,e[t].width=r,e[t].height=lw(e[t].text,i);else{let n=e[t].text.split(Jh.lineBreakRegex);e[t].textLines=n.length;let r=0;e[t].height=0,e[t].width=0;for(const a of n)e[t].width=Math.max(hw(a,i),e[t].width),r=lw(a,i),e[t].height=e[t].height+r}}const cx=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=ex.c4ShapeMargin-35;let i=e.wrap&&ex.wrap,r=ax(ex);r.fontSize=r.fontSize+2,r.fontWeight="bold",sx("label",e,i,r,hw(e.label.text,r)),Vv.drawBoundary(t,e,ex)},ux=function(t,e,n,i){let r=0;for(const a of i){r=0;const i=n[a];let o=rx(ex,i.typeC4Shape.text);switch(o.fontSize=o.fontSize-2,i.typeC4Shape.width=hw("<<"+i.typeC4Shape.text+">>",o),i.typeC4Shape.height=o.fontSize+2,i.typeC4Shape.Y=ex.c4ShapePadding,r=i.typeC4Shape.Y+i.typeC4Shape.height-4,i.image={width:0,height:0,Y:0},i.typeC4Shape.text){case"person":case"external_person":i.image.width=48,i.image.height=48,i.image.Y=r,r=i.image.Y+i.image.height}i.sprite&&(i.image.width=48,i.image.height=48,i.image.Y=r,r=i.image.Y+i.image.height);let s=i.wrap&&ex.wrap,c=ex.width-2*ex.c4ShapePadding,u=rx(ex,i.typeC4Shape.text);u.fontSize=u.fontSize+2,u.fontWeight="bold",sx("label",i,s,u,c),i.label.Y=r+8,r=i.label.Y+i.label.height,i.type&&""!==i.type.text?(i.type.text="["+i.type.text+"]",sx("type",i,s,rx(ex,i.typeC4Shape.text),c),i.type.Y=r+5,r=i.type.Y+i.type.height):i.techn&&""!==i.techn.text&&(i.techn.text="["+i.techn.text+"]",sx("techn",i,s,rx(ex,i.techn.text),c),i.techn.Y=r+5,r=i.techn.Y+i.techn.height);let l=r,h=i.label.width;i.descr&&""!==i.descr.text&&(sx("descr",i,s,rx(ex,i.typeC4Shape.text),c),i.descr.Y=r+20,r=i.descr.Y+i.descr.height,h=Math.max(i.label.width,i.descr.width),l=r-5*i.descr.textLines),h+=ex.c4ShapePadding,i.width=Math.max(i.width||ex.width,h,ex.width),i.height=Math.max(i.height||ex.height,l,ex.height),i.margin=i.margin||ex.c4ShapeMargin,t.insert(i),Vv.drawC4Shape(e,i,ex)}t.bumpLastMargin(ex.c4ShapeMargin)};let lx=class{constructor(t,e){this.x=t,this.y=e}},hx=function(t,e){let n=t.x,i=t.y,r=e.x,a=e.y,o=n+t.width/2,s=i+t.height/2,c=Math.abs(n-r),u=Math.abs(i-a),l=u/c,h=t.height/t.width,f=null;return i==a&&n<r?f=new lx(n+t.width,s):i==a&&n>r?f=new lx(n,s):n==r&&i<a?f=new lx(o,i+t.height):n==r&&i>a&&(f=new lx(o,i)),n>r&&i<a?f=h>=l?new lx(n,s+l*t.width/2):new lx(o-c/u*t.height/2,i+t.height):n<r&&i<a?f=h>=l?new lx(n+t.width,s+l*t.width/2):new lx(o+c/u*t.height/2,i+t.height):n<r&&i>a?f=h>=l?new lx(n+t.width,s-l*t.width/2):new lx(o+t.height/2*c/u,i):n>r&&i>a&&(f=h>=l?new lx(n,s-t.width/2*l):new lx(o-t.height/2*c/u,i)),f},fx=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let i=hx(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:i,endPoint:hx(e,n)}};const dx=function(t,e,n,i){let r=0;for(let a of e){r+=1;let t=a.wrap&&ex.wrap,e=ox(ex);"C4Dynamic"===i.db.getC4Type()&&(a.label.text=r+": "+a.label.text);let o=hw(a.label.text,e);sx("label",a,t,e,o),a.techn&&""!==a.techn.text&&(o=hw(a.techn.text,e),sx("techn",a,t,e,o)),a.descr&&""!==a.descr.text&&(o=hw(a.descr.text,e),sx("descr",a,t,e,o));let s=n(a.from),c=n(a.to),u=fx(s,c);a.startPoint=u.startPoint,a.endPoint=u.endPoint}Vv.drawRels(t,e,ex)};function gx(t,e,n,i,r){let a=new nx(r);a.data.widthLimit=n.data.widthLimit/Math.min(tx,i.length);for(let[o,s]of i.entries()){let i=0;s.image={width:0,height:0,Y:0},s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height);let c=s.wrap&&ex.wrap,u=ax(ex);if(u.fontSize=u.fontSize+2,u.fontWeight="bold",sx("label",s,c,u,a.data.widthLimit),s.label.Y=i+8,i=s.label.Y+s.label.height,s.type&&""!==s.type.text&&(s.type.text="["+s.type.text+"]",sx("type",s,c,ax(ex),a.data.widthLimit),s.type.Y=i+5,i=s.type.Y+s.type.height),s.descr&&""!==s.descr.text){let t=ax(ex);t.fontSize=t.fontSize-2,sx("descr",s,c,t,a.data.widthLimit),s.descr.Y=i+20,i=s.descr.Y+s.descr.height}if(0==o||o%tx==0){let t=n.data.startx+ex.diagramMarginX,e=n.data.stopy+ex.diagramMarginY+i;a.setData(t,t,e,e)}else{let t=a.data.stopx!==a.data.startx?a.data.stopx+ex.diagramMarginX:a.data.startx,e=a.data.starty;a.setData(t,t,e,e)}a.name=s.alias;let l=r.db.getC4ShapeArray(s.alias),h=r.db.getC4ShapeKeys(s.alias);h.length>0&&ux(a,t,l,h),e=s.alias;let f=r.db.getBoundarys(e);f.length>0&&gx(t,e,a,f,r),"global"!==s.alias&&cx(t,s,a),n.data.stopy=Math.max(a.data.stopy+ex.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+ex.c4ShapeMargin,n.data.stopx),Qv=Math.max(Qv,n.data.stopx),Zv=Math.max(Zv,n.data.stopy)}}const px={drawPersonOrSystemArray:ux,drawBoundary:cx,setConf:ix,draw:function(t,e,n,i){ex=ky().c4;const r=ky().securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body");let s=i.db;i.db.setWrap(ex.wrap),Jv=s.getC4ShapeInRow(),tx=s.getC4BoundaryInRow(),h.debug(`C:${JSON.stringify(ex,null,2)}`);const c="sandbox"===r?o.select(`[id="${e}"]`):ln(`[id="${e}"]`);Vv.insertComputerIcon(c),Vv.insertDatabaseIcon(c),Vv.insertClockIcon(c);let u=new nx(i);u.setData(ex.diagramMarginX,ex.diagramMarginX,ex.diagramMarginY,ex.diagramMarginY),u.data.widthLimit=screen.availWidth,Qv=ex.diagramMarginX,Zv=ex.diagramMarginY;const l=i.db.getTitle();gx(c,"",u,i.db.getBoundarys(""),i),Vv.insertArrowHead(c),Vv.insertArrowEnd(c),Vv.insertArrowCrossHead(c),Vv.insertArrowFilledHead(c),dx(c,i.db.getRels(),i.db.getC4Shape,i),u.data.stopx=Qv,u.data.stopy=Zv;const f=u.data;let d=f.stopy-f.starty+2*ex.diagramMarginY;const g=f.stopx-f.startx+2*ex.diagramMarginX;l&&c.append("text").text(l).attr("x",(f.stopx-f.startx)/2-4*ex.diagramMarginX).attr("y",f.starty+ex.diagramMarginY),Ly(c,d,g,ex.useMaxWidth);const p=l?60:0;c.attr("viewBox",f.startx-ex.diagramMarginX+" -"+(ex.diagramMarginY+p)+" "+g+" "+(d+p)),h.debug("models:",f)}};var bx=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,7],i=[1,8],r=[1,9],a=[1,10],o=[1,13],s=[1,12],c=[1,16,25],u=[1,20],l=[1,32],h=[1,33],f=[1,34],d=[1,36],g=[1,39],p=[1,37],b=[1,38],w=[1,44],y=[1,45],m=[1,40],v=[1,41],x=[1,42],k=[1,43],_=[1,48],E=[1,49],T=[1,50],C=[1,51],S=[16,25],A=[1,65],M=[1,66],I=[1,67],O=[1,68],L=[1,69],N=[1,70],D=[1,71],P=[1,80],B=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],j=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],R=[5,8,9,10,11,16,19,23,25],$=[54,88,89,90,91],F=[54,65,66,88,89,90,91],z=[54,60,61,62,63,64,88,89,90,91],H=[16,25,32],U=[1,107],G={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,noteStatement:38,acc_title:39,acc_title_value:40,acc_descr:41,acc_descr_value:42,acc_descr_multiline_value:43,CLASS:44,STYLE_SEPARATOR:45,STRUCT_START:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,"==":81,"--":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",39:"acc_title",40:"acc_title_value",41:"acc_descr",42:"acc_descr_value",43:"acc_descr_multiline_value",44:"CLASS",45:"STYLE_SEPARATOR",46:"STRUCT_START",48:"STRUCT_STOP",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"STR",55:"NOTE_FOR",57:"NOTE",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"CSSCLASS",77:"graphCodeTokens",79:"TAGSTART",80:"TAGEND",81:"==",82:"--",83:"PCT",84:"DEFAULT",85:"SPACE",86:"MINUS",87:"keywords",88:"UNICODE_TEXT",89:"NUM",90:"ALPHA",91:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 5:i.setDirection("TB");break;case 6:i.setDirection("BT");break;case 7:i.setDirection("RL");break;case 8:i.setDirection("LR");break;case 12:i.parseDirective("%%{","open_directive");break;case 13:i.parseDirective(a[s],"type_directive");break;case 14:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 15:i.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=a[s];break;case 22:this.$=a[s-1]+a[s];break;case 23:case 24:this.$=a[s-1]+"~"+a[s];break;case 25:i.addRelation(a[s]);break;case 26:a[s-1].title=i.cleanupLabel(a[s]),i.addRelation(a[s-1]);break;case 35:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 36:case 37:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 38:i.addClass(a[s]);break;case 39:i.addClass(a[s-2]),i.setCssClass(a[s-2],a[s]);break;case 40:i.addClass(a[s-3]),i.addMembers(a[s-3],a[s-1]);break;case 41:i.addClass(a[s-5]),i.setCssClass(a[s-5],a[s-3]),i.addMembers(a[s-5],a[s-1]);break;case 42:i.addAnnotation(a[s],a[s-2]);break;case 43:this.$=[a[s]];break;case 44:a[s].push(a[s-1]),this.$=a[s];break;case 45:case 47:case 48:break;case 46:i.addMember(a[s-1],i.cleanupLabel(a[s]));break;case 49:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 51:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 52:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 53:i.addNote(a[s],a[s-1]);break;case 54:i.addNote(a[s]);break;case 55:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 56:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 57:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 58:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 59:this.$=i.relationType.AGGREGATION;break;case 60:this.$=i.relationType.EXTENSION;break;case 61:this.$=i.relationType.COMPOSITION;break;case 62:this.$=i.relationType.DEPENDENCY;break;case 63:this.$=i.relationType.LOLLIPOP;break;case 64:this.$=i.lineType.LINE;break;case 65:this.$=i.lineType.DOTTED_LINE;break;case 66:case 72:this.$=a[s-2],i.setClickEvent(a[s-1],a[s]);break;case 67:case 73:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 68:case 76:this.$=a[s-2],i.setLink(a[s-1],a[s]);break;case 69:case 77:this.$=a[s-3],i.setLink(a[s-2],a[s-1],a[s]);break;case 70:case 78:this.$=a[s-3],i.setLink(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 71:case 79:this.$=a[s-4],i.setLink(a[s-3],a[s-2],a[s]),i.setTooltip(a[s-3],a[s-1]);break;case 74:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 75:this.$=a[s-4],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setTooltip(a[s-3],a[s]);break;case 80:i.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:e,6:4,7:5,8:n,9:i,10:r,11:a,12:6,13:11,19:o,23:s},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:e,6:4,7:5,8:n,9:i,10:r,11:a,12:6,13:11,19:o,23:s},{1:[2,9]},t(c,[2,5]),t(c,[2,6]),t(c,[2,7]),t(c,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:u},t([17,22],[2,13]),{6:31,7:30,8:n,9:i,10:r,11:a,13:11,19:o,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:l,41:h,43:f,44:d,49:g,51:p,52:b,55:w,57:y,67:m,68:v,70:x,74:k,88:_,89:E,90:T,91:C},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},t(S,[2,25],{32:[1,57]}),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),t(S,[2,30]),t(S,[2,31]),t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),{40:[1,58]},{42:[1,59]},t(S,[2,37]),t(S,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:A,61:M,62:I,63:O,64:L,65:N,66:D}),{27:72,28:46,29:47,88:_,89:E,90:T,91:C},t(S,[2,47]),t(S,[2,48]),{28:73,88:_,89:E,90:T},{27:74,28:46,29:47,88:_,89:E,90:T,91:C},{27:75,28:46,29:47,88:_,89:E,90:T,91:C},{27:76,28:46,29:47,88:_,89:E,90:T,91:C},{54:[1,77]},{27:78,28:46,29:47,88:_,89:E,90:T,91:C},{54:P,56:79},t(B,[2,20],{28:46,29:47,27:81,30:[1,82],88:_,89:E,90:T,91:C}),t(B,[2,21],{30:[1,83]}),t(j,[2,94]),t(j,[2,95]),t(j,[2,96]),t([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),t(R,[2,10]),{15:84,22:u},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:n,9:i,10:r,11:a,13:11,19:o,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:l,41:h,43:f,44:d,49:g,51:p,52:b,55:w,57:y,67:m,68:v,70:x,74:k,88:_,89:E,90:T,91:C},t(S,[2,26]),t(S,[2,35]),t(S,[2,36]),{27:86,28:46,29:47,54:[1,87],88:_,89:E,90:T,91:C},{53:88,58:63,59:64,60:A,61:M,62:I,63:O,64:L,65:N,66:D},t(S,[2,46]),{59:89,65:N,66:D},t($,[2,58],{58:90,60:A,61:M,62:I,63:O,64:L}),t(F,[2,59]),t(F,[2,60]),t(F,[2,61]),t(F,[2,62]),t(F,[2,63]),t(z,[2,64]),t(z,[2,65]),t(S,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:_,89:E,90:T},{54:P,56:99},t(S,[2,54]),t(S,[2,98]),t(B,[2,22]),t(B,[2,23]),t(B,[2,24]),{16:[1,100]},{25:[2,19]},t(H,[2,49]),{27:101,28:46,29:47,88:_,89:E,90:T,91:C},{27:102,28:46,29:47,54:[1,103],88:_,89:E,90:T,91:C},t($,[2,57],{58:104,60:A,61:M,62:I,63:O,64:L}),t($,[2,56]),{28:105,88:_,89:E,90:T},{47:106,51:U},{27:108,28:46,29:47,88:_,89:E,90:T,91:C},t(S,[2,66],{54:[1,109]}),t(S,[2,68],{54:[1,111],69:[1,110]}),t(S,[2,72],{54:[1,112],72:[1,113]}),t(S,[2,76],{54:[1,115],69:[1,114]}),t(S,[2,80]),t(S,[2,53]),t(R,[2,11]),t(H,[2,51]),t(H,[2,50]),{27:116,28:46,29:47,88:_,89:E,90:T,91:C},t($,[2,55]),t(S,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:U},t(S,[2,42]),t(S,[2,67]),t(S,[2,69]),t(S,[2,70],{69:[1,120]}),t(S,[2,73]),t(S,[2,74],{54:[1,121]}),t(S,[2,77]),t(S,[2,78],{69:[1,122]}),t(H,[2,52]),{47:123,51:U},t(S,[2,40]),{48:[2,44]},t(S,[2,71]),t(S,[2,75]),t(S,[2,79]),{48:[1,124]},t(S,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},q={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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"),39;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),41;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 39:case 42:case 45:case 48:case 51:case 54:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),46;case 23:return"EDGE_STATE";case 24:return"EOF_IN_STRUCT";case 25:return"OPEN_IN_STRUCT";case 26:return this.popState(),48;case 28:return"MEMBER";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin("generic");break;case 40:return"GENERICTYPE";case 41:this.begin("string");break;case 43:return"STR";case 44:this.begin("bqstring");break;case 46:return"BQUOTE_STR";case 47:this.begin("href");break;case 49:return 73;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 71;case 55:return 72;case 56:case 57:case 58:case 59:return 69;case 60:case 61:return 61;case 62:case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return"DOT";case 73:return"PLUS";case 74:return 83;case 75:case 76:return"EQUALS";case 77:return 90;case 78:return"PUNCTUATION";case 79:return 89;case 80:return 88;case 81:return 85;case 82:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],inclusive:!0}}};function K(){this.yy={}}return G.lexer=q,K.prototype=G,G.Parser=K,new K}();bx.parser=bx;const wx=bx,yx=(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*classDiagram/)},mx=(t,e)=>{var n;return null!==t.match(/^\s*classDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)||null!==t.match(/^\s*classDiagram-v2/)},vx="classid-";let xx=[],kx={},_x=[],Ex=0,Tx=[];const Cx=t=>Jh.sanitizeText(t,ky()),Sx=function(t,e,n){hU.parseDirective(this,t,e,n)},Ax=function(t){let e="",n=t;if(t.indexOf("~")>0){let i=t.split("~");n=i[0],e=Jh.sanitizeText(i[1],ky())}return{className:n,type:e}},Mx=function(t){let e=Ax(t);void 0===kx[e.className]&&(kx[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:vx+e.className+"-"+Ex},Ex++)},Ix=function(t){const e=Object.keys(kx);for(const n of e)if(kx[n].id===t)return kx[n].domId},Ox=function(){xx=[],kx={},_x=[],Tx=[],Tx.push(Qx),Jy()},Lx=function(t){return kx[t]},Nx=function(){return kx},Dx=function(){return xx},Px=function(){return _x},Bx=function(t){h.debug("Adding relation: "+JSON.stringify(t)),Mx(t.id1),Mx(t.id2),t.id1=Ax(t.id1).className,t.id2=Ax(t.id2).className,t.relationTitle1=Jh.sanitizeText(t.relationTitle1.trim(),ky()),t.relationTitle2=Jh.sanitizeText(t.relationTitle2.trim(),ky()),xx.push(t)},jx=function(t,e){const n=Ax(t).className;kx[n].annotations.push(e)},Rx=function(t,e){const n=Ax(t).className,i=kx[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(Cx(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(Cx(t)):t&&i.members.push(Cx(t))}},$x=function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>Rx(t,e))))},Fx=function(t,e){const n={id:`note${_x.length}`,class:e,text:t};_x.push(n)},zx=function(t){return":"===t.substring(0,1)?Jh.sanitizeText(t.substr(1).trim(),ky()):Cx(t.trim())},Hx=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=vx+n),void 0!==kx[n]&&kx[n].cssClasses.push(e)}))},Ux=function(t,e){const n=ky();t.split(",").forEach((function(t){void 0!==e&&(kx[t].tooltip=Jh.sanitizeText(e,n))}))},Gx=function(t){return kx[t].tooltip},qx=function(t,e,n){const i=ky();t.split(",").forEach((function(t){let r=t;t[0].match(/\d/)&&(r=vx+r),void 0!==kx[r]&&(kx[r].link=mw.formatUrl(e,i),"sandbox"===i.securityLevel?kx[r].linkTarget="_top":kx[r].linkTarget="string"==typeof n?Cx(n):"_blank")})),Hx(t,"clickable")},Kx=function(t,e,n){t.split(",").forEach((function(t){Yx(t,e,n),kx[t].haveCallback=!0})),Hx(t,"clickable")},Yx=function(t,e,n){const i=ky();let r=t,a=Ix(r);if("loose"===i.securityLevel&&void 0!==e&&void 0!==kx[r]){let t=[];if("string"==typeof n){t=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<t.length;e++){let n=t[e].trim();'"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substr(1,n.length-2)),t[e]=n}}0===t.length&&t.push(a),Tx.push((function(){const n=document.querySelector(`[id="${a}"]`);null!==n&&n.addEventListener("click",(function(){mw.runFunc(e,...t)}),!1)}))}},Wx=function(t){Tx.forEach((function(e){e(t)}))},Xx={LINE:0,DOTTED_LINE:1},Vx={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},Qx=function(t){let e=ln(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=ln("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),ln(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=ln(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),ln(this).classed("hover",!1)}))};Tx.push(Qx);let Zx="TB";const Jx={parseDirective:Sx,setAccTitle:tm,getAccTitle:em,getAccDescription:im,setAccDescription:nm,getConfig:()=>ky().class,addClass:Mx,bindFunctions:Wx,clear:Ox,getClass:Lx,getClasses:Nx,getNotes:Px,addAnnotation:jx,addNote:Fx,getRelations:Dx,addRelation:Bx,getDirection:()=>Zx,setDirection:t=>{Zx=t},addMember:Rx,addMembers:$x,cleanupLabel:zx,lineType:Xx,relationType:Vx,setClickEvent:Kx,setCssClass:Hx,setLink:qx,getTooltip:Gx,setTooltip:Ux,lookUpDomId:Ix,setDiagramTitle:rm,getDiagramTitle:am};function tk(t){return null!=t&&"object"==typeof t}var ek="[object Symbol]";function nk(t){return"symbol"==typeof t||tk(t)&&Hp(t)==ek}function ik(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}const rk=Array.isArray;var ak=1/0,ok=Op?Op.prototype:void 0,sk=ok?ok.toString:void 0;function ck(t){if("string"==typeof t)return t;if(rk(t))return ik(t,ck)+"";if(nk(t))return sk?sk.call(t):"";var e=t+"";return"0"==e&&1/t==-ak?"-0":e}var uk=/\s/;function lk(t){for(var e=t.length;e--&&uk.test(t.charAt(e)););return e}var hk=/^\s+/;function fk(t){return t&&t.slice(0,lk(t)+1).replace(hk,"")}var dk=NaN,gk=/^[-+]0x[0-9a-f]+$/i,pk=/^0b[01]+$/i,bk=/^0o[0-7]+$/i,wk=parseInt;function yk(t){if("number"==typeof t)return t;if(nk(t))return dk;if(Up(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Up(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=fk(t);var n=pk.test(t);return n||bk.test(t)?wk(t.slice(2),n?2:8):gk.test(t)?dk:+t}var mk=1/0,vk=17976931348623157e292;function xk(t){return t?(t=yk(t))===mk||t===-mk?(t<0?-1:1)*vk:t==t?t:0:0===t?t:0}function kk(t){var e=xk(t),n=e%1;return e==e?n?e-n:e:0}function _k(t){return t}const Ek=ub(Ip,"WeakMap");var Tk=Object.create;const Ck=function(){function t(){}return function(e){if(!Up(e))return{};if(Tk)return Tk(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Sk(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ak(){}function Mk(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var Ik=800,Ok=16,Lk=Date.now;function Nk(t){var e=0,n=0;return function(){var i=Lk(),r=Ok-(i-n);if(n=i,r>0){if(++e>=Ik)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Dk(t){return function(){return t}}const Pk=function(){try{var t=ub(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Bk=Nk(Pk?function(t,e){return Pk(t,"toString",{configurable:!0,enumerable:!1,value:Dk(e),writable:!0})}:_k);function jk(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function Rk(t,e,n,i){for(var r=t.length,a=n+(i?1:-1);i?a--:++a<r;)if(e(t[a],a,t))return a;return-1}function $k(t){return t!=t}function Fk(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}function zk(t,e,n){return e==e?Fk(t,e,n):Rk(t,$k,n)}function Hk(t,e){return!(null==t||!t.length)&&zk(t,e,0)>-1}var Uk=9007199254740991,Gk=/^(?:0|[1-9]\d*)$/;function qk(t,e){var n=typeof t;return!!(e=e??Uk)&&("number"==n||"symbol"!=n&&Gk.test(t))&&t>-1&&t%1==0&&t<e}function Kk(t,e,n){"__proto__"==e&&Pk?Pk(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var Yk=Object.prototype.hasOwnProperty;function Wk(t,e,n){var i=t[e];(!Yk.call(t,e)||!kb(i,n)||void 0===n&&!(e in t))&&Kk(t,e,n)}function Xk(t,e,n,i){var r=!n;n||(n={});for(var a=-1,o=e.length;++a<o;){var s=e[a],c=i?i(n[s],t[s],s,n,t):void 0;void 0===c&&(c=t[s]),r?Kk(n,s,c):Wk(n,s,c)}return n}var Vk=Math.max;function Qk(t,e,n){return e=Vk(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,a=Vk(i.length-e,0),o=Array(a);++r<a;)o[r]=i[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=i[r];return s[e]=n(o),Sk(t,this,s)}}function Zk(t,e){return Bk(Qk(t,e,_k),t+"")}var Jk=9007199254740991;function t_(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=Jk}function e_(t){return null!=t&&t_(t.length)&&!Wp(t)}function n_(t,e,n){if(!Up(n))return!1;var i=typeof e;return!!("number"==i?e_(n)&&qk(e,n.length):"string"==i&&e in n)&&kb(n[e],t)}function i_(t){return Zk((function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(r--,a):void 0,o&&n_(n[0],n[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++i<r;){var s=n[i];s&&t(e,s,i,a)}return e}))}var r_=Object.prototype;function a_(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r_)}function o_(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}var s_="[object Arguments]";function c_(t){return tk(t)&&Hp(t)==s_}var u_=Object.prototype,l_=u_.hasOwnProperty,h_=u_.propertyIsEnumerable,f_=c_(function(){return arguments}())?c_:function(t){return tk(t)&&l_.call(t,"callee")&&!h_.call(t,"callee")};const d_=f_;function g_(){return!1}var p_=e&&!e.nodeType&&e,b_=p_&&t&&!t.nodeType&&t,w_=b_&&b_.exports===p_?Ip.Buffer:void 0;const y_=(w_?w_.isBuffer:void 0)||g_;var m_="[object Arguments]",v_="[object Array]",x_="[object Boolean]",k_="[object Date]",__="[object Error]",E_="[object Function]",T_="[object Map]",C_="[object Number]",S_="[object Object]",A_="[object RegExp]",M_="[object Set]",I_="[object String]",O_="[object WeakMap]",L_="[object ArrayBuffer]",N_="[object DataView]",D_="[object Float64Array]",P_="[object Int8Array]",B_="[object Int16Array]",j_="[object Int32Array]",R_="[object Uint8Array]",$_="[object Uint8ClampedArray]",F_="[object Uint16Array]",z_="[object Uint32Array]",H_={};function U_(t){return tk(t)&&t_(t.length)&&!!H_[Hp(t)]}function G_(t){return function(e){return t(e)}}H_["[object Float32Array]"]=H_[D_]=H_[P_]=H_[B_]=H_[j_]=H_[R_]=H_[$_]=H_[F_]=H_[z_]=!0,H_[m_]=H_[v_]=H_[L_]=H_[x_]=H_[N_]=H_[k_]=H_[__]=H_[E_]=H_[T_]=H_[C_]=H_[S_]=H_[A_]=H_[M_]=H_[I_]=H_[O_]=!1;var q_=e&&!e.nodeType&&e,K_=q_&&t&&!t.nodeType&&t,Y_=K_&&K_.exports===q_&&Ap.process;const W_=function(){try{return K_&&K_.require&&K_.require("util").types||Y_&&Y_.binding&&Y_.binding("util")}catch{}}();var X_=W_&&W_.isTypedArray;const V_=X_?G_(X_):U_;var Q_=Object.prototype.hasOwnProperty;function Z_(t,e){var n=rk(t),i=!n&&d_(t),r=!n&&!i&&y_(t),a=!n&&!i&&!r&&V_(t),o=n||i||r||a,s=o?o_(t.length,String):[],c=s.length;for(var u in t)(e||Q_.call(t,u))&&(!o||!("length"==u||r&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||qk(u,c)))&&s.push(u);return s}function J_(t,e){return function(n){return t(e(n))}}const tE=J_(Object.keys,Object);var eE=Object.prototype.hasOwnProperty;function nE(t){if(!a_(t))return tE(t);var e=[];for(var n in Object(t))eE.call(t,n)&&"constructor"!=n&&e.push(n);return e}function iE(t){return e_(t)?Z_(t):nE(t)}function rE(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}var aE=Object.prototype.hasOwnProperty;function oE(t){if(!Up(t))return rE(t);var e=a_(t),n=[];for(var i in t)"constructor"==i&&(e||!aE.call(t,i))||n.push(i);return n}function sE(t){return e_(t)?Z_(t,!0):oE(t)}var cE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uE=/^\w*$/;function lE(t,e){if(rk(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!nk(t))||uE.test(t)||!cE.test(t)||null!=e&&t in Object(e)}var hE=500;function fE(t){var e=Fb(t,(function(t){return n.size===hE&&n.clear(),t})),n=e.cache;return e}var dE=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gE=/\\(\\)?/g;const pE=fE((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(dE,(function(t,n,i,r){e.push(i?r.replace(gE,"$1"):n||t)})),e}));function bE(t){return null==t?"":ck(t)}function wE(t,e){return rk(t)?t:lE(t,e)?[t]:pE(bE(t))}var yE=1/0;function mE(t){if("string"==typeof t||nk(t))return t;var e=t+"";return"0"==e&&1/t==-yE?"-0":e}function vE(t,e){for(var n=0,i=(e=wE(e,t)).length;null!=t&&n<i;)t=t[mE(e[n++])];return n&&n==i?t:void 0}function xE(t,e,n){var i=null==t?void 0:vE(t,e);return void 0===i?n:i}function kE(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}var _E=Op?Op.isConcatSpreadable:void 0;function EE(t){return rk(t)||d_(t)||!!(_E&&t&&t[_E])}function TE(t,e,n,i,r){var a=-1,o=t.length;for(n||(n=EE),r||(r=[]);++a<o;){var s=t[a];e>0&&n(s)?e>1?TE(s,e-1,n,i,r):kE(r,s):i||(r[r.length]=s)}return r}function CE(t){return null!=t&&t.length?TE(t,1):[]}function SE(t){return Bk(Qk(t,void 0,CE),t+"")}const AE=J_(Object.getPrototypeOf,Object);var ME="[object Object]",IE=Function.prototype,OE=Object.prototype,LE=IE.toString,NE=OE.hasOwnProperty,DE=LE.call(Object);function PE(t){if(!tk(t)||Hp(t)!=ME)return!1;var e=AE(t);if(null===e)return!0;var n=NE.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&LE.call(n)==DE}function BE(t,e,n,i){var r=-1,a=null==t?0:t.length;for(i&&a&&(n=t[++r]);++r<a;)n=e(n,t[r],r,t);return n}function jE(){this.__data__=new Mb,this.size=0}function RE(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function $E(t){return this.__data__.get(t)}function FE(t){return this.__data__.has(t)}var zE=200;function HE(t,e){var n=this.__data__;if(n instanceof Mb){var i=n.__data__;if(!Ib||i.length<zE-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Rb(i)}return n.set(t,e),this.size=n.size,this}function UE(t){var e=this.__data__=new Mb(t);this.size=e.size}function GE(t,e){return t&&Xk(e,iE(e),t)}function qE(t,e){return t&&Xk(e,sE(e),t)}UE.prototype.clear=jE,UE.prototype.delete=RE,UE.prototype.get=$E,UE.prototype.has=FE,UE.prototype.set=HE;var KE=e&&!e.nodeType&&e,YE=KE&&t&&!t.nodeType&&t,WE=YE&&YE.exports===KE?Ip.Buffer:void 0,XE=WE?WE.allocUnsafe:void 0;function VE(t,e){if(e)return t.slice();var n=t.length,i=XE?XE(n):new t.constructor(n);return t.copy(i),i}function QE(t,e){for(var n=-1,i=null==t?0:t.length,r=0,a=[];++n<i;){var o=t[n];e(o,n,t)&&(a[r++]=o)}return a}function ZE(){return[]}var JE=Object.prototype.propertyIsEnumerable,tT=Object.getOwnPropertySymbols;const eT=tT?function(t){return null==t?[]:(t=Object(t),QE(tT(t),(function(e){return JE.call(t,e)})))}:ZE;function nT(t,e){return Xk(t,eT(t),e)}const iT=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)kE(e,eT(t)),t=AE(t);return e}:ZE;function rT(t,e){return Xk(t,iT(t),e)}function aT(t,e,n){var i=e(t);return rk(t)?i:kE(i,n(t))}function oT(t){return aT(t,iE,eT)}function sT(t){return aT(t,sE,iT)}const cT=ub(Ip,"DataView"),uT=ub(Ip,"Promise"),lT=ub(Ip,"Set");var hT="[object Map]",fT="[object Object]",dT="[object Promise]",gT="[object Set]",pT="[object WeakMap]",bT="[object DataView]",wT=Jp(cT),yT=Jp(Ib),mT=Jp(uT),vT=Jp(lT),xT=Jp(Ek),kT=Hp;(cT&&kT(new cT(new ArrayBuffer(1)))!=bT||Ib&&kT(new Ib)!=hT||uT&&kT(uT.resolve())!=dT||lT&&kT(new lT)!=gT||Ek&&kT(new Ek)!=pT)&&(kT=function(t){var e=Hp(t),n=e==fT?t.constructor:void 0,i=n?Jp(n):"";if(i)switch(i){case wT:return bT;case yT:return hT;case mT:return dT;case vT:return gT;case xT:return pT}return e});const _T=kT;var ET=Object.prototype.hasOwnProperty;function TT(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ET.call(t,"index")&&(n.index=t.index,n.input=t.input),n}const CT=Ip.Uint8Array;function ST(t){var e=new t.constructor(t.byteLength);return new CT(e).set(new CT(t)),e}function AT(t,e){var n=e?ST(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var MT=/\w*$/;function IT(t){var e=new t.constructor(t.source,MT.exec(t));return e.lastIndex=t.lastIndex,e}var OT=Op?Op.prototype:void 0,LT=OT?OT.valueOf:void 0;function NT(t){return LT?Object(LT.call(t)):{}}function DT(t,e){var n=e?ST(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var PT="[object Boolean]",BT="[object Date]",jT="[object Map]",RT="[object Number]",$T="[object RegExp]",FT="[object Set]",zT="[object String]",HT="[object Symbol]",UT="[object ArrayBuffer]",GT="[object DataView]",qT="[object Float32Array]",KT="[object Float64Array]",YT="[object Int8Array]",WT="[object Int16Array]",XT="[object Int32Array]",VT="[object Uint8Array]",QT="[object Uint8ClampedArray]",ZT="[object Uint16Array]",JT="[object Uint32Array]";function tC(t,e,n){var i=t.constructor;switch(e){case UT:return ST(t);case PT:case BT:return new i(+t);case GT:return AT(t,n);case qT:case KT:case YT:case WT:case XT:case VT:case QT:case ZT:case JT:return DT(t,n);case jT:return new i;case RT:case zT:return new i(t);case $T:return IT(t);case FT:return new i;case HT:return NT(t)}}function eC(t){return"function"!=typeof t.constructor||a_(t)?{}:Ck(AE(t))}var nC="[object Map]";function iC(t){return tk(t)&&_T(t)==nC}var rC=W_&&W_.isMap;const aC=rC?G_(rC):iC;var oC="[object Set]";function sC(t){return tk(t)&&_T(t)==oC}var cC=W_&&W_.isSet;const uC=cC?G_(cC):sC;var lC=1,hC=2,fC=4,dC="[object Arguments]",gC="[object Array]",pC="[object Boolean]",bC="[object Date]",wC="[object Error]",yC="[object Function]",mC="[object GeneratorFunction]",vC="[object Map]",xC="[object Number]",kC="[object Object]",_C="[object RegExp]",EC="[object Set]",TC="[object String]",CC="[object Symbol]",SC="[object WeakMap]",AC="[object ArrayBuffer]",MC="[object DataView]",IC="[object Float32Array]",OC="[object Float64Array]",LC="[object Int8Array]",NC="[object Int16Array]",DC="[object Int32Array]",PC="[object Uint8Array]",BC="[object Uint8ClampedArray]",jC="[object Uint16Array]",RC="[object Uint32Array]",$C={};function FC(t,e,n,i,r,a){var o,s=e&lC,c=e&hC,u=e&fC;if(n&&(o=r?n(t,i,r,a):n(t)),void 0!==o)return o;if(!Up(t))return t;var l=rk(t);if(l){if(o=TT(t),!s)return Mk(t,o)}else{var h=_T(t),f=h==yC||h==mC;if(y_(t))return VE(t,s);if(h==kC||h==dC||f&&!r){if(o=c||f?{}:eC(t),!s)return c?rT(t,qE(o,t)):nT(t,GE(o,t))}else{if(!$C[h])return r?t:{};o=tC(t,h,s)}}a||(a=new UE);var d=a.get(t);if(d)return d;a.set(t,o),uC(t)?t.forEach((function(i){o.add(FC(i,e,n,i,t,a))})):aC(t)&&t.forEach((function(i,r){o.set(r,FC(i,e,n,r,t,a))}));var g=l?void 0:(u?c?sT:oT:c?sE:iE)(t);return jk(g||t,(function(i,r){g&&(i=t[r=i]),Wk(o,r,FC(i,e,n,r,t,a))})),o}$C[dC]=$C[gC]=$C[AC]=$C[MC]=$C[pC]=$C[bC]=$C[IC]=$C[OC]=$C[LC]=$C[NC]=$C[DC]=$C[vC]=$C[xC]=$C[kC]=$C[_C]=$C[EC]=$C[TC]=$C[CC]=$C[PC]=$C[BC]=$C[jC]=$C[RC]=!0,$C[wC]=$C[yC]=$C[SC]=!1;var zC=4;function HC(t){return FC(t,zC)}var UC=1,GC=4;function qC(t){return FC(t,UC|GC)}var KC="__lodash_hash_undefined__";function YC(t){return this.__data__.set(t,KC),this}function WC(t){return this.__data__.has(t)}function XC(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Rb;++e<n;)this.add(t[e])}function VC(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}function QC(t,e){return t.has(e)}XC.prototype.add=XC.prototype.push=YC,XC.prototype.has=WC;var ZC=1,JC=2;function tS(t,e,n,i,r,a){var o=n&ZC,s=t.length,c=e.length;if(s!=c&&!(o&&c>s))return!1;var u=a.get(t),l=a.get(e);if(u&&l)return u==e&&l==t;var h=-1,f=!0,d=n&JC?new XC:void 0;for(a.set(t,e),a.set(e,t);++h<s;){var g=t[h],p=e[h];if(i)var b=o?i(p,g,h,e,t,a):i(g,p,h,t,e,a);if(void 0!==b){if(b)continue;f=!1;break}if(d){if(!VC(e,(function(t,e){if(!QC(d,e)&&(g===t||r(g,t,n,i,a)))return d.push(e)}))){f=!1;break}}else if(g!==p&&!r(g,p,n,i,a)){f=!1;break}}return a.delete(t),a.delete(e),f}function eS(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n}function nS(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var iS=1,rS=2,aS="[object Boolean]",oS="[object Date]",sS="[object Error]",cS="[object Map]",uS="[object Number]",lS="[object RegExp]",hS="[object Set]",fS="[object String]",dS="[object Symbol]",gS="[object ArrayBuffer]",pS="[object DataView]",bS=Op?Op.prototype:void 0,wS=bS?bS.valueOf:void 0;function yS(t,e,n,i,r,a,o){switch(n){case pS:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case gS:return!(t.byteLength!=e.byteLength||!a(new CT(t),new CT(e)));case aS:case oS:case uS:return kb(+t,+e);case sS:return t.name==e.name&&t.message==e.message;case lS:case fS:return t==e+"";case cS:var s=eS;case hS:var c=i&iS;if(s||(s=nS),t.size!=e.size&&!c)return!1;var u=o.get(t);if(u)return u==e;i|=rS,o.set(t,e);var l=tS(s(t),s(e),i,r,a,o);return o.delete(t),l;case dS:if(wS)return wS.call(t)==wS.call(e)}return!1}var mS=1,vS=Object.prototype.hasOwnProperty;function xS(t,e,n,i,r,a){var o=n&mS,s=oT(t),c=s.length;if(c!=oT(e).length&&!o)return!1;for(var u=c;u--;){var l=s[u];if(!(o?l in e:vS.call(e,l)))return!1}var h=a.get(t),f=a.get(e);if(h&&f)return h==e&&f==t;var d=!0;a.set(t,e),a.set(e,t);for(var g=o;++u<c;){var p=t[l=s[u]],b=e[l];if(i)var w=o?i(b,p,l,e,t,a):i(p,b,l,t,e,a);if(!(void 0===w?p===b||r(p,b,n,i,a):w)){d=!1;break}g||(g="constructor"==l)}if(d&&!g){var y=t.constructor,m=e.constructor;y!=m&&"constructor"in t&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m)&&(d=!1)}return a.delete(t),a.delete(e),d}var kS=1,_S="[object Arguments]",ES="[object Array]",TS="[object Object]",CS=Object.prototype.hasOwnProperty;function SS(t,e,n,i,r,a){var o=rk(t),s=rk(e),c=o?ES:_T(t),u=s?ES:_T(e),l=(c=c==_S?TS:c)==TS,h=(u=u==_S?TS:u)==TS,f=c==u;if(f&&y_(t)){if(!y_(e))return!1;o=!0,l=!1}if(f&&!l)return a||(a=new UE),o||V_(t)?tS(t,e,n,i,r,a):yS(t,e,c,n,i,r,a);if(!(n&kS)){var d=l&&CS.call(t,"__wrapped__"),g=h&&CS.call(e,"__wrapped__");if(d||g){var p=d?t.value():t,b=g?e.value():e;return a||(a=new UE),r(p,b,n,i,a)}}return!!f&&(a||(a=new UE),xS(t,e,n,i,r,a))}function AS(t,e,n,i,r){return t===e||(null==t||null==e||!tk(t)&&!tk(e)?t!=t&&e!=e:SS(t,e,n,i,AS,r))}var MS=1,IS=2;function OS(t,e,n,i){var r=n.length,a=r,o=!i;if(null==t)return!a;for(t=Object(t);r--;){var s=n[r];if(o&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<a;){var c=(s=n[r])[0],u=t[c],l=s[1];if(o&&s[2]){if(void 0===u&&!(c in t))return!1}else{var h=new UE;if(i)var f=i(u,l,c,t,e,h);if(!(void 0===f?AS(l,u,MS|IS,i,h):f))return!1}}return!0}function LS(t){return t==t&&!Up(t)}function NS(t){for(var e=iE(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,LS(r)]}return e}function DS(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}function PS(t){var e=NS(t);return 1==e.length&&e[0][2]?DS(e[0][0],e[0][1]):function(n){return n===t||OS(n,t,e)}}function BS(t,e){return null!=t&&e in Object(t)}function jS(t,e,n){for(var i=-1,r=(e=wE(e,t)).length,a=!1;++i<r;){var o=mE(e[i]);if(!(a=null!=t&&n(t,o)))break;t=t[o]}return a||++i!=r?a:!!(r=null==t?0:t.length)&&t_(r)&&qk(o,r)&&(rk(t)||d_(t))}function RS(t,e){return null!=t&&jS(t,e,BS)}var $S=1,FS=2;function zS(t,e){return lE(t)&&LS(e)?DS(mE(t),e):function(n){var i=xE(n,t);return void 0===i&&i===e?RS(n,t):AS(e,i,$S|FS)}}function HS(t){return function(e){return null==e?void 0:e[t]}}function US(t){return function(e){return vE(e,t)}}function GS(t){return lE(t)?HS(mE(t)):US(t)}function qS(t){return"function"==typeof t?t:null==t?_k:"object"==typeof t?rk(t)?zS(t[0],t[1]):PS(t):GS(t)}function KS(t){return function(e,n,i){for(var r=-1,a=Object(e),o=i(e),s=o.length;s--;){var c=o[t?s:++r];if(!1===n(a[c],c,a))break}return e}}const YS=KS();function WS(t,e){return t&&YS(t,e,iE)}function XS(t,e){return function(n,i){if(null==n)return n;if(!e_(n))return t(n,i);for(var r=n.length,a=e?r:-1,o=Object(n);(e?a--:++a<r)&&!1!==i(o[a],a,o););return n}}const VS=XS(WS),QS=function(){return Ip.Date.now()};var ZS=Object.prototype,JS=ZS.hasOwnProperty;const tA=Zk((function(t,e){t=Object(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&n_(e[0],e[1],r)&&(i=1);++n<i;)for(var a=e[n],o=sE(a),s=-1,c=o.length;++s<c;){var u=o[s],l=t[u];(void 0===l||kb(l,ZS[u])&&!JS.call(t,u))&&(t[u]=a[u])}return t}));function eA(t,e,n){(void 0!==n&&!kb(t[e],n)||void 0===n&&!(e in t))&&Kk(t,e,n)}function nA(t){return tk(t)&&e_(t)}function iA(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function rA(t){return Xk(t,sE(t))}function aA(t,e,n,i,r,a,o){var s=iA(t,n),c=iA(e,n),u=o.get(c);if(u)eA(t,n,u);else{var l=a?a(s,c,n+"",t,e,o):void 0,h=void 0===l;if(h){var f=rk(c),d=!f&&y_(c),g=!f&&!d&&V_(c);l=c,f||d||g?rk(s)?l=s:nA(s)?l=Mk(s):d?(h=!1,l=VE(c,!0)):g?(h=!1,l=DT(c,!0)):l=[]:PE(c)||d_(c)?(l=s,d_(s)?l=rA(s):(!Up(s)||Wp(s))&&(l=eC(c))):h=!1}h&&(o.set(c,l),r(l,c,i,a,o),o.delete(c)),eA(t,n,l)}}function oA(t,e,n,i,r){t!==e&&YS(e,(function(a,o){if(r||(r=new UE),Up(a))aA(t,e,o,n,oA,i,r);else{var s=i?i(iA(t,o),a,o+"",t,e,r):void 0;void 0===s&&(s=a),eA(t,o,s)}}),sE)}function sA(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function cA(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}function uA(t){return"function"==typeof t?t:_k}function lA(t,e){return(rk(t)?jk:VS)(t,uA(e))}function hA(t,e){var n=[];return VS(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n}function fA(t,e){return(rk(t)?QE:hA)(t,qS(e))}function dA(t){return function(e,n,i){var r=Object(e);if(!e_(e)){var a=qS(n);e=iE(e),n=function(t){return a(r[t],t,r)}}var o=t(e,n,i);return o>-1?r[a?e[o]:o]:void 0}}var gA=Math.max;function pA(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:kk(n);return r<0&&(r=gA(i+r,0)),Rk(t,qS(e),r)}const bA=dA(pA);function wA(t,e){var n=-1,i=e_(t)?Array(t.length):[];return VS(t,(function(t,r,a){i[++n]=e(t,r,a)})),i}function yA(t,e){return(rk(t)?ik:wA)(t,qS(e))}function mA(t,e){return null==t?t:YS(t,uA(e),sE)}function vA(t,e){return t>e}var xA=Object.prototype.hasOwnProperty;function kA(t,e){return null!=t&&xA.call(t,e)}function _A(t,e){return null!=t&&jS(t,e,kA)}function EA(t,e){return ik(e,(function(e){return t[e]}))}function TA(t){return null==t?[]:EA(t,iE(t))}var CA="[object Map]",SA="[object Set]",AA=Object.prototype.hasOwnProperty;function MA(t){if(null==t)return!0;if(e_(t)&&(rk(t)||"string"==typeof t||"function"==typeof t.splice||y_(t)||V_(t)||d_(t)))return!t.length;var e=_T(t);if(e==CA||e==SA)return!t.size;if(a_(t))return!nE(t).length;for(var n in t)if(AA.call(t,n))return!1;return!0}function IA(t){return void 0===t}function OA(t,e){return t<e}function LA(t,e){var n={};return e=qS(e),WS(t,(function(t,i,r){Kk(n,i,e(t,i,r))})),n}function NA(t,e,n){for(var i=-1,r=t.length;++i<r;){var a=t[i],o=e(a);if(null!=o&&(void 0===s?o==o&&!nk(o):n(o,s)))var s=o,c=a}return c}function DA(t){return t&&t.length?NA(t,_k,vA):void 0}const PA=i_((function(t,e,n){oA(t,e,n)}));function BA(t){return t&&t.length?NA(t,_k,OA):void 0}function jA(t,e){return t&&t.length?NA(t,qS(e),OA):void 0}function RA(t,e,n,i){if(!Up(t))return t;for(var r=-1,a=(e=wE(e,t)).length,o=a-1,s=t;null!=s&&++r<a;){var c=mE(e[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=s[c];void 0===(u=i?i(l,c,s):void 0)&&(u=Up(l)?l:qk(e[r+1])?[]:{})}Wk(s,c,u),s=s[c]}return t}function $A(t,e,n){for(var i=-1,r=e.length,a={};++i<r;){var o=e[i],s=vE(t,o);n(s,o)&&RA(a,wE(o,t),s)}return a}function FA(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function zA(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=nk(t),o=void 0!==e,s=null===e,c=e==e,u=nk(e);if(!s&&!u&&!a&&t>e||a&&o&&c&&!s&&!u||i&&o&&c||!n&&c||!r)return 1;if(!i&&!a&&!u&&t<e||u&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!c)return-1}return 0}function HA(t,e,n){for(var i=-1,r=t.criteria,a=e.criteria,o=r.length,s=n.length;++i<o;){var c=zA(r[i],a[i]);if(c)return i>=s?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}function UA(t,e,n){e=e.length?ik(e,(function(t){return rk(t)?function(e){return vE(e,1===t.length?t[0]:t)}:t})):[_k];var i=-1;return e=ik(e,G_(qS)),FA(wA(t,(function(t,n,r){return{criteria:ik(e,(function(e){return e(t)})),index:++i,value:t}})),(function(t,e){return HA(t,e,n)}))}function GA(t,e){return $A(t,e,(function(e,n){return RS(t,n)}))}const qA=SE((function(t,e){return null==t?{}:GA(t,e)}));var KA=Math.ceil,YA=Math.max;function WA(t,e,n,i){for(var r=-1,a=YA(KA((e-t)/(n||1)),0),o=Array(a);a--;)o[i?a:++r]=t,t+=n;return o}function XA(t){return function(e,n,i){return i&&"number"!=typeof i&&n_(e,n,i)&&(n=i=void 0),e=xk(e),void 0===n?(n=e,e=0):n=xk(n),WA(e,n,i=void 0===i?e<n?1:-1:xk(i),t)}}const VA=XA();function QA(t,e,n,i,r){return r(t,(function(t,r,a){n=i?(i=!1,t):e(n,t,r,a)})),n}function ZA(t,e,n){var i=rk(t)?BE:QA,r=arguments.length<3;return i(t,qS(e),n,r,VS)}const JA=Zk((function(t,e){if(null==t)return[];var n=e.length;return n>1&&n_(t,e[0],e[1])?e=[]:n>2&&n_(e[0],e[1],e[2])&&(e=[e[0]]),UA(t,TE(e,1),[])}));var tM=1/0;const eM=lT&&1/nS(new lT([,-0]))[1]==tM?function(t){return new lT(t)}:Ak;var nM=200;function iM(t,e,n){var i=-1,r=Hk,a=t.length,o=!0,s=[],c=s;if(n)o=!1,r=sA;else if(a>=nM){var u=e?null:eM(t);if(u)return nS(u);o=!1,r=QC,c=new XC}else c=e?[]:s;t:for(;++i<a;){var l=t[i],h=e?e(l):l;if(l=n||0!==l?l:0,o&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;e&&c.push(h),s.push(l)}else r(c,h,n)||(c!==s&&c.push(h),s.push(l))}return s}const rM=Zk((function(t){return iM(TE(t,1,nA,!0))}));var aM=0;function oM(t){var e=++aM;return bE(t)+e}function sM(t,e,n){for(var i=-1,r=t.length,a=e.length,o={};++i<r;){var s=i<a?e[i]:void 0;n(o,t[i],s)}return o}function cM(t,e){return sM(t||[],e||[],Wk)}var uM="\0",lM="\0",hM="\x01";class fM{constructor(t={}){this._isDirected=!_A(t,"directed")||t.directed,this._isMultigraph=!!_A(t,"multigraph")&&t.multigraph,this._isCompound=!!_A(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=Dk(void 0),this._defaultEdgeLabelFn=Dk(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[lM]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return Wp(t)||(t=Dk(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return iE(this._nodes)}sources(){var t=this;return fA(this.nodes(),(function(e){return MA(t._in[e])}))}sinks(){var t=this;return fA(this.nodes(),(function(e){return MA(t._out[e])}))}setNodes(t,e){var n=arguments,i=this;return lA(t,(function(t){n.length>1?i.setNode(t,e):i.setNode(t)})),this}setNode(t,e){return _A(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=lM,this._children[t]={},this._children[lM][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return _A(this._nodes,t)}removeNode(t){var e=this;if(_A(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],lA(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),lA(iE(this._in[t]),n),delete this._in[t],delete this._preds[t],lA(iE(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(IA(e))e=lM;else{for(var n=e+="";!IA(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==lM)return e}}children(t){if(IA(t)&&(t=lM),this._isCompound){var e=this._children[t];if(e)return iE(e)}else{if(t===lM)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return iE(e)}successors(t){var e=this._sucs[t];if(e)return iE(e)}neighbors(t){var e=this.predecessors(t);if(e)return rM(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;lA(this._nodes,(function(n,i){t(i)&&e.setNode(i,n)})),lA(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var i={};function r(t){var a=n.parent(t);return void 0===a||e.hasNode(a)?(i[t]=a,a):a in i?i[a]:r(a)}return this._isCompound&&lA(e.nodes(),(function(t){e.setParent(t,r(t))})),e}setDefaultEdgeLabel(t){return Wp(t)||(t=Dk(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return TA(this._edgeObjs)}setPath(t,e){var n=this,i=arguments;return ZA(t,(function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this}setEdge(){var t,e,n,i,r=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(i=arguments[1],r=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),t=""+t,e=""+e,IA(n)||(n=""+n);var o=pM(this._isDirected,t,e,n);if(_A(this._edgeLabels,o))return r&&(this._edgeLabels[o]=i),this;if(!IA(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[o]=r?i:this._defaultEdgeLabelFn(t,e,n);var s=bM(this._isDirected,t,e,n);return t=s.v,e=s.w,Object.freeze(s),this._edgeObjs[o]=s,dM(this._preds[e],t),dM(this._sucs[t],e),this._in[e][o]=s,this._out[t][o]=s,this._edgeCount++,this}edge(t,e,n){var i=1===arguments.length?wM(this._isDirected,arguments[0]):pM(this._isDirected,t,e,n);return this._edgeLabels[i]}hasEdge(t,e,n){var i=1===arguments.length?wM(this._isDirected,arguments[0]):pM(this._isDirected,t,e,n);return _A(this._edgeLabels,i)}removeEdge(t,e,n){var i=1===arguments.length?wM(this._isDirected,arguments[0]):pM(this._isDirected,t,e,n),r=this._edgeObjs[i];return r&&(t=r.v,e=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],gM(this._preds[e],t),gM(this._sucs[t],e),delete this._in[e][i],delete this._out[t][i],this._edgeCount--),this}inEdges(t,e){var n=this._in[t];if(n){var i=TA(n);return e?fA(i,(function(t){return t.v===e})):i}}outEdges(t,e){var n=this._out[t];if(n){var i=TA(n);return e?fA(i,(function(t){return t.w===e})):i}}nodeEdges(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}}function dM(t,e){t[e]?t[e]++:t[e]=1}function gM(t,e){--t[e]||delete t[e]}function pM(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o}return r+hM+a+hM+(IA(i)?uM:i)}function bM(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o}var s={v:r,w:a};return i&&(s.name=i),s}function wM(t,e){return pM(t,e.v,e.w,e.name)}fM.prototype._nodeCount=0,fM.prototype._edgeCount=0;class yM{constructor(){var t={};t._next=t._prev=t,this._sentinel=t}dequeue(){var t=this._sentinel,e=t._prev;if(e!==t)return mM(e),e}enqueue(t){var e=this._sentinel;t._prev&&t._next&&mM(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e}toString(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,vM)),n=n._prev;return"["+t.join(", ")+"]"}}function mM(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function vM(t,e){if("_next"!==t&&"_prev"!==t)return e}var xM=Dk(1);function kM(t,e){if(t.nodeCount()<=1)return[];var n=TM(t,e||xM);return CE(yA(_M(n.graph,n.buckets,n.zeroIdx),(function(e){return t.outEdges(e.v,e.w)})))}function _M(t,e,n){for(var i,r=[],a=e[e.length-1],o=e[0];t.nodeCount();){for(;i=o.dequeue();)EM(t,e,n,i);for(;i=a.dequeue();)EM(t,e,n,i);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(i=e[s].dequeue()){r=r.concat(EM(t,e,n,i,!0));break}}return r}function EM(t,e,n,i,r){var a=r?[]:void 0;return lA(t.inEdges(i.v),(function(i){var o=t.edge(i),s=t.node(i.v);r&&a.push({v:i.v,w:i.w}),s.out-=o,CM(e,n,s)})),lA(t.outEdges(i.v),(function(i){var r=t.edge(i),a=i.w,o=t.node(a);o.in-=r,CM(e,n,o)})),t.removeNode(i.v),a}function TM(t,e){var n=new fM,i=0,r=0;lA(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),lA(t.edges(),(function(t){var a=n.edge(t.v,t.w)||0,o=e(t),s=a+o;n.setEdge(t.v,t.w,s),r=Math.max(r,n.node(t.v).out+=o),i=Math.max(i,n.node(t.w).in+=o)}));var a=VA(r+i+3).map((function(){return new yM})),o=i+1;return lA(n.nodes(),(function(t){CM(a,o,n.node(t))})),{graph:n,buckets:a,zeroIdx:o}}function CM(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}function SM(t){function e(t){return function(e){return t.edge(e).weight}}lA("greedy"===t.graph().acyclicer?kM(t,e(t)):AM(t),(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,oM("rev"))}))}function AM(t){var e=[],n={},i={};function r(a){_A(i,a)||(i[a]=!0,n[a]=!0,lA(t.outEdges(a),(function(t){_A(n,t.w)?e.push(t):r(t.w)})),delete n[a])}return lA(t.nodes(),r),e}function MM(t){lA(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var i=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,i)}}))}function IM(t,e,n,i){var r;do{r=oM(i)}while(t.hasNode(r));return n.dummy=e,t.setNode(r,n),r}function OM(t){var e=(new fM).setGraph(t.graph());return lA(t.nodes(),(function(n){e.setNode(n,t.node(n))})),lA(t.edges(),(function(n){var i=e.edge(n.v,n.w)||{weight:0,minlen:1},r=t.edge(n);e.setEdge(n.v,n.w,{weight:i.weight+r.weight,minlen:Math.max(i.minlen,r.minlen)})})),e}function LM(t){var e=new fM({multigraph:t.isMultigraph()}).setGraph(t.graph());return lA(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),lA(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e}function NM(t,e){var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=u*o/s,i=u):(o<0&&(c=-c),n=c,i=c*s/o),{x:r+n,y:a+i}}function DM(t){var e=yA(VA(RM(t)+1),(function(){return[]}));return lA(t.nodes(),(function(n){var i=t.node(n),r=i.rank;IA(r)||(e[r][i.order]=n)})),e}function PM(t){var e=BA(yA(t.nodes(),(function(e){return t.node(e).rank})));lA(t.nodes(),(function(n){var i=t.node(n);_A(i,"rank")&&(i.rank-=e)}))}function BM(t){var e=BA(yA(t.nodes(),(function(e){return t.node(e).rank}))),n=[];lA(t.nodes(),(function(i){var r=t.node(i).rank-e;n[r]||(n[r]=[]),n[r].push(i)}));var i=0,r=t.graph().nodeRankFactor;lA(n,(function(e,n){IA(e)&&n%r!=0?--i:i&&lA(e,(function(e){t.node(e).rank+=i}))}))}function jM(t,e,n,i){var r={width:0,height:0};return arguments.length>=4&&(r.rank=n,r.order=i),IM(t,"border",r,e)}function RM(t){return DA(yA(t.nodes(),(function(e){var n=t.node(e).rank;if(!IA(n))return n})))}function $M(t,e){var n={lhs:[],rhs:[]};return lA(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n}function FM(t,e){var n=QS();try{return e()}finally{console.log(t+" time: "+(QS()-n)+"ms")}}function zM(t,e){return e()}function HM(t){function e(n){var i=t.children(n),r=t.node(n);if(i.length&&lA(i,e),_A(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var a=r.minRank,o=r.maxRank+1;a<o;++a)UM(t,"borderLeft","_bl",n,r,a),UM(t,"borderRight","_br",n,r,a)}}lA(t.children(),e)}function UM(t,e,n,i,r,a){var o={width:0,height:0,rank:a,borderType:e},s=r[e][a-1],c=IM(t,"border",o,n);r[e][a]=c,t.setParent(c,i),s&&t.setEdge(s,c,{weight:1})}function GM(t){var e=t.graph().rankdir.toLowerCase();("lr"===e||"rl"===e)&&KM(t)}function qM(t){var e=t.graph().rankdir.toLowerCase();("bt"===e||"rl"===e)&&WM(t),("lr"===e||"rl"===e)&&(VM(t),KM(t))}function KM(t){lA(t.nodes(),(function(e){YM(t.node(e))})),lA(t.edges(),(function(e){YM(t.edge(e))}))}function YM(t){var e=t.width;t.width=t.height,t.height=e}function WM(t){lA(t.nodes(),(function(e){XM(t.node(e))})),lA(t.edges(),(function(e){var n=t.edge(e);lA(n.points,XM),_A(n,"y")&&XM(n)}))}function XM(t){t.y=-t.y}function VM(t){lA(t.nodes(),(function(e){QM(t.node(e))})),lA(t.edges(),(function(e){var n=t.edge(e);lA(n.points,QM),_A(n,"x")&&QM(n)}))}function QM(t){var e=t.x;t.x=t.y,t.y=e}function ZM(t){t.graph().dummyChains=[],lA(t.edges(),(function(e){JM(t,e)}))}function JM(t,e){var n=e.v,i=t.node(n).rank,r=e.w,a=t.node(r).rank,o=e.name,s=t.edge(e),c=s.labelRank;if(a!==i+1){var u,l,h;for(t.removeEdge(e),h=0,++i;i<a;++h,++i)s.points=[],u=IM(t,"edge",l={width:0,height:0,edgeLabel:s,edgeObj:e,rank:i},"_d"),i===c&&(l.width=s.width,l.height=s.height,l.dummy="edge-label",l.labelpos=s.labelpos),t.setEdge(n,u,{weight:s.weight},o),0===h&&t.graph().dummyChains.push(u),n=u;t.setEdge(n,r,{weight:s.weight},o)}}function tI(t){lA(t.graph().dummyChains,(function(e){var n,i=t.node(e),r=i.edgeLabel;for(t.setEdge(i.edgeObj,r);i.dummy;)n=t.successors(e)[0],t.removeNode(e),r.points.push({x:i.x,y:i.y}),"edge-label"===i.dummy&&(r.x=i.x,r.y=i.y,r.width=i.width,r.height=i.height),e=n,i=t.node(e)}))}function eI(t){var e={};function n(i){var r=t.node(i);if(_A(e,i))return r.rank;e[i]=!0;var a=BA(yA(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return(a===Number.POSITIVE_INFINITY||null==a)&&(a=0),r.rank=a}lA(t.sources(),n)}function nI(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function iI(t){var e,n,i=new fM({directed:!1}),r=t.nodes()[0],a=t.nodeCount();for(i.setNode(r,{});rI(i,t)<a;)e=aI(i,t),n=i.hasNode(e.v)?nI(t,e):-nI(t,e),oI(i,t,n);return i}function rI(t,e){function n(i){lA(e.nodeEdges(i),(function(r){var a=r.v,o=i===a?r.w:a;!t.hasNode(o)&&!nI(e,r)&&(t.setNode(o,{}),t.setEdge(i,o,{}),n(o))}))}return lA(t.nodes(),n),t.nodeCount()}function aI(t,e){return jA(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return nI(e,n)}))}function oI(t,e,n){lA(t.nodes(),(function(t){e.node(t).rank+=n}))}function sI(){}function cI(t,e,n){rk(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),r=[],a={};return lA(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);uI(t,e,"post"===n,a,i,r)})),r}function uI(t,e,n,i,r,a){_A(i,e)||(i[e]=!0,n||a.push(e),lA(r(e),(function(e){uI(t,e,n,i,r,a)})),n&&a.push(e))}function lI(t,e){return cI(t,e,"post")}function hI(t,e){return cI(t,e,"pre")}function fI(t){eI(t=OM(t));var e,n=iI(t);for(bI(n),dI(n,t);e=yI(n);)vI(n,t,e,mI(n,t,e))}function dI(t,e){var n=lI(t,t.nodes());lA(n=n.slice(0,n.length-1),(function(n){gI(t,e,n)}))}function gI(t,e,n){var i=t.node(n).parent;t.edge(n,i).cutvalue=pI(t,e,n)}function pI(t,e,n){var i=t.node(n).parent,r=!0,a=e.edge(n,i),o=0;return a||(r=!1,a=e.edge(i,n)),o=a.weight,lA(e.nodeEdges(n),(function(a){var s=a.v===n,c=s?a.w:a.v;if(c!==i){var u=s===r,l=e.edge(a).weight;if(o+=u?l:-l,kI(t,n,c)){var h=t.edge(n,c).cutvalue;o+=u?-h:h}}})),o}function bI(t,e){arguments.length<2&&(e=t.nodes()[0]),wI(t,{},1,e)}function wI(t,e,n,i,r){var a=n,o=t.node(i);return e[i]=!0,lA(t.neighbors(i),(function(r){_A(e,r)||(n=wI(t,e,n,r,i))})),o.low=a,o.lim=n++,r?o.parent=r:delete o.parent,n}function yI(t){return bA(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function mI(t,e,n){var i=n.v,r=n.w;e.hasEdge(i,r)||(i=n.w,r=n.v);var a=t.node(i),o=t.node(r),s=a,c=!1;return a.lim>o.lim&&(s=o,c=!0),jA(fA(e.edges(),(function(e){return c===_I(t,t.node(e.v),s)&&c!==_I(t,t.node(e.w),s)})),(function(t){return nI(e,t)}))}function vI(t,e,n,i){var r=n.v,a=n.w;t.removeEdge(r,a),t.setEdge(i.v,i.w,{}),bI(t),dI(t,e),xI(t,e)}function xI(t,e){var n=bA(t.nodes(),(function(t){return!e.node(t).parent})),i=hI(t,n);lA(i=i.slice(1),(function(n){var i=t.node(n).parent,r=e.edge(n,i),a=!1;r||(r=e.edge(i,n),a=!0),e.node(n).rank=e.node(i).rank+(a?r.minlen:-r.minlen)}))}function kI(t,e,n){return t.hasEdge(e,n)}function _I(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function EI(t){switch(t.graph().ranker){case"network-simplex":default:SI(t);break;case"tight-tree":CI(t);break;case"longest-path":TI(t)}}sI.prototype=new Error,fI.initLowLimValues=bI,fI.initCutValues=dI,fI.calcCutValue=pI,fI.leaveEdge=yI,fI.enterEdge=mI,fI.exchangeEdges=vI;var TI=eI;function CI(t){eI(t),iI(t)}function SI(t){fI(t)}function AI(t){var e=IM(t,"root",{},"_root"),n=II(t),i=DA(TA(n))-1,r=2*i+1;t.graph().nestingRoot=e,lA(t.edges(),(function(e){t.edge(e).minlen*=r}));var a=OI(t)+1;lA(t.children(),(function(o){MI(t,e,r,a,i,n,o)})),t.graph().nodeRankFactor=r}function MI(t,e,n,i,r,a,o){var s=t.children(o);if(s.length){var c=jM(t,"_bt"),u=jM(t,"_bb"),l=t.node(o);t.setParent(c,o),l.borderTop=c,t.setParent(u,o),l.borderBottom=u,lA(s,(function(s){MI(t,e,n,i,r,a,s);var l=t.node(s),h=l.borderTop?l.borderTop:s,f=l.borderBottom?l.borderBottom:s,d=l.borderTop?i:2*i,g=h!==f?1:r-a[o]+1;t.setEdge(c,h,{weight:d,minlen:g,nestingEdge:!0}),t.setEdge(f,u,{weight:d,minlen:g,nestingEdge:!0})})),t.parent(o)||t.setEdge(e,c,{weight:0,minlen:r+a[o]})}else o!==e&&t.setEdge(e,o,{weight:0,minlen:n})}function II(t){var e={};function n(i,r){var a=t.children(i);a&&a.length&&lA(a,(function(t){n(t,r+1)})),e[i]=r}return lA(t.children(),(function(t){n(t,1)})),e}function OI(t){return ZA(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}function LI(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,lA(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}function NI(t,e,n){var i,r={};lA(n,(function(n){for(var a,o,s=t.parent(n);s;){if((a=t.parent(s))?(o=r[a],r[a]=s):(o=i,i=s),o&&o!==s)return void e.setEdge(o,s);s=a}}))}function DI(t,e,n){var i=PI(t),r=new fM({compound:!0}).setGraph({root:i}).setDefaultNodeLabel((function(e){return t.node(e)}));return lA(t.nodes(),(function(a){var o=t.node(a),s=t.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(r.setNode(a),r.setParent(a,s||i),lA(t[n](a),(function(e){var n=e.v===a?e.w:e.v,i=r.edge(n,a),o=IA(i)?0:i.weight;r.setEdge(n,a,{weight:t.edge(e).weight+o})})),_A(o,"minRank")&&r.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}))})),r}function PI(t){for(var e;t.hasNode(e=oM("_root")););return e}function BI(t,e){for(var n=0,i=1;i<e.length;++i)n+=jI(t,e[i-1],e[i]);return n}function jI(t,e,n){for(var i=cM(n,yA(n,(function(t,e){return e}))),r=CE(yA(e,(function(e){return JA(yA(t.outEdges(e),(function(e){return{pos:i[e.w],weight:t.edge(e).weight}})),"pos")}))),a=1;a<n.length;)a<<=1;var o=2*a-1;a-=1;var s=yA(new Array(o),(function(){return 0})),c=0;return lA(r.forEach((function(t){var e=t.pos+a;s[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=s[e+1]),s[e=e-1>>1]+=t.weight;c+=t.weight*n}))),c}function RI(t){var e={},n=fA(t.nodes(),(function(e){return!t.children(e).length})),i=DA(yA(n,(function(e){return t.node(e).rank}))),r=yA(VA(i+1),(function(){return[]}));function a(n){if(!_A(e,n)){e[n]=!0;var i=t.node(n);r[i.rank].push(n),lA(t.successors(n),a)}}return lA(JA(n,(function(e){return t.node(e).rank})),a),r}function $I(t,e){return yA(e,(function(e){var n=t.inEdges(e);if(n.length){var i=ZA(n,(function(e,n){var i=t.edge(n),r=t.node(n.v);return{sum:e.sum+i.weight*r.order,weight:e.weight+i.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}function FI(t,e){var n={};return lA(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};IA(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),lA(e.edges(),(function(t){var e=n[t.v],i=n[t.w];!IA(e)&&!IA(i)&&(i.indegree++,e.out.push(n[t.w]))})),zI(fA(n,(function(t){return!t.indegree})))}function zI(t){var e=[];function n(t){return function(e){e.merged||(IA(e.barycenter)||IA(t.barycenter)||e.barycenter>=t.barycenter)&&HI(t,e)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var r=t.pop();e.push(r),lA(r.in.reverse(),n(r)),lA(r.out,i(r))}return yA(fA(e,(function(t){return!t.merged})),(function(t){return qA(t,["vs","i","barycenter","weight"])}))}function HI(t,e){var n=0,i=0;t.weight&&(n+=t.barycenter*t.weight,i+=t.weight),e.weight&&(n+=e.barycenter*e.weight,i+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0}function UI(t,e){var n=$M(t,(function(t){return _A(t,"barycenter")})),i=n.lhs,r=JA(n.rhs,(function(t){return-t.i})),a=[],o=0,s=0,c=0;i.sort(qI(!!e)),c=GI(a,r,c),lA(i,(function(t){c+=t.vs.length,a.push(t.vs),o+=t.barycenter*t.weight,s+=t.weight,c=GI(a,r,c)}));var u={vs:CE(a)};return s&&(u.barycenter=o/s,u.weight=s),u}function GI(t,e,n){for(var i;e.length&&(i=cA(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}function qI(t){return function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:t?n.i-e.i:e.i-n.i}}function KI(t,e,n,i){var r=t.children(e),a=t.node(e),o=a?a.borderLeft:void 0,s=a?a.borderRight:void 0,c={};o&&(r=fA(r,(function(t){return t!==o&&t!==s})));var u=$I(t,r);lA(u,(function(e){if(t.children(e.v).length){var r=KI(t,e.v,n,i);c[e.v]=r,_A(r,"barycenter")&&WI(e,r)}}));var l=FI(u,n);YI(l,c);var h=UI(l,i);if(o&&(h.vs=CE([o,h.vs,s]),t.predecessors(o).length)){var f=t.node(t.predecessors(o)[0]),d=t.node(t.predecessors(s)[0]);_A(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+f.order+d.order)/(h.weight+2),h.weight+=2}return h}function YI(t,e){lA(t,(function(t){t.vs=CE(t.vs.map((function(t){return e[t]?e[t].vs:t})))}))}function WI(t,e){IA(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight)}function XI(t){var e=RM(t),n=VI(t,VA(1,e+1),"inEdges"),i=VI(t,VA(e-1,-1,-1),"outEdges"),r=RI(t);ZI(t,r);for(var a,o=Number.POSITIVE_INFINITY,s=0,c=0;c<4;++s,++c){QI(s%2?n:i,s%4>=2);var u=BI(t,r=DM(t));u<o&&(c=0,a=qC(r),o=u)}ZI(t,a)}function VI(t,e,n){return yA(e,(function(e){return DI(t,e,n)}))}function QI(t,e){var n=new fM;lA(t,(function(t){var i=t.graph().root,r=KI(t,i,n,e);lA(r.vs,(function(e,n){t.node(e).order=n})),NI(t,n,r.vs)}))}function ZI(t,e){lA(e,(function(e){lA(e,(function(e,n){t.node(e).order=n}))}))}function JI(t){var e=eO(t);lA(t.graph().dummyChains,(function(n){for(var i=t.node(n),r=i.edgeObj,a=tO(t,e,r.v,r.w),o=a.path,s=a.lca,c=0,u=o[c],l=!0;n!==r.w;){if(i=t.node(n),l){for(;(u=o[c])!==s&&t.node(u).maxRank<i.rank;)c++;u===s&&(l=!1)}if(!l){for(;c<o.length-1&&t.node(u=o[c+1]).minRank<=i.rank;)c++;u=o[c]}t.setParent(n,u),n=t.successors(n)[0]}}))}function tO(t,e,n,i){var r,a,o=[],s=[],c=Math.min(e[n].low,e[i].low),u=Math.max(e[n].lim,e[i].lim);r=n;do{r=t.parent(r),o.push(r)}while(r&&(e[r].low>c||u>e[r].lim));for(a=r,r=i;(r=t.parent(r))!==a;)s.push(r);return{path:o.concat(s.reverse()),lca:a}}function eO(t){var e={},n=0;function i(r){var a=n;lA(t.children(r),i),e[r]={low:a,lim:n++}}return lA(t.children(),i),e}function nO(t,e){var n={};function i(e,i){var r=0,a=0,o=e.length,s=cA(i);return lA(i,(function(e,c){var u=rO(t,e),l=u?t.node(u).order:o;(u||e===s)&&(lA(i.slice(a,c+1),(function(e){lA(t.predecessors(e),(function(i){var a=t.node(i),o=a.order;(o<r||l<o)&&(!a.dummy||!t.node(e).dummy)&&aO(n,i,e)}))})),a=c+1,r=l)})),i}return ZA(e,i),n}function iO(t,e){var n={};function i(e,i,r,a,o){var s;lA(VA(i,r),(function(i){s=e[i],t.node(s).dummy&&lA(t.predecessors(s),(function(e){var i=t.node(e);i.dummy&&(i.order<a||i.order>o)&&aO(n,e,s)}))}))}function r(e,n){var r,a=-1,o=0;return lA(n,(function(s,c){if("border"===t.node(s).dummy){var u=t.predecessors(s);u.length&&(r=t.node(u[0]).order,i(n,o,c,a,r),o=c,a=r)}i(n,o,n.length,r,e.length)})),n}return ZA(e,r),n}function rO(t,e){if(t.node(e).dummy)return bA(t.predecessors(e),(function(e){return t.node(e).dummy}))}function aO(t,e,n){if(e>n){var i=e;e=n,n=i}var r=t[e];r||(t[e]=r={}),r[n]=!0}function oO(t,e,n){if(e>n){var i=e;e=n,n=i}return _A(t[e],n)}function sO(t,e,n,i){var r={},a={},o={};return lA(e,(function(t){lA(t,(function(t,e){r[t]=t,a[t]=t,o[t]=e}))})),lA(e,(function(t){var e=-1;lA(t,(function(t){var s=i(t);if(s.length)for(var c=((s=JA(s,(function(t){return o[t]}))).length-1)/2,u=Math.floor(c),l=Math.ceil(c);u<=l;++u){var h=s[u];a[t]===t&&e<o[h]&&!oO(n,t,h)&&(a[h]=t,a[t]=r[t]=r[h],e=o[h])}}))})),{root:r,align:a}}function cO(t,e,n,i,r){var a={},o=uO(t,e,n,r),s=r?"borderLeft":"borderRight";function c(t,e){for(var n=o.nodes(),i=n.pop(),r={};i;)r[i]?t(i):(r[i]=!0,n.push(i),n=n.concat(e(i))),i=n.pop()}function u(t){a[t]=o.inEdges(t).reduce((function(t,e){return Math.max(t,a[e.v]+o.edge(e))}),0)}function l(e){var n=o.outEdges(e).reduce((function(t,e){return Math.min(t,a[e.w]-o.edge(e))}),Number.POSITIVE_INFINITY),i=t.node(e);n!==Number.POSITIVE_INFINITY&&i.borderType!==s&&(a[e]=Math.max(a[e],n))}return c(u,o.predecessors.bind(o)),c(l,o.successors.bind(o)),lA(i,(function(t){a[t]=a[n[t]]})),a}function uO(t,e,n,i){var r=new fM,a=t.graph(),o=gO(a.nodesep,a.edgesep,i);return lA(e,(function(e){var i;lA(e,(function(e){var a=n[e];if(r.setNode(a),i){var s=n[i],c=r.edge(s,a);r.setEdge(s,a,Math.max(o(t,e,i),c||0))}i=e}))})),r}function lO(t,e){return jA(TA(e),(function(e){var n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return mA(e,(function(e,r){var a=pO(t,r)/2;n=Math.max(e+a,n),i=Math.min(e-a,i)})),n-i}))}function hO(t,e){var n=TA(e),i=BA(n),r=DA(n);lA(["u","d"],(function(n){lA(["l","r"],(function(a){var o,s=n+a,c=t[s];if(c!==e){var u=TA(c);(o="l"===a?i-BA(u):r-DA(u))&&(t[s]=LA(c,(function(t){return t+o})))}}))}))}function fO(t,e){return LA(t.ul,(function(n,i){if(e)return t[e.toLowerCase()][i];var r=JA(yA(t,i));return(r[1]+r[2])/2}))}function dO(t){var e,n=DM(t),i=PA(nO(t,n),iO(t,n)),r={};lA(["u","d"],(function(a){e="u"===a?n:TA(n).reverse(),lA(["l","r"],(function(n){"r"===n&&(e=yA(e,(function(t){return TA(t).reverse()})));var o=("u"===a?t.predecessors:t.successors).bind(t),s=sO(t,e,i,o),c=cO(t,e,s.root,s.align,"r"===n);"r"===n&&(c=LA(c,(function(t){return-t}))),r[a+n]=c}))}));var a=lO(t,r);return hO(r,a),fO(r,t.graph().align)}function gO(t,e,n){return function(i,r,a){var o,s=i.node(r),c=i.node(a),u=0;if(u+=s.width/2,_A(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":o=-s.width/2;break;case"r":o=s.width/2}if(o&&(u+=n?o:-o),o=0,u+=(s.dummy?e:t)/2,u+=(c.dummy?e:t)/2,u+=c.width/2,_A(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":o=c.width/2;break;case"r":o=-c.width/2}return o&&(u+=n?o:-o),o=0,u}}function pO(t,e){return t.node(e).width}function bO(t){wO(t=LM(t)),lA(dO(t),(function(e,n){t.node(n).x=e}))}function wO(t){var e=DM(t),n=t.graph().ranksep,i=0;lA(e,(function(e){var r=DA(yA(e,(function(e){return t.node(e).height})));lA(e,(function(e){t.node(e).y=i+r/2})),i+=r+n}))}function yO(t,e){var n=e&&e.debugTiming?FM:zM;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return MO(t)}));n(" runLayout",(function(){mO(e,n)})),n(" updateInputGraph",(function(){vO(t,e)}))}))}function mO(t,e){e(" makeSpaceForEdgeLabels",(function(){IO(t)})),e(" removeSelfEdges",(function(){$O(t)})),e(" acyclic",(function(){SM(t)})),e(" nestingGraph.run",(function(){AI(t)})),e(" rank",(function(){EI(LM(t))})),e(" injectEdgeLabelProxies",(function(){OO(t)})),e(" removeEmptyRanks",(function(){BM(t)})),e(" nestingGraph.cleanup",(function(){LI(t)})),e(" normalizeRanks",(function(){PM(t)})),e(" assignRankMinMax",(function(){LO(t)})),e(" removeEdgeLabelProxies",(function(){NO(t)})),e(" normalize.run",(function(){ZM(t)})),e(" parentDummyChains",(function(){JI(t)})),e(" addBorderSegments",(function(){HM(t)})),e(" order",(function(){XI(t)})),e(" insertSelfEdges",(function(){FO(t)})),e(" adjustCoordinateSystem",(function(){GM(t)})),e(" position",(function(){bO(t)})),e(" positionSelfEdges",(function(){zO(t)})),e(" removeBorderNodes",(function(){RO(t)})),e(" normalize.undo",(function(){tI(t)})),e(" fixupEdgeLabelCoords",(function(){BO(t)})),e(" undoCoordinateSystem",(function(){qM(t)})),e(" translateGraph",(function(){DO(t)})),e(" assignNodeIntersects",(function(){PO(t)})),e(" reversePoints",(function(){jO(t)})),e(" acyclic.undo",(function(){MM(t)}))}function vO(t,e){lA(t.nodes(),(function(n){var i=t.node(n),r=e.node(n);i&&(i.x=r.x,i.y=r.y,e.children(n).length&&(i.width=r.width,i.height=r.height))})),lA(t.edges(),(function(n){var i=t.edge(n),r=e.edge(n);i.points=r.points,_A(r,"x")&&(i.x=r.x,i.y=r.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}var xO=["nodesep","edgesep","ranksep","marginx","marginy"],kO={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},_O=["acyclicer","ranker","rankdir","align"],EO=["width","height"],TO={width:0,height:0},CO=["minlen","weight","width","height","labeloffset"],SO={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},AO=["labelpos"];function MO(t){var e=new fM({multigraph:!0,compound:!0}),n=UO(t.graph());return e.setGraph(PA({},kO,HO(n,xO),qA(n,_O))),lA(t.nodes(),(function(n){var i=UO(t.node(n));e.setNode(n,tA(HO(i,EO),TO)),e.setParent(n,t.parent(n))})),lA(t.edges(),(function(n){var i=UO(t.edge(n));e.setEdge(n,PA({},SO,HO(i,CO),qA(i,AO)))})),e}function IO(t){var e=t.graph();e.ranksep/=2,lA(t.edges(),(function(n){var i=t.edge(n);i.minlen*=2,"c"!==i.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?i.width+=i.labeloffset:i.height+=i.labeloffset)}))}function OO(t){lA(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var i=t.node(e.v),r={rank:(t.node(e.w).rank-i.rank)/2+i.rank,e:e};IM(t,"edge-proxy",r,"_ep")}}))}function LO(t){var e=0;lA(t.nodes(),(function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=DA(e,i.maxRank))})),t.graph().maxRank=e}function NO(t){lA(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}function DO(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,r=0,a=t.graph(),o=a.marginx||0,s=a.marginy||0;function c(t){var a=t.x,o=t.y,s=t.width,c=t.height;e=Math.min(e,a-s/2),n=Math.max(n,a+s/2),i=Math.min(i,o-c/2),r=Math.max(r,o+c/2)}lA(t.nodes(),(function(e){c(t.node(e))})),lA(t.edges(),(function(e){var n=t.edge(e);_A(n,"x")&&c(n)})),e-=o,i-=s,lA(t.nodes(),(function(n){var r=t.node(n);r.x-=e,r.y-=i})),lA(t.edges(),(function(n){var r=t.edge(n);lA(r.points,(function(t){t.x-=e,t.y-=i})),_A(r,"x")&&(r.x-=e),_A(r,"y")&&(r.y-=i)})),a.width=n-e+o,a.height=r-i+s}function PO(t){lA(t.edges(),(function(e){var n,i,r=t.edge(e),a=t.node(e.v),o=t.node(e.w);r.points?(n=r.points[0],i=r.points[r.points.length-1]):(r.points=[],n=o,i=a),r.points.unshift(NM(a,n)),r.points.push(NM(o,i))}))}function BO(t){lA(t.edges(),(function(e){var n=t.edge(e);if(_A(n,"x"))switch(("l"===n.labelpos||"r"===n.labelpos)&&(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}function jO(t){lA(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}function RO(t){lA(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),r=t.node(n.borderBottom),a=t.node(cA(n.borderLeft)),o=t.node(cA(n.borderRight));n.width=Math.abs(o.x-a.x),n.height=Math.abs(r.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),lA(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}function $O(t){lA(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}}))}function FO(t){lA(DM(t),(function(e){var n=0;lA(e,(function(e,i){var r=t.node(e);r.order=i+n,lA(r.selfEdges,(function(e){IM(t,"selfedge",{width:e.label.width,height:e.label.height,rank:r.rank,order:i+ ++n,e:e.e,label:e.label},"_se")})),delete r.selfEdges}))}))}function zO(t){lA(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var i=t.node(n.e.v),r=i.x+i.width/2,a=i.y,o=n.x-r,s=i.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:r+2*o/3,y:a-s},{x:r+5*o/6,y:a-s},{x:r+o,y:a},{x:r+5*o/6,y:a+s},{x:r+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}}))}function HO(t,e){return LA(qA(t,e),Number)}function UO(t){var e={};return lA(t,(function(t,n){e[n.toLowerCase()]=t})),e}let GO=0;const qO=function(t,e,n,i){h.debug("Rendering class ",e,n);const r=e.id,a={id:r,label:e.id,width:0,height:0},o=t.append("g").attr("id",i.db.lookUpDomId(r)).attr("class","classGroup");let s;s=e.link?o.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);let c=!0;e.annotations.forEach((function(t){const e=s.append("tspan").text("\xab"+t+"\xbb");c||e.attr("dy",n.textHeight),c=!1}));let u=e.id;void 0!==e.type&&""!==e.type&&(u+="<"+e.type+">");const l=s.append("tspan").text(u).attr("class","title");c||l.attr("dy",n.textHeight);const f=s.node().getBBox().height,d=o.append("line").attr("x1",0).attr("y1",n.padding+f+n.dividerMargin/2).attr("y2",n.padding+f+n.dividerMargin/2),g=o.append("text").attr("x",n.padding).attr("y",f+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.members.forEach((function(t){VO(g,t,c,n),c=!1}));const p=g.node().getBBox(),b=o.append("line").attr("x1",0).attr("y1",n.padding+f+n.dividerMargin+p.height).attr("y2",n.padding+f+n.dividerMargin+p.height),w=o.append("text").attr("x",n.padding).attr("y",f+2*n.dividerMargin+p.height+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.methods.forEach((function(t){VO(w,t,c,n),c=!1}));const y=o.node().getBBox();var m=" ";e.cssClasses.length>0&&(m+=e.cssClasses.join(" "));const v=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",y.width+2*n.padding).attr("height",y.height+n.padding+.5*n.dividerMargin).attr("class",m).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(v-t.getBBox().width)/2)})),e.tooltip&&s.insert("title").text(e.tooltip),d.attr("x2",v),b.attr("x2",v),a.width=v,a.height=y.height+n.padding+.5*n.dividerMargin,a},KO=function(t){const e=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,n=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let i=t.match(e),r=t.match(n);return i&&!r?YO(i):r?WO(r):XO(t)},YO=function(t){let e="",n="";try{let i=t[1]?t[1].trim():"",r=t[2]?t[2].trim():"",a=t[3]?Zh(t[3].trim()):"",o=t[4]?t[4].trim():"",s=t[5]?t[5].trim():"";n=i+r+a+" "+o,e=QO(s)}catch{n=t}return{displayText:n,cssStyle:e}},WO=function(t){let e="",n="";try{let i=t[1]?t[1].trim():"",r=t[2]?t[2].trim():"",a=t[3]?Zh(t[3].trim()):"",o=t[4]?t[4].trim():"";n=i+r+"("+a+")"+(t[5]?" : "+Zh(t[5]).trim():""),e=QO(o)}catch{n=t}return{displayText:n,cssStyle:e}},XO=function(t){let e="",n="",i="",r=t.indexOf("("),a=t.indexOf(")");if(r>1&&a>r&&a<=t.length){let o="",s="",c=t.substring(0,1);c.match(/\w/)?s=t.substring(0,r).trim():(c.match(/[#+~-]/)&&(o=c),s=t.substring(1,r).trim());const u=t.substring(r+1,a);t.substring(a+1,1),n=QO(t.substring(a+1,a+2)),e=o+s+"("+Zh(u.trim())+")",a<t.length&&(i=t.substring(a+2).trim(),""!==i&&(i=" : "+Zh(i),e+=i))}else e=Zh(t);return{displayText:e,cssStyle:n}},VO=function(t,e,n,i){let r=KO(e);const a=t.append("tspan").attr("x",i.padding).text(r.displayText);""!==r.cssStyle&&a.attr("style",r.cssStyle),n||a.attr("dy",i.textHeight)},QO=function(t){switch(t){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},ZO={drawClass:qO,drawEdge:function(t,e,n,i,r){const a=function(t){switch(t){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const o=e.points,s=Fu().x((function(t){return t.x})).y((function(t){return t.y})).curve(Vu),c=t.append("path").attr("d",s(o)).attr("id","edge"+GO).attr("class","relation");let u,l,f="";i.arrowMarkerAbsolute&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replace(/\(/g,"\\("),f=f.replace(/\)/g,"\\)")),1==n.relation.lineType&&c.attr("class","relation dashed-line"),10==n.relation.lineType&&c.attr("class","relation dotted-line"),"none"!==n.relation.type1&&c.attr("marker-start","url("+f+"#"+a(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&c.attr("marker-end","url("+f+"#"+a(n.relation.type2)+"End)");const d=e.points.length;let g,p,b,w,y=mw.calcLabelPosition(e.points);if(u=y.x,l=y.y,d%2!=0&&d>1){let t=mw.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),i=mw.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[d-1]);h.debug("cardinality_1_point "+JSON.stringify(t)),h.debug("cardinality_2_point "+JSON.stringify(i)),g=t.x,p=t.y,b=i.x,w=i.y}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",u).attr("y",l).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=r;const a=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",a.x-i.padding/2).attr("y",a.y-i.padding/2).attr("width",a.width+i.padding).attr("height",a.height+i.padding)}h.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",g).attr("y",p).attr("fill","black").attr("font-size","6").text(n.relationTitle1),void 0!==n.relationTitle2&&"none"!==n.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",b).attr("y",w).attr("fill","black").attr("font-size","6").text(n.relationTitle2),GO++},drawNote:function(t,e,n,i){h.debug("Rendering note ",e,n);const r=e.id,a={id:r,text:e.text,width:0,height:0},o=t.append("g").attr("id",r).attr("class","classGroup");let s=o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const c=JSON.parse(`"${e.text}"`).split("\n");c.forEach((function(t){h.debug(`Adding line: ${t}`),s.append("tspan").text(t).attr("class","title").attr("dy",n.textHeight)}));const u=o.node().getBBox(),l=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",u.width+2*n.padding).attr("height",u.height+c.length*n.textHeight+n.padding+.5*n.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(l-t.getBBox().width)/2)})),a.width=l,a.height=u.height+c.length*n.textHeight+n.padding+.5*n.dividerMargin,a},parseMember:KO};let JO={};const tL=20,eL=function(t){const e=Object.entries(JO).find((e=>e[1].label===t));if(e)return e[0]},nL=function(t){t.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},iL={draw:function(t,e,n,i){const r=ky().class;JO={},h.info("Rendering diagram "+t);const a=ky().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const s=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),c=s.select(`[id='${e}']`);nL(c);const u=new fM({multigraph:!0});u.setGraph({isMultiGraph:!0}),u.setDefaultEdgeLabel((function(){return{}}));const l=i.db.getClasses(),f=Object.keys(l);for(const w of f){const t=l[w],e=ZO.drawClass(c,t,r,i);JO[e.id]=e,u.setNode(e.id,e),h.info("Org height: "+e.height)}i.db.getRelations().forEach((function(t){h.info("tjoho"+eL(t.id1)+eL(t.id2)+JSON.stringify(t)),u.setEdge(eL(t.id1),eL(t.id2),{relation:t},t.title||"DEFAULT")})),i.db.getNotes().forEach((function(t){h.debug(`Adding note: ${JSON.stringify(t)}`);const e=ZO.drawNote(c,t,r,i);JO[e.id]=e,u.setNode(e.id,e),t.class&&t.class in l&&u.setEdge(t.id,eL(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),yO(u),u.nodes().forEach((function(t){void 0!==t&&void 0!==u.node(t)&&(h.debug("Node "+t+": "+JSON.stringify(u.node(t))),s.select("#"+(i.db.lookUpDomId(t)||t)).attr("transform","translate("+(u.node(t).x-u.node(t).width/2)+","+(u.node(t).y-u.node(t).height/2)+" )"))})),u.edges().forEach((function(t){void 0!==t&&void 0!==u.edge(t)&&(h.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(u.edge(t))),ZO.drawEdge(c,u.edge(t),u.edge(t).relation,r,i))}));const d=c.node().getBBox(),g=d.width+2*tL,p=d.height+2*tL;Ly(c,p,g,r.useMaxWidth);const b=`${d.x-tL} ${d.y-tL} ${g} ${p}`;h.debug(`viewBox ${b}`),c.attr("viewBox",b)}};function rL(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:aL(t),edges:oL(t)};return IA(t.graph())||(e.value=HC(t.graph())),e}function aL(t){return yA(t.nodes(),(function(e){var n=t.node(e),i=t.parent(e),r={v:e};return IA(n)||(r.value=n),IA(i)||(r.parent=i),r}))}function oL(t){return yA(t.edges(),(function(e){var n=t.edge(e),i={v:e.v,w:e.w};return IA(e.name)||(i.name=e.name),IA(n)||(i.value=n),i}))}const sL=(t,e,n,i)=>{e.forEach((e=>{cL[e](t,n,i)}))},cL={extension:(t,e,n)=>{h.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(t,e)=>{t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e)=>{t.append("marker").attr("id",e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e)=>{t.append("marker").attr("id",e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},uL=sL;function lL(t,e){e&&t.attr("style",e)}function hL(t){const e=ln(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=e.append("xhtml:div"),i=t.label,r=t.isNode?"nodeLabel":"edgeLabel";return n.html('<span class="'+r+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+i+"</span>"),lL(n,t.labelStyle),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}const fL=(t,e,n,i)=>{let r=t||"";if("object"==typeof r&&(r=r[0]),Qh(ky().flowchart.htmlLabels))return r=r.replace(/\\n|\n/g,"<br />"),h.info("vertexText"+r),hL({isNode:i,label:ZH(r).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")});{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];i="string"==typeof r?r.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(r)?r:[];for(const e of i){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),n?i.setAttribute("class","title-row"):i.setAttribute("class","row"),i.textContent=e.trim(),t.appendChild(i)}return t}},dL=(t,e,n,i)=>{let r;r=n||"node default";const a=t.insert("g").attr("class",r).attr("id",e.domId||e.id),o=a.insert("g").attr("class","label").attr("style",e.labelStyle);let s;s=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const c=o.node().appendChild(fL(Kh(ZH(s),ky()),e.labelStyle,!1,i));let u=c.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=c.children[0],e=ln(c);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}const l=e.padding/2;return o.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),{shapeSvg:a,bbox:u,halfPadding:l,label:o}},gL=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height};function pL(t,e,n,i){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+n/2+")")}let bL={},wL={},yL={};const mL=()=>{wL={},yL={},bL={}},vL=(t,e)=>(h.trace("In isDecendant",e," ",t," = ",wL[e].includes(t)),!!wL[e].includes(t)),xL=(t,e)=>(h.info("Decendants of ",e," is ",wL[e]),h.info("Edge is ",t),t.v!==e&&t.w!==e&&(wL[e]?wL[e].includes(t.v)||vL(t.v,e)||vL(t.w,e)||wL[e].includes(t.w):(h.debug("Tilt, ",e,",not in decendants"),!1))),kL=(t,e,n,i)=>{h.warn("Copying children of ",t,"root",i,"data",e.node(t),i);const r=e.children(t)||[];t!==i&&r.push(t),h.warn("Copying (nodes) clusterId",t,"nodes",r),r.forEach((r=>{if(e.children(r).length>0)kL(r,e,n,i);else{const a=e.node(r);h.info("cp ",r," to ",i," with parent ",t),n.setNode(r,a),i!==e.parent(r)&&(h.warn("Setting parent",r,e.parent(r)),n.setParent(r,e.parent(r))),t!==i&&r!==t?(h.debug("Setting parent",r,t),n.setParent(r,t)):(h.info("In copy ",t,"root",i,"data",e.node(t),i),h.debug("Not Setting parent for node=",r,"cluster!==rootId",t!==i,"node!==clusterId",r!==t));const o=e.edges(r);h.debug("Copying Edges",o),o.forEach((r=>{h.info("Edge",r);const a=e.edge(r.v,r.w,r.name);h.info("Edge data",a,i);try{xL(r,i)?(h.info("Copying as ",r.v,r.w,a,r.name),n.setEdge(r.v,r.w,a,r.name),h.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):h.info("Skipping copy of edge ",r.v,"--\x3e",r.w," rootId: ",i," clusterId:",t)}catch(o){h.error(o)}}))}h.debug("Removing node",r),e.removeNode(r)}))},_L=(t,e)=>{const n=e.children(t);let i=[...n];for(const r of n)yL[r]=t,i=[...i,..._L(r,e)];return i},EL=(t,e)=>{h.trace("Searching",t);const n=e.children(t);if(h.trace("Searching children of id ",t,n),n.length<1)return h.trace("This is a valid node",t),t;for(const i of n){const n=EL(i,e);if(n)return h.trace("Found replacement for",t," => ",n),n}},TL=t=>bL[t]&&bL[t].externalConnections&&bL[t]?bL[t].id:t,CL=(t,e)=>{!t||e>10?h.debug("Opting out, no graph "):(h.debug("Opting in, graph "),t.nodes().forEach((function(e){t.children(e).length>0&&(h.warn("Cluster identified",e," Replacement id in edges: ",EL(e,t)),wL[e]=_L(e,t),bL[e]={id:EL(e,t),clusterData:t.node(e)})})),t.nodes().forEach((function(e){const n=t.children(e),i=t.edges();n.length>0?(h.debug("Cluster identified",e,wL),i.forEach((t=>{t.v!==e&&t.w!==e&&vL(t.v,e)^vL(t.w,e)&&(h.warn("Edge: ",t," leaves cluster ",e),h.warn("Decendants of XXX ",e,": ",wL[e]),bL[e].externalConnections=!0)}))):h.debug("Not a cluster ",e,wL)})),t.edges().forEach((function(e){const n=t.edge(e);h.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),h.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let i=e.v,r=e.w;if(h.warn("Fix XXX",bL,"ids:",e.v,e.w,"Translating: ",bL[e.v]," --- ",bL[e.w]),bL[e.v]&&bL[e.w]&&bL[e.v]===bL[e.w]){h.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),h.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=TL(e.v),r=TL(e.w),t.removeEdge(e.v,e.w,e.name);const a=e.w+"---"+e.v;t.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=JSON.parse(JSON.stringify(n)),s=JSON.parse(JSON.stringify(n));o.label="",o.arrowTypeEnd="none",s.label="",o.fromCluster=e.v,s.toCluster=e.v,t.setEdge(i,a,o,e.name+"-cyclic-special"),t.setEdge(a,r,s,e.name+"-cyclic-special")}else(bL[e.v]||bL[e.w])&&(h.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=TL(e.v),r=TL(e.w),t.removeEdge(e.v,e.w,e.name),i!==e.v&&(n.fromCluster=e.v),r!==e.w&&(n.toCluster=e.w),h.warn("Fix Replacing with XXX",i,r,e.name),t.setEdge(i,r,n,e.name))})),h.warn("Adjusted Graph",rL(t)),SL(t,0),h.trace(bL))},SL=(t,e)=>{if(h.warn("extractor - ",e,rL(t),t.children("D")),e>10)return void h.error("Bailing out");let n=t.nodes(),i=!1;for(const r of n){const e=t.children(r);i=i||e.length>0}if(i){h.debug("Nodes = ",n,e);for(const i of n)if(h.debug("Extracting node",i,bL,bL[i]&&!bL[i].externalConnections,!t.parent(i),t.node(i),t.children("D")," Depth ",e),bL[i])if(!bL[i].externalConnections&&t.children(i)&&t.children(i).length>0){h.warn("Cluster without external connections, without a parent and with children",i,e);let n="TB"===t.graph().rankdir?"LR":"TB";bL[i]&&bL[i].clusterData&&bL[i].clusterData.dir&&(n=bL[i].clusterData.dir,h.warn("Fixing dir",bL[i].clusterData.dir,n));const r=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));h.warn("Old graph before copy",rL(t)),kL(i,t,r,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:bL[i].clusterData,labelText:bL[i].labelText,graph:r}),h.warn("New graph after copy node: (",i,")",rL(r)),h.debug("Old graph after copy",rL(t))}else h.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!bL[i].externalConnections," no parent: ",!t.parent(i)," children ",t.children(i)&&t.children(i).length>0,t.children("D"),e),h.debug(bL);else h.debug("Not a cluster",i,e);n=t.nodes(),h.warn("New list of nodes",n);for(const i of n){const n=t.node(i);h.warn(" Now next level",i,n),n.clusterNode&&SL(n.graph,e+1)}}else h.debug("Done, no node has children",t.nodes())},AL=(t,e)=>{if(0===e.length)return[];let n=Object.assign(e);return e.forEach((e=>{const i=t.children(e),r=AL(t,i);n=[...n,...r]})),n},ML=t=>AL(t,t.children());function IL(t,e){return t.intersect(e)}function OL(t,e,n,i){var r=t.x,a=t.y,o=r-i.x,s=a-i.y,c=Math.sqrt(e*e*s*s+n*n*o*o),u=Math.abs(e*n*o/c);i.x<r&&(u=-u);var l=Math.abs(e*n*s/c);return i.y<a&&(l=-l),{x:r+u,y:a+l}}function LL(t,e,n){return OL(t,e,e,n)}function NL(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=r*n.x+o*n.y+c,d=r*i.x+o*i.y+c,!(0!==f&&0!==d&&DL(f,d)||(a=i.y-n.y,s=n.x-i.x,u=i.x*n.y-n.x*i.y,l=a*t.x+s*t.y+u,h=a*e.x+s*e.y+u,0!==l&&0!==h&&DL(l,h)||(g=r*s-a*o,0===g))))return p=Math.abs(g/2),{x:(b=o*u-s*c)<0?(b-p)/g:(b+p)/g,y:(b=a*c-r*u)<0?(b-p)/g:(b+p)/g}}function DL(t,e){return t*e>0}function PL(t,e,n){var i=t.x,r=t.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){o=Math.min(o,t.x),s=Math.min(s,t.y)})):(o=Math.min(o,e.x),s=Math.min(s,e.y));for(var c=i-t.width/2-o,u=r-t.height/2-s,l=0;l<e.length;l++){var h=e[l],f=e[l<e.length-1?l+1:0],d=NL(t,n,{x:c+h.x,y:u+h.y},{x:c+f.x,y:u+f.y});d&&a.push(d)}return a.length?(a.length>1&&a.sort((function(t,e){var i=t.x-n.x,r=t.y-n.y,a=Math.sqrt(i*i+r*r),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1})),a[0]):t}const BL=(t,e)=>{var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=0===s?0:u*o/s,i=u):(o<0&&(c=-c),n=c,i=0===o?0:c*s/o),{x:r+n,y:a+i}},jL={node:IL,circle:LL,ellipse:OL,polygon:PL,rect:BL},RL=(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding+(i.height+e.padding),a=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}];h.info("Question main (Circle)");const o=pL(n,r,r,a);return o.attr("style",e.style),gL(e,o),e.intersect=function(t){return h.warn("Intersect called"),jL.polygon(e,a,t)},n};function $L(t,e,n,i){const r=[],a=t=>{r.push(t,0)},o=t=>{r.push(0,t)};e.includes("t")?(h.debug("add top border"),a(n)):o(n),e.includes("r")?(h.debug("add right border"),a(i)):o(i),e.includes("b")?(h.debug("add bottom border"),a(n)):o(n),e.includes("l")?(h.debug("add left border"),a(i)):o(i),t.attr("stroke-dasharray",r.join(" "))}const FL=(t,e,n)=>{const i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let r=70,a=10;"LR"===n&&(r=10,a=70);const o=i.append("rect").attr("x",-1*r/2).attr("y",-1*a/2).attr("width",r).attr("height",a).attr("class","fork-join");return gL(e,o),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return jL.rect(e,t)},i},zL={rhombus:RL,question:RL,rect:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=dL(t,e,"node "+e.classes,!0);h.trace("Classes = ",e.classes);const a=n.insert("rect",":first-child"),o=i.width+e.padding,s=i.height+e.padding;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-r).attr("y",-i.height/2-r).attr("width",o).attr("height",s),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&($L(a,e.props.borders,o,s),t.delete("borders")),t.forEach((t=>{h.warn(`Unknown node property ${t}`)}))}return gL(e,a),e.intersect=function(t){return jL.rect(e,t)},n},labelRect:(t,e)=>{const{shapeSvg:n}=dL(t,e,"label",!0);h.trace("Classes = ",e.classes);const i=n.insert("rect",":first-child"),r=0,a=0;if(i.attr("width",r).attr("height",a),n.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&($L(i,e.props.borders,r,a),t.delete("borders")),t.forEach((t=>{h.warn(`Unknown node property ${t}`)}))}return gL(e,i),e.intersect=function(t){return jL.rect(e,t)},n},rectWithTitle:(t,e)=>{let n;n=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",n).attr("id",e.domId||e.id),r=i.insert("rect",":first-child"),a=i.insert("line"),o=i.insert("g").attr("class","label"),s=e.labelText.flat?e.labelText.flat():e.labelText;let c="";c="object"==typeof s?s[0]:s,h.info("Label text abc79",c,s,"object"==typeof s);const u=o.node().appendChild(fL(c,e.labelStyle,!0,!0));let l={width:0,height:0};if(Qh(ky().flowchart.htmlLabels)){const t=u.children[0],e=ln(u);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}h.info("Text 2",s);const f=s.slice(1,s.length);let d=u.getBBox();const g=o.node().appendChild(fL(f.join?f.join("<br/>"):f,e.labelStyle,!0,!0));if(Qh(ky().flowchart.htmlLabels)){const t=g.children[0],e=ln(g);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}const p=e.padding/2;return ln(g).attr("transform","translate( "+(l.width>d.width?0:(d.width-l.width)/2)+", "+(d.height+p+5)+")"),ln(u).attr("transform","translate( "+(l.width<d.width?0:-(d.width-l.width)/2)+", 0)"),l=o.node().getBBox(),o.attr("transform","translate("+-l.width/2+", "+(-l.height/2-p+3)+")"),r.attr("class","outer title-state").attr("x",-l.width/2-p).attr("y",-l.height/2-p).attr("width",l.width+e.padding).attr("height",l.height+e.padding),a.attr("class","divider").attr("x1",-l.width/2-p).attr("x2",l.width/2+p).attr("y1",-l.height/2-p+d.height+p).attr("y2",-l.height/2-p+d.height+p),gL(e,r),e.intersect=function(t){return jL.rect(e,t)},i},choice:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=28,r=[{x:0,y:i/2},{x:i/2,y:0},{x:0,y:-i/2},{x:-i/2,y:0}];return n.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return jL.circle(e,14,t)},n},circle:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=dL(t,e,void 0,!0),a=n.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+r).attr("width",i.width+e.padding).attr("height",i.height+e.padding),h.info("Circle main"),gL(e,a),e.intersect=function(t){return h.info("Circle intersect",e,i.width/2+r,t),jL.circle(e,i.width/2+r,t)},n},doublecircle:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=dL(t,e,void 0,!0),a=5,o=n.insert("g",":first-child"),s=o.insert("circle"),c=o.insert("circle");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+r+a).attr("width",i.width+e.padding+2*a).attr("height",i.height+e.padding+2*a),c.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+r).attr("width",i.width+e.padding).attr("height",i.height+e.padding),h.info("DoubleCircle main"),gL(e,s),e.intersect=function(t){return h.info("DoubleCircle intersect",e,i.width/2+r+a,t),jL.circle(e,i.width/2+r+a,t)},n},stadium:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.height+e.padding,a=i.width+r/4+e.padding,o=n.insert("rect",":first-child").attr("style",e.style).attr("rx",r/2).attr("ry",r/2).attr("x",-a/2).attr("y",-r/2).attr("width",a).attr("height",r);return gL(e,o),e.intersect=function(t){return jL.rect(e,t)},n},hexagon:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=4,a=i.height+e.padding,o=a/r,s=i.width+2*o+e.padding,c=[{x:o,y:0},{x:s-o,y:0},{x:s,y:-a/2},{x:s-o,y:-a},{x:o,y:-a},{x:0,y:-a/2}],u=pL(n,s,a,c);return u.attr("style",e.style),gL(e,u),e.intersect=function(t){return jL.polygon(e,c,t)},n},rect_left_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-a/2,y:0},{x:r,y:0},{x:r,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return pL(n,r,a,o).attr("style",e.style),e.width=r+a,e.height=a,e.intersect=function(t){return jL.polygon(e,o,t)},n},lean_right:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:a/6,y:-a}],s=pL(n,r,a,o);return s.attr("style",e.style),gL(e,s),e.intersect=function(t){return jL.polygon(e,o,t)},n},lean_left:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:2*a/6,y:0},{x:r+a/6,y:0},{x:r-2*a/6,y:-a},{x:-a/6,y:-a}],s=pL(n,r,a,o);return s.attr("style",e.style),gL(e,s),e.intersect=function(t){return jL.polygon(e,o,t)},n},trapezoid:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r+2*a/6,y:0},{x:r-a/6,y:-a},{x:a/6,y:-a}],s=pL(n,r,a,o);return s.attr("style",e.style),gL(e,s),e.intersect=function(t){return jL.polygon(e,o,t)},n},inv_trapezoid:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:-2*a/6,y:-a}],s=pL(n,r,a,o);return s.attr("style",e.style),gL(e,s),e.intersect=function(t){return jL.polygon(e,o,t)},n},rect_right_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r+a/2,y:0},{x:r,y:-a/2},{x:r+a/2,y:-a},{x:0,y:-a}],s=pL(n,r,a,o);return s.attr("style",e.style),gL(e,s),e.intersect=function(t){return jL.polygon(e,o,t)},n},cylinder:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=r/2,o=a/(2.5+r/50),s=i.height+o+e.padding,c="M 0,"+o+" a "+a+","+o+" 0,0,0 "+r+" 0 a "+a+","+o+" 0,0,0 "+-r+" 0 l 0,"+s+" a "+a+","+o+" 0,0,0 "+r+" 0 l 0,"+-s,u=n.attr("label-offset-y",o).insert("path",":first-child").attr("style",e.style).attr("d",c).attr("transform","translate("+-r/2+","+-(s/2+o)+")");return gL(e,u),e.intersect=function(t){const n=jL.rect(e,t),i=n.x-e.x;if(0!=a&&(Math.abs(i)<e.width/2||Math.abs(i)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-o)){let r=o*o*(1-i*i/(a*a));0!=r&&(r=Math.sqrt(r)),r=o-r,t.y-e.y>0&&(r=-r),n.y+=r}return n},n},start:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),gL(e,i),e.intersect=function(t){return jL.circle(e,7,t)},n},end:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child"),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),i.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),gL(e,r),e.intersect=function(t){return jL.circle(e,7,t)},n},note:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=dL(t,e,"node "+e.classes,!0);h.info("Classes = ",e.classes);const a=n.insert("rect",":first-child");return a.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-r).attr("y",-i.height/2-r).attr("width",i.width+e.padding).attr("height",i.height+e.padding),gL(e,a),e.intersect=function(t){return jL.rect(e,t)},n},subroutine:(t,e)=>{const{shapeSvg:n,bbox:i}=dL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r,y:0},{x:r,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:r+8,y:0},{x:r+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],s=pL(n,r,a,o);return s.attr("style",e.style),gL(e,s),e.intersect=function(t){return jL.polygon(e,o,t)},n},fork:FL,join:FL,class_box:(t,e)=>{const n=e.padding/2,i=4,r=8;let a;a=e.classes?"node "+e.classes:"node default";const o=t.insert("g").attr("class",a).attr("id",e.domId||e.id),s=o.insert("rect",":first-child"),c=o.insert("line"),u=o.insert("line");let l=0,h=i;const f=o.insert("g").attr("class","label");let d=0;const g=e.classData.annotations&&e.classData.annotations[0],p=e.classData.annotations[0]?"\xab"+e.classData.annotations[0]+"\xbb":"",b=f.node().appendChild(fL(p,e.labelStyle,!0,!0));let w=b.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=b.children[0],e=ln(b);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height)}e.classData.annotations[0]&&(h+=w.height+i,l+=w.width);let y=e.classData.id;void 0!==e.classData.type&&""!==e.classData.type&&(ky().flowchart.htmlLabels?y+="<"+e.classData.type+">":y+="<"+e.classData.type+">");const m=f.node().appendChild(fL(y,e.labelStyle,!0,!0));ln(m).attr("class","classTitle");let v=m.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=m.children[0],e=ln(m);v=t.getBoundingClientRect(),e.attr("width",v.width),e.attr("height",v.height)}h+=v.height+i,v.width>l&&(l=v.width);const x=[];e.classData.members.forEach((t=>{const n=KO(t);let r=n.displayText;ky().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const a=f.node().appendChild(fL(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let o=a.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=a.children[0],e=ln(a);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}o.width>l&&(l=o.width),h+=o.height+i,x.push(a)})),h+=r;const k=[];if(e.classData.methods.forEach((t=>{const n=KO(t);let r=n.displayText;ky().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const a=f.node().appendChild(fL(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let o=a.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=a.children[0],e=ln(a);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}o.width>l&&(l=o.width),h+=o.height+i,k.push(a)})),h+=r,g){let t=(l-w.width)/2;ln(b).attr("transform","translate( "+(-1*l/2+t)+", "+-1*h/2+")"),d=w.height+i}let _=(l-v.width)/2;return ln(m).attr("transform","translate( "+(-1*l/2+_)+", "+(-1*h/2+d)+")"),d+=v.height+i,c.attr("class","divider").attr("x1",-l/2-n).attr("x2",l/2+n).attr("y1",-h/2-n+r+d).attr("y2",-h/2-n+r+d),d+=r,x.forEach((t=>{ln(t).attr("transform","translate( "+-l/2+", "+(-1*h/2+d+r/2)+")"),d+=v.height+i})),d+=r,u.attr("class","divider").attr("x1",-l/2-n).attr("x2",l/2+n).attr("y1",-h/2-n+r+d).attr("y2",-h/2-n+r+d),d+=r,k.forEach((t=>{ln(t).attr("transform","translate( "+-l/2+", "+(-1*h/2+d)+")"),d+=v.height+i})),s.attr("class","outer title-state").attr("x",-l/2-n).attr("y",-h/2-n).attr("width",l+e.padding).attr("height",h+e.padding),gL(e,s),e.intersect=function(t){return jL.rect(e,t)},o}};let HL={};const UL=(t,e,n)=>{let i,r;if(e.link){let a;"sandbox"===ky().securityLevel?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),r=zL[e.shape](i,e,n)}else r=zL[e.shape](t,e,n),i=r;return e.tooltip&&r.attr("title",e.tooltip),e.class&&r.attr("class","node default "+e.class),HL[e.id]=i,e.haveCallback&&HL[e.id].attr("class",HL[e.id].attr("class")+" clickable"),i},GL=(t,e)=>{HL[e.id]=t},qL=()=>{HL={}},KL=t=>{const e=HL[t.id];h.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const n=8,i=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+i-t.width/2)+", "+(t.y-t.height/2-n)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),i},YL={rect:(t,e)=>{h.trace("Creating subgraph rect for ",e.id,e);const n=t.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),i=n.insert("rect",":first-child"),r=n.insert("g").attr("class","cluster-label"),a=r.node().appendChild(fL(e.labelText,e.labelStyle,void 0,!0));let o=a.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=a.children[0],e=ln(a);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}const s=0*e.padding,c=s/2,u=e.width<=o.width+s?o.width+s:e.width;e.width<=o.width+s?e.diff=(o.width-e.width)/2-e.padding/2:e.diff=-e.padding/2,h.trace("Data ",e,JSON.stringify(e)),i.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-u/2).attr("y",e.y-e.height/2-c).attr("width",u).attr("height",e.height+s),r.attr("transform","translate("+(e.x-o.width/2)+", "+(e.y-e.height/2)+")");const l=i.node().getBBox();return e.width=l.width,e.height=l.height,e.intersect=function(t){return BL(e,t)},n},roundedWithTitle:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),o=r.node().appendChild(fL(e.labelText,e.labelStyle,void 0,!0));let s=o.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=o.children[0],e=ln(o);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s=o.getBBox();const c=0*e.padding,u=c/2,l=e.width<=s.width+e.padding?s.width+e.padding:e.width;e.width<=s.width+e.padding?e.diff=(s.width+0*e.padding-e.width)/2:e.diff=-e.padding/2,i.attr("class","outer").attr("x",e.x-l/2-u).attr("y",e.y-e.height/2-u).attr("width",l+c).attr("height",e.height+c),a.attr("class","inner").attr("x",e.x-l/2-u).attr("y",e.y-e.height/2-u+s.height-1).attr("width",l+c).attr("height",e.height+c-s.height-3),r.attr("transform","translate("+(e.x-s.width/2)+", "+(e.y-e.height/2-e.padding/3+(Qh(ky().flowchart.htmlLabels)?5:3))+")");const h=i.node().getBBox();return e.height=h.height,e.intersect=function(t){return BL(e,t)},n},noteGroup:(t,e)=>{const n=t.insert("g").attr("class","note-cluster").attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,a=r/2;i.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+r).attr("height",e.height+r).attr("fill","none");const o=i.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return BL(e,t)},n},divider:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,a=r/2;i.attr("class","divider").attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2).attr("width",e.width+r).attr("height",e.height+r);const o=i.node().getBBox();return e.width=o.width,e.height=o.height,e.diff=-e.padding/2,e.intersect=function(t){return BL(e,t)},n}};let WL={};const XL=(t,e)=>{h.trace("Inserting cluster");const n=e.shape||"rect";WL[e.id]=YL[n](t,e)},VL=()=>{WL={}};let QL={},ZL={};const JL=()=>{QL={},ZL={}},tN=(t,e)=>{const n=fL(e.label,e.labelStyle),i=t.insert("g").attr("class","edgeLabel"),r=i.insert("g").attr("class","label");r.node().appendChild(n);let a,o=n.getBBox();if(Qh(ky().flowchart.htmlLabels)){const t=n.children[0],e=ln(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}if(r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),QL[e.id]=i,e.width=o.width,e.height=o.height,e.startLabelLeft){const n=fL(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),ZL[e.id]||(ZL[e.id]={}),ZL[e.id].startLeft=i,eN(a,e.startLabelLeft)}if(e.startLabelRight){const n=fL(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=i.node().appendChild(n),r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),ZL[e.id]||(ZL[e.id]={}),ZL[e.id].startRight=i,eN(a,e.startLabelRight)}if(e.endLabelLeft){const n=fL(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),i.node().appendChild(n),ZL[e.id]||(ZL[e.id]={}),ZL[e.id].endLeft=i,eN(a,e.endLabelLeft)}if(e.endLabelRight){const n=fL(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),i.node().appendChild(n),ZL[e.id]||(ZL[e.id]={}),ZL[e.id].endRight=i,eN(a,e.endLabelRight)}return n};function eN(t,e){ky().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const nN=(t,e)=>{h.info("Moving label abc78 ",t.id,t.label,QL[t.id]);let n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const i=QL[t.id];let r=t.x,a=t.y;if(n){const i=mw.calcLabelPosition(n);h.info("Moving label "+t.label+" from (",r,",",a,") to (",i.x,",",i.y,") abc78"),e.updatedPath&&(r=i.x,a=i.y)}i.attr("transform","translate("+r+", "+a+")")}if(t.startLabelLeft){const e=ZL[t.id].startLeft;let i=t.x,r=t.y;if(n){const e=mw.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",n);i=e.x,r=e.y}e.attr("transform","translate("+i+", "+r+")")}if(t.startLabelRight){const e=ZL[t.id].startRight;let i=t.x,r=t.y;if(n){const e=mw.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",n);i=e.x,r=e.y}e.attr("transform","translate("+i+", "+r+")")}if(t.endLabelLeft){const e=ZL[t.id].endLeft;let i=t.x,r=t.y;if(n){const e=mw.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",n);i=e.x,r=e.y}e.attr("transform","translate("+i+", "+r+")")}if(t.endLabelRight){const e=ZL[t.id].endRight;let i=t.x,r=t.y;if(n){const e=mw.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",n);i=e.x,r=e.y}e.attr("transform","translate("+i+", "+r+")")}},iN=(t,e)=>{const n=t.x,i=t.y,r=Math.abs(e.x-n),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return r>=o||a>=s},rN=(t,e,n)=>{h.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const i=t.x,r=t.y,a=Math.abs(i-n.x),o=t.width/2;let s=n.x<e.x?o-a:o+a;const c=t.height/2,u=Math.abs(e.y-n.y),l=Math.abs(e.x-n.x);if(Math.abs(r-e.y)*o>Math.abs(i-e.x)*c){let t=n.y<e.y?e.y-c-r:r-c-e.y;s=l*t/u;const i={x:n.x<e.x?n.x+s:n.x-l+s,y:n.y<e.y?n.y+u-t:n.y-u+t};return 0===s&&(i.x=e.x,i.y=e.y),0===l&&(i.x=e.x),0===u&&(i.y=e.y),h.warn(`abc89 topp/bott calc, Q ${u}, q ${t}, R ${l}, r ${s}`,i),i}{s=n.x<e.x?e.x-o-i:i-o-e.x;let t=u*s/l,r=n.x<e.x?n.x+l-s:n.x-l+s,a=n.y<e.y?n.y+t:n.y-t;return h.warn(`sides calc abc89, Q ${u}, q ${t}, R ${l}, r ${s}`,{_x:r,_y:a}),0===s&&(r=e.x,a=e.y),0===l&&(r=e.x),0===u&&(a=e.y),{x:r,y:a}}},aN=(t,e)=>{h.warn("abc88 cutPathAtIntersect",t,e);let n=[],i=t[0],r=!1;return t.forEach((t=>{if(h.info("abc88 checking point",t,e),iN(e,t)||r)h.warn("abc88 outside",t,i),i=t,r||n.push(t);else{const a=rN(e,i,t);h.warn("abc88 inside",t,i,a),h.warn("abc88 intersection",a);let o=!1;n.forEach((t=>{o=o||t.x===a.x&&t.y===a.y})),n.some((t=>t.x===a.x&&t.y===a.y))?h.warn("abc88 no intersect",a,n):n.push(a),r=!0}})),h.warn("abc88 returning points",n),n},oN=function(t,e,n,i,r,a){let o=n.points,s=!1;const c=a.node(e.v);var u=a.node(e.w);h.info("abc88 InsertEdge: ",n),u.intersect&&c.intersect&&(o=o.slice(1,n.points.length-1),o.unshift(c.intersect(o[0])),h.info("Last point",o[o.length-1],u,u.intersect(o[o.length-1])),o.push(u.intersect(o[o.length-1]))),n.toCluster&&(h.info("to cluster abc88",i[n.toCluster]),o=aN(n.points,i[n.toCluster].node),s=!0),n.fromCluster&&(h.info("from cluster abc88",i[n.fromCluster]),o=aN(o.reverse(),i[n.fromCluster].node).reverse(),s=!0);const l=o.filter((t=>!Number.isNaN(t.y)));let f;f=("graph"===r||"flowchart"===r)&&n.curve||Vu;const d=Fu().x((function(t){return t.x})).y((function(t){return t.y})).curve(f);let g;switch(n.thickness){case"normal":g="edge-thickness-normal";break;case"thick":g="edge-thickness-thick";break;default:g=""}switch(n.pattern){case"solid":g+=" edge-pattern-solid";break;case"dotted":g+=" edge-pattern-dotted";break;case"dashed":g+=" edge-pattern-dashed"}const p=t.append("path").attr("d",d(l)).attr("id",n.id).attr("class"," "+g+(n.classes?" "+n.classes:"")).attr("style",n.style);let b="";switch((ky().flowchart.arrowMarkerAbsolute||ky().state.arrowMarkerAbsolute)&&(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,b=b.replace(/\(/g,"\\("),b=b.replace(/\)/g,"\\)")),h.info("arrowTypeStart",n.arrowTypeStart),h.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":p.attr("marker-start","url("+b+"#"+r+"-crossStart)");break;case"arrow_point":p.attr("marker-start","url("+b+"#"+r+"-pointStart)");break;case"arrow_barb":p.attr("marker-start","url("+b+"#"+r+"-barbStart)");break;case"arrow_circle":p.attr("marker-start","url("+b+"#"+r+"-circleStart)");break;case"aggregation":p.attr("marker-start","url("+b+"#"+r+"-aggregationStart)");break;case"extension":p.attr("marker-start","url("+b+"#"+r+"-extensionStart)");break;case"composition":p.attr("marker-start","url("+b+"#"+r+"-compositionStart)");break;case"dependency":p.attr("marker-start","url("+b+"#"+r+"-dependencyStart)");break;case"lollipop":p.attr("marker-start","url("+b+"#"+r+"-lollipopStart)")}switch(n.arrowTypeEnd){case"arrow_cross":p.attr("marker-end","url("+b+"#"+r+"-crossEnd)");break;case"arrow_point":p.attr("marker-end","url("+b+"#"+r+"-pointEnd)");break;case"arrow_barb":p.attr("marker-end","url("+b+"#"+r+"-barbEnd)");break;case"arrow_circle":p.attr("marker-end","url("+b+"#"+r+"-circleEnd)");break;case"aggregation":p.attr("marker-end","url("+b+"#"+r+"-aggregationEnd)");break;case"extension":p.attr("marker-end","url("+b+"#"+r+"-extensionEnd)");break;case"composition":p.attr("marker-end","url("+b+"#"+r+"-compositionEnd)");break;case"dependency":p.attr("marker-end","url("+b+"#"+r+"-dependencyEnd)");break;case"lollipop":p.attr("marker-end","url("+b+"#"+r+"-lollipopEnd)")}let w={};return s&&(w.updatedPath=o),w.originalPath=n.points,w},sN=(t,e,n,i)=>{h.info("Graph in recursive render: XXX",rL(e),i);const r=e.graph().rankdir;h.trace("Dir in recursive render - dir:",r);const a=t.insert("g").attr("class","root");e.nodes()?h.info("Recursive render XXX",e.nodes()):h.info("No nodes found for",e),e.edges().length>0&&h.trace("Recursive edges",e.edge(e.edges()[0]));const o=a.insert("g").attr("class","clusters"),s=a.insert("g").attr("class","edgePaths"),c=a.insert("g").attr("class","edgeLabels"),u=a.insert("g").attr("class","nodes");e.nodes().forEach((function(t){const a=e.node(t);if(void 0!==i){const n=JSON.parse(JSON.stringify(i.clusterData));h.info("Setting data for cluster XXX (",t,") ",n,i),e.setNode(i.id,n),e.parent(t)||(h.trace("Setting parent",t,i.id),e.setParent(t,i.id,n))}if(h.info("(Insert) Node XXX"+t+": "+JSON.stringify(e.node(t))),a&&a.clusterNode){h.info("Cluster identified",t,a.width,e.node(t));const i=sN(u,a.graph,n,e.node(t)),r=i.elem;gL(a,r),a.diff=i.diff||0,h.info("Node bounds (abc123)",t,a,a.width,a.x,a.y),GL(r,a),h.warn("Recursive render complete ",r,a)}else e.children(t).length>0?(h.info("Cluster - the non recursive path XXX",t,a.id,a,e),h.info(EL(a.id,e)),bL[a.id]={id:EL(a.id,e),node:a}):(h.info("Node - the non recursive path",t,a.id,a),UL(u,e.node(t),r))})),e.edges().forEach((function(t){const n=e.edge(t.v,t.w,t.name);h.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),h.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(e.edge(t))),h.info("Fix",bL,"ids:",t.v,t.w,"Translateing: ",bL[t.v],bL[t.w]),tN(c,n)})),e.edges().forEach((function(t){h.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t))})),h.info("#############################################"),h.info("### Layout ###"),h.info("#############################################"),h.info(e),yO(e),h.info("Graph after layout:",rL(e));let l=0;return ML(e).forEach((function(t){const n=e.node(t);h.info("Position "+t+": "+JSON.stringify(e.node(t))),h.info("Position "+t+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?KL(n):e.children(t).length>0?(XL(o,n),bL[n.id].node=n):KL(n)})),e.edges().forEach((function(t){const i=e.edge(t);h.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(i),i);const r=oN(s,t,i,bL,n,e);nN(i,r)})),e.nodes().forEach((function(t){const n=e.node(t);h.info(t,n.type,n.diff),"group"===n.type&&(l=n.diff)})),{elem:a,diff:l}},cN=(t,e,n,i,r)=>{uL(t,n,i,r),qL(),JL(),VL(),mL(),h.warn("Graph at first:",rL(e)),CL(e),h.warn("Graph after:",rL(e)),sN(t,e,i)},uN=t=>Jh.sanitizeText(t,ky());let lN={dividerMargin:10,padding:5,textHeight:10};const hN=function(t,e,n,i){const r=Object.keys(t);h.info("keys:",r),h.info(t),r.forEach((function(n){const r=t[n];let a="";r.cssClasses.length>0&&(a=a+" "+r.cssClasses.join(" "));const o={labelStyle:""};let s=void 0!==r.text?r.text:r.id,c=0,u="";r.type,u="class_box",e.setNode(r.id,{labelStyle:o.labelStyle,shape:u,labelText:uN(s),classData:r,rx:c,ry:c,class:a,style:o.style,id:r.id,domId:r.domId,tooltip:i.db.getTooltip(r.id)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:ky().flowchart.padding}),h.info("setNode",{labelStyle:o.labelStyle,shape:u,labelText:s,rx:c,ry:c,class:a,style:o.style,id:r.id,width:"group"===r.type?500:void 0,type:r.type,padding:ky().flowchart.padding})}))},fN=function(t,e,n,i){h.info(t),t.forEach((function(t,r){const a=t;let o="";const s={labelStyle:"",style:""};let c=a.text,u=0,l="note";if(e.setNode(a.id,{labelStyle:s.labelStyle,shape:l,labelText:uN(c),noteData:a,rx:u,ry:u,class:o,style:s.style,id:a.id,domId:a.id,tooltip:"",type:"note",padding:ky().flowchart.padding}),h.info("setNode",{labelStyle:s.labelStyle,shape:l,labelText:c,rx:u,ry:u,style:s.style,id:a.id,type:"note",padding:ky().flowchart.padding}),!a.class||!(a.class in i))return;const f=n+r,d={classes:"relation",pattern:"dotted"};d.id=`edgeNote${f}`,d.arrowhead="none",h.info(`Note edge: ${JSON.stringify(d)}, ${JSON.stringify(a)}`),d.startLabelRight="",d.endLabelLeft="",d.arrowTypeStart="none",d.arrowTypeEnd="none";let g="fill:none",p="";d.style=g,d.labelStyle=p,d.curve=Yb(lN.curve,ju),e.setEdge(a.id,a.class,d,f)}))},dN=function(t,e){const n=ky().flowchart;let i=0;t.forEach((function(r){i++;const a={classes:"relation"};a.pattern=1==r.relation.lineType?"dashed":"solid",a.id="id"+i,"arrow_open"===r.type?a.arrowhead="none":a.arrowhead="normal",h.info(a,r),a.startLabelRight="none"===r.relationTitle1?"":r.relationTitle1,a.endLabelLeft="none"===r.relationTitle2?"":r.relationTitle2,a.arrowTypeStart=gN(r.relation.type1),a.arrowTypeEnd=gN(r.relation.type2);let o="",s="";if(void 0!==r.style){const t=ew(r.style);o=t.style,s=t.labelStyle}else o="fill:none";a.style=o,a.labelStyle=s,void 0!==r.interpolate?a.curve=Yb(r.interpolate,ju):void 0!==t.defaultInterpolate?a.curve=Yb(t.defaultInterpolate,ju):a.curve=Yb(n.curve,ju),r.text=r.title,void 0===r.text?void 0!==r.style&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",ky().flowchart.htmlLabels?(a.labelType="html",a.label='<span class="edgeLabel">'+r.text+"</span>"):(a.labelType="text",a.label=r.text.replace(Jh.lineBreakRegex,"\n"),void 0===r.style&&(a.style=a.style||"stroke: #333; stroke-width: 1.5px;fill:none"),a.labelStyle=a.labelStyle.replace("color:","fill:"))),e.setEdge(r.id1,r.id2,a,i)}))};function gN(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}const pN={setConf:function(t){Object.keys(t).forEach((function(e){lN[e]=t[e]}))},draw:function(t,e,n,i){h.info("Drawing class - ",e);const r=ky().flowchart,a=ky().securityLevel;h.info("config:",r);const o=r.nodeSpacing||50,s=r.rankSpacing||50,c=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:o,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),u=i.db.getClasses(),l=i.db.getRelations(),f=i.db.getNotes();let d;h.info(l),hN(u,c,e,i),dN(l,c),fN(f,c,l.length+1,u),"sandbox"===a&&(d=ln("#i"+e));const g=ln("sandbox"===a?d.nodes()[0].contentDocument.body:"body"),p=g.select(`[id="${e}"]`),b=g.select("#"+e+" g");if(cN(b,c,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),mw.insertTitle(p,"classTitleText",r.titleTopMargin,i.db.getDiagramTitle()),Ny(c,p,r.diagramPadding,r.useMaxWidth),!r.htmlLabels){const t="sandbox"===a?d.nodes()[0].contentDocument:document,n=t.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of n){const n=e.getBBox(),i=t.createElementNS("http://www.w3.org/2000/svg","rect");i.setAttribute("rx",0),i.setAttribute("ry",0),i.setAttribute("width",n.width),i.setAttribute("height",n.height),e.insertBefore(i,e.firstChild)}}}};var bN=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,23,25,27,29,30,31,51],r=[1,17],a=[1,18],o=[1,19],s=[1,20],c=[1,21],u=[1,22],l=[1,25],h=[1,30],f=[1,31],d=[1,32],g=[1,33],p=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],b=[1,45],w=[30,31,48,49],y=[4,6,9,11,23,25,27,29,30,31,51],m=[44,45,46,47],v=[22,37],x=[1,65],k=[1,64],_=[22,37,39,41],E={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:case 20:case 43:case 28:case 29:case 32:this.$=a[s];break;case 12:i.addEntity(a[s-4]),i.addEntity(a[s-2]),i.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:i.addEntity(a[s-3]),i.addAttributes(a[s-3],a[s-1]);break;case 14:i.addEntity(a[s-2]);break;case 15:i.addEntity(a[s]);break;case 16:case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:case 41:case 42:case 33:this.$=a[s].replace(/"/g,"");break;case 22:case 30:this.$=[a[s]];break;case 23:a[s].push(a[s-1]),this.$=a[s];break;case 24:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 26:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 27:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 31:a[s-2].push(a[s]),this.$=a[s-2];break;case 34:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 35:this.$=i.Cardinality.ZERO_OR_ONE;break;case 36:this.$=i.Cardinality.ZERO_OR_MORE;break;case 37:this.$=i.Cardinality.ONE_OR_MORE;break;case 38:this.$=i.Cardinality.ONLY_ONE;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING;break;case 44:i.parseDirective("%%{","open_directive");break;case 45:i.parseDirective(a[s],"type_directive");break;case 46:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 47:i.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,51:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,51:n},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,51:n},{1:[2,2]},{14:23,15:[1,24],54:l},t([15,54],[2,45]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:15,10:26,12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,51:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),t(i,[2,15],{18:27,42:29,20:[1,28],44:h,45:f,46:d,47:g}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(i,[2,19]),t(p,[2,20]),t(p,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(i,[2,5]),{17:40,30:c,31:u},{21:41,22:[1,42],32:43,33:44,37:b},{43:46,48:[1,47],49:[1,48]},t(w,[2,35]),t(w,[2,36]),t(w,[2,37]),t(w,[2,38]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(y,[2,9]),{14:49,54:l},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(i,[2,14]),{21:52,22:[2,22],32:43,33:44,37:b},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:h,45:f,46:d,47:g},t(m,[2,39]),t(m,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(i,[2,13]),{22:[2,23]},t(v,[2,24],{35:61,36:62,38:63,40:x,41:k}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(y,[2,10]),t(i,[2,12]),t(i,[2,41]),t(i,[2,42]),t(i,[2,43]),t(v,[2,25],{36:66,39:[1,67],41:k}),t(v,[2,26]),t(_,[2,30]),t(v,[2,33]),t(_,[2,32]),t(v,[2,27]),{38:68,40:x},t(_,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},T={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.begin("open_directive"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:case 13:case 15:case 22:case 27:break;case 14:return 11;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 23:return 40;case 24:case 25:return 37;case 26:return 41;case 28:return this.popState(),22;case 29:case 58:return e.yytext[0];case 30:case 34:case 35:case 48:return 44;case 31:case 32:case 33:case 41:case 43:case 50:return 46;case 36:case 37:case 38:case 39:case 40:case 42:case 49:return 45;case 44:case 45:case 46:case 47:return 47;case 51:case 54:case 55:case 56:return 48;case 52:case 53:return 49;case 57:return 30;case 59:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28,29],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],inclusive:!0}}};function C(){this.yy={}}return E.lexer=T,C.prototype=E,E.Parser=C,new C}();bN.parser=bN;const wN=bN,yN=t=>null!==t.match(/^\s*erDiagram/);let mN={},vN=[];const xN=function(t){return void 0===mN[t]&&(mN[t]={attributes:[]},h.info("Added new entity :",t)),mN[t]},kN={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().er,addEntity:xN,addAttributes:function(t,e){let n,i=xN(t);for(n=e.length-1;n>=0;n--)i.attributes.push(e[n]),h.debug("Added attribute ",e[n].attributeName)},getEntities:()=>mN,addRelationship:function(t,e,n,i){let r={entityA:t,roleA:e,entityB:n,relSpec:i};vN.push(r),h.debug("Added new relationship :",r)},getRelationships:()=>vN,clear:function(){mN={},vN=[],Jy()},setAccTitle:tm,getAccTitle:em,setAccDescription:nm,getAccDescription:im,setDiagramTitle:rm,getDiagramTitle:am},_N={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"},EN={ERMarkers:_N,insertMarkers:function(t,e){let n;t.append("defs").append("marker").attr("id",_N.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",_N.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",_N.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",_N.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",_N.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",_N.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),n=t.append("defs").append("marker").attr("id",_N.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),n=t.append("defs").append("marker").attr("id",_N.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")}},TN=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function CN(t){return"string"==typeof t&&TN.test(t)}const SN=[];for(let t=0;t<256;++t)SN.push((t+256).toString(16).slice(1));function AN(t,e=0){return(SN[t[e+0]]+SN[t[e+1]]+SN[t[e+2]]+SN[t[e+3]]+"-"+SN[t[e+4]]+SN[t[e+5]]+"-"+SN[t[e+6]]+SN[t[e+7]]+"-"+SN[t[e+8]]+SN[t[e+9]]+"-"+SN[t[e+10]]+SN[t[e+11]]+SN[t[e+12]]+SN[t[e+13]]+SN[t[e+14]]+SN[t[e+15]]).toLowerCase()}function MN(t){if(!CN(t))throw TypeError("Invalid UUID");let e;const n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n}function IN(t){t=unescape(encodeURIComponent(t));const e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n));return e}const ON="6ba7b810-9dad-11d1-80b4-00c04fd430c8",LN="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function NN(t,e,n){function i(t,i,r,a){var o;if("string"==typeof t&&(t=IN(t)),"string"==typeof i&&(i=MN(i)),16!==(null===(o=i)||void 0===o?void 0:o.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+t.length);if(s.set(i),s.set(t,i.length),s=n(s),s[6]=15&s[6]|e,s[8]=63&s[8]|128,r){a=a||0;for(let t=0;t<16;++t)r[a+t]=s[t];return r}return AN(s)}try{i.name=t}catch{}return i.DNS=ON,i.URL=LN,i}function DN(t,e,n,i){switch(t){case 0:return e&n^~e&i;case 1:case 3:return e^n^i;case 2:return e&n^e&i^n&i}}function PN(t,e){return t<<e|t>>>32-e}function BN(t){const e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const i=t.length/4+2,r=Math.ceil(i/16),a=new Array(r);for(let o=0;o<r;++o){const e=new Uint32Array(16);for(let n=0;n<16;++n)e[n]=t[64*o+4*n]<<24|t[64*o+4*n+1]<<16|t[64*o+4*n+2]<<8|t[64*o+4*n+3];a[o]=e}a[r-1][14]=8*(t.length-1)/Math.pow(2,32),a[r-1][14]=Math.floor(a[r-1][14]),a[r-1][15]=8*(t.length-1)&4294967295;for(let o=0;o<r;++o){const t=new Uint32Array(80);for(let e=0;e<16;++e)t[e]=a[o][e];for(let e=16;e<80;++e)t[e]=PN(t[e-3]^t[e-8]^t[e-14]^t[e-16],1);let i=n[0],r=n[1],s=n[2],c=n[3],u=n[4];for(let n=0;n<80;++n){const a=Math.floor(n/20),o=PN(i,5)+DN(a,r,s,c)+u+e[a]+t[n]>>>0;u=c,c=s,s=PN(r,30)>>>0,r=i,i=o}n[0]=n[0]+i>>>0,n[1]=n[1]+r>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}const jN=NN("v5",80,BN),RN=/[^\dA-Za-z](\W)*/g;let $N={},FN=new Map;const zN=(t,e,n)=>{const i=$N.entityPadding/3,r=$N.entityPadding/3,a=.85*$N.fontSize,o=e.node().getBBox(),s=[];let c=!1,u=!1,l=0,h=0,f=0,d=0,g=o.height+2*i,p=1;n.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(u=!0)})),n.forEach((n=>{const r=`${e.node().id}-attr-${p}`;let o=0;const b=Zh(n.attributeType),w=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",ky().fontFamily).style("font-size",a+"px").text(b),y=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",ky().fontFamily).style("font-size",a+"px").text(n.attributeName),m={};m.tn=w,m.nn=y;const v=w.node().getBBox(),x=y.node().getBBox();if(l=Math.max(l,v.width),h=Math.max(h,x.width),o=Math.max(v.height,x.height),c){const e=void 0!==n.attributeKeyTypeList?n.attributeKeyTypeList.join(","):"",i=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",ky().fontFamily).style("font-size",a+"px").text(e);m.kn=i;const s=i.node().getBBox();f=Math.max(f,s.width),o=Math.max(o,s.height)}if(u){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",ky().fontFamily).style("font-size",a+"px").text(n.attributeComment||"");m.cn=e;const i=e.node().getBBox();d=Math.max(d,i.width),o=Math.max(o,i.height)}m.height=o,s.push(m),g+=o+2*i,p+=1}));let b=4;c&&(b+=2),u&&(b+=2);const w=l+h+f+d,y={width:Math.max($N.minEntityWidth,Math.max(o.width+2*$N.entityPadding,w+r*b)),height:n.length>0?g:Math.max($N.minEntityHeight,o.height+2*$N.entityPadding)};if(n.length>0){const n=Math.max(0,(y.width-w-r*b)/(b/2));e.attr("transform","translate("+y.width/2+","+(i+o.height/2)+")");let a=o.height+2*i,g="attributeBoxOdd";s.forEach((e=>{const o=a+i+e.height/2;e.tn.attr("transform","translate("+r+","+o+")");const s=t.insert("rect","#"+e.tn.node().id).classed(`er ${g}`,!0).attr("x",0).attr("y",a).attr("width",l+2*r+n).attr("height",e.height+2*i),p=parseFloat(s.attr("x"))+parseFloat(s.attr("width"));e.nn.attr("transform","translate("+(p+r)+","+o+")");const b=t.insert("rect","#"+e.nn.node().id).classed(`er ${g}`,!0).attr("x",p).attr("y",a).attr("width",h+2*r+n).attr("height",e.height+2*i);let w=parseFloat(b.attr("x"))+parseFloat(b.attr("width"));if(c){e.kn.attr("transform","translate("+(w+r)+","+o+")");const s=t.insert("rect","#"+e.kn.node().id).classed(`er ${g}`,!0).attr("x",w).attr("y",a).attr("width",f+2*r+n).attr("height",e.height+2*i);w=parseFloat(s.attr("x"))+parseFloat(s.attr("width"))}u&&(e.cn.attr("transform","translate("+(w+r)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${g}`,"true").attr("x",w).attr("y",a).attr("width",d+2*r+n).attr("height",e.height+2*i)),a+=e.height+2*i,g="attributeBoxOdd"===g?"attributeBoxEven":"attributeBoxOdd"}))}else y.height=Math.max($N.minEntityHeight,g),e.attr("transform","translate("+y.width/2+","+y.height/2+")");return y},HN=function(t,e,n){let i;return Object.keys(e).forEach((function(r){const a=XN(r,"entity");FN.set(r,a);const o=t.append("g").attr("id",a);i=void 0===i?a:i;const s="text-"+a,c=o.append("text").classed("er entityLabel",!0).attr("id",s).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",ky().fontFamily).style("font-size",$N.fontSize+"px").text(r),{width:u,height:l}=zN(o,c,e[r].attributes),h=o.insert("rect","#"+s).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",u).attr("height",l).node().getBBox();n.setNode(a,{width:h.width,height:h.height,shape:"rect",id:a})})),i},UN=function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )")}))},GN=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},qN=function(t,e){return t.forEach((function(t){e.setEdge(FN.get(t.entityA),FN.get(t.entityB),{relationship:t},GN(t))})),t};let KN=0;const YN=function(t,e,n,i,r){KN++;const a=n.edge(FN.get(e.entityA),FN.get(e.entityB),GN(e)),o=Fu().x((function(t){return t.x})).y((function(t){return t.y})).curve(Vu),s=t.insert("path","#"+i).classed("er relationshipLine",!0).attr("d",o(a.points)).style("stroke",$N.stroke).style("fill","none");e.relSpec.relType===r.db.Identification.NON_IDENTIFYING&&s.attr("stroke-dasharray","8,8");let c="";switch($N.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),e.relSpec.cardA){case r.db.Cardinality.ZERO_OR_ONE:s.attr("marker-end","url("+c+"#"+EN.ERMarkers.ZERO_OR_ONE_END+")");break;case r.db.Cardinality.ZERO_OR_MORE:s.attr("marker-end","url("+c+"#"+EN.ERMarkers.ZERO_OR_MORE_END+")");break;case r.db.Cardinality.ONE_OR_MORE:s.attr("marker-end","url("+c+"#"+EN.ERMarkers.ONE_OR_MORE_END+")");break;case r.db.Cardinality.ONLY_ONE:s.attr("marker-end","url("+c+"#"+EN.ERMarkers.ONLY_ONE_END+")")}switch(e.relSpec.cardB){case r.db.Cardinality.ZERO_OR_ONE:s.attr("marker-start","url("+c+"#"+EN.ERMarkers.ZERO_OR_ONE_START+")");break;case r.db.Cardinality.ZERO_OR_MORE:s.attr("marker-start","url("+c+"#"+EN.ERMarkers.ZERO_OR_MORE_START+")");break;case r.db.Cardinality.ONE_OR_MORE:s.attr("marker-start","url("+c+"#"+EN.ERMarkers.ONE_OR_MORE_START+")");break;case r.db.Cardinality.ONLY_ONE:s.attr("marker-start","url("+c+"#"+EN.ERMarkers.ONLY_ONE_START+")")}const u=s.node().getTotalLength(),l=s.node().getPointAtLength(.5*u),h="rel"+KN,f=t.append("text").classed("er relationshipLabel",!0).attr("id",h).attr("x",l.x).attr("y",l.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",ky().fontFamily).style("font-size",$N.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+h).classed("er relationshipLabelBox",!0).attr("x",l.x-f.width/2).attr("y",l.y-f.height/2).attr("width",f.width).attr("height",f.height)},WN="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function XN(t="",e=""){const n=t.replace(RN,"");return`${VN(e)}${VN(n)}${jN(t,WN)}`}function VN(t=""){return t.length>0?`${t}-`:""}const QN={setConf:function(t){const e=Object.keys(t);for(const n of e)$N[n]=t[n]},draw:function(t,e,n,i){$N=ky().er,h.info("Drawing ER diagram");const r=ky().securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);let s;EN.insertMarkers(o,$N),s=new fM({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:$N.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const c=HN(o,i.db.getEntities(),s),u=qN(i.db.getRelationships(),s);yO(s),UN(o,s),u.forEach((function(t){YN(o,t,s,c,i)}));const l=$N.diagramPadding;mw.insertTitle(o,"entityTitleText",$N.titleTopMargin,i.db.getDiagramTitle());const f=o.node().getBBox(),d=f.width+2*l,g=f.height+2*l;Ly(o,g,d,$N.useMaxWidth),o.attr("viewBox",`${f.x-l} ${f.y-l} ${d} ${g}`)}};var ZN=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,9],n=[1,7],i=[1,6],r=[1,8],a=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],o=[2,10],s=[1,20],c=[1,21],u=[1,22],l=[1,23],h=[1,30],f=[1,32],d=[1,33],g=[1,34],p=[1,62],b=[1,48],w=[1,52],y=[1,36],m=[1,37],v=[1,38],x=[1,39],k=[1,40],_=[1,56],E=[1,63],T=[1,51],C=[1,53],S=[1,55],A=[1,59],M=[1,60],I=[1,41],O=[1,42],L=[1,43],N=[1,44],D=[1,61],P=[1,50],B=[1,54],j=[1,57],R=[1,58],$=[1,49],F=[1,66],z=[1,71],H=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],U=[1,75],G=[1,74],q=[1,76],K=[20,21,23,81,82],Y=[1,99],W=[1,104],X=[1,107],V=[1,108],Q=[1,101],Z=[1,106],J=[1,109],tt=[1,102],et=[1,114],nt=[1,113],it=[1,103],rt=[1,105],at=[1,110],ot=[1,111],st=[1,112],ct=[1,115],ut=[20,21,22,23,81,82],lt=[20,21,22,23,53,81,82],ht=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],ft=[20,21,23],dt=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],gt=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],pt=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],bt=[1,149],wt=[1,157],yt=[1,158],mt=[1,159],vt=[1,160],xt=[1,144],kt=[1,145],_t=[1,141],Et=[1,152],Tt=[1,153],Ct=[1,154],St=[1,155],At=[1,156],Mt=[1,161],It=[1,162],Ot=[1,147],Lt=[1,150],Nt=[1,146],Dt=[1,143],Pt=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Bt=[1,165],jt=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],Rt=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],$t=[12,21,22,24],Ft=[22,106],zt=[1,250],Ht=[1,245],Ut=[1,246],Gt=[1,254],qt=[1,251],Kt=[1,248],Yt=[1,247],Wt=[1,249],Xt=[1,252],Vt=[1,253],Qt=[1,255],Zt=[1,273],Jt=[20,21,23,106],te=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 5:i.parseDirective("%%{","open_directive");break;case 6:i.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 8:i.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=a[s];break;case 19:i.setDirection("TB"),this.$="TB";break;case 20:i.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=i.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=i.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=i.addSubGraph(void 0,a[s-1],void 0);break;case 45:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 46:case 47:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 51:i.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 52:i.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 53:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 54:this.$={stmt:a[s],nodes:a[s]};break;case 55:case 123:case 125:this.$=[a[s]];break;case 56:this.$=a[s-4].concat(a[s]);break;case 57:this.$=[a[s-2]],i.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"square");break;case 59:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"doublecircle");break;case 60:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"circle");break;case 61:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"ellipse");break;case 62:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"stadium");break;case 63:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"subroutine");break;case 64:this.$=a[s-7],i.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 65:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"cylinder");break;case 66:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"round");break;case 67:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"diamond");break;case 68:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"hexagon");break;case 69:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"odd");break;case 70:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"trapezoid");break;case 71:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 72:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_right");break;case 73:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_left");break;case 74:this.$=a[s],i.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 79:var c=i.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 80:c=i.destructLink(a[s]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 81:this.$=a[s-1];break;case 83:case 97:case 153:case 151:this.$=a[s-1]+""+a[s];break;case 98:case 99:this.$=a[s-4],i.addClass(a[s-2],a[s]);break;case 100:this.$=a[s-4],i.setClass(a[s-2],a[s]);break;case 101:case 109:this.$=a[s-1],i.setClickEvent(a[s-1],a[s]);break;case 102:case 110:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 103:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 104:this.$=a[s-4],i.setClickEvent(a[s-4],a[s-3],a[s-2]),i.setTooltip(a[s-4],a[s]);break;case 105:case 111:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 106:case 112:this.$=a[s-3],i.setLink(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 107:case 113:this.$=a[s-3],i.setLink(a[s-3],a[s-2],a[s]);break;case 108:case 114:this.$=a[s-5],i.setLink(a[s-5],a[s-4],a[s]),i.setTooltip(a[s-5],a[s-2]);break;case 115:this.$=a[s-4],i.addVertex(a[s-2],void 0,void 0,a[s]);break;case 116:case 118:this.$=a[s-4],i.updateLink(a[s-2],a[s]);break;case 117:this.$=a[s-4],i.updateLink([a[s-2]],a[s]);break;case 119:this.$=a[s-8],i.updateLinkInterpolate([a[s-6]],a[s-2]),i.updateLink([a[s-6]],a[s]);break;case 120:this.$=a[s-8],i.updateLinkInterpolate(a[s-6],a[s-2]),i.updateLink(a[s-6],a[s]);break;case 121:this.$=a[s-6],i.updateLinkInterpolate([a[s-4]],a[s]);break;case 122:this.$=a[s-6],i.updateLinkInterpolate(a[s-4],a[s]);break;case 124:case 126:a[s-2].push(a[s]),this.$=a[s-2];break;case 128:this.$=a[s-1]+a[s];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},t(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:i,24:r},{16:15,21:n,22:i,24:r},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:N,122:D,123:P,124:B,125:j,126:R,127:$},{8:64,10:[1,65],15:F},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,68],21:[1,69],22:z,27:67,30:70},t(H,[2,11]),t(H,[2,12]),t(H,[2,13]),t(H,[2,14]),t(H,[2,15]),t(H,[2,16]),{9:72,20:U,21:G,23:q,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:U,21:G,23:q},{9:81,20:U,21:G,23:q},{9:82,20:U,21:G,23:q},{9:83,20:U,21:G,23:q},{9:84,20:U,21:G,23:q},{9:86,20:U,21:G,22:[1,85],23:q},t(H,[2,44]),{45:[1,87]},{47:[1,88]},t(H,[2,47]),t(K,[2,54],{30:89,22:z}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:Y,52:W,66:X,67:V,84:[1,97],91:Q,97:96,98:[1,94],100:[1,95],105:Z,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(H,[2,158]),t(H,[2,159]),t(H,[2,160]),t(H,[2,161]),t(ut,[2,55],{53:[1,116]}),t(lt,[2,74],{116:129,40:[1,117],52:p,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:b,67:w,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:_,95:E,105:T,106:C,109:S,111:A,112:M,122:D,123:P,124:B,125:j,126:R,127:$}),t(ht,[2,150]),t(ht,[2,175]),t(ht,[2,176]),t(ht,[2,177]),t(ht,[2,178]),t(ht,[2,179]),t(ht,[2,180]),t(ht,[2,181]),t(ht,[2,182]),t(ht,[2,183]),t(ht,[2,184]),t(ht,[2,185]),t(ht,[2,186]),t(ht,[2,187]),t(ht,[2,188]),t(ht,[2,189]),t(ht,[2,190]),{9:130,20:U,21:G,23:q},{11:131,14:[1,132]},t(ft,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,133]},t(dt,[2,34],{30:134,22:z}),t(H,[2,35]),{50:135,51:45,52:p,54:46,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,122:D,123:P,124:B,125:j,126:R,127:$},t(gt,[2,48]),t(gt,[2,49]),t(gt,[2,50]),t(pt,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:bt,24:wt,26:yt,38:mt,39:139,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),t(H,[2,36]),t(H,[2,37]),t(H,[2,38]),t(H,[2,39]),t(H,[2,40]),{22:bt,24:wt,26:yt,38:mt,39:163,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(Pt,o,{17:164}),t(H,[2,45]),t(H,[2,46]),t(K,[2,53],{52:Bt}),{26:Y,52:W,66:X,67:V,91:Q,97:166,102:[1,167],105:Z,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},{95:[1,168],103:169,105:[1,170]},{26:Y,52:W,66:X,67:V,91:Q,95:[1,171],97:172,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},{26:Y,52:W,66:X,67:V,91:Q,97:173,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ft,[2,101],{22:[1,174],99:[1,175]}),t(ft,[2,105],{22:[1,176]}),t(ft,[2,109],{115:100,117:178,22:[1,177],26:Y,52:W,66:X,67:V,91:Q,105:Z,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),t(ft,[2,111],{22:[1,179]}),t(jt,[2,152]),t(jt,[2,154]),t(jt,[2,155]),t(jt,[2,156]),t(jt,[2,157]),t(Rt,[2,162]),t(Rt,[2,163]),t(Rt,[2,164]),t(Rt,[2,165]),t(Rt,[2,166]),t(Rt,[2,167]),t(Rt,[2,168]),t(Rt,[2,169]),t(Rt,[2,170]),t(Rt,[2,171]),t(Rt,[2,172]),t(Rt,[2,173]),t(Rt,[2,174]),{52:p,54:180,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,122:D,123:P,124:B,125:j,126:R,127:$},{22:bt,24:wt,26:yt,38:mt,39:181,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:182,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:184,42:vt,52:W,57:[1,183],66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:185,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:186,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:187,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{66:[1,188]},{22:bt,24:wt,26:yt,38:mt,39:189,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:190,42:vt,52:W,66:X,67:V,71:[1,191],73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:192,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:193,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:194,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ht,[2,151]),t($t,[2,3]),{8:195,15:F},{15:[2,7]},t(a,[2,28]),t(dt,[2,33]),t(K,[2,51],{30:196,22:z}),t(pt,[2,75],{22:[1,197]}),{22:[1,198]},{22:bt,24:wt,26:yt,38:mt,39:199,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,73:xt,81:kt,82:[1,200],83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(Rt,[2,82]),t(Rt,[2,84]),t(Rt,[2,140]),t(Rt,[2,141]),t(Rt,[2,142]),t(Rt,[2,143]),t(Rt,[2,144]),t(Rt,[2,145]),t(Rt,[2,146]),t(Rt,[2,147]),t(Rt,[2,148]),t(Rt,[2,149]),t(Rt,[2,85]),t(Rt,[2,86]),t(Rt,[2,87]),t(Rt,[2,88]),t(Rt,[2,89]),t(Rt,[2,90]),t(Rt,[2,91]),t(Rt,[2,92]),t(Rt,[2,93]),t(Rt,[2,94]),t(Rt,[2,95]),{9:203,20:U,21:G,22:bt,23:q,24:wt,26:yt,38:mt,40:[1,202],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,204],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:N,122:D,123:P,124:B,125:j,126:R,127:$},{22:z,30:205},{22:[1,206],26:Y,52:W,66:X,67:V,91:Q,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:178,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},t(Ft,[2,123]),{22:[1,211]},{22:[1,212],26:Y,52:W,66:X,67:V,91:Q,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:178,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:[1,213],26:Y,52:W,66:X,67:V,91:Q,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:178,122:it,123:rt,124:at,125:ot,126:st,127:ct},{84:[1,214]},t(ft,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},t(jt,[2,153]),{84:[1,219],101:[1,220]},t(ut,[2,57],{116:129,52:p,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,122:D,123:P,124:B,125:j,126:R,127:$}),{22:bt,24:wt,26:yt,38:mt,41:[1,221],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,56:[1,222],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:223,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,58:[1,224],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,60:[1,225],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,62:[1,226],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,64:[1,227],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{67:[1,228]},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,70:[1,229],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,72:[1,230],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:231,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,41:[1,232],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,73:xt,75:[1,233],77:[1,234],81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,73:xt,75:[1,236],77:[1,235],81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{9:237,20:U,21:G,23:q},t(K,[2,52],{52:Bt}),t(pt,[2,77]),t(pt,[2,76]),{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,68:[1,238],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(pt,[2,79]),t(Rt,[2,83]),{22:bt,24:wt,26:yt,38:mt,39:239,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(Pt,o,{17:240}),t(H,[2,43]),{51:241,52:p,54:46,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,122:D,123:P,124:B,125:j,126:R,127:$},{22:zt,66:Ht,67:Ut,86:Gt,96:242,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},{22:zt,66:Ht,67:Ut,86:Gt,96:256,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},{22:zt,66:Ht,67:Ut,86:Gt,96:257,102:qt,104:[1,258],105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},{22:zt,66:Ht,67:Ut,86:Gt,96:259,102:qt,104:[1,260],105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},{105:[1,261]},{22:zt,66:Ht,67:Ut,86:Gt,96:262,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},{22:zt,66:Ht,67:Ut,86:Gt,96:263,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},{26:Y,52:W,66:X,67:V,91:Q,97:264,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ft,[2,102]),{84:[1,265]},t(ft,[2,106],{22:[1,266]}),t(ft,[2,107]),t(ft,[2,110]),t(ft,[2,112],{22:[1,267]}),t(ft,[2,113]),t(lt,[2,58]),t(lt,[2,59]),{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,58:[1,268],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(lt,[2,66]),t(lt,[2,61]),t(lt,[2,62]),t(lt,[2,63]),{66:[1,269]},t(lt,[2,65]),t(lt,[2,67]),{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,72:[1,270],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(lt,[2,69]),t(lt,[2,70]),t(lt,[2,72]),t(lt,[2,71]),t(lt,[2,73]),t($t,[2,4]),t([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:bt,24:wt,26:yt,38:mt,41:[1,271],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,272],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:N,122:D,123:P,124:B,125:j,126:R,127:$},t(ut,[2,56]),t(ft,[2,115],{106:Zt}),t(Jt,[2,125],{108:274,22:zt,66:Ht,67:Ut,86:Gt,102:qt,105:Kt,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt}),t(te,[2,127]),t(te,[2,129]),t(te,[2,130]),t(te,[2,131]),t(te,[2,132]),t(te,[2,133]),t(te,[2,134]),t(te,[2,135]),t(te,[2,136]),t(te,[2,137]),t(te,[2,138]),t(te,[2,139]),t(ft,[2,116],{106:Zt}),t(ft,[2,117],{106:Zt}),{22:[1,275]},t(ft,[2,118],{106:Zt}),{22:[1,276]},t(Ft,[2,124]),t(ft,[2,98],{106:Zt}),t(ft,[2,99],{106:Zt}),t(ft,[2,100],{115:100,117:178,26:Y,52:W,66:X,67:V,91:Q,105:Z,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),t(ft,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:U,21:G,23:q},t(H,[2,42]),{22:zt,66:Ht,67:Ut,86:Gt,102:qt,105:Kt,107:283,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},t(te,[2,128]),{26:Y,52:W,66:X,67:V,91:Q,97:284,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},{26:Y,52:W,66:X,67:V,91:Q,97:285,105:Z,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ft,[2,108]),t(ft,[2,114]),t(lt,[2,60]),{22:bt,24:wt,26:yt,38:mt,39:286,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(lt,[2,68]),t(Pt,o,{17:287}),t(Jt,[2,126],{108:274,22:zt,66:Ht,67:Ut,86:Gt,102:qt,105:Kt,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt}),t(ft,[2,121],{115:100,117:178,22:[1,288],26:Y,52:W,66:X,67:V,91:Q,105:Z,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),t(ft,[2,122],{115:100,117:178,22:[1,289],26:Y,52:W,66:X,67:V,91:Q,105:Z,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),{22:bt,24:wt,26:yt,38:mt,41:[1,290],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Z,106:J,109:Lt,111:et,112:nt,113:Nt,114:Dt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,291],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:N,122:D,123:P,124:B,125:j,126:R,127:$},{22:zt,66:Ht,67:Ut,86:Gt,96:292,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},{22:zt,66:Ht,67:Ut,86:Gt,96:293,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Qt},t(lt,[2,64]),t(H,[2,41]),t(ft,[2,119],{106:Zt}),t(ft,[2,120],{106:Zt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},ne={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:case 37:return t.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:case 41:case 42:case 43:return 101;case 44:return this.popState(),25;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:case 68:case 69:return 82;case 70:case 71:case 72:return 81;case 73:return 59;case 74:return 60;case 75:return 61;case 76:return 62;case 77:return 63;case 78:return 64;case 79:return 65;case 80:return 69;case 81:return 70;case 82:return 55;case 83:return 56;case 84:return 109;case 85:return 112;case 86:return 127;case 87:return 124;case 88:return 113;case 89:case 90:return 125;case 91:return 114;case 92:return 73;case 93:return 92;case 94:return"SEP";case 95:return 91;case 96:return 66;case 97:return 75;case 98:return 74;case 99:return 77;case 100:return 76;case 101:return 122;case 102:return 123;case 103:return 68;case 104:return 57;case 105:return 58;case 106:return 40;case 107:return 41;case 108:return 71;case 109:return 72;case 110:return 133;case 111:return 21;case 112:return 22;case 113:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[44,45,46,47,48,49,50,51,52,53,54],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],inclusive:!0}}};function ie(){this.yy={}}return ee.lexer=ne,ie.prototype=ee,ee.Parser=ie,new ie}();ZN.parser=ZN;const JN=ZN,tD=(t,e)=>{var n,i;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&null!==t.match(/^\s*graph/)},eD=(t,e)=>{var n,i;return"dagre-d3"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&(null!==t.match(/^\s*graph/)||null!==t.match(/^\s*flowchart/))},nD="flowchart-";let iD,rD,aD=0,oD=ky(),sD={},cD=[],uD={},lD=[],hD={},fD={},dD=0,gD=!0,pD=[];const bD=t=>Jh.sanitizeText(t,oD),wD=function(t,e,n){hU.parseDirective(this,t,e,n)},yD=function(t){const e=Object.keys(sD);for(const n of e)if(sD[n].id===t)return sD[n].domId;return t},mD=function(t,e,n,i,r,a,o={}){let s,c=t;void 0!==c&&0!==c.trim().length&&(void 0===sD[c]&&(sD[c]={id:c,domId:nD+c+"-"+aD,styles:[],classes:[]}),aD++,void 0!==e?(oD=ky(),s=bD(e.trim()),'"'===s[0]&&'"'===s[s.length-1]&&(s=s.substring(1,s.length-1)),sD[c].text=s):void 0===sD[c].text&&(sD[c].text=t),void 0!==n&&(sD[c].type=n),null!=i&&i.forEach((function(t){sD[c].styles.push(t)})),null!=r&&r.forEach((function(t){sD[c].classes.push(t)})),void 0!==a&&(sD[c].dir=a),void 0===sD[c].props?sD[c].props=o:void 0!==o&&Object.assign(sD[c].props,o))},vD=function(t,e,n,i){const r={start:t,end:e,type:void 0,text:""};void 0!==(i=n.text)&&(r.text=bD(i.trim()),'"'===r.text[0]&&'"'===r.text[r.text.length-1]&&(r.text=r.text.substring(1,r.text.length-1))),void 0!==n&&(r.type=n.type,r.stroke=n.stroke,r.length=n.length),cD.push(r)},xD=function(t,e,n,i){let r,a;for(r=0;r<t.length;r++)for(a=0;a<e.length;a++)vD(t[r],e[a],n,i)},kD=function(t,e){t.forEach((function(t){"default"===t?cD.defaultInterpolate=e:cD[t].interpolate=e}))},_D=function(t,e){t.forEach((function(t){"default"===t?cD.defaultStyle=e:(-1===mw.isSubstringInArray("fill",e)&&e.push("fill:none"),cD[t].style=e)}))},ED=function(t,e){void 0===uD[t]&&(uD[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const n=e.replace("fill","bgFill").replace("color","fill");uD[t].textStyles.push(n)}uD[t].styles.push(e)}))},TD=function(t){iD=t,iD.match(/.*</)&&(iD="RL"),iD.match(/.*\^/)&&(iD="BT"),iD.match(/.*>/)&&(iD="LR"),iD.match(/.*v/)&&(iD="TB"),"TD"===iD&&(iD="TB")},CD=function(t,e){t.split(",").forEach((function(t){let n=t;void 0!==sD[n]&&sD[n].classes.push(e),void 0!==hD[n]&&hD[n].classes.push(e)}))},SD=function(t,e){t.split(",").forEach((function(t){void 0!==e&&(fD["gen-1"===rD?yD(t):t]=bD(e))}))},AD=function(t,e,n){let i=yD(t);if("loose"!==ky().securityLevel||void 0===e)return;let r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<r.length;t++){let e=r[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),r[t]=e}}0===r.length&&r.push(t),void 0!==sD[t]&&(sD[t].haveCallback=!0,pD.push((function(){const t=document.querySelector(`[id="${i}"]`);null!==t&&t.addEventListener("click",(function(){mw.runFunc(e,...r)}),!1)})))},MD=function(t,e,n){t.split(",").forEach((function(t){void 0!==sD[t]&&(sD[t].link=mw.formatUrl(e,oD),sD[t].linkTarget=n)})),CD(t,"clickable")},ID=function(t){return fD[t]},OD=function(t,e,n){t.split(",").forEach((function(t){AD(t,e,n)})),CD(t,"clickable")},LD=function(t){pD.forEach((function(e){e(t)}))},ND=function(){return iD.trim()},DD=function(){return sD},PD=function(){return cD},BD=function(){return uD},jD=function(t){let e=ln(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=ln("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),ln(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=ln(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),ln(this).classed("hover",!1)}))};pD.push(jD);const RD=function(t="gen-1"){sD={},uD={},cD=[],pD=[jD],lD=[],hD={},dD=0,fD=[],gD=!0,rD=t,Jy()},$D=t=>{rD=t||"gen-2"},FD=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},zD=function(t,e,n){let i=t.trim(),r=n;function a(t){const e={boolean:{},number:{},string:{}},n=[];let i;return{nodeList:t.filter((function(t){const r=typeof t;return t.stmt&&"dir"===t.stmt?(i=t.value,!1):""!==t.trim()&&(r in e?!e[r].hasOwnProperty(t)&&(e[r][t]=!0):!n.includes(t)&&n.push(t))})),dir:i}}t===n&&n.match(/\s/)&&(i=void 0);let o=[];const{nodeList:s,dir:c}=a(o.concat.apply(o,e));if(o=s,"gen-1"===rD)for(let l=0;l<o.length;l++)o[l]=yD(o[l]);i=i||"subGraph"+dD,r=r||"",r=bD(r),dD+=1;const u={id:i,nodes:o,title:r.trim(),classes:[],dir:c};return h.info("Adding",u.id,u.nodes,u.dir),u.nodes=eP(u,lD).nodes,lD.push(u),hD[i]=u,i},HD=function(t){for(const[e,n]of lD.entries())if(n.id===t)return e;return-1};let UD=-1;const GD=[],qD=function(t,e){const n=lD[e].nodes;if(UD+=1,UD>2e3)return;if(GD[UD]=e,lD[e].id===t)return{result:!0,count:0};let i=0,r=1;for(;i<n.length;){const e=HD(n[i]);if(e>=0){const n=qD(t,e);if(n.result)return{result:!0,count:r+n.count};r+=n.count}i+=1}return{result:!1,count:r}},KD=function(t){return GD[t]},YD=function(){UD=-1,lD.length>0&&qD("none",lD.length-1)},WD=function(){return lD},XD=()=>!!gD&&(gD=!1,!0),VD=t=>{let e=t.trim(),n="arrow_open";switch(e[0]){case"<":n="arrow_point",e=e.slice(1);break;case"x":n="arrow_cross",e=e.slice(1);break;case"o":n="arrow_circle",e=e.slice(1)}let i="normal";return e.includes("=")&&(i="thick"),e.includes(".")&&(i="dotted"),{type:n,stroke:i}},QD=(t,e)=>{const n=e.length;let i=0;for(let r=0;r<n;++r)e[r]===t&&++i;return i},ZD=t=>{const e=t.trim();let n=e.slice(0,-1),i="arrow_open";switch(e.slice(-1)){case"x":i="arrow_cross","x"===e[0]&&(i="double_"+i,n=n.slice(1));break;case">":i="arrow_point","<"===e[0]&&(i="double_"+i,n=n.slice(1));break;case"o":i="arrow_circle","o"===e[0]&&(i="double_"+i,n=n.slice(1))}let r="normal",a=n.length-1;"="===n[0]&&(r="thick");let o=QD(".",n);return o&&(r="dotted",a=o),{type:i,stroke:r,length:a}},JD=(t,e)=>{const n=ZD(t);let i;if(e){if(i=VD(e),i.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===i.type)i.type=n.type;else{if(i.type!==n.type)return{type:"INVALID",stroke:"INVALID"};i.type="double_"+i.type}return"double_arrow"===i.type&&(i.type="double_arrow_point"),i.length=n.length,i}return n},tP=(t,e)=>{let n=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(n=!0)})),n},eP=(t,e)=>{const n=[];return t.nodes.forEach(((i,r)=>{tP(e,i)||n.push(t.nodes[r])})),{nodes:n}},nP={firstGraph:XD},iP={parseDirective:wD,defaultConfig:()=>hy.flowchart,setAccTitle:tm,getAccTitle:em,getAccDescription:im,setAccDescription:nm,addVertex:mD,lookUpDomId:yD,addLink:xD,updateLinkInterpolate:kD,updateLink:_D,addClass:ED,setDirection:TD,setClass:CD,setTooltip:SD,getTooltip:ID,setClickEvent:OD,setLink:MD,bindFunctions:LD,getDirection:ND,getVertices:DD,getEdges:PD,getClasses:BD,clear:RD,setGen:$D,defaultStyle:FD,addSubGraph:zD,getDepthFirstPos:KD,indexNodes:YD,getSubGraphs:WD,destructLink:JD,lex:nP,exists:tP,makeUniq:eP,setDiagramTitle:rm,getDiagramTitle:am},rP=Object.freeze(Object.defineProperty({__proto__:null,addClass:ED,addLink:xD,addSingleLink:vD,addSubGraph:zD,addVertex:mD,bindFunctions:LD,clear:RD,default:iP,defaultStyle:FD,destructLink:JD,firstGraph:XD,getClasses:BD,getDepthFirstPos:KD,getDirection:ND,getEdges:PD,getSubGraphs:WD,getTooltip:ID,getVertices:DD,indexNodes:YD,lex:nP,lookUpDomId:yD,parseDirective:wD,setClass:CD,setClickEvent:OD,setDirection:TD,setGen:$D,setLink:MD,updateLink:_D,updateLinkInterpolate:kD},Symbol.toStringTag,{value:"Module"}));function aP(t,e){return!!t.children(e).length}function oP(t){return cP(t.v)+":"+cP(t.w)+":"+cP(t.name)}var sP=/:/g;function cP(t){return t?String(t).replace(sP,"\\:"):""}function uP(t,e){e&&t.attr("style",e)}function lP(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))}function hP(t,e){var n=e.graph();if(PE(n)){var i=n.transition;if(Wp(i))return i(t)}return t}var fP={normal:gP,vee:pP,undirected:bP};function dP(t){fP=t}function gP(t,e,n,i){var r=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");uP(r,n[i+"Style"]),n[i+"Class"]&&r.attr("class",n[i+"Class"])}function pP(t,e,n,i){var r=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");uP(r,n[i+"Style"]),n[i+"Class"]&&r.attr("class",n[i+"Class"])}function bP(t,e,n,i){var r=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");uP(r,n[i+"Style"]),n[i+"Class"]&&r.attr("class",n[i+"Class"])}function wP(t,e){var n=t.append("foreignObject").attr("width","100000"),i=n.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var r=e.label;switch(typeof r){case"function":i.insert(r);break;case"object":i.insert((function(){return r}));break;default:i.html(r)}uP(i,e.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var a=i.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}function yP(t,e){var n=t;return n.node().appendChild(e.label),uP(n,e.labelStyle),n}function mP(t,e){for(var n=t.append("text"),i=vP(e.label).split("\n"),r=0;r<i.length;r++)n.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(i[r]);return uP(n,e.labelStyle),n}function vP(t){for(var e,n="",i=!1,r=0;r<t.length;++r)e=t[r],i?(n+="n"===e?"\n":e,i=!1):"\\"===e?i=!0:n+=e;return n}function xP(t,e,n){var i=e.label,r=t.append("g");"svg"===e.labelType?yP(r,e):"string"!=typeof i||"html"===e.labelType?wP(r,e):mP(r,e);var a,o=r.node().getBBox();switch(n){case"top":a=-e.height/2;break;case"bottom":a=e.height/2-o.height;break;default:a=-o.height/2}return r.attr("transform","translate("+-o.width/2+","+a+")"),r}var kP=function(t,e){var n=e.nodes().filter((function(t){return aP(e,t)})),i=t.selectAll("g.cluster").data(n,(function(t){return t}));hP(i.exit(),e).style("opacity",0).remove();var r=i.enter().append("g").attr("class","cluster").attr("id",(function(t){return e.node(t).id})).style("opacity",0).each((function(t){var n=e.node(t),i=ln(this);ln(this).append("rect"),xP(i.append("g").attr("class","label"),n,n.clusterLabelPos)}));return(i=hP(i=i.merge(r),e).style("opacity",1)).selectAll("rect").each((function(t){var n=e.node(t);uP(ln(this),n.style)})),i};function _P(t){kP=t}let EP=function(t,e){var n=t.selectAll("g.edgeLabel").data(e.edges(),(function(t){return oP(t)})).classed("update",!0);return n.exit().remove(),n.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(n=t.selectAll("g.edgeLabel")).each((function(t){var n=ln(this);n.select(".label").remove();var i=e.edge(t),r=xP(n,e.edge(t),0).classed("label",!0),a=r.node().getBBox();i.labelId&&r.attr("id",i.labelId),_A(i,"width")||(i.width=a.width),_A(i,"height")||(i.height=a.height)})),hP(n.exit?n.exit():n.selectAll(null),e).style("opacity",0).remove(),n};function TP(t){EP=t}function CP(t,e){return t.intersect(e)}var SP=function(t,e,n){var i=t.selectAll("g.edgePath").data(e.edges(),(function(t){return oP(t)})).classed("update",!0),r=NP(i,e);DP(i,e);var a=void 0!==i.merge?i.merge(r):i;return hP(a,e).style("opacity",1),a.each((function(t){var n=ln(this),i=e.edge(t);i.elem=this,i.id&&n.attr("id",i.id),lP(n,i.class,(n.classed("update")?"update ":"")+"edgePath")})),a.selectAll("path.path").each((function(t){var n=e.edge(t);n.arrowheadId=oM("arrowhead");var i=ln(this).attr("marker-end",(function(){return"url("+MP(location.href,n.arrowheadId)+")"})).style("fill","none");hP(i,e).attr("d",(function(t){return IP(e,t)})),uP(i,n.style)})),a.selectAll("defs *").remove(),a.selectAll("defs").each((function(t){var i=e.edge(t);(0,n[i.arrowhead])(ln(this),i.arrowheadId,i,"arrowhead")})),a};function AP(t){SP=t}function MP(t,e){return t.split("#")[0]+"#"+e}function IP(t,e){var n=t.edge(e),i=t.node(e.v),r=t.node(e.w),a=n.points.slice(1,n.points.length-1);return a.unshift(CP(i,a[0])),a.push(CP(r,a[a.length-1])),OP(n,a)}function OP(t,e){var n=(Fu||Va.line)().x((function(t){return t.x})).y((function(t){return t.y}));return(n.curve||n.interpolate)(t.curve),n(e)}function LP(t){var e=t.getBBox(),n=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(e.width/2,e.height/2);return{x:n.e,y:n.f}}function NP(t,e){var n=t.enter().append("g").attr("class","edgePath").style("opacity",0);return n.append("path").attr("class","path").attr("d",(function(t){var n=e.edge(t),i=e.node(t.v).elem;return OP(n,VA(n.points.length).map((function(){return LP(i)})))})),n.append("defs"),n}function DP(t,e){hP(t.exit(),e).style("opacity",0).remove()}var PP=function(t,e,n){var i=e.nodes().filter((function(t){return!aP(e,t)})),r=t.selectAll("g.node").data(i,(function(t){return t})).classed("update",!0);return r.exit().remove(),r.enter().append("g").attr("class","node").style("opacity",0),(r=t.selectAll("g.node")).each((function(t){var i=e.node(t),r=ln(this);lP(r,i.class,(r.classed("update")?"update ":"")+"node"),r.select("g.label").remove();var a=r.append("g").attr("class","label"),o=xP(a,i),s=n[i.shape],c=qA(o.node().getBBox(),"width","height");i.elem=this,i.id&&r.attr("id",i.id),i.labelId&&a.attr("id",i.labelId),_A(i,"width")&&(c.width=i.width),_A(i,"height")&&(c.height=i.height),c.width+=i.paddingLeft+i.paddingRight,c.height+=i.paddingTop+i.paddingBottom,a.attr("transform","translate("+(i.paddingLeft-i.paddingRight)/2+","+(i.paddingTop-i.paddingBottom)/2+")");var u=ln(this);u.select(".label-container").remove();var l=s(u,c,i).classed("label-container",!0);uP(l,i.style);var h=l.node().getBBox();i.width=h.width,i.height=h.height})),hP(r.exit?r.exit():r.selectAll(null),e).style("opacity",0).remove(),r};function BP(t){PP=t}function jP(t,e){var n=t.filter((function(){return!ln(this).classed("update")}));function i(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}n.attr("transform",i),hP(t,e).style("opacity",1).attr("transform",i),hP(n.selectAll("rect"),e).attr("width",(function(t){return e.node(t).width})).attr("height",(function(t){return e.node(t).height})).attr("x",(function(t){return-e.node(t).width/2})).attr("y",(function(t){return-e.node(t).height/2}))}function RP(t,e){function n(t){var n=e.edge(t);return _A(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter((function(){return!ln(this).classed("update")})).attr("transform",n),hP(t,e).style("opacity",1).attr("transform",n)}function $P(t,e){function n(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}t.filter((function(){return!ln(this).classed("update")})).attr("transform",n),hP(t,e).style("opacity",1).attr("transform",n)}function FP(t,e,n,i){var r=t.x,a=t.y,o=r-i.x,s=a-i.y,c=Math.sqrt(e*e*s*s+n*n*o*o),u=Math.abs(e*n*o/c);i.x<r&&(u=-u);var l=Math.abs(e*n*s/c);return i.y<a&&(l=-l),{x:r+u,y:a+l}}function zP(t,e,n){return FP(t,e,e,n)}function HP(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=r*n.x+o*n.y+c,d=r*i.x+o*i.y+c,!(0!==f&&0!==d&&UP(f,d)||(a=i.y-n.y,s=n.x-i.x,u=i.x*n.y-n.x*i.y,l=a*t.x+s*t.y+u,h=a*e.x+s*e.y+u,0!==l&&0!==h&&UP(l,h)||(g=r*s-a*o,0===g))))return p=Math.abs(g/2),{x:(b=o*u-s*c)<0?(b-p)/g:(b+p)/g,y:(b=a*c-r*u)<0?(b-p)/g:(b+p)/g}}function UP(t,e){return t*e>0}function GP(t,e,n){var i=t.x,r=t.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;e.forEach((function(t){o=Math.min(o,t.x),s=Math.min(s,t.y)}));for(var c=i-t.width/2-o,u=r-t.height/2-s,l=0;l<e.length;l++){var h=e[l],f=e[l<e.length-1?l+1:0],d=HP(t,n,{x:c+h.x,y:u+h.y},{x:c+f.x,y:u+f.y});d&&a.push(d)}return a.length?(a.length>1&&a.sort((function(t,e){var i=t.x-n.x,r=t.y-n.y,a=Math.sqrt(i*i+r*r),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1})),a[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",t),t)}function qP(t,e){var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=0===s?0:u*o/s,i=u):(o<0&&(c=-c),n=c,i=0===o?0:c*s/o),{x:r+n,y:a+i}}var KP={rect:WP,ellipse:XP,circle:VP,diamond:QP};function YP(t){KP=t}function WP(t,e,n){var i=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return qP(n,t)},i}function XP(t,e,n){var i=e.width/2,r=e.height/2,a=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",i).attr("ry",r);return n.intersect=function(t){return FP(n,i,r,t)},a}function VP(t,e,n){var i=Math.max(e.width,e.height)/2,r=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",i);return n.intersect=function(t){return zP(n,i,t)},r}function QP(t,e,n){var i=e.width*Math.SQRT2/2,r=e.height*Math.SQRT2/2,a=[{x:0,y:-r},{x:-i,y:0},{x:0,y:r},{x:i,y:0}],o=t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" "));return n.intersect=function(t){return GP(n,a,t)},o}function ZP(){var t=function(t,e){eB(e);var n=iB(t,"output"),i=iB(n,"clusters"),r=iB(n,"edgePaths"),a=EP(iB(n,"edgeLabels"),e),o=PP(iB(n,"nodes"),e,KP);yO(e),$P(o,e),RP(a,e),SP(r,e,fP),jP(kP(i,e),e),nB(e)};return t.createNodes=function(e){return arguments.length?(BP(e),t):PP},t.createClusters=function(e){return arguments.length?(_P(e),t):kP},t.createEdgeLabels=function(e){return arguments.length?(TP(e),t):EP},t.createEdgePaths=function(e){return arguments.length?(AP(e),t):SP},t.shapes=function(e){return arguments.length?(YP(e),t):KP},t.arrows=function(e){return arguments.length?(dP(e),t):fP},t}var JP={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},tB={arrowhead:"normal",curve:ju};function eB(t){t.nodes().forEach((function(e){var n=t.node(e);!_A(n,"label")&&!t.children(e).length&&(n.label=e),_A(n,"paddingX")&&tA(n,{paddingLeft:n.paddingX,paddingRight:n.paddingX}),_A(n,"paddingY")&&tA(n,{paddingTop:n.paddingY,paddingBottom:n.paddingY}),_A(n,"padding")&&tA(n,{paddingLeft:n.padding,paddingRight:n.padding,paddingTop:n.padding,paddingBottom:n.padding}),tA(n,JP),lA(["paddingLeft","paddingRight","paddingTop","paddingBottom"],(function(t){n[t]=Number(n[t])})),_A(n,"width")&&(n._prevWidth=n.width),_A(n,"height")&&(n._prevHeight=n.height)})),t.edges().forEach((function(e){var n=t.edge(e);_A(n,"label")||(n.label=""),tA(n,tB)}))}function nB(t){lA(t.nodes(),(function(e){var n=t.node(e);_A(n,"_prevWidth")?n.width=n._prevWidth:delete n.width,_A(n,"_prevHeight")?n.height=n._prevHeight:delete n.height,delete n._prevWidth,delete n._prevHeight}))}function iB(t,e){var n=t.select("g."+e);return n.empty()&&(n=t.append("g").attr("class",e)),n}function rB(t,e,n){const i=.9*(e.width+e.height),r=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}],a=wB(t,i,i,r);return n.intersect=function(t){return GP(n,r,t)},a}function aB(t,e,n){const i=e.height,r=i/4,a=e.width+2*r,o=[{x:r,y:0},{x:a-r,y:0},{x:a,y:-i/2},{x:a-r,y:-i},{x:r,y:-i},{x:0,y:-i/2}],s=wB(t,a,i,o);return n.intersect=function(t){return GP(n,o,t)},s}function oB(t,e,n){const i=e.width,r=e.height,a=[{x:-r/2,y:0},{x:i,y:0},{x:i,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}],o=wB(t,i,r,a);return n.intersect=function(t){return GP(n,a,t)},o}function sB(t,e,n){const i=e.width,r=e.height,a=[{x:-2*r/6,y:0},{x:i-r/6,y:0},{x:i+2*r/6,y:-r},{x:r/6,y:-r}],o=wB(t,i,r,a);return n.intersect=function(t){return GP(n,a,t)},o}function cB(t,e,n){const i=e.width,r=e.height,a=[{x:2*r/6,y:0},{x:i+r/6,y:0},{x:i-2*r/6,y:-r},{x:-r/6,y:-r}],o=wB(t,i,r,a);return n.intersect=function(t){return GP(n,a,t)},o}function uB(t,e,n){const i=e.width,r=e.height,a=[{x:-2*r/6,y:0},{x:i+2*r/6,y:0},{x:i-r/6,y:-r},{x:r/6,y:-r}],o=wB(t,i,r,a);return n.intersect=function(t){return GP(n,a,t)},o}function lB(t,e,n){const i=e.width,r=e.height,a=[{x:r/6,y:0},{x:i-r/6,y:0},{x:i+2*r/6,y:-r},{x:-2*r/6,y:-r}],o=wB(t,i,r,a);return n.intersect=function(t){return GP(n,a,t)},o}function hB(t,e,n){const i=e.width,r=e.height,a=[{x:0,y:0},{x:i+r/2,y:0},{x:i,y:-r/2},{x:i+r/2,y:-r},{x:0,y:-r}],o=wB(t,i,r,a);return n.intersect=function(t){return GP(n,a,t)},o}function fB(t,e,n){const i=e.height,r=e.width+i/4,a=t.insert("rect",":first-child").attr("rx",i/2).attr("ry",i/2).attr("x",-r/2).attr("y",-i/2).attr("width",r).attr("height",i);return n.intersect=function(t){return qP(n,t)},a}function dB(t,e,n){const i=e.width,r=e.height,a=[{x:0,y:0},{x:i,y:0},{x:i,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],o=wB(t,i,r,a);return n.intersect=function(t){return GP(n,a,t)},o}function gB(t,e,n){const i=e.width,r=i/2,a=r/(2.5+i/50),o=e.height+a,s="M 0,"+a+" a "+r+","+a+" 0,0,0 "+i+" 0 a "+r+","+a+" 0,0,0 "+-i+" 0 l 0,"+o+" a "+r+","+a+" 0,0,0 "+i+" 0 l 0,"+-o,c=t.attr("label-offset-y",a).insert("path",":first-child").attr("d",s).attr("transform","translate("+-i/2+","+-(o/2+a)+")");return n.intersect=function(t){const e=qP(n,t),i=e.x-n.x;if(0!=r&&(Math.abs(i)<n.width/2||Math.abs(i)==n.width/2&&Math.abs(e.y-n.y)>n.height/2-a)){let o=a*a*(1-i*i/(r*r));0!=o&&(o=Math.sqrt(o)),o=a-o,t.y-n.y>0&&(o=-o),e.y+=o}return e},c}function pB(t){t.shapes().question=rB,t.shapes().hexagon=aB,t.shapes().stadium=fB,t.shapes().subroutine=dB,t.shapes().cylinder=gB,t.shapes().rect_left_inv_arrow=oB,t.shapes().lean_right=sB,t.shapes().lean_left=cB,t.shapes().trapezoid=uB,t.shapes().inv_trapezoid=lB,t.shapes().rect_right_inv_arrow=hB}function bB(t){t({question:rB}),t({hexagon:aB}),t({stadium:fB}),t({subroutine:dB}),t({cylinder:gB}),t({rect_left_inv_arrow:oB}),t({lean_right:sB}),t({lean_left:cB}),t({trapezoid:uB}),t({inv_trapezoid:lB}),t({rect_right_inv_arrow:hB})}function wB(t,e,n,i){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+-e/2+","+n/2+")")}const yB={addToRender:pB,addToRenderV2:bB},mB={},vB=function(t,e,n,i,r,a){const o=i?i.select(`[id="${n}"]`):ln(`[id="${n}"]`),s=r||document;Object.keys(t).forEach((function(n){const i=t[n];let r="default";i.classes.length>0&&(r=i.classes.join(" "));const c=ew(i.styles);let u,l=void 0!==i.text?i.text:i.id;if(Qh(ky().flowchart.htmlLabels)){const t={label:l.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};u=wP(o,t).node(),u.parentNode.removeChild(u)}else{const t=s.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",c.labelStyle.replace("color:","fill:"));const e=l.split(Jh.lineBreakRegex);for(const n of e){const e=s.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}u=t}let f=0,d="";switch(i.type){case"round":f=5,d="rect";break;case"square":case"group":default:d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"odd":case"odd_right":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder"}h.warn("Adding node",i.id,i.domId),e.setNode(a.db.lookUpDomId(i.id),{labelType:"svg",labelStyle:c.labelStyle,shape:d,label:u,rx:f,ry:f,class:r,style:c.style,id:a.db.lookUpDomId(i.id)})}))},xB=function(t,e,n){let i,r,a=0;if(void 0!==t.defaultStyle){const e=ew(t.defaultStyle);i=e.style,r=e.labelStyle}t.forEach((function(o){a++;var s="L-"+o.start+"-"+o.end,c="LS-"+o.start,u="LE-"+o.end;const l={};"arrow_open"===o.type?l.arrowhead="none":l.arrowhead="normal";let h="",f="";if(void 0!==o.style){const t=ew(o.style);h=t.style,f=t.labelStyle}else switch(o.stroke){case"normal":h="fill:none",void 0!==i&&(h=i),void 0!==r&&(f=r);break;case"dotted":h="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":h=" stroke-width: 3.5px;fill:none"}l.style=h,l.labelStyle=f,void 0!==o.interpolate?l.curve=Yb(o.interpolate,ju):void 0!==t.defaultInterpolate?l.curve=Yb(t.defaultInterpolate,ju):l.curve=Yb(mB.curve,ju),void 0===o.text?void 0!==o.style&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",Qh(ky().flowchart.htmlLabels)?(l.labelType="html",l.label=`<span id="L-${s}" class="edgeLabel L-${c}' L-${u}" style="${l.labelStyle}">${o.text.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))}</span>`):(l.labelType="text",l.label=o.text.replace(Jh.lineBreakRegex,"\n"),void 0===o.style&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=s,l.class=c+" "+u,l.minlen=o.length||1,e.setEdge(n.db.lookUpDomId(o.start),n.db.lookUpDomId(o.end),l,a)}))},kB={setConf:function(t){const e=Object.keys(t);for(const n of e)mB[n]=t[n]},addVertices:vB,addEdges:xB,getClasses:function(t,e){h.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(n){return h.error(n),{}}},draw:function(t,e,n,i){h.info("Drawing flowchart"),i.db.clear();const{securityLevel:r,flowchart:a}=ky();let o;"sandbox"===r&&(o=ln("#i"+e));const s=ln("sandbox"===r?o.nodes()[0].contentDocument.body:"body"),c="sandbox"===r?o.nodes()[0].contentDocument:document;try{i.parser.parse(t)}catch{h.debug("Parsing failed")}let u=i.db.getDirection();void 0===u&&(u="TD");const l=a.nodeSpacing||50,f=a.rankSpacing||50,d=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:l,ranksep:f,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let g;const p=i.db.getSubGraphs();for(let h=p.length-1;h>=0;h--)g=p[h],i.db.addVertex(g.id,g.title,"group",void 0,g.classes);const b=i.db.getVertices();h.warn("Get vertices",b);const w=i.db.getEdges();let y=0;for(y=p.length-1;y>=0;y--){g=p[y],hn("cluster").append("text");for(let t=0;t<g.nodes.length;t++)h.warn("Setting subgraph",g.nodes[t],i.db.lookUpDomId(g.nodes[t]),i.db.lookUpDomId(g.id)),d.setParent(i.db.lookUpDomId(g.nodes[t]),i.db.lookUpDomId(g.id))}vB(b,d,e,s,c,i),xB(w,d,i);const m=new ZP;yB.addToRender(m),m.arrows().none=function(t,e,n,i){uP(t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z"),n[i+"Style"])},m.arrows().normal=function(t,e){t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0")};const v=s.select(`[id="${e}"]`),x=s.select("#"+e+" g");for(m(x,d),x.selectAll("g.node").attr("title",(function(){return i.db.getTooltip(this.id)})),i.db.indexNodes("subGraph"+y),y=0;y<p.length;y++)if(g=p[y],"undefined"!==g.title){const t=c.querySelectorAll("#"+e+' [id="'+i.db.lookUpDomId(g.id)+'"] rect'),n=c.querySelectorAll("#"+e+' [id="'+i.db.lookUpDomId(g.id)+'"]'),r=t[0].x.baseVal.value,a=t[0].y.baseVal.value,o=t[0].width.baseVal.value,s=ln(n[0]).select(".label");s.attr("transform",`translate(${r+o/2}, ${a+14})`),s.attr("id",e+"Text");for(let e=0;e<g.classes.length;e++)n[0].classList.add(g.classes[e])}if(!a.htmlLabels){const t=c.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=c.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild)}}Ny(d,v,a.diagramPadding,a.useMaxWidth),Object.keys(b).forEach((function(t){const n=b[t];if(n.link){const a=s.select("#"+e+' [id="'+i.db.lookUpDomId(t)+'"]');if(a){const t=c.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===r?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=a.insert((function(){return t}),":first-child"),i=a.select(".label-container");i&&e.append((function(){return i.node()}));const o=a.select(".label");o&&e.append((function(){return o.node()}))}}}))}},_B={},EB=function(t,e,n,i,r,a){const o=i.select(`[id="${n}"]`);Object.keys(t).forEach((function(n){const i=t[n];let s="default";i.classes.length>0&&(s=i.classes.join(" "));const c=ew(i.styles);let u,l=void 0!==i.text?i.text:i.id;if(Qh(ky().flowchart.htmlLabels)){const t={label:l.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};u=wP(o,t).node(),u.parentNode.removeChild(u)}else{const t=r.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",c.labelStyle.replace("color:","fill:"));const e=l.split(Jh.lineBreakRegex);for(const n of e){const e=r.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}u=t}let f=0,d="";switch(i.type){case"round":f=5,d="rect";break;case"square":case"group":default:d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"odd":case"odd_right":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"doublecircle":d="doublecircle"}e.setNode(i.id,{labelStyle:c.labelStyle,shape:d,labelText:l,rx:f,ry:f,class:s,style:c.style,id:i.id,link:i.link,linkTarget:i.linkTarget,tooltip:a.db.getTooltip(i.id)||"",domId:a.db.lookUpDomId(i.id),haveCallback:i.haveCallback,width:"group"===i.type?500:void 0,dir:i.dir,type:i.type,props:i.props,padding:ky().flowchart.padding}),h.info("setNode",{labelStyle:c.labelStyle,shape:d,labelText:l,rx:f,ry:f,class:s,style:c.style,id:i.id,domId:a.db.lookUpDomId(i.id),width:"group"===i.type?500:void 0,type:i.type,dir:i.dir,props:i.props,padding:ky().flowchart.padding})}))},TB=function(t,e,n){h.info("abc78 edges = ",t);let i,r,a=0,o={};if(void 0!==t.defaultStyle){const e=ew(t.defaultStyle);i=e.style,r=e.labelStyle}t.forEach((function(n){a++;var s="L-"+n.start+"-"+n.end;void 0===o[s]?(o[s]=0,h.info("abc78 new entry",s,o[s])):(o[s]++,h.info("abc78 new entry",s,o[s]));let c=s+"-"+o[s];h.info("abc78 new link id to be used is",s,c,o[s]);var u="LS-"+n.start,l="LE-"+n.end;const f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let d="",g="";switch(n.stroke){case"normal":d="fill:none;",void 0!==i&&(d=i),void 0!==r&&(g=r),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;"}if(void 0!==n.style){const t=ew(n.style);d=t.style,g=t.labelStyle}f.style=f.style+=d,f.labelStyle=f.labelStyle+=g,void 0!==n.interpolate?f.curve=Yb(n.interpolate,ju):void 0!==t.defaultInterpolate?f.curve=Yb(t.defaultInterpolate,ju):f.curve=Yb(_B.curve,ju),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType="text",f.label=n.text.replace(Jh.lineBreakRegex,"\n"),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=c,f.classes="flowchart-link "+u+" "+l,e.setEdge(n.start,n.end,f,a)}))},CB={setConf:function(t){const e=Object.keys(t);for(const n of e)_B[n]=t[n]},addVertices:EB,addEdges:TB,getClasses:function(t,e){h.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch{return}},draw:function(t,e,n,i){h.info("Drawing flowchart"),i.db.clear(),iP.setGen("gen-2"),i.parser.parse(t);let r=i.db.getDirection();void 0===r&&(r="TD");const{securityLevel:a,flowchart:o}=ky(),s=o.nodeSpacing||50,c=o.rankSpacing||50;let u;"sandbox"===a&&(u=ln("#i"+e));const l=ln("sandbox"===a?u.nodes()[0].contentDocument.body:"body"),f="sandbox"===a?u.nodes()[0].contentDocument:document,d=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:s,ranksep:c,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let g;const p=i.db.getSubGraphs();h.info("Subgraphs - ",p);for(let x=p.length-1;x>=0;x--)g=p[x],h.info("Subgraph - ",g),i.db.addVertex(g.id,g.title,"group",void 0,g.classes,g.dir);const b=i.db.getVertices(),w=i.db.getEdges();h.info("Edges",w);let y=0;for(y=p.length-1;y>=0;y--){g=p[y],hn("cluster").append("text");for(let t=0;t<g.nodes.length;t++)h.info("Setting up subgraphs",g.nodes[t],g.id),d.setParent(g.nodes[t],g.id)}EB(b,d,e,l,f,i),TB(w,d);const m=l.select(`[id="${e}"]`),v=l.select("#"+e+" g");if(cN(v,d,["point","circle","cross"],"flowchart",e),mw.insertTitle(m,"flowchartTitleText",o.titleTopMargin,i.db.getDiagramTitle()),Ny(d,m,o.diagramPadding,o.useMaxWidth),i.db.indexNodes("subGraph"+y),!o.htmlLabels){const t=f.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=f.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild)}}Object.keys(b).forEach((function(t){const n=b[t];if(n.link){const i=ln("#"+e+' [id="'+t+'"]');if(i){const t=f.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===a?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=i.insert((function(){return t}),":first-child"),r=i.select(".label-container");r&&e.append((function(){return r.node()}));const o=i.select(".label");o&&e.append((function(){return o.node()}))}}}))}};var SB=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,21],h=[1,22],f=[1,23],d=[1,24],g=[1,25],p=[1,26],b=[1,27],w=[1,29],y=[1,31],m=[1,34],v=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],x={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:i.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:i.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:i.TopAxis(),this.$=a[s].substr(8);break;case 12:i.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:i.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 14:i.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:i.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 16:i.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 17:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 18:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 19:case 20:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 23:i.addTask(a[s-1],a[s]),this.$="task";break;case 27:this.$=a[s-1],i.setClickEvent(a[s-1],a[s],null);break;case 28:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 29:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],null),i.setLink(a[s-2],a[s]);break;case 30:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setLink(a[s-3],a[s]);break;case 31:this.$=a[s-2],i.setClickEvent(a[s-2],a[s],null),i.setLink(a[s-2],a[s-1]);break;case 32:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-1],a[s]),i.setLink(a[s-3],a[s-2]);break;case 33:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 34:case 40:this.$=a[s-1]+" "+a[s];break;case 35:case 36:case 38:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:case 39:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 41:i.parseDirective("%%{","open_directive");break;case 42:i.parseDirective(a[s],"type_directive");break;case 43:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 44:i.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,30:4,40:n},{1:[3]},{3:6,4:2,5:e,30:4,40:n},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:y,40:n},{32:32,33:[1,33],43:m},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:y,40:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(v,[2,25]),{32:47,43:m},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(v,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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=k,_.prototype=x,x.Parser=_,new _}();SB.parser=SB;const AB=SB,MB=t=>null!==t.match(/^\s*gantt/);var IB={};!function(t){!function(e,n){t.exports=n()}(0,(function(){var t="day";return function(e,n,i){var r=function(e){return e.add(4-e.isoWeekday(),t)},a=n.prototype;a.isoWeekYear=function(){return r(this).year()},a.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,a,o,s=r(this),c=(n=this.isoWeekYear(),o=4-(a=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,t));return s.diff(c,"week")+1},a.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var o=a.startOf;a.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):o.bind(this)(t,e)}}}))}({get exports(){return IB},set exports(t){IB=t}});const OB=IB;var LB={};!function(t){!function(e,n){t.exports=n()}(0,(function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,i=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},s=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t||"Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],u=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},l=function(t,e){var n,i=a.meridiem;if(i){for(var r=1;r<=24;r+=1)if(t.indexOf(i(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[r,function(t){this.afternoon=l(t,!1)}],a:[r,function(t){this.afternoon=l(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,s("seconds")],ss:[i,s("seconds")],m:[i,s("minutes")],mm:[i,s("minutes")],H:[i,s("hours")],h:[i,s("hours")],HH:[i,s("hours")],hh:[i,s("hours")],D:[i,s("day")],DD:[n,s("day")],Do:[r,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,s("month")],MM:[n,s("month")],MMM:[r,function(t){var e=u("months"),n=(u("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[r,function(t){var e=u("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function f(n){var i,r;i=n,r=a&&a.formats;for(var o=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var a=i&&i.toUpperCase();return n||r[i]||t[i]||r[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=o.length,c=0;c<s;c+=1){var u=o[c],l=h[u],f=l&&l[0],d=l&&l[1];o[c]=d?{regex:f,parser:d}:u.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,i=0;n<s;n+=1){var r=o[n];if("string"==typeof r)i+=r.length;else{var a=r.regex,c=r.parser,u=t.slice(i),l=a.exec(u)[0];c.call(e,l),t=t.replace(l,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(o=t.parseTwoDigitYear);var i=e.prototype,r=i.parse;i.parse=function(t){var e=t.date,i=t.utc,o=t.args;this.$u=i;var s=o[1];if("string"==typeof s){var c=!0===o[2],u=!0===o[3],l=c||u,h=o[2];u&&(h=o[2]),a=this.$locale(),!c&&h&&(a=n.Ls[h]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var i=f(e)(t),r=i.year,a=i.month,o=i.day,s=i.hours,c=i.minutes,u=i.seconds,l=i.milliseconds,h=i.zone,d=new Date,g=o||(r||a?1:d.getDate()),p=r||d.getFullYear(),b=0;r&&!a||(b=a>0?a-1:d.getMonth());var w=s||0,y=c||0,m=u||0,v=l||0;return h?new Date(Date.UTC(p,b,g,w,y,m,v+60*h.offset*1e3)):n?new Date(Date.UTC(p,b,g,w,y,m,v)):new Date(p,b,g,w,y,m,v)}catch{return new Date("")}}(e,s,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),l&&e!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,g=1;g<=d;g+=1){o[1]=s[g-1];var p=n.apply(this,o);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}g===d&&(this.$d=new Date(""))}else r.call(this,t)}}}))}({get exports(){return LB},set exports(t){LB=t}});const NB=LB;var DB={};!function(t){!function(e,n){t.exports=n()}(0,(function(){return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var r=this.$utils(),a=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return r.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return r.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return r.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return i.bind(this)(a)}}}))}({get exports(){return DB},set exports(t){DB=t}});const PB=DB;u.extend(OB),u.extend(NB),u.extend(PB);let BB,jB="",RB="",$B="",FB=[],zB=[],HB={},UB=[],GB=[],qB="";const KB=["active","done","crit","milestone"];let YB=[],WB=!1,XB=!1,VB=0;const QB=function(){UB=[],GB=[],qB="",YB=[],aj=0,uj=void 0,lj=void 0,hj=[],jB="",RB="",BB=void 0,$B="",FB=[],zB=[],WB=!1,XB=!1,VB=0,HB={},Jy()},ZB=function(){let t=gj();const e=10;let n=0;for(;!t&&n<e;)t=gj(),n++;return GB=hj,GB},JB=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())))},tj=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let r,a;r=t.startTime instanceof Date?u(t.startTime):u(t.startTime,e,!0),r=r.add(1,"d"),a=t.endTime instanceof Date?u(t.endTime):u(t.endTime,e,!0);const[o,s]=ej(r,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=s},ej=function(t,e,n,i,r){let a=!1,o=null;for(;t<=e;)a||(o=e.toDate()),a=JB(t,n,i,r),a&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,o]},nj=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=dj(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=u(n,e.trim(),!0);if(r.isValid())return r.toDate();{h.debug("Invalid date:"+n),h.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}},ij=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},rj=function(t,e,n,i=!1){n=n.trim();let r=u(n,e.trim(),!0);if(r.isValid())return i&&(r=r.add(1,"d")),r.toDate();let a=u(t);const[o,s]=ij(n);if(!Number.isNaN(o)){const t=a.add(o,s);t.isValid()&&(a=t)}return a.toDate()};let aj=0;const oj=function(t){return void 0===t?(aj+=1,"task"+aj):t},sj=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),r={};vj(i,r,KB);for(let o=0;o<i.length;o++)i[o]=i[o].trim();let a="";switch(i.length){case 1:r.id=oj(),r.startTime=t.endTime,a=i[0];break;case 2:r.id=oj(),r.startTime=nj(void 0,jB,i[0]),a=i[1];break;case 3:r.id=oj(i[0]),r.startTime=nj(void 0,jB,i[1]),a=i[2]}return a&&(r.endTime=rj(r.startTime,jB,a,WB),r.manualEndTime=u(a,"YYYY-MM-DD",!0).isValid(),tj(r,jB,zB,FB)),r},cj=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),r={};vj(i,r,KB);for(let a=0;a<i.length;a++)i[a]=i[a].trim();switch(i.length){case 1:r.id=oj(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:i[0]};break;case 2:r.id=oj(),r.startTime={type:"getStartDate",startData:i[0]},r.endTime={data:i[1]};break;case 3:r.id=oj(i[0]),r.startTime={type:"getStartDate",startData:i[1]},r.endTime={data:i[2]}}return r};let uj,lj,hj=[];const fj={},dj=function(t){const e=fj[t];return hj[e]},gj=function(){const t=function(t){const e=hj[t];let n="";switch(hj[t].raw.startTime.type){case"prevTaskEnd":{const t=dj(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=nj(void 0,jB,hj[t].raw.startTime.startData),n&&(hj[t].startTime=n)}return hj[t].startTime&&(hj[t].endTime=rj(hj[t].startTime,jB,hj[t].raw.endTime.data,WB),hj[t].endTime&&(hj[t].processed=!0,hj[t].manualEndTime=u(hj[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),tj(hj[t],jB,zB,FB))),hj[t].processed};let e=!0;for(const[n,i]of hj.entries())t(n),e=e&&i.processed;return e},pj=function(t,e){let n=e;"loose"!==ky().securityLevel&&(n=p(e)),t.split(",").forEach((function(t){void 0!==dj(t)&&(yj(t,(()=>{window.open(n,"_self")})),HB[t]=n)})),bj(t,"clickable")},bj=function(t,e){t.split(",").forEach((function(t){let n=dj(t);void 0!==n&&n.classes.push(e)}))},wj=function(t,e,n){if("loose"!==ky().securityLevel||void 0===e)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),void 0!==dj(t)&&yj(t,(()=>{mw.runFunc(e,...i)}))},yj=function(t,e){YB.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()}))}))},mj={parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().gantt,clear:QB,setDateFormat:function(t){jB=t},getDateFormat:function(){return jB},enableInclusiveEndDates:function(){WB=!0},endDatesAreInclusive:function(){return WB},enableTopAxis:function(){XB=!0},topAxisEnabled:function(){return XB},setAxisFormat:function(t){RB=t},getAxisFormat:function(){return RB},setTickInterval:function(t){BB=t},getTickInterval:function(){return BB},setTodayMarker:function(t){$B=t},getTodayMarker:function(){return $B},setAccTitle:tm,getAccTitle:em,setDiagramTitle:rm,getDiagramTitle:am,setAccDescription:nm,getAccDescription:im,addSection:function(t){qB=t,UB.push(t)},getSections:function(){return UB},getTasks:ZB,addTask:function(t,e){const n={section:qB,type:qB,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=cj(lj,e);n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=lj,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.order=VB,VB++;const r=hj.push(n);lj=n.id,fj[n.id]=r-1},findTaskById:dj,addTaskOrg:function(t,e){const n={section:qB,type:qB,description:t,task:t,classes:[]},i=sj(uj,e);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,uj=n,GB.push(n)},setIncludes:function(t){FB=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return FB},setExcludes:function(t){zB=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return zB},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){wj(t,e,n)})),bj(t,"clickable")},setLink:pj,getLinks:function(){return HB},bindFunctions:function(t){YB.forEach((function(e){e(t)}))},parseDuration:ij,isInvalidDate:JB};function vj(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const r=new RegExp("^\\s*"+n+"\\s*$");t[0].match(r)&&(e[n]=!0,t.shift(1),i=!0)}))}let xj;const kj={setConf:function(){h.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const r=ky().gantt,a=ky().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const s=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),c="sandbox"===a?o.nodes()[0].contentDocument:document,l=c.getElementById(e);xj=l.parentElement.offsetWidth,void 0===xj&&(xj=1200),void 0!==r.useWidth&&(xj=r.useWidth);const h=i.db.getTasks(),f=h.length*(r.barHeight+r.barGap)+2*r.topPadding;l.setAttribute("viewBox","0 0 "+xj+" "+f);const d=s.select(`[id="${e}"]`),g=fu().domain([U(h,(function(t){return t.startTime})),H(h,(function(t){return t.endTime}))]).rangeRound([0,xj-r.leftPadding-r.rightPadding]);let p=[];for(const u of h)p.push(u.type);const b=p;function w(t,e){const n=t.startTime,i=e.startTime;let r=0;return n>i?r=1:n<i&&(r=-1),r}function y(t,e,n){const a=r.barHeight,o=a+r.barGap,s=r.topPadding,c=r.leftPadding,u=Ro().domain([0,p.length]).range(["#00B9FA","#F95002"]).interpolate(Wi);v(o,s,c,e,n,t,i.db.getExcludes(),i.db.getIncludes()),x(c,s,e,n),m(t,o,s,c,a,u,e),k(o,s),_(c,s,e,n)}function m(t,n,a,o,s,c,u){d.append("g").selectAll("rect").data(t).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+a-2})).attr("width",(function(){return u-r.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of p.entries())if(t.type===n)return"section section"+e%r.numberSectionStyles;return"section section0"}));const l=d.append("g").selectAll("rect").data(t).enter(),h=i.db.getLinks();if(l.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?g(t.startTime)+o+.5*(g(t.endTime)-g(t.startTime))-.5*s:g(t.startTime)+o})).attr("y",(function(t,e){return t.order*n+a})).attr("width",(function(t){return t.milestone?s:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",s).attr("transform-origin",(function(t,e){return e=t.order,(g(t.startTime)+o+.5*(g(t.endTime)-g(t.startTime))).toString()+"px "+(e*n+a+.5*s).toString()+"px"})).attr("class",(function(t){const e="task";let n="";t.classes.length>0&&(n=t.classes.join(" "));let i=0;for(const[o,s]of p.entries())t.type===s&&(i=o%r.numberSectionStyles);let a="";return t.active?t.crit?a+=" activeCrit":a=" active":t.done?a=t.crit?" doneCrit":" done":t.crit&&(a+=" crit"),0===a.length&&(a=" task"),t.milestone&&(a=" milestone "+a),a+=i,a+=" "+n,e+a})),l.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",r.fontSize).attr("x",(function(t){let e=g(t.startTime),n=g(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(g(t.endTime)-g(t.startTime))-.5*s),t.milestone&&(n=e+s);const i=this.getBBox().width;return i>n-e?n+i+1.5*r.leftPadding>u?e+o-5:n+o+5:(n-e)/2+e+o})).attr("y",(function(t,e){return t.order*n+r.barHeight/2+(r.fontSize/2-2)+a})).attr("text-height",s).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+s);const i=this.getBBox().width;let a="";t.classes.length>0&&(a=t.classes.join(" "));let o=0;for(const[s,u]of p.entries())t.type===u&&(o=s%r.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+o:"activeText"+o),t.done?c=t.crit?c+" doneCritText"+o:c+" doneText"+o:t.crit&&(c=c+" critText"+o),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*r.leftPadding>u?a+" taskTextOutsideLeft taskTextOutside"+o+" "+c:a+" taskTextOutsideRight taskTextOutside"+o+" "+c+" width-"+i:a+" taskText taskText"+o+" "+c+" width-"+i})),"sandbox"===ky().securityLevel){let t;t=ln("#i"+e);const n=t.nodes()[0].contentDocument;l.filter((function(t){return void 0!==h[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const r=e.parentNode;var a=n.createElement("a");a.setAttribute("xlink:href",h[t.id]),a.setAttribute("target","_top"),r.appendChild(a),a.appendChild(e),a.appendChild(i)}))}}function v(t,e,n,a,o,s,c,l){const h=s.reduce(((t,{startTime:e})=>t?Math.min(t,e):e),0),f=s.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),p=i.db.getDateFormat();if(!h||!f)return;const b=[];let w=null,y=u(h);for(;y.valueOf()<=f;)i.db.isInvalidDate(y,p,c,l)?w?w.end=y:w={start:y,end:y}:w&&(b.push(w),w=null),y=y.add(1,"d");d.append("g").selectAll("rect").data(b).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return g(t.start)+n})).attr("y",r.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return g(e)-g(t.start)})).attr("height",o-e-r.gridLineStartPadding).attr("transform-origin",(function(e,i){return(g(e.start)+n+.5*(g(e.end)-g(e.start))).toString()+"px "+(i*t+.5*o).toString()+"px"})).attr("class","exclude-range")}function x(t,e,n,a){let o=it(g).tickSize(-a+e+r.gridLineStartPadding).tickFormat(Gs(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const s=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==s){const t=s[1];switch(s[2]){case"minute":o.ticks(es.every(t));break;case"hour":o.ticks(is.every(t));break;case"day":o.ticks(as.every(t));break;case"week":o.ticks(ss.every(t));break;case"month":o.ticks(ps.every(t))}}if(d.append("g").attr("class","grid").attr("transform","translate("+t+", "+(a-50)+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||r.topAxis){let n=nt(g).tickSize(-a+e+r.gridLineStartPadding).tickFormat(Gs(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==s){const t=s[1];switch(s[2]){case"minute":n.ticks(es.every(t));break;case"hour":n.ticks(is.every(t));break;case"day":n.ticks(as.every(t));break;case"week":n.ticks(ss.every(t));break;case"month":n.ticks(ps.every(t))}}d.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}function k(t,e){const n=[];let i=0;for(const[r,a]of p.entries())n[r]=[a,C(a,b)];d.append("g").selectAll("text").data(n).enter().append((function(t){const e=t[0].split(Jh.lineBreakRegex),n=-(e.length-1)/2,i=c.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[r,a]of e.entries()){const t=c.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttribute("alignment-baseline","central"),t.setAttribute("x","10"),r>0&&t.setAttribute("dy","1em"),t.textContent=a,i.appendChild(t)}return i})).attr("x",10).attr("y",(function(r,a){if(!(a>0))return r[1]*t/2+e;for(let o=0;o<a;o++)return i+=n[a-1][1],r[1]*t/2+i*t+e})).attr("font-size",r.sectionFontSize).attr("font-size",r.sectionFontSize).attr("class",(function(t){for(const[e,n]of p.entries())if(t[0]===n)return"sectionTitle sectionTitle"+e%r.numberSectionStyles;return"sectionTitle"}))}function _(t,e,n,a){const o=i.db.getTodayMarker();if("off"===o)return;const s=d.append("g").attr("class","today"),c=new Date,u=s.append("line");u.attr("x1",g(c)+t).attr("x2",g(c)+t).attr("y1",r.titleTopMargin).attr("y2",a-r.titleTopMargin).attr("class","today"),""!==o&&u.attr("style",o.replace(/,/g,";"))}function E(t){const e={},n=[];for(let i=0,r=t.length;i<r;++i)Object.prototype.hasOwnProperty.call(e,t[i])||(e[t[i]]=!0,n.push(t[i]));return n}function T(t){let e=t.length;const n={};for(;e;)n[t[--e]]=(n[t[e]]||0)+1;return n}function C(t,e){return T(e)[t]||0}p=E(p),h.sort(w),y(h,xj,f),Ly(d,f,xj,r.useMaxWidth),d.append("text").text(i.db.getDiagramTitle()).attr("x",xj/2).attr("y",r.titleTopMargin).attr("class","titleText")}};var _j=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,i,r,a,o){switch(a.length,r){case 1:return i;case 4:break;case 6:i.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},i={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function r(){this.yy={}}return n.lexer=i,r.prototype=n,n.Parser=r,new r}();_j.parser=_j;const Ej=_j;var Tj="",Cj=!1;const Sj={setMessage:t=>{h.debug("Setting message to: "+t),Tj=t},getMessage:()=>Tj,setInfo:t=>{Cj=t},getInfo:()=>Cj,clear:Jy},Aj={draw:(t,e,n)=>{try{h.debug("Rendering info diagram\n"+t);const i=ky().securityLevel;let r;"sandbox"===i&&(r=ln("#i"+e));const a=ln("sandbox"===i?r.nodes()[0].contentDocument.body:"body").select("#"+e);a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),a.attr("height",100),a.attr("width",400)}catch(o){h.error("Error while rendering info diagram"),h.error(o.message)}}},Mj=t=>null!==t.match(/^\s*info/);var Ij=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,5],i=[1,6],r=[1,7],a=[1,9],o=[1,11,13,15,17,19,20,26,27,28,29],s=[2,5],c=[1,6,11,13,15,17,19,20,26,27,28,29],u=[26,27,28],l=[2,8],h=[1,18],f=[1,19],d=[1,20],g=[1,21],p=[1,22],b=[1,23],w=[1,28],y=[6,26,27,28,29],m={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:i.addSection(a[s-1],i.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),i.setDiagramTitle(this.$);break;case 11:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 12:case 13:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 14:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","pie")}},table:[{3:1,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},{3:11,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},t(o,s,{7:12,8:[1,13]}),t(c,[2,18]),t(c,[2,19]),t(c,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(u,l,{21:8,9:16,10:17,5:24,1:[2,3],11:h,13:f,15:d,17:g,19:p,20:b,29:a}),t(o,s,{7:25}),{23:26,24:[1,27],32:w},t([24,32],[2,22]),t(o,[2,6]),{4:29,26:n,27:i,28:r},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(u,[2,13]),t(u,[2,14]),t(u,[2,15]),t(u,l,{21:8,9:16,10:17,5:24,1:[2,4],11:h,13:f,15:d,17:g,19:p,20:b,29:a}),t(y,[2,16]),{25:34,31:[1,35]},t(y,[2,24]),t(o,[2,7]),t(u,[2,9]),t(u,[2,10]),t(u,[2,11]),t(u,[2,12]),{23:36,32:w},{32:[2,23]},t(y,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},v={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function x(){this.yy={}}return m.lexer=v,x.prototype=m,m.Parser=x,new x}();Ij.parser=Ij;const Oj=Ij,Lj=t=>null!==t.match(/^\s*pie/)||null!==t.match(/^\s*bar/);let Nj={},Dj=!1;const Pj={parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().pie,addSection:function(t,e){t=Jh.sanitizeText(t,ky()),void 0===Nj[t]&&(Nj[t]=e,h.debug("Added new section :",t))},getSections:()=>Nj,cleanupValue:function(t){return":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())},clear:function(){Nj={},Dj=!1,Jy()},setAccTitle:tm,getAccTitle:em,setDiagramTitle:rm,getDiagramTitle:am,setShowData:function(t){Dj=t},getShowData:function(){return Dj},getAccDescription:im,setAccDescription:nm};let Bj,jj=ky();const Rj=450,$j={draw:(t,e,n,i)=>{try{jj=ky(),h.debug("Rendering info diagram\n"+t);const n=ky().securityLevel;let y;"sandbox"===n&&(y=ln("#i"+e));const m=ln("sandbox"===n?y.nodes()[0].contentDocument.body:"body"),v="sandbox"===n?y.nodes()[0].contentDocument:document;i.db.clear(),i.parser.parse(t),h.debug("Parsed info diagram");const x=v.getElementById(e);Bj=x.parentElement.offsetWidth,void 0===Bj&&(Bj=1200),void 0!==jj.useWidth&&(Bj=jj.useWidth),void 0!==jj.pie.useWidth&&(Bj=jj.pie.useWidth);const k=m.select("#"+e);Ly(k,Rj,Bj,jj.pie.useMaxWidth),x.setAttribute("viewBox","0 0 "+Bj+" "+Rj);var r=40,a=18,o=4,s=Math.min(Bj,Rj)/2-r,c=k.append("g").attr("transform","translate("+Bj/2+","+Rj/2+")"),u=i.db.getSections(),l=0;Object.keys(u).forEach((function(t){l+=u[t]}));const _=jj.themeVariables;var f=[_.pie1,_.pie2,_.pie3,_.pie4,_.pie5,_.pie6,_.pie7,_.pie8,_.pie9,_.pie10,_.pie11,_.pie12],d=Eo().range(f),g=Object.entries(u).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),p=Uu().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(g),b=Du().innerRadius(0).outerRadius(s);c.selectAll("mySlices").data(p).enter().append("path").attr("d",b).attr("fill",(function(t){return d(t.data.name)})).attr("class","pieCircle"),c.selectAll("mySlices").data(p).enter().append("text").text((function(t){return(t.data.value/l*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+b.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),c.append("text").text(i.db.getDiagramTitle()).attr("x",0).attr("y",-(Rj-50)/2).attr("class","pieTitleText");var w=c.selectAll(".legend").data(d.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){const n=a+o,i=n*d.domain().length/2;return"translate("+12*a+","+(e*n-i)+")"}));w.append("rect").attr("width",a).attr("height",a).style("fill",d).style("stroke",d),w.data(p).append("text").attr("x",a+o).attr("y",a-o).text((function(t){return i.db.getShowData()||jj.showData||jj.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(y){h.error("Error while rendering info diagram"),h.error(y)}}};var Fj=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[1,6],r=[1,7],a=[1,8],o=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],s=[1,22],c=[2,13],u=[1,26],l=[1,27],h=[1,28],f=[1,29],d=[1,30],g=[1,31],p=[1,24],b=[1,32],w=[1,33],y=[1,36],m=[71,72],v=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],x=[1,56],k=[1,57],_=[1,58],E=[1,59],T=[1,60],C=[1,61],S=[1,62],A=[62,63],M=[1,74],I=[1,70],O=[1,71],L=[1,72],N=[1,73],D=[1,75],P=[1,79],B=[1,80],j=[1,77],R=[1,78],$=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],F={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(a[s],"type_directive");break;case 11:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(a[s-3],a[s-4]);break;case 20:i.setNewReqId(a[s-2]);break;case 21:i.setNewReqText(a[s-2]);break;case 22:i.setNewReqRisk(a[s-2]);break;case 23:i.setNewReqVerifyMethod(a[s-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(a[s-3]);break;case 40:i.setNewElementType(a[s-2]);break;case 41:i.setNewElementDocRef(a[s-2]);break;case 44:i.addRelationship(a[s-2],a[s],a[s-4]);break;case 45:i.addRelationship(a[s-2],a[s-4],a[s]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[3]},{3:10,4:2,5:[1,9],6:e,9:4,14:n,16:i,18:r,19:a},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},t(o,[2,8]),{20:[2,9]},{3:16,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[2,2]},{4:21,5:s,7:17,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{11:34,12:[1,35],22:y},t([12,22],[2,10]),t(o,[2,6]),t(o,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:s,7:38,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:39,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:40,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:41,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:42,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},t(m,[2,26]),t(m,[2,27]),t(m,[2,28]),t(m,[2,29]),t(m,[2,30]),t(m,[2,31]),t(v,[2,55]),t(v,[2,56]),t(o,[2,4]),{13:51,21:[1,52]},t(o,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:x,65:k,66:_,67:E,68:T,69:C,70:S},{61:63,64:x,65:k,66:_,67:E,68:T,69:C,70:S},{11:64,22:y},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},t(A,[2,46]),t(A,[2,47]),t(A,[2,48]),t(A,[2,49]),t(A,[2,50]),t(A,[2,51]),t(A,[2,52]),{63:[1,68]},t(o,[2,5]),{5:M,29:69,30:I,33:O,35:L,37:N,39:D},{5:P,39:B,55:76,56:j,58:R},{32:81,71:b,72:w},{32:82,71:b,72:w},t($,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:M,29:87,30:I,33:O,35:L,37:N,39:D},t($,[2,25]),t($,[2,39]),{31:[1,88]},{31:[1,89]},{5:P,39:B,55:90,56:j,58:R},t($,[2,43]),t($,[2,44]),t($,[2,45]),{32:91,71:b,72:w},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},t($,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},t($,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:M,29:116,30:I,33:O,35:L,37:N,39:D},{5:M,29:117,30:I,33:O,35:L,37:N,39:D},{5:M,29:118,30:I,33:O,35:L,37:N,39:D},{5:M,29:119,30:I,33:O,35:L,37:N,39:D},{5:P,39:B,55:120,56:j,58:R},{5:P,39:B,55:121,56:j,58:R},t($,[2,20]),t($,[2,21]),t($,[2,22]),t($,[2,23]),t($,[2,40]),t($,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},z={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return e.yytext=e.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};function H(){this.yy={}}return F.lexer=z,H.prototype=F,F.Parser=H,new H}();Fj.parser=Fj;const zj=Fj,Hj=t=>null!==t.match(/^\s*requirement(Diagram)?/);let Uj=[],Gj={},qj={},Kj={},Yj={};const Wj={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().req,addRequirement:(t,e)=>(void 0===qj[t]&&(qj[t]={name:t,type:e,id:Gj.id,text:Gj.text,risk:Gj.risk,verifyMethod:Gj.verifyMethod}),Gj={},qj[t]),getRequirements:()=>qj,setNewReqId:t=>{void 0!==Gj&&(Gj.id=t)},setNewReqText:t=>{void 0!==Gj&&(Gj.text=t)},setNewReqRisk:t=>{void 0!==Gj&&(Gj.risk=t)},setNewReqVerifyMethod:t=>{void 0!==Gj&&(Gj.verifyMethod=t)},setAccTitle:tm,getAccTitle:em,setAccDescription:nm,getAccDescription:im,addElement:t=>(void 0===Yj[t]&&(Yj[t]={name:t,type:Kj.type,docRef:Kj.docRef},h.info("Added new requirement: ",t)),Kj={},Yj[t]),getElements:()=>Yj,setNewElementType:t=>{void 0!==Kj&&(Kj.type=t)},setNewElementDocRef:t=>{void 0!==Kj&&(Kj.docRef=t)},addRelationship:(t,e,n)=>{Uj.push({type:t,src:e,dst:n})},getRelationships:()=>Uj,clear:()=>{Uj=[],Gj={},qj={},Kj={},Yj={},Jy()}},Xj={CONTAINS:"contains",ARROW:"arrow"},Vj={ReqMarkers:Xj,insertLineEndings:(t,e)=>{let n=t.append("defs").append("marker").attr("id",Xj.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");n.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),n.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),n.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",Xj.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1)}};let Qj={},Zj=0;const Jj=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",Qj.rect_min_width+"px").attr("height",Qj.rect_min_height+"px"),tR=(t,e,n)=>{let i=Qj.rect_min_width/2,r=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",i).attr("y",Qj.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((t=>{0==a?r.append("tspan").attr("text-anchor","middle").attr("x",Qj.rect_min_width/2).attr("dy",0).text(t):r.append("tspan").attr("text-anchor","middle").attr("x",Qj.rect_min_width/2).attr("dy",.75*Qj.line_height).text(t),a++}));let o=1.5*Qj.rect_padding+a*Qj.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",Qj.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:r,y:o}},eR=(t,e,n,i)=>{let r=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",Qj.rect_padding).attr("y",i).attr("dominant-baseline","hanging"),a=0;const o=30;let s=[];return n.forEach((t=>{let e=t.length;for(;e>o&&a<3;){let n=t.substring(0,o);e=(t=t.substring(o,t.length)).length,s[s.length]=n,a++}if(3==a){let t=s[s.length-1];s[s.length-1]=t.substring(0,t.length-4)+"..."}else s[s.length]=t;a=0})),s.forEach((t=>{r.append("tspan").attr("x",Qj.rect_padding).attr("dy",Qj.line_height).text(t)})),r},nR=(t,e,n,i)=>{const r=e.node().getTotalLength(),a=e.node().getPointAtLength(.5*r),o="rel"+Zj;Zj++;const s=t.append("text").attr("class","req relationshipLabel").attr("id",o).attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(i).node().getBBox();t.insert("rect","#"+o).attr("class","req reqLabelBox").attr("x",a.x-s.width/2).attr("y",a.y-s.height/2).attr("width",s.width).attr("height",s.height).attr("fill","white").attr("fill-opacity","85%")},iR=function(t,e,n,i,r){const a=n.edge(cR(e.src),cR(e.dst)),o=Fu().x((function(t){return t.x})).y((function(t){return t.y})),s=t.insert("path","#"+i).attr("class","er relationshipLine").attr("d",o(a.points)).attr("fill","none");e.type==r.db.Relationships.CONTAINS?s.attr("marker-start","url("+Jh.getUrl(Qj.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(s.attr("stroke-dasharray","10,7"),s.attr("marker-end","url("+Jh.getUrl(Qj.arrowMarkerAbsolute)+"#"+Vj.ReqMarkers.ARROW+"_line_ending)")),nR(t,s,Qj,`<<${e.type}>>`)},rR=(t,e,n)=>{Object.keys(t).forEach((i=>{let r=t[i];i=cR(i),h.info("Added new requirement: ",i);const a=n.append("g").attr("id",i),o=Jj(a,"req-"+i);let s=tR(a,i+"_title",[`<<${r.type}>>`,`${r.name}`]);eR(a,i+"_body",[`Id: ${r.id}`,`Text: ${r.text}`,`Risk: ${r.risk}`,`Verification: ${r.verifyMethod}`],s.y);const c=o.node().getBBox();e.setNode(i,{width:c.width,height:c.height,shape:"rect",id:i})}))},aR=(t,e,n)=>{Object.keys(t).forEach((i=>{let r=t[i];const a=cR(i),o=n.append("g").attr("id",a),s="element-"+a,c=Jj(o,s);let u=tR(o,s+"_title",["<<Element>>",`${i}`]);eR(o,s+"_body",[`Type: ${r.type||"Not Specified"}`,`Doc Ref: ${r.docRef||"None"}`],u.y);const l=c.node().getBBox();e.setNode(a,{width:l.width,height:l.height,shape:"rect",id:a})}))},oR=(t,e)=>(t.forEach((function(t){let n=cR(t.src),i=cR(t.dst);e.setEdge(n,i,{relationship:t})})),t),sR=function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&(t.select("#"+n),t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )"))}))},cR=t=>t.replace(/\s/g,"").replace(/\./g,"_"),uR={draw:(t,e,n,i)=>{Qj=ky().requirement,i.db.clear(),i.parser.parse(t);const r=Qj.securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);Vj.insertLineEndings(o,Qj);const s=new fM({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:Qj.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let c=i.db.getRequirements(),u=i.db.getElements(),l=i.db.getRelationships();rR(c,s,o),aR(u,s,o),oR(l,s),yO(s),sR(o,s),l.forEach((function(t){iR(o,t,s,e,i)}));const h=Qj.rect_padding,f=o.node().getBBox(),d=f.width+2*h,g=f.height+2*h;Ly(o,g,d,Qj.useMaxWidth),o.attr("viewBox",`${f.x-h} ${f.y-h} ${d} ${g}`)}};var lR=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,19],u=[1,21],l=[1,22],h=[1,23],f=[1,29],d=[1,30],g=[1,31],p=[1,32],b=[1,33],w=[1,34],y=[1,35],m=[1,36],v=[1,37],x=[1,38],k=[1,39],_=[1,40],E=[1,42],T=[1,43],C=[1,45],S=[1,46],A=[1,47],M=[1,48],I=[1,49],O=[1,50],L=[1,53],N=[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],P=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],B=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],j=[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],R=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],$=[71,72,73],F=[1,125],z=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],H={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.apply(a[s]),a[s];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 12:case 13:case 63:this.$=a[s];break;case 18:a[s-1].unshift({type:"boxStart",boxData:i.parseBoxData(a[s-2])}),a[s-1].push({type:"boxEnd",boxText:a[s-2]}),this.$=a[s-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:i.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 25:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 31:i.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 32:i.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 33:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 34:case 35:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 36:a[s-1].unshift({type:"loopStart",loopText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:i.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:"rectStart",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:"optStart",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:"altStart",altText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:i.LINETYPE.ALT_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:"parStart",parText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:"criticalStart",criticalText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.CRITICAL_START}),a[s-1].push({type:"criticalEnd",signalType:i.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 42:a[s-1].unshift({type:"breakStart",breakText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_START}),a[s-1].push({type:"breakEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 45:this.$=a[s-3].concat([{type:"option",optionText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 47:this.$=a[s-3].concat([{type:"and",parText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.PAR_AND},a[s]]);break;case 49:this.$=a[s-3].concat([{type:"else",altText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.ALT_ELSE},a[s]]);break;case 50:a[s-3].type="addParticipant",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].type="addParticipant",this.$=a[s-1];break;case 52:a[s-3].type="addActor",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 53:a[s-1].type="addActor",this.$=a[s-1];break;case 54:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 55:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:i.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 56:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 62:this.$=[a[s-2],a[s]];break;case 64:this.$=i.PLACEMENT.LEFTOF;break;case 65:this.$=i.PLACEMENT.RIGHTOF;break;case 66:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 67:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 68:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 69:this.$={type:"addParticipant",actor:a[s]};break;case 70:this.$=i.LINETYPE.SOLID_OPEN;break;case 71:this.$=i.LINETYPE.DOTTED_OPEN;break;case 72:this.$=i.LINETYPE.SOLID;break;case 73:this.$=i.LINETYPE.DOTTED;break;case 74:this.$=i.LINETYPE.SOLID_CROSS;break;case 75:this.$=i.LINETYPE.DOTTED_CROSS;break;case 76:this.$=i.LINETYPE.SOLID_POINT;break;case 77:this.$=i.LINETYPE.DOTTED_POINT;break;case 78:this.$=i.parseMessage(a[s].trim().substring(1));break;case 79:i.parseDirective("%%{","open_directive");break;case 80:i.parseDirective(a[s],"type_directive");break;case 81:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 82:i.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:n,6:4,7:i,14:6,83:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,14:6,83:r},{3:9,4:e,5:n,6:4,7:i,14:6,83:r},{3:10,4:e,5:n,6:4,7:i,14:6,83:r},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],a,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{16:51,17:[1,52],86:L},t([17,86],[2,80]),t(N,[2,6]),{6:41,10:54,13:18,14:6,19:c,22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},t(N,[2,8]),t(N,[2,9]),t(N,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:O},{27:61,73:O},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},t(N,[2,31]),t(N,[2,32]),{37:[1,67]},{39:[1,68]},t(N,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},t(N,[2,43]),{27:76,73:O},{27:77,73:O},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:O},{27:92,73:O},{27:93,73:O},{27:94,73:O},t([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},t(N,[2,7]),t(D,[2,10],{11:98}),t(N,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},t(N,[2,23]),{5:[1,102]},{5:[1,103]},t(N,[2,26]),t(N,[2,27]),t(N,[2,28]),t(N,[2,29]),t(N,[2,30]),t(N,[2,33]),t(N,[2,34]),t(P,a,{8:104}),t(P,a,{8:105}),t(P,a,{8:106}),t(B,a,{45:107,8:108}),t(j,a,{47:109,8:110}),t(R,a,{49:111,8:112}),t(P,a,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:O},t($,[2,70]),t($,[2,71]),t($,[2,72]),t($,[2,73]),t($,[2,74]),t($,[2,75]),t($,[2,76]),t($,[2,77]),{27:121,73:O},{27:123,61:122,73:O},{73:[2,64]},{73:[2,65]},{59:124,82:F},{59:126,82:F},{59:127,82:F},{59:128,82:F},t(z,[2,15]),{16:129,86:L},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:E,56:T},{5:[1,135]},t(N,[2,21]),t(N,[2,22]),t(N,[2,24]),t(N,[2,25]),{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,136],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,137],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,138],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{21:[1,139]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,48],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,53:[1,140],54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{21:[1,141]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,46],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,52:[1,142],54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{21:[1,143]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,44],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,51:[1,144],54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,145],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{20:[1,146]},t(N,[2,51]),{20:[1,147]},t(N,[2,53]),{27:148,73:O},{27:149,73:O},{59:150,82:F},{59:151,82:F},{59:152,82:F},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},t(N,[2,18]),t(D,[2,11]),{13:155,54:E,56:T},t(D,[2,13]),t(D,[2,14]),t(N,[2,20]),t(N,[2,36]),t(N,[2,37]),t(N,[2,38]),t(N,[2,39]),{20:[1,156]},t(N,[2,40]),{20:[1,157]},t(N,[2,41]),{20:[1,158]},t(N,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:F},{59:162,82:F},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:O},t(z,[2,16]),t(D,[2,12]),t(B,a,{8:108,45:164}),t(j,a,{8:110,47:165}),t(R,a,{8:112,49:166}),t(N,[2,50]),t(N,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},U={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:case 53:case 66:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return"acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 54:return e.yytext=e.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 67:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};function G(){this.yy={}}return H.lexer=U,G.prototype=H,H.Parser=G,new G}();lR.parser=lR;const hR=lR,fR=t=>null!==t.match(/^\s*sequenceDiagram/);let dR,gR,pR,bR={},wR=[],yR=[],mR=!1;const vR=function(t){wR.push({name:t.text,wrap:void 0===t.wrap&&CR()||!!t.wrap,fill:t.color,actorKeys:[]}),pR=wR.slice(-1)[0]},xR=function(t,e,n,i){let r=pR;const a=bR[t];if(a){if(pR&&a.box&&pR!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+pR.name+"' at the same time.");if(r=a.box?a.box:pR,a.box=r,a&&e===a.name&&null==n)return}(null==n||null==n.text)&&(n={text:e,wrap:null,type:i}),(null==i||null==n.text)&&(n={text:e,wrap:null,type:i}),bR[t]={box:r,name:e,description:n.text,wrap:void 0===n.wrap&&CR()||!!n.wrap,prevActor:dR,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},dR&&bR[dR]&&(bR[dR].nextActor=t),pR&&pR.actorKeys.push(t),dR=t},kR=t=>{let e,n=0;for(e=0;e<yR.length;e++)yR[e].type===SR.ACTIVE_START&&yR[e].from.actor===t&&n++,yR[e].type===SR.ACTIVE_END&&yR[e].from.actor===t&&n--;return n},_R=function(t,e,n,i){yR.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&CR()||!!n.wrap,answer:i})},ER=function(t,e,n={text:void 0,wrap:void 0},i){if(i===SR.ACTIVE_END&&kR(t.actor)<1){let e=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return yR.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&CR()||!!n.wrap,type:i}),!0},TR=function(t){return bR[t]},CR=()=>void 0!==gR?gR:ky().sequence.wrap,SR={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},AR=function(t,e,n){n.text,void 0===n.wrap&&CR()||n.wrap;const i=[].concat(t,t);yR.push({from:i[0],to:i[1],message:n.text,wrap:void 0===n.wrap&&CR()||!!n.wrap,type:SR.NOTE,placement:e})},MR=function(t,e){const n=TR(t);try{let t=Kh(e.text,ky());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),OR(n,JSON.parse(t))}catch(o){h.error("error while parsing actor link text",o)}},IR=function(t,e){const n=TR(t);try{const t={};let o=Kh(e.text,ky());var i=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var r=o.slice(0,i-1).trim(),a=o.slice(i+1).trim();t[r]=a,OR(n,t)}catch(o){h.error("error while parsing actor link text",o)}};function OR(t,e){if(null==t.links)t.links=e;else for(let n in e)t.links[n]=e[n]}const LR=function(t,e){const n=TR(t);try{let t=Kh(e.text,ky());NR(n,JSON.parse(t))}catch(o){h.error("error while parsing actor properties text",o)}};function NR(t,e){if(null==t.properties)t.properties=e;else for(let n in e)t.properties[n]=e[n]}function DR(){pR=void 0}const PR=function(t,e){const n=TR(t),i=document.getElementById(e.text);try{const t=i.innerHTML,e=JSON.parse(t);e.properties&&NR(n,e.properties),e.links&&OR(n,e.links)}catch(r){h.error("error while parsing actor details text",r)}},BR=function(t){if(Array.isArray(t))t.forEach((function(t){BR(t)}));else switch(t.type){case"sequenceIndex":yR.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":xR(t.actor,t.actor,t.description,"participant");break;case"addActor":xR(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":ER(t.actor,void 0,void 0,t.signalType);break;case"addNote":AR(t.actor,t.placement,t.text);break;case"addLinks":MR(t.actor,t.text);break;case"addALink":IR(t.actor,t.text);break;case"addProperties":LR(t.actor,t.text);break;case"addDetails":PR(t.actor,t.text);break;case"addMessage":ER(t.from,t.to,t.msg,t.signalType);break;case"boxStart":vR(t.boxData);break;case"boxEnd":DR();break;case"loopStart":ER(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":ER(void 0,void 0,void 0,t.signalType);break;case"rectStart":ER(void 0,void 0,t.color,t.signalType);break;case"optStart":ER(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":ER(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":tm(t.text);break;case"parStart":case"and":ER(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":ER(void 0,void 0,t.criticalText,t.signalType);break;case"option":ER(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":ER(void 0,void 0,t.breakText,t.signalType)}},jR={addActor:xR,addMessage:_R,addSignal:ER,addLinks:MR,addDetails:PR,addProperties:LR,autoWrap:CR,setWrap:function(t){gR=t},enableSequenceNumbers:function(){mR=!0},disableSequenceNumbers:function(){mR=!1},showSequenceNumbers:()=>mR,getMessages:function(){return yR},getActors:function(){return bR},getActor:TR,getActorKeys:function(){return Object.keys(bR)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:em,getBoxes:function(){return wR},getDiagramTitle:am,setDiagramTitle:rm,parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().sequence,clear:function(){bR={},wR=[],yR=[],mR=!1,Jy()},parseMessage:function(t){const e=t.trim(),n={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return h.debug("parseMessage:",n),n},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let n=null!=e&&e[1]?e[1].trim():"transparent",i=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",n)||(n="transparent",i=t.trim());else{const e=(new Option).style;e.color=n,e.color!==n&&(n="transparent",i=t.trim())}return{color:n,text:void 0!==i?Kh(i.replace(/^:?(?:no)?wrap:/,""),ky()):void 0,wrap:void 0!==i?null!==i.match(/^:?wrap:/)||null===i.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:SR,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:AR,setAccTitle:tm,apply:BR,setAccDescription:nm,getAccDescription:im,hasAtLeastOneBox:function(){return wR.length>0},hasAtLeastOneBoxWithTitle:function(){return wR.some((t=>t.name))}};let RR=[];const $R=t=>{RR.push(t)},FR=()=>{RR.forEach((t=>{t()})),RR=[]},zR=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},HR=(t,e)=>{$R((()=>{const n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",(function(){WR("actor"+e+"_popup")})),n[0].addEventListener("mouseout",(function(){XR("actor"+e+"_popup")})))}))},UR=function(t,e,n,i,r){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const a=e.links,o=e.actorCnt,s=e.rectData;var c="none";r&&(c="block !important");const u=t.append("g");u.attr("id","actor"+o+"_popup"),u.attr("class","actorPopupMenu"),u.attr("display",c),HR("#actor"+o+"_popup",o);var l="";void 0!==s.class&&(l=" "+s.class);let h=s.width>n?s.width:n;const f=u.append("rect");if(f.attr("class","actorPopupMenuPanel"+l),f.attr("x",s.x),f.attr("y",s.height),f.attr("fill",s.fill),f.attr("stroke",s.stroke),f.attr("width",h),f.attr("height",s.height),f.attr("rx",s.rx),f.attr("ry",s.ry),null!=a){var d=20;for(let t in a){var g=u.append("a"),b=p(a[t]);g.attr("xlink:href",b),g.attr("target","_blank"),y$(i)(t,g,s.x+10,s.height+d,h,20,{class:"actor"},i),d+=30}}return f.attr("height",d),{height:s.height+d,width:h}},GR=function(t,e,n,i){const r=t.append("image");r.attr("x",e),r.attr("y",n);var a=p(i);r.attr("xlink:href",a)},qR=function(t,e,n,i){const r=t.append("use");r.attr("x",e),r.attr("y",n);var a=p(i);r.attr("xlink:href","#"+a)},KR=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'block'; }"},YR=function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'none'; }"},WR=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},XR=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},VR=function(t,e){let n=0,i=0;const r=e.text.split(Jh.lineBreakRegex),[a,o]=yw(e.fontSize);let s=[],c=0,u=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":u=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":u=()=>Math.round(e.y+(n+i+e.textMargin)/2);break;case"bottom":case"end":u=()=>Math.round(e.y+(n+i+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[l,h]of r.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==a&&(c=l*a);const r=t.append("text");if(r.attr("x",e.x),r.attr("y",u()),void 0!==e.anchor&&r.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&r.style("font-family",e.fontFamily),void 0!==o&&r.style("font-size",o),void 0!==e.fontWeight&&r.style("font-weight",e.fontWeight),void 0!==e.fill&&r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class),void 0!==e.dy?r.attr("dy",e.dy):0!==c&&r.attr("dy",c),e.tspan){const t=r.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(h)}else r.text(h);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(i+=(r._groups||r)[0][0].getBBox().height,n=i),s.push(r)}return s},QR=function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}const i=t.append("polygon");return i.attr("points",n(e.x,e.y,e.width,e.height,7)),i.attr("class","labelBox"),e.y=e.y+e.height/2,VR(t,e),i};let ZR=-1;const JR=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},t$=function(t,e,n,i){const r=e.x+e.width/2,a=e.y+5,o=t.append("g");var s=o;i||(ZR++,s.append("line").attr("id","actor"+ZR).attr("x1",r).attr("y1",a).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),s=o.append("g"),e.actorCnt=ZR,null!=e.links&&(s.attr("id","root-"+ZR),HR("#root-"+ZR,ZR)));const c=b$();var u="actor";null!=e.properties&&e.properties.class?u=e.properties.class:c.fill="#eaeaea",c.x=e.x,c.y=e.y,c.width=e.width,c.height=e.height,c.class=u,c.rx=3,c.ry=3;const l=zR(s,c);if(e.rectData=c,null!=e.properties&&e.properties.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?qR(s,c.x+c.width-20,c.y+10,t.substr(1)):GR(s,c.x+c.width-20,c.y+10,t)}w$(n)(e.description,s,c.x,c.y,c.width,c.height,{class:"actor"},n);let h=e.height;if(l.node){const t=l.node().getBBox();e.height=t.height,h=t.height}return h},e$=function(t,e,n,i){const r=e.x+e.width/2,a=e.y+80;i||(ZR++,t.append("line").attr("id","actor"+ZR).attr("x1",r).attr("y1",a).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const o=t.append("g");o.attr("class","actor-man");const s=b$();s.x=e.x,s.y=e.y,s.fill="#eaeaea",s.width=e.width,s.height=e.height,s.class="actor",s.rx=3,s.ry=3,o.append("line").attr("id","actor-man-torso"+ZR).attr("x1",r).attr("y1",e.y+25).attr("x2",r).attr("y2",e.y+45),o.append("line").attr("id","actor-man-arms"+ZR).attr("x1",r-18).attr("y1",e.y+33).attr("x2",r+18).attr("y2",e.y+33),o.append("line").attr("x1",r-18).attr("y1",e.y+60).attr("x2",r).attr("y2",e.y+45),o.append("line").attr("x1",r).attr("y1",e.y+45).attr("x2",r+16).attr("y2",e.y+60);const c=o.append("circle");c.attr("cx",e.x+e.width/2),c.attr("cy",e.y+10),c.attr("r",15),c.attr("width",e.width),c.attr("height",e.height);const u=o.node().getBBox();return e.height=u.height,w$(n)(e.description,o,s.x,s.y+35,s.width,s.height,{class:"actor"},n),e.height},n$=function(t,e,n,i){switch(e.type){case"actor":return e$(t,e,n,i);case"participant":return t$(t,e,n,i)}},i$=function(t,e,n){const i=t.append("g");s$(i,e),e.name&&w$(n)(e.name,i,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},n),i.lower()},r$=function(t){return t.append("g")},a$=function(t,e,n,i,r){const a=b$(),o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+r%3,a.width=e.stopx-e.startx,a.height=n-e.starty,zR(o,a)},o$=function(t,e,n,i){const{boxMargin:r,boxTextMargin:a,labelBoxHeight:o,labelBoxWidth:s,messageFontFamily:c,messageFontSize:u,messageFontWeight:l}=i,h=t.append("g"),f=function(t,e,n,i){return h.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",i).attr("class","loopLine")};f(e.startx,e.starty,e.stopx,e.starty),f(e.stopx,e.starty,e.stopx,e.stopy),f(e.startx,e.stopy,e.stopx,e.stopy),f(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){f(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let d=p$();d.text=n,d.x=e.startx,d.y=e.starty,d.fontFamily=c,d.fontSize=u,d.fontWeight=l,d.anchor="middle",d.valign="middle",d.tspan=!1,d.width=s||50,d.height=o||20,d.textMargin=a,d.class="labelText",QR(h,d),d=p$(),d.text=e.title,d.x=e.startx+s/2+(e.stopx-e.startx)/2,d.y=e.starty+r+a,d.anchor="middle",d.valign="middle",d.textMargin=a,d.class="loopText",d.fontFamily=c,d.fontSize=u,d.fontWeight=l,d.wrap=!0;let g=VR(h,d);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,n){if(t.message){d.text=t.message,d.x=e.startx+(e.stopx-e.startx)/2,d.y=e.sections[n].y+r+a,d.class="loopText",d.anchor="middle",d.valign="middle",d.tspan=!1,d.fontFamily=c,d.fontSize=u,d.fontWeight=l,d.wrap=e.wrap,g=VR(h,d);let i=Math.round(g.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[n].height+=i-(r+a)}})),e.height=Math.round(e.stopy-e.starty),h},s$=function(t,e){zR(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()},c$=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")},u$=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")},l$=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$=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")},f$=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){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)},g$=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")},p$=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}},b$=function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},w$=function(){function t(t,e,n,r,a,o,s){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,r,a,o,s,c){const{actorFontSize:u,actorFontFamily:l,actorFontWeight:h}=c,[f,d]=yw(u),g=t.split(Jh.lineBreakRegex);for(let p=0;p<g.length;p++){const t=p*f-f*(g.length-1)/2,c=e.append("text").attr("x",n+a/2).attr("y",r).style("text-anchor","middle").style("font-size",d).style("font-weight",h).style("font-family",l);c.append("tspan").attr("x",n+a/2).attr("dy",t).text(g[p]),c.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(c,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),y$=function(){function t(t,e,n,r,a,o,s){i(e.append("text").attr("x",n).attr("y",r).style("text-anchor","start").text(t),s)}function e(t,e,n,r,a,o,s,c){const{actorFontSize:u,actorFontFamily:l,actorFontWeight:h}=c,f=t.split(Jh.lineBreakRegex);for(let d=0;d<f.length;d++){const t=d*u-u*(f.length-1)/2,a=e.append("text").attr("x",n).attr("y",r).style("text-anchor","start").style("font-size",u).style("font-weight",h).style("font-family",l);a.append("tspan").attr("x",n).attr("dy",t).text(f[d]),a.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(a,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),m$={drawRect:zR,drawText:VR,drawLabel:QR,drawActor:n$,drawBox:i$,drawPopup:UR,drawImage:GR,drawEmbeddedImage:qR,anchorElement:r$,drawActivation:a$,drawLoop:o$,drawBackgroundRect:s$,insertArrowHead:h$,insertArrowFilledHead:f$,insertSequenceNumber:d$,insertArrowCrossHead:g$,insertDatabaseIcon:c$,insertComputerIcon:u$,insertClockIcon:l$,getTextObj:p$,getNoteRect:b$,popupMenu:KR,popdownMenu:YR,fixLifeLineHeights:JR,sanitizeUrl:p};let v$={};const x$={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,I$(ky())},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,i){const r=this;let a=0;function o(o){return function(s){a++;const c=r.sequenceItems.length-a+1;r.updateVal(s,"starty",e-c*v$.boxMargin,Math.min),r.updateVal(s,"stopy",i+c*v$.boxMargin,Math.max),r.updateVal(x$.data,"startx",t-c*v$.boxMargin,Math.min),r.updateVal(x$.data,"stopx",n+c*v$.boxMargin,Math.max),"activation"!==o&&(r.updateVal(s,"startx",t-c*v$.boxMargin,Math.min),r.updateVal(s,"stopx",n+c*v$.boxMargin,Math.max),r.updateVal(x$.data,"starty",e-c*v$.boxMargin,Math.min),r.updateVal(x$.data,"stopy",i+c*v$.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,n,i){const r=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,i),s=Math.max(e,i);this.updateVal(x$.data,"startx",r,Math.min),this.updateVal(x$.data,"starty",o,Math.min),this.updateVal(x$.data,"stopx",a,Math.max),this.updateVal(x$.data,"stopy",s,Math.max),this.updateBounds(r,o,a,s)},newActivation:function(t,e,n){const i=n[t.from.actor],r=O$(t.from.actor).length||0,a=i.x+i.width/2+(r-1)*v$.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+v$.activationWidth,stopy:void 0,actor:t.from.actor,anchored:m$.anchorElement(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:x$.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}}},k$=function(t,e){x$.bumpVerticalPos(v$.boxMargin),e.height=v$.boxMargin,e.starty=x$.getVerticalPos();const n=m$.getNoteRect();n.x=e.startx,n.y=e.starty,n.width=e.width||v$.width,n.class="note";const i=t.append("g"),r=m$.drawRect(i,n),a=m$.getTextObj();a.x=e.startx,a.y=e.starty,a.width=n.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=v$.noteFontFamily,a.fontSize=v$.noteFontSize,a.fontWeight=v$.noteFontWeight,a.anchor=v$.noteAlign,a.textMargin=v$.noteMargin,a.valign="center";const o=VR(i,a),s=Math.round(o.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));r.attr("height",s+2*v$.noteMargin),e.height+=s+2*v$.noteMargin,x$.bumpVerticalPos(s+2*v$.noteMargin),e.stopy=e.starty+s+2*v$.noteMargin,e.stopx=e.startx+n.width,x$.insert(e.startx,e.starty,e.stopx,e.stopy),x$.models.addNote(e)},_$=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),E$=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),T$=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});function C$(t,e){x$.bumpVerticalPos(10);const{startx:n,stopx:i,message:r}=e,a=Jh.splitBreaks(r).length,o=mw.calculateTextDimensions(r,_$(v$)),s=o.height/a;e.height+=s,x$.bumpVerticalPos(s);let c,u=o.height-10;const l=o.width;if(n===i){c=x$.getVerticalPos()+u,v$.rightAngles||(u+=v$.boxMargin,c=x$.getVerticalPos()+u),u+=30;const t=Math.max(l/2,v$.width/2);x$.insert(n-t,x$.getVerticalPos()-10+u,i+t,x$.getVerticalPos()+30+u)}else u+=v$.boxMargin,c=x$.getVerticalPos()+u,x$.insert(n,c-10,i,c);return x$.bumpVerticalPos(u),e.height+=u,e.stopy=e.starty+e.height,x$.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),c}const S$=function(t,e,n,i){const{startx:r,stopx:a,starty:o,message:s,type:c,sequenceIndex:u,sequenceVisible:l}=e,h=mw.calculateTextDimensions(s,_$(v$)),f=m$.getTextObj();f.x=r,f.y=o+10,f.width=a-r,f.class="messageText",f.dy="1em",f.text=s,f.fontFamily=v$.messageFontFamily,f.fontSize=v$.messageFontSize,f.fontWeight=v$.messageFontWeight,f.anchor=v$.messageAlign,f.valign="center",f.textMargin=v$.wrapPadding,f.tspan=!1,VR(t,f);const d=h.width;let g;r===a?g=v$.rightAngles?t.append("path").attr("d",`M ${r},${n} H ${r+Math.max(v$.width/2,d/2)} V ${n+25} H ${r}`):t.append("path").attr("d","M "+r+","+n+" C "+(r+60)+","+(n-10)+" "+(r+60)+","+(n+30)+" "+r+","+(n+20)):(g=t.append("line"),g.attr("x1",r),g.attr("y1",n),g.attr("x2",a),g.attr("y2",n)),c===i.db.LINETYPE.DOTTED||c===i.db.LINETYPE.DOTTED_CROSS||c===i.db.LINETYPE.DOTTED_POINT||c===i.db.LINETYPE.DOTTED_OPEN?(g.style("stroke-dasharray","3, 3"),g.attr("class","messageLine1")):g.attr("class","messageLine0");let p="";v$.arrowMarkerAbsolute&&(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,p=p.replace(/\(/g,"\\("),p=p.replace(/\)/g,"\\)")),g.attr("stroke-width",2),g.attr("stroke","none"),g.style("fill","none"),(c===i.db.LINETYPE.SOLID||c===i.db.LINETYPE.DOTTED)&&g.attr("marker-end","url("+p+"#arrowhead)"),(c===i.db.LINETYPE.SOLID_POINT||c===i.db.LINETYPE.DOTTED_POINT)&&g.attr("marker-end","url("+p+"#filled-head)"),(c===i.db.LINETYPE.SOLID_CROSS||c===i.db.LINETYPE.DOTTED_CROSS)&&g.attr("marker-end","url("+p+"#crosshead)"),(l||v$.showSequenceNumbers)&&(g.attr("marker-start","url("+p+"#sequencenumber)"),t.append("text").attr("x",r).attr("y",n+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(u))},A$=function(t,e,n,i,r,a,o){if(!0===r.hideUnusedParticipants){const t=new Set;a.forEach((e=>{t.add(e.from),t.add(e.to)})),n=n.filter((e=>t.has(e)))}let s,c=0,u=0,l=0;for(const h of n){const n=e[h],r=n.box;s&&s!=r&&(o||x$.models.addBox(s),u+=v$.boxMargin+s.margin),r&&r!=s&&(o||(r.x=c+u,r.y=i),u+=r.margin),n.width=n.width||v$.width,n.height=Math.max(n.height||v$.height,v$.height),n.margin=n.margin||v$.actorMargin,n.x=c+u,n.y=x$.getVerticalPos();const a=m$.drawActor(t,n,v$,o);l=Math.max(l,a),x$.insert(n.x,i,n.x+n.width,n.height),c+=n.width+u,n.box&&(n.box.width=c+r.margin-n.box.x),u=n.margin,s=n.box,x$.models.addActor(n)}s&&!o&&x$.models.addBox(s),x$.bumpVerticalPos(l)},M$=function(t,e,n,i){let r=0,a=0;for(const o of n){const n=e[o],s=B$(n),c=m$.drawPopup(t,n,s,v$,v$.forceMenus,i);c.height>r&&(r=c.height),c.width+n.x>a&&(a=c.width+n.x)}return{maxHeight:r,maxWidth:a}},I$=function(t){Sp(v$,t),t.fontFamily&&(v$.actorFontFamily=v$.noteFontFamily=v$.messageFontFamily=t.fontFamily),t.fontSize&&(v$.actorFontSize=v$.noteFontSize=v$.messageFontSize=t.fontSize),t.fontWeight&&(v$.actorFontWeight=v$.noteFontWeight=v$.messageFontWeight=t.fontWeight)},O$=function(t){return x$.activations.filter((function(e){return e.actor===t}))},L$=function(t,e){const n=e[t],i=O$(t);return[i.reduce((function(t,e){return Math.min(t,e.startx)}),n.x+n.width/2),i.reduce((function(t,e){return Math.max(t,e.stopx)}),n.x+n.width/2)]};function N$(t,e,n,i,r){x$.bumpVerticalPos(n);let a=i;if(e.id&&e.message&&t[e.id]){const n=t[e.id].width,r=_$(v$);e.message=mw.wrapLabel(`[${e.message}]`,n-2*v$.wrapPadding,r),e.width=n,e.wrap=!0;const o=mw.calculateTextDimensions(e.message,r),s=Math.max(o.height,v$.labelBoxHeight);a=i+s,h.debug(`${s} - ${e.message}`)}r(e),x$.bumpVerticalPos(a)}const D$=function(t,e,n,i){const{securityLevel:r,sequence:a}=ky();let o;v$=a,i.db.clear(),i.parser.parse(t),"sandbox"===r&&(o=ln("#i"+e));const s=ln("sandbox"===r?o.nodes()[0].contentDocument.body:"body"),c="sandbox"===r?o.nodes()[0].contentDocument:document;x$.init(),h.debug(i.db);const u="sandbox"===r?s.select(`[id="${e}"]`):ln(`[id="${e}"]`),l=i.db.getActors(),f=i.db.getBoxes(),d=i.db.getActorKeys(),g=i.db.getMessages(),p=i.db.getDiagramTitle(),b=i.db.hasAtLeastOneBox(),w=i.db.hasAtLeastOneBoxWithTitle(),y=P$(l,g,i);v$.height=j$(l,y,f),m$.insertComputerIcon(u),m$.insertDatabaseIcon(u),m$.insertClockIcon(u),b&&(x$.bumpVerticalPos(v$.boxMargin),w&&x$.bumpVerticalPos(f[0].textMaxHeight)),A$(u,l,d,0,v$,g,!1);const m=F$(g,l,y,i);function v(t,e){const n=x$.endActivation(t);n.starty+18>e&&(n.starty=e-6,e+=12),m$.drawActivation(u,n,e,v$,O$(t.from.actor).length),x$.insert(n.startx,e-10,n.stopx,e)}m$.insertArrowHead(u),m$.insertArrowCrossHead(u),m$.insertArrowFilledHead(u),m$.insertSequenceNumber(u);let x=1,k=1;const _=[];g.forEach((function(t){let e,n,r;switch(t.type){case i.db.LINETYPE.NOTE:n=t.noteModel,k$(u,n);break;case i.db.LINETYPE.ACTIVE_START:x$.newActivation(t,u,l);break;case i.db.LINETYPE.ACTIVE_END:v(t,x$.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:N$(m,t,v$.boxMargin,v$.boxMargin+v$.boxTextMargin,(t=>x$.newLoop(t)));break;case i.db.LINETYPE.LOOP_END:e=x$.endLoop(),m$.drawLoop(u,e,"loop",v$),x$.bumpVerticalPos(e.stopy-x$.getVerticalPos()),x$.models.addLoop(e);break;case i.db.LINETYPE.RECT_START:N$(m,t,v$.boxMargin,v$.boxMargin,(t=>x$.newLoop(void 0,t.message)));break;case i.db.LINETYPE.RECT_END:e=x$.endLoop(),m$.drawBackgroundRect(u,e),x$.models.addLoop(e),x$.bumpVerticalPos(e.stopy-x$.getVerticalPos());break;case i.db.LINETYPE.OPT_START:N$(m,t,v$.boxMargin,v$.boxMargin+v$.boxTextMargin,(t=>x$.newLoop(t)));break;case i.db.LINETYPE.OPT_END:e=x$.endLoop(),m$.drawLoop(u,e,"opt",v$),x$.bumpVerticalPos(e.stopy-x$.getVerticalPos()),x$.models.addLoop(e);break;case i.db.LINETYPE.ALT_START:N$(m,t,v$.boxMargin,v$.boxMargin+v$.boxTextMargin,(t=>x$.newLoop(t)));break;case i.db.LINETYPE.ALT_ELSE:N$(m,t,v$.boxMargin+v$.boxTextMargin,v$.boxMargin,(t=>x$.addSectionToLoop(t)));break;case i.db.LINETYPE.ALT_END:e=x$.endLoop(),m$.drawLoop(u,e,"alt",v$),x$.bumpVerticalPos(e.stopy-x$.getVerticalPos()),x$.models.addLoop(e);break;case i.db.LINETYPE.PAR_START:N$(m,t,v$.boxMargin,v$.boxMargin+v$.boxTextMargin,(t=>x$.newLoop(t)));break;case i.db.LINETYPE.PAR_AND:N$(m,t,v$.boxMargin+v$.boxTextMargin,v$.boxMargin,(t=>x$.addSectionToLoop(t)));break;case i.db.LINETYPE.PAR_END:e=x$.endLoop(),m$.drawLoop(u,e,"par",v$),x$.bumpVerticalPos(e.stopy-x$.getVerticalPos()),x$.models.addLoop(e);break;case i.db.LINETYPE.AUTONUMBER:x=t.message.start||x,k=t.message.step||k,t.message.visible?i.db.enableSequenceNumbers():i.db.disableSequenceNumbers();break;case i.db.LINETYPE.CRITICAL_START:N$(m,t,v$.boxMargin,v$.boxMargin+v$.boxTextMargin,(t=>x$.newLoop(t)));break;case i.db.LINETYPE.CRITICAL_OPTION:N$(m,t,v$.boxMargin+v$.boxTextMargin,v$.boxMargin,(t=>x$.addSectionToLoop(t)));break;case i.db.LINETYPE.CRITICAL_END:e=x$.endLoop(),m$.drawLoop(u,e,"critical",v$),x$.bumpVerticalPos(e.stopy-x$.getVerticalPos()),x$.models.addLoop(e);break;case i.db.LINETYPE.BREAK_START:N$(m,t,v$.boxMargin,v$.boxMargin+v$.boxTextMargin,(t=>x$.newLoop(t)));break;case i.db.LINETYPE.BREAK_END:e=x$.endLoop(),m$.drawLoop(u,e,"break",v$),x$.bumpVerticalPos(e.stopy-x$.getVerticalPos()),x$.models.addLoop(e);break;default:try{r=t.msgModel,r.starty=x$.getVerticalPos(),r.sequenceIndex=x,r.sequenceVisible=i.db.showSequenceNumbers();const e=C$(u,r);_.push({messageModel:r,lineStartY:e}),x$.models.addMessage(r)}catch(a){h.error("error while drawing message",a)}}[i.db.LINETYPE.SOLID_OPEN,i.db.LINETYPE.DOTTED_OPEN,i.db.LINETYPE.SOLID,i.db.LINETYPE.DOTTED,i.db.LINETYPE.SOLID_CROSS,i.db.LINETYPE.DOTTED_CROSS,i.db.LINETYPE.SOLID_POINT,i.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(x+=k)})),_.forEach((t=>S$(u,t.messageModel,t.lineStartY,i))),v$.mirrorActors&&(x$.bumpVerticalPos(2*v$.boxMargin),A$(u,l,d,x$.getVerticalPos(),v$,g,!0),x$.bumpVerticalPos(v$.boxMargin),JR(u,x$.getVerticalPos())),x$.models.boxes.forEach((function(t){t.height=x$.getVerticalPos()-t.y,x$.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)",m$.drawBox(u,t,v$)})),b&&x$.bumpVerticalPos(v$.boxMargin);const E=M$(u,l,d,c),{bounds:T}=x$.getBounds();h.debug("For line height fix Querying: #"+e+" .actor-line"),hn("#"+e+" .actor-line").attr("y2",T.stopy);let C=T.stopy-T.starty;C<E.maxHeight&&(C=E.maxHeight);let S=C+2*v$.diagramMarginY;v$.mirrorActors&&(S=S-v$.boxMargin+v$.bottomMarginAdj);let A=T.stopx-T.startx;A<E.maxWidth&&(A=E.maxWidth);const M=A+2*v$.diagramMarginX;p&&u.append("text").text(p).attr("x",(T.stopx-T.startx)/2-2*v$.diagramMarginX).attr("y",-25),Ly(u,S,M,v$.useMaxWidth);const I=p?40:0;u.attr("viewBox",T.startx-v$.diagramMarginX+" -"+(v$.diagramMarginY+I)+" "+M+" "+(S+I)),h.debug("models:",x$.models)};function P$(t,e,n){const i={};return e.forEach((function(e){if(t[e.to]&&t[e.from]){const r=t[e.to];if(e.placement===n.db.PLACEMENT.LEFTOF&&!r.prevActor||e.placement===n.db.PLACEMENT.RIGHTOF&&!r.nextActor)return;const a=void 0!==e.placement,o=!a,s=a?E$(v$):_$(v$),c=e.wrap?mw.wrapLabel(e.message,v$.width-2*v$.wrapPadding,s):e.message,u=mw.calculateTextDimensions(c,s).width+2*v$.wrapPadding;o&&e.from===r.nextActor?i[e.to]=Math.max(i[e.to]||0,u):o&&e.from===r.prevActor?i[e.from]=Math.max(i[e.from]||0,u):o&&e.from===e.to?(i[e.from]=Math.max(i[e.from]||0,u/2),i[e.to]=Math.max(i[e.to]||0,u/2)):e.placement===n.db.PLACEMENT.RIGHTOF?i[e.from]=Math.max(i[e.from]||0,u):e.placement===n.db.PLACEMENT.LEFTOF?i[r.prevActor]=Math.max(i[r.prevActor]||0,u):e.placement===n.db.PLACEMENT.OVER&&(r.prevActor&&(i[r.prevActor]=Math.max(i[r.prevActor]||0,u/2)),r.nextActor&&(i[e.from]=Math.max(i[e.from]||0,u/2)))}})),h.debug("maxMessageWidthPerActor:",i),i}const B$=function(t){let e=0;const n=T$(v$);for(const i in t.links){const t=mw.calculateTextDimensions(i,n).width+2*v$.wrapPadding+2*v$.boxMargin;e<t&&(e=t)}return e};function j$(t,e,n){let i=0;Object.keys(t).forEach((e=>{const n=t[e];n.wrap&&(n.description=mw.wrapLabel(n.description,v$.width-2*v$.wrapPadding,T$(v$)));const r=mw.calculateTextDimensions(n.description,T$(v$));n.width=n.wrap?v$.width:Math.max(v$.width,r.width+2*v$.wrapPadding),n.height=n.wrap?Math.max(r.height,v$.height):v$.height,i=Math.max(i,n.height)}));for(const a in e){const n=t[a];if(!n)continue;const i=t[n.nextActor];if(!i){const t=e[a]+v$.actorMargin-n.width/2;n.margin=Math.max(t,v$.actorMargin);continue}const r=e[a]+v$.actorMargin-n.width/2-i.width/2;n.margin=Math.max(r,v$.actorMargin)}let r=0;return n.forEach((e=>{const n=_$(v$);let i=e.actorKeys.reduce(((e,n)=>e+(t[n].width+(t[n].margin||0))),0);i-=2*v$.boxTextMargin,e.wrap&&(e.name=mw.wrapLabel(e.name,i-2*v$.wrapPadding,n));const a=mw.calculateTextDimensions(e.name,n);r=Math.max(a.height,r);const o=Math.max(i,a.width+2*v$.wrapPadding);if(e.margin=v$.boxTextMargin,i<o){const t=(o-i)/2;e.margin+=t}})),n.forEach((t=>t.textMaxHeight=r)),Math.max(i,v$.height)}const R$=function(t,e,n){const i=e[t.from].x,r=e[t.to].x,a=t.wrap&&t.message;let o=mw.calculateTextDimensions(a?mw.wrapLabel(t.message,v$.width,E$(v$)):t.message,E$(v$));const s={width:a?v$.width:Math.max(v$.width,o.width+2*v$.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===n.db.PLACEMENT.RIGHTOF?(s.width=a?Math.max(v$.width,o.width):Math.max(e[t.from].width/2+e[t.to].width/2,o.width+2*v$.noteMargin),s.startx=i+(e[t.from].width+v$.actorMargin)/2):t.placement===n.db.PLACEMENT.LEFTOF?(s.width=Math.max(a?v$.width:e[t.from].width/2+e[t.to].width/2,o.width+2*v$.noteMargin),s.startx=i-s.width+(e[t.from].width-v$.actorMargin)/2):t.to===t.from?(o=mw.calculateTextDimensions(a?mw.wrapLabel(t.message,Math.max(v$.width,e[t.from].width),E$(v$)):t.message,E$(v$)),s.width=a?Math.max(v$.width,e[t.from].width):Math.max(e[t.from].width,v$.width,o.width+2*v$.noteMargin),s.startx=i+(e[t.from].width-s.width)/2):(s.width=Math.abs(i+e[t.from].width/2-(r+e[t.to].width/2))+v$.actorMargin,s.startx=i<r?i+e[t.from].width/2-v$.actorMargin/2:r+e[t.to].width/2-v$.actorMargin/2),a&&(s.message=mw.wrapLabel(t.message,s.width-2*v$.wrapPadding,E$(v$))),h.debug(`NM:[${s.startx},${s.stopx},${s.starty},${s.stopy}:${s.width},${s.height}=${t.message}]`),s},$$=function(t,e,n){let i=!1;if([n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(i=!0),!i)return{};const r=L$(t.from,e),a=L$(t.to,e),o=r[0]<=a[0]?1:0,s=r[0]<a[0]?0:1,c=[...r,...a],u=Math.abs(a[s]-r[o]);t.wrap&&t.message&&(t.message=mw.wrapLabel(t.message,Math.max(u+2*v$.wrapPadding,v$.width),_$(v$)));const l=mw.calculateTextDimensions(t.message,_$(v$));return{width:Math.max(t.wrap?0:l.width+2*v$.wrapPadding,u+2*v$.wrapPadding,v$.width),height:0,startx:r[o],stopx:a[s],starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,c),toBounds:Math.max.apply(null,c)}},F$=function(t,e,n,i){const r={},a=[];let o,s,c;return t.forEach((function(t){switch(t.id=mw.random({length:10}),t.type){case i.db.LINETYPE.LOOP_START:case i.db.LINETYPE.ALT_START:case i.db.LINETYPE.OPT_START:case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.CRITICAL_START:case i.db.LINETYPE.BREAK_START:a.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case i.db.LINETYPE.ALT_ELSE:case i.db.LINETYPE.PAR_AND:case i.db.LINETYPE.CRITICAL_OPTION:t.message&&(o=a.pop(),r[o.id]=o,r[t.id]=o,a.push(o));break;case i.db.LINETYPE.LOOP_END:case i.db.LINETYPE.ALT_END:case i.db.LINETYPE.OPT_END:case i.db.LINETYPE.PAR_END:case i.db.LINETYPE.CRITICAL_END:case i.db.LINETYPE.BREAK_END:o=a.pop(),r[o.id]=o;break;case i.db.LINETYPE.ACTIVE_START:{const n=e[t.from?t.from.actor:t.to.actor],i=O$(t.from?t.from.actor:t.to.actor).length,r=n.x+n.width/2+(i-1)*v$.activationWidth/2,a={startx:r,stopx:r+v$.activationWidth,actor:t.from.actor,enabled:!0};x$.activations.push(a)}break;case i.db.LINETYPE.ACTIVE_END:{const e=x$.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete x$.activations.splice(e,1)[0]}}void 0!==t.placement?(s=R$(t,e,i),t.noteModel=s,a.forEach((t=>{o=t,o.from=Math.min(o.from,s.startx),o.to=Math.max(o.to,s.startx+s.width),o.width=Math.max(o.width,Math.abs(o.from-o.to))-v$.labelBoxWidth}))):(c=$$(t,e,i),t.msgModel=c,c.startx&&c.stopx&&a.length>0&&a.forEach((n=>{if(o=n,c.startx===c.stopx){const n=e[t.from],i=e[t.to];o.from=Math.min(n.x-c.width/2,n.x-n.width/2,o.from),o.to=Math.max(i.x+c.width/2,i.x+n.width/2,o.to),o.width=Math.max(o.width,Math.abs(o.to-o.from))-v$.labelBoxWidth}else o.from=Math.min(c.startx,o.from),o.to=Math.max(c.stopx,o.to),o.width=Math.max(o.width,c.width)-v$.labelBoxWidth})))})),x$.activations=[],h.debug("Loop type widths:",r),r},z$={bounds:x$,drawActors:A$,drawActorsPopup:M$,setConf:I$,draw:D$};var H$=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,21],u=[1,22],l=[1,23],h=[1,24],f=[1,37],d=[1,25],g=[1,26],p=[1,27],b=[1,28],w=[1,29],y=[1,32],m=[1,33],v=[1,34],x=[1,35],k=[1,36],_=[1,39],E=[1,40],T=[1,41],C=[1,42],S=[1,38],A=[1,45],M=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],I=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],O=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],L=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],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,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 12:this.$=a[s];break;case 9:this.$="nl";break;case 13:const t=a[s-1];t.description=i.trimColon(a[s]),this.$=t;break;case 14:this.$={stmt:"relation",state1:a[s-2],state2:a[s]};break;case 15:const e=i.trimColon(a[s]);this.$={stmt:"relation",state1:a[s-3],state2:a[s-1],description:e};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 20:var c=a[s],u=a[s-2].trim();if(a[s].match(":")){var l=a[s].split(":");c=l[0],u=[u,l[1]]}this.$={stmt:"state",id:c,type:"default",description:u};break;case 21:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:"state",id:a[s],type:"fork"};break;case 23:this.$={stmt:"state",id:a[s],type:"join"};break;case 24:this.$={stmt:"state",id:a[s],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 31:case 32:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:a[s-1].trim(),classes:a[s].trim()};break;case 35:this.$={stmt:"applyClass",id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[s].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[s-2].trim(),classes:[a[s].trim()],type:"default",description:""};break;case 50:i.parseDirective("%%{","open_directive");break;case 51:i.parseDirective(a[s],"type_directive");break;case 52:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 53:i.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:n,6:4,7:i,45:6,60:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,45:6,60:r},{3:9,4:e,5:n,6:4,7:i,45:6,60:r},{3:10,4:e,5:n,6:4,7:i,45:6,60:r},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],a,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},{47:43,48:[1,44],63:A},t([48,63],[2,51]),t(M,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},t(M,[2,8]),t(M,[2,9]),t(M,[2,10]),t(M,[2,11]),t(M,[2,12],{14:[1,47],15:[1,48]}),t(M,[2,16]),{18:[1,49]},t(M,[2,18],{20:[1,50]}),{23:[1,51]},t(M,[2,22]),t(M,[2,23]),t(M,[2,24]),t(M,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(M,[2,28]),t(M,[2,29]),{34:[1,56]},{36:[1,57]},t(M,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(I,[2,44],{57:[1,61]}),t(I,[2,45],{57:[1,62]}),t(M,[2,38]),t(M,[2,39]),t(M,[2,40]),t(M,[2,41]),t(O,[2,36]),{49:63,62:[1,64]},t(O,[2,53]),t(M,[2,7]),t(M,[2,13]),{13:65,24:f,56:S},t(M,[2,17]),t(L,a,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(M,[2,30]),t(M,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:A},{63:[2,52]},t(M,[2,14],{14:[1,76]}),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,77],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},t(M,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(M,[2,33]),t(M,[2,34]),t(M,[2,35]),t(I,[2,46]),t(I,[2,47]),t(O,[2,37]),t(M,[2,15]),t(M,[2,19]),t(L,a,{8:81}),t(M,[2,26]),t(M,[2,27]),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,82],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},t(M,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},D={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 69:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return e.yytext=e.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};function P(){this.yy={}}return N.lexer=D,P.prototype=N,N.Parser=P,new P}();H$.parser=H$;const U$=H$,G$=(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*stateDiagram/)},q$=(t,e)=>{var n;return!!(null!==t.match(/^\s*stateDiagram-v2/)||t.match(/^\s*stateDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))},K$="LR",Y$="TB",W$="state",X$="relation",V$="classDef",Q$="applyClass",Z$="default",J$="divider",tF="[*]",eF="start",nF=tF,iF="end",rF="color",aF="fill",oF="bgFill",sF=",";function cF(){return{}}let uF=K$,lF=[],hF=cF();const fF=()=>({relations:[],states:{},documents:{}});let dF={root:fF()},gF=dF.root,pF=0,bF=0;const wF=t=>JSON.parse(JSON.stringify(t)),yF=(t,e,n)=>{if(e.stmt===X$)yF(t,e.state1,!0),yF(t,e.state2,!1);else if(e.stmt===W$&&("[*]"===e.id?(e.id=n?t.id+"_start":t.id+"_end",e.start=n):e.id=e.id.trim()),e.doc){const t=[];let n,i=[];for(n=0;n<e.doc.length;n++)if(e.doc[n].type===J$){const r=wF(e.doc[n]);r.doc=wF(i),t.push(r),i=[]}else i.push(e.doc[n]);if(t.length>0&&i.length>0){const n={stmt:W$,id:iw(),type:"divider",doc:wF(i)};t.push(wF(n)),e.doc=t}e.doc.forEach((t=>yF(e,t,!0)))}},mF=t=>{let e;e=t.doc?t.doc:t,h.info(e),xF(!0),h.info("Extract",e),e.forEach((t=>{switch(t.stmt){case W$:vF(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case X$:AF(t.state1,t.state2,t.description);break;case V$:IF(t.id.trim(),t.classes);break;case Q$:OF(t.id.trim(),t.styleClass)}}))},vF=function(t,e=Z$,n=null,i=null,r=null,a=null,o=null,s=null){const c=null==t?void 0:t.trim();void 0===gF.states[c]?(h.info("Adding state ",c,i),gF.states[c]={id:c,descriptions:[],type:e,doc:n,note:r,classes:[],styles:[],textStyles:[]}):(gF.states[c].doc||(gF.states[c].doc=n),gF.states[c].type||(gF.states[c].type=e)),i&&(h.info("Setting state description",c,i),"string"==typeof i&&MF(c,i.trim()),"object"==typeof i&&i.forEach((t=>MF(c,t.trim())))),r&&(gF.states[c].note=r,gF.states[c].note.text=Jh.sanitizeText(gF.states[c].note.text,ky())),a&&(h.info("Setting state classes",c,a),("string"==typeof a?[a]:a).forEach((t=>OF(c,t.trim())))),o&&(h.info("Setting state styles",c,o),("string"==typeof o?[o]:o).forEach((t=>LF(c,t.trim())))),s&&(h.info("Setting state styles",c,o),("string"==typeof s?[s]:s).forEach((t=>NF(c,t.trim()))))},xF=function(t){dF={root:fF()},gF=dF.root,pF=0,hF=cF(),t||Jy()},kF=function(t){return gF.states[t]};function _F(t=""){let e=t;return t===tF&&(pF++,e=`${eF}${pF}`),e}function EF(t="",e=Z$){return t===tF?eF:e}function TF(t=""){let e=t;return t===nF&&(pF++,e=`${iF}${pF}`),e}function CF(t="",e=Z$){return t===nF?iF:e}function SF(t,e,n){let i=_F(t.id.trim()),r=EF(t.id.trim(),t.type),a=_F(e.id.trim()),o=EF(e.id.trim(),e.type);vF(i,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),vF(a,o,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),gF.relations.push({id1:i,id2:a,relationTitle:Jh.sanitizeText(n,ky())})}const AF=function(t,e,n){if("object"==typeof t)SF(t,e,n);else{const i=_F(t.trim()),r=EF(t),a=TF(e.trim()),o=CF(e);vF(i,r),vF(a,o),gF.relations.push({id1:i,id2:a,title:Jh.sanitizeText(n,ky())})}},MF=function(t,e){const n=gF.states[t],i=e.startsWith(":")?e.replace(":","").trim():e;n.descriptions.push(Jh.sanitizeText(i,ky()))},IF=function(t,e=""){void 0===hF[t]&&(hF[t]={id:t,styles:[],textStyles:[]});const n=hF[t];null!=e&&e.split(sF).forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(rF)){const t=e.replace(aF,oF).replace(rF,aF);n.textStyles.push(t)}n.styles.push(e)}))},OF=function(t,e){t.split(",").forEach((function(t){let n=kF(t);if(void 0===n){const e=t.trim();vF(e),n=kF(e)}n.classes.push(e)}))},LF=function(t,e){const n=kF(t);void 0!==n&&n.textStyles.push(e)},NF=function(t,e){const n=kF(t);void 0!==n&&n.textStyles.push(e)},DF={parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().state,addState:vF,clear:xF,getState:kF,getStates:function(){return gF.states},getRelations:function(){return gF.relations},getClasses:function(){return hF},getDirection:()=>uF,addRelation:AF,getDividerId:()=>(bF++,"divider-id-"+bF),setDirection:t=>{uF=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){h.info("Documents = ",dF)},getRootDoc:()=>lF,setRootDoc:t=>{h.info("Setting root doc",t),lF=t},getRootDocV2:()=>(yF({id:"root"},{id:"root",doc:lF},!0),{id:"root",doc:lF}),extract:mF,trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:em,setAccTitle:tm,getAccDescription:im,setAccDescription:nm,addStyleClass:IF,setCssClass:OF,addDescription:MF,setDiagramTitle:rm,getDiagramTitle:am},PF={},BF=()=>Object.keys(PF),jF={get:t=>PF[t],set:(t,e)=>{PF[t]=e},keys:BF,size:()=>BF().length},RF=t=>t.append("circle").attr("class","start-state").attr("r",ky().state.sizeUnit).attr("cx",ky().state.padding+ky().state.sizeUnit).attr("cy",ky().state.padding+ky().state.sizeUnit),$F=t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",ky().state.textHeight).attr("class","divider").attr("x2",2*ky().state.textHeight).attr("y1",0).attr("y2",0),FF=(t,e)=>{const n=t.append("text").attr("x",2*ky().state.padding).attr("y",ky().state.textHeight+2*ky().state.padding).attr("font-size",ky().state.fontSize).attr("class","state-title").text(e.id),i=n.node().getBBox();return t.insert("rect",":first-child").attr("x",ky().state.padding).attr("y",ky().state.padding).attr("width",i.width+2*ky().state.padding).attr("height",i.height+2*ky().state.padding).attr("rx",ky().state.radius),n},zF=(t,e)=>{const n=function(t,e,n){const i=t.append("tspan").attr("x",2*ky().state.padding).text(e);n||i.attr("dy",ky().state.textHeight)},i=t.append("text").attr("x",2*ky().state.padding).attr("y",ky().state.textHeight+1.3*ky().state.padding).attr("font-size",ky().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=i.height,a=t.append("text").attr("x",ky().state.padding).attr("y",r+.4*ky().state.padding+ky().state.dividerMargin+ky().state.textHeight).attr("class","state-description");let o=!0,s=!0;e.descriptions.forEach((function(t){o||(n(a,t,s),s=!1),o=!1}));const c=t.append("line").attr("x1",ky().state.padding).attr("y1",ky().state.padding+r+ky().state.dividerMargin/2).attr("y2",ky().state.padding+r+ky().state.dividerMargin/2).attr("class","descr-divider"),u=a.node().getBBox(),l=Math.max(u.width,i.width);return c.attr("x2",l+3*ky().state.padding),t.insert("rect",":first-child").attr("x",ky().state.padding).attr("y",ky().state.padding).attr("width",l+2*ky().state.padding).attr("height",u.height+r+2*ky().state.padding).attr("rx",ky().state.radius),t},HF=(t,e,n)=>{const i=ky().state.padding,r=2*ky().state.padding,a=t.node().getBBox(),o=a.width,s=a.x,c=t.append("text").attr("x",0).attr("y",ky().state.titleShift).attr("font-size",ky().state.fontSize).attr("class","state-title").text(e.id),u=c.node().getBBox().width+r;let l,h=Math.max(u,o);h===o&&(h+=r);const f=t.node().getBBox();e.doc,l=s-i,u>o&&(l=(o-h)/2+i),Math.abs(s-f.x)<i&&u>o&&(l=s-(u-o)/2);const d=1-ky().state.textHeight;return t.insert("rect",":first-child").attr("x",l).attr("y",d).attr("class",n?"alt-composit":"composit").attr("width",h).attr("height",f.height+ky().state.textHeight+ky().state.titleShift+1).attr("rx","0"),c.attr("x",l+i),u<=o&&c.attr("x",s+(h-r)/2-u/2+i),t.insert("rect",":first-child").attr("x",l).attr("y",ky().state.titleShift-ky().state.textHeight-ky().state.padding).attr("width",h).attr("height",3*ky().state.textHeight).attr("rx",ky().state.radius),t.insert("rect",":first-child").attr("x",l).attr("y",ky().state.titleShift-ky().state.textHeight-ky().state.padding).attr("width",h).attr("height",f.height+3+2*ky().state.textHeight).attr("rx",ky().state.radius),t},UF=t=>(t.append("circle").attr("class","end-state-outer").attr("r",ky().state.sizeUnit+ky().state.miniPadding).attr("cx",ky().state.padding+ky().state.sizeUnit+ky().state.miniPadding).attr("cy",ky().state.padding+ky().state.sizeUnit+ky().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",ky().state.sizeUnit).attr("cx",ky().state.padding+ky().state.sizeUnit+2).attr("cy",ky().state.padding+ky().state.sizeUnit+2)),GF=(t,e)=>{let n=ky().state.forkWidth,i=ky().state.forkHeight;if(e.parentId){let t=n;n=i,i=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",i).attr("x",ky().state.padding).attr("y",ky().state.padding)},qF=(t,e,n,i)=>{let r=0;const a=i.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let o=t.replace(/\r\n/g,"<br/>");o=o.replace(/\n/g,"<br/>");const s=o.split(Jh.lineBreakRegex);let c=1.25*ky().state.noteMargin;for(const u of s){const t=u.trim();if(t.length>0){const i=a.append("tspan");i.text(t),0===c&&(c+=i.node().getBBox().height),r+=c,i.attr("x",e+ky().state.noteMargin),i.attr("y",n+r+1.25*ky().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:r}},KF=(t,e)=>{e.attr("class","state-note");const n=e.append("rect").attr("x",0).attr("y",ky().state.padding),i=e.append("g"),{textWidth:r,textHeight:a}=qF(t,0,0,i);return n.attr("height",a+2*ky().state.noteMargin),n.attr("width",r+2*ky().state.noteMargin),n},YF=function(t,e){const n=e.id,i={id:n,label:e.id,width:0,height:0},r=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&RF(r),"end"===e.type&&UF(r),("fork"===e.type||"join"===e.type)&&GF(r,e),"note"===e.type&&KF(e.note.text,r),"divider"===e.type&&$F(r),"default"===e.type&&0===e.descriptions.length&&FF(r,e),"default"===e.type&&e.descriptions.length>0&&zF(r,e);const a=r.node().getBBox();return i.width=a.width+2*ky().state.padding,i.height=a.height+2*ky().state.padding,jF.set(n,i),i};let WF=0;const XF=function(t,e,n){const i=function(t){switch(t){case DF.relationType.AGGREGATION:return"aggregation";case DF.relationType.EXTENSION:return"extension";case DF.relationType.COMPOSITION:return"composition";case DF.relationType.DEPENDENCY:return"dependency"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const r=e.points,a=Fu().x((function(t){return t.x})).y((function(t){return t.y})).curve(Vu),o=t.append("path").attr("d",a(r)).attr("id","edge"+WF).attr("class","transition");let s="";if(ky().state.arrowMarkerAbsolute&&(s=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,s=s.replace(/\(/g,"\\("),s=s.replace(/\)/g,"\\)")),o.attr("marker-end","url("+s+"#"+i(DF.relationType.DEPENDENCY)+"End)"),void 0!==n.title){const i=t.append("g").attr("class","stateLabel"),{x:r,y:a}=mw.calcLabelPosition(e.points),o=Jh.getRows(n.title);let s=0;const c=[];let u=0,l=0;for(let t=0;t<=o.length;t++){const e=i.append("text").attr("text-anchor","middle").text(o[t]).attr("x",r).attr("y",a+s),n=e.node().getBBox();u=Math.max(u,n.width),l=Math.min(l,n.x),h.info(n.x,r,a+s),0===s&&(s=e.node().getBBox().height,h.info("Title height",s,a)),c.push(e)}let f=s*o.length;if(o.length>1){const t=(o.length-1)*s*.5;c.forEach(((e,n)=>e.attr("y",a+n*s-t))),f=s*o.length}const d=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",r-u/2-ky().state.padding/2).attr("y",a-f/2-ky().state.padding/2-3.5).attr("width",u+ky().state.padding).attr("height",f+ky().state.padding),h.info(d)}WF++};let VF;const QF={},ZF=function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},JF=function(t,e,n,i){VF=ky().state;const r=ky().securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body"),s="sandbox"===r?a.nodes()[0].contentDocument:document;h.debug("Rendering diagram "+t);const c=o.select(`[id='${e}']`);ZF(c),new fM({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const u=i.db.getRootDoc();ez(u,c,void 0,!1,o,s,i);const l=VF.padding,f=c.node().getBBox(),d=f.width+2*l,g=f.height+2*l;Ly(c,g,1.75*d,VF.useMaxWidth),c.attr("viewBox",`${f.x-VF.padding} ${f.y-VF.padding} `+d+" "+g)},tz=t=>t?t.length*VF.fontSizeFactor:1,ez=(t,e,n,i,r,a,o)=>{const s=new fM({compound:!0,multigraph:!0});let c,u=!0;for(c=0;c<t.length;c++)if("relation"===t[c].stmt){u=!1;break}n?s.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:u?1:VF.edgeLengthFactor,nodeSep:u?1:50,isMultiGraph:!0}):s.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:u?1:VF.edgeLengthFactor,nodeSep:u?1:50,ranker:"tight-tree",isMultiGraph:!0}),s.setDefaultEdgeLabel((function(){return{}})),o.db.extract(t);const l=o.db.getStates(),f=o.db.getRelations(),d=Object.keys(l);for(const h of d){const t=l[h];let c;if(n&&(t.parentId=n),t.doc){let n=e.append("g").attr("id",t.id).attr("class","stateGroup");c=ez(t.doc,n,t.id,!i,r,a,o);{n=HF(n,t,i);let e=n.node().getBBox();c.width=e.width,c.height=e.height+VF.padding/2,QF[t.id]={y:VF.compositTitleSize}}}else c=YF(e,t);if(t.note){const n={descriptions:[],id:t.id+"-note",note:t.note,type:"note"},i=YF(e,n);"left of"===t.note.position?(s.setNode(c.id+"-note",i),s.setNode(c.id,c)):(s.setNode(c.id,c),s.setNode(c.id+"-note",i)),s.setParent(c.id,c.id+"-group"),s.setParent(c.id+"-note",c.id+"-group")}else s.setNode(c.id,c)}h.debug("Count=",s.nodeCount(),s);let g=0;f.forEach((function(t){g++,h.debug("Setting edge",t),s.setEdge(t.id1,t.id2,{relation:t,width:tz(t.title),height:VF.labelHeight*Jh.getRows(t.title).length,labelpos:"c"},"id"+g)})),yO(s),h.debug("Graph after layout",s.nodes());const p=e.node();s.nodes().forEach((function(t){void 0!==t&&void 0!==s.node(t)?(h.warn("Node "+t+": "+JSON.stringify(s.node(t))),r.select("#"+p.id+" #"+t).attr("transform","translate("+(s.node(t).x-s.node(t).width/2)+","+(s.node(t).y+(QF[t]?QF[t].y:0)-s.node(t).height/2)+" )"),r.select("#"+p.id+" #"+t).attr("data-x-shift",s.node(t).x-s.node(t).width/2),a.querySelectorAll("#"+p.id+" #"+t+" .divider").forEach((t=>{const e=t.parentElement;let n=0,i=0;e&&(e.parentElement&&(n=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",n-i-8)}))):h.debug("No Node "+t+": "+JSON.stringify(s.node(t)))}));let b=p.getBBox();s.edges().forEach((function(t){void 0!==t&&void 0!==s.edge(t)&&(h.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(s.edge(t))),XF(e,s.edge(t),s.edge(t).relation))})),b=p.getBBox();const w={id:n||"root",label:n||"root",width:0,height:0};return w.width=b.width+2*VF.padding,w.height=b.height+2*VF.padding,h.debug("Doc rendered",w,s),w},nz={setConf:function(){},draw:JF},iz="rect",rz="rectWithTitle",az="start",oz="end",sz="divider",cz="roundedWithTitle",uz="note",lz="noteGroup",hz="statediagram",fz=`${hz}-state`,dz="transition",gz=`${dz} note-edge`,pz=`${hz}-note`,bz=`${hz}-cluster`,wz=`${hz}-cluster-alt`,yz="parent",mz="note",vz="state",xz="----",kz=`${xz}${mz}`,_z=`${xz}${yz}`,Ez="fill:none",Tz="fill: #333",Cz="c",Sz="text",Az="normal";let Mz={},Iz=0;function Oz(t){return null==t?"":t.classes?t.classes.join(" "):""}function Lz(t="",e=0,n="",i=xz){const r=null!==n&&n.length>0?`${i}${n}`:"";return`${vz}-${t}${r}-${e}`}const Nz=(t,e,n,i,r,a)=>{const o=n.id,s=Oz(i[o]);if("root"!==o){let e=iz;!0===n.start&&(e=az),!1===n.start&&(e=oz),n.type!==Z$&&(e=n.type),Mz[o]||(Mz[o]={id:o,shape:e,description:Jh.sanitizeText(o,ky()),classes:`${s} ${fz}`});const i=Mz[o];n.description&&(Array.isArray(i.description)?(i.shape=rz,i.description.push(n.description)):i.description.length>0?(i.shape=rz,i.description===o?i.description=[n.description]:i.description=[i.description,n.description]):(i.shape=iz,i.description=n.description),i.description=Jh.sanitizeTextOrArray(i.description,ky())),1===i.description.length&&i.shape===rz&&(i.shape=iz),!i.type&&n.doc&&(h.info("Setting cluster for ",o,Pz(n)),i.type="group",i.dir=Pz(n),i.shape=n.type===J$?sz:cz,i.classes=i.classes+" "+bz+" "+(a?wz:""));const r={labelStyle:"",shape:i.shape,labelText:i.description,classes:i.classes,style:"",id:o,dir:i.dir,domId:Lz(o,Iz),type:i.type,padding:15};if(n.note){const e={labelStyle:"",shape:uz,labelText:n.note.text,classes:pz,style:"",id:o+kz+"-"+Iz,domId:Lz(o,Iz,mz),type:i.type,padding:15},a={labelStyle:"",shape:lz,labelText:n.note.text,classes:i.classes,style:"",id:o+_z,domId:Lz(o,Iz,yz),type:"group",padding:0};Iz++;const s=o+_z;t.setNode(s,a),t.setNode(e.id,e),t.setNode(o,r),t.setParent(o,s),t.setParent(e.id,s);let c=o,u=e.id;"left of"===n.note.position&&(c=e.id,u=o),t.setEdge(c,u,{arrowhead:"none",arrowType:"",style:Ez,labelStyle:"",classes:gz,arrowheadStyle:Tz,labelpos:Cz,labelType:Sz,thickness:Az})}else t.setNode(o,r)}e&&"root"!==e.id&&(h.trace("Setting node ",o," to be child of its parent ",e.id),t.setParent(o,e.id)),n.doc&&(h.trace("Adding nodes children "),Dz(t,n,n.doc,i,r,!a))},Dz=(t,e,n,i,r,a)=>{h.trace("items",n),n.forEach((n=>{switch(n.stmt){case W$:case Z$:Nz(t,e,n,i,r,a);break;case X$:{Nz(t,e,n.state1,i,r,a),Nz(t,e,n.state2,i,r,a);const o={id:"edge"+Iz,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:Ez,labelStyle:"",label:Jh.sanitizeText(n.description,ky()),arrowheadStyle:Tz,labelpos:Cz,labelType:Sz,thickness:Az,classes:dz};t.setEdge(n.state1.id,n.state2.id,o,Iz),Iz++}}}))},Pz=(t,e=Y$)=>{let n=e;if(t.doc)for(let i=0;i<t.doc.length;i++){const e=t.doc[i];"dir"===e.stmt&&(n=e.value)}return n},Bz={setConf:function(t){const e=Object.keys(t);for(const n of e)t[n]},getClasses:function(t,e){h.trace("Extracting classes"),e.db.clear();try{return e.parser.parse(t),e.db.extract(e.db.getRootDocV2()),e.db.getClasses()}catch(n){return n}},draw:function(t,e,n,i){h.info("Drawing state diagram (v2)",e),Mz={};let r=i.db.getDirection();void 0===r&&(r=K$);const{securityLevel:a,state:o}=ky(),s=o.nodeSpacing||50,c=o.rankSpacing||50;h.info(i.db.getRootDocV2()),i.db.extract(i.db.getRootDocV2()),h.info(i.db.getRootDocV2());const u=i.db.getStates(),l=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:Pz(i.db.getRootDocV2()),nodesep:s,ranksep:c,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let f;Nz(l,void 0,i.db.getRootDocV2(),u,i.db,!0),"sandbox"===a&&(f=ln("#i"+e));const d=ln("sandbox"===a?f.nodes()[0].contentDocument.body:"body"),g=d.select(`[id="${e}"]`),p=d.select("#"+e+" g");cN(p,l,["barb"],hz,e);const b=8;mw.insertTitle(g,"statediagramTitleText",o.titleTopMargin,i.db.getDiagramTitle());const w=g.node().getBBox(),y=w.width+2*b,m=w.height+2*b;g.attr("class",hz);const v=g.node().getBBox();Ly(g,m,y,o.useMaxWidth);const x=`${v.x-b} ${v.y-b} ${y} ${m}`;h.debug(`viewBox ${x}`),g.attr("viewBox",x);const k=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const h of k){const t=h.getBBox(),e=document.createElementNS("http://www.w3.org/2000/svg",iz);e.setAttribute("rx",0),e.setAttribute("ry",0),e.setAttribute("width",t.width),e.setAttribute("height",t.height),h.insertBefore(e,h.firstChild)}}};var jz=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,24,26],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,24],h=[4,6,9,11,17,18,20,22,23,24,26],f={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 16:i.addTask(a[s-1],a[s]),this.$="task";break;case 18:i.parseDirective("%%{","open_directive");break;case 19:i.parseDirective(a[s],"type_directive");break;case 20:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 21:i.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,26:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,26:n},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},{1:[2,2]},{14:22,15:[1,23],29:l},t([15,29],[2,19]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:21,10:25,12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,26]},{21:[1,27]},t(i,[2,14]),t(i,[2,15]),{25:[1,28]},t(i,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(i,[2,16]),t(h,[2,9]),{14:32,29:l},{29:[2,20]},{11:[1,33]},t(h,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},d={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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 g(){this.yy={}}return f.lexer=d,g.prototype=f,f.Parser=g,new g}();jz.parser=jz;const Rz=jz,$z=t=>null!==t.match(/^\s*journey/);let Fz="";const zz=[],Hz=[],Uz=[],Gz=function(){let t=Kz();const e=100;let n=0;for(;!t&&n<e;)t=Kz(),n++;return Hz.push(...Uz),Hz},qz=function(){const t=[];return Hz.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()},Kz=function(){const t=function(t){return Uz[t].processed};let e=!0;for(const[n,i]of Uz.entries())t(n),e=e&&i.processed;return e},Yz={parseDirective:function(t,e,n){hU.parseDirective(this,t,e,n)},getConfig:()=>ky().journey,clear:function(){zz.length=0,Hz.length=0,Fz="",Uz.length=0,Jy()},setDiagramTitle:rm,getDiagramTitle:am,setAccTitle:tm,getAccTitle:em,setAccDescription:nm,getAccDescription:im,addSection:function(t){Fz=t,zz.push(t)},getSections:function(){return zz},getTasks:Gz,addTask:function(t,e){const n=e.substr(1).split(":");let i=0,r=[];1===n.length?(i=Number(n[0]),r=[]):(i=Number(n[0]),r=n[1].split(","));const a=r.map((t=>t.trim())),o={section:Fz,type:Fz,people:a,task:t,score:i};Uz.push(o)},addTaskOrg:function(t){const e={section:Fz,type:Fz,description:t,task:t,classes:[]};Hz.push(e)},getActors:function(){return qz()}},Wz=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},Xz=function(t,e){const n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");function r(t){const n=Du().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function a(t){const n=Du().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function o(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return i.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"),i.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?r(i):e.score<3?a(i):o(i),n},Vz=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},Qz=function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},Zz=function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}const i=t.append("polygon");i.attr("points",n(e.x,e.y,50,20,7)),i.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,Qz(t,e)},Jz=function(t,e,n){const i=t.append("g"),r=rH();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,Wz(i,r),aH(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)};let tH=-1;const eH=function(t,e,n){const i=e.x+n.width/2,r=t.append("g");tH++;const a=450;r.append("line").attr("id","task"+tH).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Xz(r,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=rH();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,Wz(r,o);let s=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:s,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};Vz(r,i),s+=10})),aH(n)(e.task,r,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour)},nH=function(t,e){Wz(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},iH=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},rH=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},aH=function(){function t(t,e,n,r,a,o,s,c){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,r,a,o,s,c,u){const{taskFontSize:l,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let d=0;d<f.length;d++){const t=d*l-l*(f.length-1)/2,c=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",u).style("text-anchor","middle").style("font-size",l).style("font-family",h);c.append("tspan").attr("x",n+a/2).attr("dy",t).text(f[d]),c.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(c,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),oH={drawRect:Wz,drawCircle:Vz,drawSection:Jz,drawText:Qz,drawLabel:Zz,drawTask:eH,drawBackgroundRect:nH,getTextObj:iH,getNoteRect:rH,initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")}},sH=function(t){Object.keys(t).forEach((function(e){lH[e]=t[e]}))},cH={};function uH(t){const e=ky().journey;let n=60;Object.keys(cH).forEach((i=>{const r=cH[i].color,a={cx:20,cy:n,r:7,fill:r,stroke:"#000",pos:cH[i].position};oH.drawCircle(t,a);const o={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};oH.drawText(t,o),n+=20}))}const lH=ky().journey,hH=lH.leftMargin,fH=function(t,e,n,i){const r=ky().journey;i.db.clear(),i.parser.parse(t+"\n");const a=ky().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const s=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body");dH.init();const c=s.select("#"+e);oH.initGraphics(c);const u=i.db.getTasks(),l=i.db.getDiagramTitle(),h=i.db.getActors();for(const w in cH)delete cH[w];let f=0;h.forEach((t=>{cH[t]={color:r.actorColours[f%r.actorColours.length],position:f},f++})),uH(c),dH.insert(0,0,hH,50*Object.keys(cH).length),bH(c,u,0);const d=dH.getBounds();l&&c.append("text").text(l).attr("x",hH).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=d.stopy-d.starty+2*r.diagramMarginY,p=hH+d.stopx+2*r.diagramMarginX;Ly(c,g,p,r.useMaxWidth),c.append("line").attr("x1",hH).attr("y1",4*r.height).attr("x2",p-hH-4).attr("y2",4*r.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const b=l?70:0;c.attr("viewBox",`${d.startx} -25 ${p} ${g+b}`),c.attr("preserveAspectRatio","xMinYMin meet"),c.attr("height",g+b+25)},dH={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=ky().journey,a=this;let o=0;function s(s){return function(c){o++;const u=a.sequenceItems.length-o+1;a.updateVal(c,"starty",e-u*r.boxMargin,Math.min),a.updateVal(c,"stopy",i+u*r.boxMargin,Math.max),a.updateVal(dH.data,"startx",t-u*r.boxMargin,Math.min),a.updateVal(dH.data,"stopx",n+u*r.boxMargin,Math.max),"activation"!==s&&(a.updateVal(c,"startx",t-u*r.boxMargin,Math.min),a.updateVal(c,"stopx",n+u*r.boxMargin,Math.max),a.updateVal(dH.data,"starty",e-u*r.boxMargin,Math.min),a.updateVal(dH.data,"stopy",i+u*r.boxMargin,Math.max))}}this.sequenceItems.forEach(s())},insert:function(t,e,n,i){const r=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,i),s=Math.max(e,i);this.updateVal(dH.data,"startx",r,Math.min),this.updateVal(dH.data,"starty",o,Math.min),this.updateVal(dH.data,"stopx",a,Math.max),this.updateVal(dH.data,"stopy",s,Math.max),this.updateBounds(r,o,a,s)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},gH=lH.sectionFills,pH=lH.sectionColours,bH=function(t,e,n){const i=ky().journey;let r="";const a=n+(2*i.height+i.diagramMarginY);let o=0,s="#CCC",c="black",u=0;for(const[l,h]of e.entries()){if(r!==h.section){s=gH[o%gH.length],u=o%gH.length,c=pH[o%pH.length];const e={x:l*i.taskMargin+l*i.width+hH,y:50,text:h.section,fill:s,num:u,colour:c};oH.drawSection(t,e,i),r=h.section,o++}const e=h.people.reduce(((t,e)=>(cH[e]&&(t[e]=cH[e]),t)),{});h.x=l*i.taskMargin+l*i.width+hH,h.y=a,h.width=i.diagramMarginX,h.height=i.diagramMarginY,h.colour=c,h.fill=s,h.num=u,h.actors=e,oH.drawTask(t,h,i),dH.insert(h.x,h.y,h.x+h.width+i.taskMargin,450)}},wH={setConf:sH,draw:fH};let yH={};const mH={setConf:function(t){yH={...yH,...t}},draw:(t,e,n)=>{try{h.debug("Renering svg for syntax error\n");const t=ln("#"+e),i=t.append("g");i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+n),t.attr("height",100),t.attr("width",500),t.attr("viewBox","768 0 912 512")}catch(o){h.error("Error while rendering info diagram"),h.error(ww(o))}}},vH="flowchart-elk",xH={id:vH,detector:(t,e)=>{var n;return!!(t.match(/^\s*flowchart-elk/)||t.match(/^\s*flowchart|graph/)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.resolve().then((()=>XU));return{id:vH,diagram:t}}},kH="timeline",_H={id:kH,detector:t=>null!==t.match(/^\s*timeline/),loader:async()=>{const{diagram:t}=await Promise.resolve().then((()=>BG));return{id:kH,diagram:t}}},EH="mindmap",TH={id:EH,detector:t=>null!==t.match(/^\s*mindmap/),loader:async()=>{const{diagram:t}=await Promise.resolve().then((()=>Pq));return{id:EH,diagram:t}}};let CH=!1;const SH=()=>{CH||(CH=!0,_p(xH,_H,TH),ym("error",{db:{clear:()=>{}},styles:By,renderer:mH,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},(t=>"error"===t.toLowerCase().trim())),ym("---",{db:{clear:()=>{}},styles:By,renderer:mH,parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with unindented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),ym("c4",{parser:lv,db:Nv,renderer:px,styles:qy,init:t=>{px.setConf(t.c4)}},hv),ym("class",{parser:wx,db:Jx,renderer:iL,styles:Dy,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Jx.clear()}},yx),ym("classDiagram",{parser:wx,db:Jx,renderer:pN,styles:Dy,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Jx.clear()}},mx),ym("er",{parser:wN,db:kN,renderer:QN,styles:Py},yN),ym("gantt",{parser:AB,db:mj,renderer:kj,styles:Ry},MB),ym("info",{parser:Ej,db:Sj,renderer:Aj,styles:$y},Mj),ym("pie",{parser:Oj,db:Pj,renderer:$j,styles:Fy},Lj),ym("requirement",{parser:zj,db:Wj,renderer:uR,styles:zy},Hj),ym("sequence",{parser:hR,db:jR,renderer:z$,styles:Hy,init:t=>{if(t.sequence||(t.sequence={}),t.sequence.arrowMarkerAbsolute=t.arrowMarkerAbsolute,"sequenceDiagram"in t)throw new Error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.");jR.setWrap(t.wrap),z$.setConf(t.sequence)}},fR),ym("state",{parser:U$,db:DF,renderer:nz,styles:Uy,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,DF.clear()}},G$),ym("stateDiagram",{parser:U$,db:DF,renderer:Bz,styles:Uy,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,DF.clear()}},q$),ym("journey",{parser:Rz,db:Yz,renderer:wH,styles:Gy,init:t=>{wH.setConf(t.journey),Yz.clear()}},$z),ym("flowchart",{parser:JN,db:iP,renderer:CB,styles:jy,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,kB.setConf(t.flowchart),iP.clear(),iP.setGen("gen-1")}},tD),ym("flowchart-v2",{parser:JN,db:iP,renderer:CB,styles:jy,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,xy({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),CB.setConf(t.flowchart),iP.clear(),iP.setGen("gen-2")}},eD),ym("gitGraph",{parser:xm,db:qm,renderer:sv,styles:cv},km))};class AH{constructor(t,e){var n,i;this.txt=t,this.type="graph",this.detectTypeFailed=!1;const r=ky();this.txt=t;try{this.type=kp(t,r)}catch(s){this.handleError(s,e),this.type="error",this.detectTypeFailed=!0}const a=mm(this.type);h.debug("Type "+this.type),this.db=a.db,null==(i=(n=this.db).clear)||i.call(n),this.renderer=a.renderer,this.parser=a.parser;const o=this.parser.parse.bind(this.parser);this.parser.parse=t=>o(yp(t,this.db)),this.parser.parser.yy=this.db,a.init&&(a.init(r),h.info("Initialized diagram "+this.type,r)),this.txt+="\n",this.parse(this.txt,e)}parse(t,e){var n,i;if(this.detectTypeFailed)return!1;try{return t+="\n",null==(i=(n=this.db).clear)||i.call(n),this.parser.parse(t),!0}catch(r){this.handleError(r,e)}return!1}handleError(t,e){if(void 0===e)throw t;bw(t)?e(t.str,t.hash):e(t)}getParser(){return this.parser}getType(){return this.type}}const MH=(t,e)=>{const n=kp(t,ky());try{mm(n)}catch{const i=Tp(n);if(!i)throw new Error(`Diagram ${n} not found.`);return i().then((({diagram:i})=>(ym(n,i,void 0),new AH(t,e))))}return new AH(t,e)},IH=AH,OH="graphics-document document";function LH(t,e){t.attr("role",OH),MA(e)||t.attr("aria-roledescription",e)}function NH(t,e,n,i){if(void 0!==t.insert){if(!e&&!n)return;if(n){const e="chart-desc-"+i;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n)}if(e){const n="chart-title-"+i;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}const DH=["graph","flowchart","flowchart-v2","stateDiagram","stateDiagram-v2"],PH="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",BH="sandbox",jH="loose",RH="http://www.w3.org/2000/svg",$H="http://www.w3.org/1999/xlink",FH="http://www.w3.org/1999/xhtml",zH="100%",HH="100%",UH="border:0;margin:0;",GH="margin:0",qH="allow-top-navigation-by-user-activation allow-popups",KH='The "iframe" tag is not supported by your browser.',YH=["foreignobject"],WH=["dominant-baseline"];function XH(t,e){return SH(),new IH(t,e).parse(t,e)}async function VH(t,e){return SH(),(await MH(t,e)).parse(t,e)}const QH=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\ufb02\xb0\xb0"+e+"\xb6\xdf":"\ufb02\xb0"+e+"\xb6\xdf"})),e},ZH=function(t){let e=t;return e=e.replace(/\ufb02\xb0\xb0/g,"&#"),e=e.replace(/\ufb02\xb0/g,"&"),e=e.replace(/\xb6\xdf/g,";"),e},JH=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,tU=(t,e,n={})=>{var i;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!MA(n)&&DH.includes(e)){const e=t.htmlLabels||(null==(i=t.flowchart)?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in n){const i=n[t];MA(i.styles)||e.forEach((t=>{r+=JH(i.id,t,i.styles)})),MA(i.textStyles)||(r+=JH(i.id,"tspan",i.textStyles))}}return r},eU=(t,e,n,i)=>{const r=tU(t,e,n);return cy(iy(`${i}{${Wy(e,r,t.themeVariables)}}`),uy)},nU=(t="",e,n)=>{let i=t;return!n&&!e&&(i=i.replace(/marker-end="url\(.*?#/g,'marker-end="url(#')),i=ZH(i),i=i.replace(/<br>/g,"<br/>"),i},iU=(t="",e)=>{const n=e?e.viewBox.baseVal.height+"px":HH,i=btoa('<body style="'+GH+'">'+t+"</body>");return`<iframe style="width:${zH};height:${n};${UH}" src="data:text/html;base64,${i}" sandbox="${qH}">\n ${KH}\n</iframe>`},rU=(t,e,n,i,r)=>{const a=t.append("div");a.attr("id",n),i&&a.attr("style",i);const o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns",RH);return r&&o.attr("xmlns:xlink",r),o.append("g"),t};function aU(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const oU=(t,e,n,i)=>{var r,a,o;null==(r=t.getElementById(e))||r.remove(),null==(a=t.getElementById(n))||a.remove(),null==(o=t.getElementById(i))||o.remove()},sU=function(t,e,n,i){var r,a,o,s;SH(),Ty();const c=mw.detectInit(e);c&&(gw(c),Ey(c));const u=ky();h.debug(u),e.length>((null==u?void 0:u.maxTextSize)??5e4)&&(e=PH),e=e.replace(/\r\n?/g,"\n");const l="#"+t,f="i"+t,d="#"+f,g="d"+t,p="#"+g;let b=ln("body");const w=u.securityLevel===BH,y=u.securityLevel===jH,m=u.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),w){const t=aU(ln(i),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=ln(i);rU(b,t,g,`font-family: ${m}`,$H)}else{if(oU(document,t,g,f),w){const t=aU(ln("body"),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=ln("body");rU(b,t,g)}let v,x;e=QH(e);try{if(v=MH(e),"then"in v)throw new Error("Diagram is a promise. Use renderAsync.")}catch(O){v=new IH("error"),x=O}const k=b.select(p).node(),_=v.type,E=k.firstChild,T=E.firstChild,C=DH.includes(_)?v.renderer.getClasses(e,v):{},S=eU(u,_,C,l),A=document.createElement("style");A.innerHTML=S,E.insertBefore(A,T);try{v.renderer.draw(e,t,ly,v)}catch(O){throw mH.draw(e,t,ly),O}lU(_,b.select(`${p} svg`),null==(a=(r=v.db).getAccTitle)?void 0:a.call(r),null==(s=(o=v.db).getAccDescription)?void 0:s.call(o)),b.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",FH);let M=b.select(p).node().innerHTML;if(h.debug("config.arrowMarkerAbsolute",u.arrowMarkerAbsolute),M=nU(M,w,Qh(u.arrowMarkerAbsolute)),w){const t=b.select(p+" svg").node();M=iU(M,t)}else y||(M=Hh.sanitize(M,{ADD_TAGS:YH,ADD_ATTR:WH}));if(void 0!==n)switch(_){case"flowchart":case"flowchart-v2":n(M,iP.bindFunctions);break;case"gantt":n(M,mj.bindFunctions);break;case"class":case"classDiagram":n(M,Jx.bindFunctions);break;default:n(M)}else h.debug("CB = undefined!");FR();const I=ln(w?d:p).node();if(I&&"remove"in I&&I.remove(),x)throw x;return M},cU=async function(t,e,n,i){var r,a,o,s;SH(),Ty();const c=mw.detectInit(e);c&&(gw(c),Ey(c));const u=ky();h.debug(u),e.length>((null==u?void 0:u.maxTextSize)??5e4)&&(e=PH),e=e.replace(/\r\n?/g,"\n");const l="#"+t,f="i"+t,d="#"+f,g="d"+t,p="#"+g;let b=ln("body");const w=u.securityLevel===BH,y=u.securityLevel===jH,m=u.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),w){const t=aU(ln(i),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=ln(i);rU(b,t,g,`font-family: ${m}`,$H)}else{if(oU(document,t,g,f),w){const t=aU(ln("body"),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=ln("body");rU(b,t,g)}let v,x;e=QH(e);try{v=await MH(e)}catch(O){v=new IH("error"),x=O}const k=b.select(p).node(),_=v.type,E=k.firstChild,T=E.firstChild,C=DH.includes(_)?v.renderer.getClasses(e,v):{},S=eU(u,_,C,l),A=document.createElement("style");A.innerHTML=S,E.insertBefore(A,T);try{await v.renderer.draw(e,t,ly,v)}catch(O){throw mH.draw(e,t,ly),O}lU(_,b.select(`${p} svg`),null==(a=(r=v.db).getAccTitle)?void 0:a.call(r),null==(s=(o=v.db).getAccDescription)?void 0:s.call(o)),b.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",FH);let M=b.select(p).node().innerHTML;if(h.debug("config.arrowMarkerAbsolute",u.arrowMarkerAbsolute),M=nU(M,w,Qh(u.arrowMarkerAbsolute)),w){const t=b.select(p+" svg").node();M=iU(M,t)}else y||(M=Hh.sanitize(M,{ADD_TAGS:YH,ADD_ATTR:WH}));if(void 0!==n)switch(_){case"flowchart":case"flowchart-v2":n(M,iP.bindFunctions);break;case"gantt":n(M,mj.bindFunctions);break;case"class":case"classDiagram":n(M,Jx.bindFunctions);break;default:n(M)}else h.debug("CB = undefined!");FR();const I=ln(w?d:p).node();if(I&&"remove"in I&&I.remove(),x)throw x;return M};function uU(t={}){var e;null!=t&&t.fontFamily&&!(null!=(e=t.themeVariables)&&e.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),yy(t),null!=t&&t.theme&&t.theme in zf?t.themeVariables=zf[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=zf.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?wy(t):vy();f(n.logLevel),SH()}function lU(t,e,n,i){LH(e,t),NH(e,n,i,e.attr("id"))}const hU=Object.freeze({render:sU,renderAsync:cU,parse:XH,parseAsync:VH,parseDirective:cm,initialize:uU,getConfig:ky,setConfig:xy,getSiteConfig:vy,updateSiteConfig:my,reset:()=>{Ty()},globalReset:()=>{Ty(hy)},defaultConfig:hy});f(ky().logLevel),Ty(ky());const fU=async function(t,e,n){try{await bU(t,e,n)}catch(o){h.warn("Syntax Error rendering"),bw(o)&&h.warn(o.str),SU.parseError&&SU.parseError(o)}},dU=(t,e,n)=>{h.warn(t),bw(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},gU=function(t,e,n){const r=hU.getConfig();let a;if(t&&(SU.sequenceConfig=t),h.debug((n?"":"No ")+"Callback function found"),void 0===e)a=document.querySelectorAll(".mermaid");else if("string"==typeof e)a=document.querySelectorAll(e);else if(e instanceof HTMLElement)a=[e];else{if(!(e instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");a=e}h.debug(`Found ${a.length} diagrams`),void 0!==(null==t?void 0:t.startOnLoad)&&(h.debug("Start On Load: "+(null==t?void 0:t.startOnLoad)),hU.updateSiteConfig({startOnLoad:null==t?void 0:t.startOnLoad}));const o=new mw.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const c=[];for(const l of Array.from(a)){if(h.info("Rendering diagram: "+l.id),l.getAttribute("data-processed"))continue;l.setAttribute("data-processed","true");const t=`mermaid-${o.next()}`;s=l.innerHTML,s=i(mw.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const e=mw.detectInit(s);e&&h.debug("Detected early reinit: ",e);try{hU.render(t,s,((e,i)=>{l.innerHTML=e,void 0!==n&&n(t),i&&i(l)}),l)}catch(u){dU(u,c,SU.parseError)}}if(c.length>0)throw c[0]},pU=async(...t)=>{h.debug(`Loading ${t.length} external diagrams`);const e=(await Promise.allSettled(t.map((async({id:t,detector:e,loader:n})=>{const{diagram:i}=await n();ym(t,i,e)})))).filter((t=>"rejected"===t.status));if(e.length>0){h.error(`Failed to load ${e.length} external diagrams`);for(const t of e)h.error(t);throw new Error(`Failed to load ${e.length} external diagrams`)}},bU=async function(t,e,n){const r=hU.getConfig();let a;if(t&&(SU.sequenceConfig=t),h.debug((n?"":"No ")+"Callback function found"),void 0===e)a=document.querySelectorAll(".mermaid");else if("string"==typeof e)a=document.querySelectorAll(e);else if(e instanceof HTMLElement)a=[e];else{if(!(e instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");a=e}h.debug(`Found ${a.length} diagrams`),void 0!==(null==t?void 0:t.startOnLoad)&&(h.debug("Start On Load: "+(null==t?void 0:t.startOnLoad)),hU.updateSiteConfig({startOnLoad:null==t?void 0:t.startOnLoad}));const o=new mw.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const c=[];for(const l of Array.from(a)){if(h.info("Rendering diagram: "+l.id),l.getAttribute("data-processed"))continue;l.setAttribute("data-processed","true");const t=`mermaid-${o.next()}`;s=l.innerHTML,s=i(mw.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const e=mw.detectInit(s);e&&h.debug("Detected early reinit: ",e);try{await hU.renderAsync(t,s,((e,i)=>{l.innerHTML=e,void 0!==n&&n(t),i&&i(l)}),l)}catch(u){dU(u,c,SU.parseError)}}if(c.length>0)throw c[0]},wU=function(t){hU.initialize(t)},yU=async(t,{lazyLoad:e=!0}={})=>{e?_p(...t):await pU(...t)},mU=function(){if(SU.startOnLoad){const{startOnLoad:t}=hU.getConfig();t&&SU.init().catch((t=>h.error("Mermaid failed to initialize",t)))}};typeof document<"u"&&window.addEventListener("load",mU,!1);const vU=function(t){SU.parseError=t},xU=t=>hU.parse(t,SU.parseError),kU=[];let _U=!1;const EU=async()=>{if(!_U){for(_U=!0;kU.length>0;){const e=kU.shift();if(e)try{await e()}catch(t){h.error("Error executing queue",t)}}_U=!1}},TU=t=>new Promise(((e,n)=>{const i=()=>new Promise(((i,r)=>{hU.parseAsync(t,SU.parseError).then((t=>{i(t),e(t)}),(t=>{h.error("Error parsing",t),r(t),n(t)}))}));kU.push(i),EU().catch(n)})),CU=(t,e,n,i)=>new Promise(((r,a)=>{const o=()=>new Promise(((o,s)=>{hU.renderAsync(t,e,n,i).then((t=>{o(t),r(t)}),(t=>{h.error("Error parsing",t),s(t),a(t)}))}));kU.push(o),EU().catch(a)})),SU={startOnLoad:!0,diagrams:{},mermaidAPI:hU,parse:xU,parseAsync:TU,render:hU.render,renderAsync:CU,init:fU,initThrowsErrors:gU,initThrowsErrorsAsync:bU,registerExternalDiagrams:yU,initialize:wU,parseError:void 0,contentLoaded:mU,setParseErrorHandler:vU},AU=(t,e,n)=>{const{parentById:i}=n,r=new Set;let a=t;for(;a;){if(r.add(a),a===e)return a;a=i[a]}for(a=e;a;){if(r.has(a))return a;a=i[a]}return"root"};function MU(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var IU={};!function(t){var e;e=function(){return function(){function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){var c="function"==typeof MU&&MU;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[o]={exports:{}};e[o][0].call(l.exports,(function(t){return r(e[o][1][t]||t)}),l,l.exports,t,e,n,i)}return n[o].exports}for(var a="function"==typeof MU&&MU,o=0;o<i.length;o++)r(i[o]);return r}return t}()({1:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.defaultLayoutOptions,a=void 0===i?{}:i,s=n.algorithms,c=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,u=n.workerFactory,l=n.workerUrl;if(r(this,t),this.defaultLayoutOptions=a,this.initialized=!1,typeof l>"u"&&typeof u>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var h=u;typeof l<"u"&&typeof u>"u"&&(h=function(t){return new Worker(t)});var f=h(l);if("function"!=typeof f.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new o(f),this.worker.postMessage({cmd:"register",algorithms:c}).then((function(t){return e.initialized=!0})).catch(console.err)}return i(t,[{key:"layout",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.layoutOptions,i=void 0===n?this.defaultLayoutOptions:n,r=e.logging,a=void 0!==r&&r,o=e.measureExecutionTime,s=void 0!==o&&o;return t?this.worker.postMessage({cmd:"layout",graph:t,layoutOptions:i,options:{logging:a,measureExecutionTime:s}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),t}();n.default=a;var o=function(){function t(e){var n=this;if(r(this,t),void 0===e)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=e,this.worker.onmessage=function(t){setTimeout((function(){n.receive(n,t)}),0)}}return i(t,[{key:"postMessage",value:function(t){var e=this.id||0;this.id=e+1,t.id=e;var n=this;return new Promise((function(i,r){n.resolvers[e]=function(t,e){t?(n.convertGwtStyleError(t),r(t)):i(e)},n.worker.postMessage(t)}))}},{key:"receive",value:function(t,e){var n=e.data,i=t.resolvers[n.id];i&&(delete t.resolvers[n.id],n.error?i(n.error):i(null,n.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(t){if(t){var e=t.__java$exception;e&&(e.cause&&e.cause.backingJsObject&&(t.cause=e.cause.backingJsObject,this.convertGwtStyleError(t.cause)),delete t.__java$exception)}}}]),t}()},{}],2:[function(t,e,n){(function(t){(function(){var i;function r(){}function a(){}function o(){}function s(){}function c(){}function u(){}function l(){}function h(){}function f(){}function d(){}function g(){}function p(){}function b(){}function w(){}function y(){}function m(){}function v(){}function x(){}function k(){}function _(){}function E(){}function T(){}function C(){}function S(){}function A(){}function M(){}function I(){}function O(){}function L(){}function N(){}function D(){}function P(){}function B(){}function j(){}function R(){}function $(){}function F(){}function z(){}function H(){}function U(){}function G(){}function q(){}function K(){}function Y(){}function W(){}function X(){}function V(){}function Q(){}function Z(){}function J(){}function tt(){}function et(){}function nt(){}function it(){}function rt(){}function at(){}function ot(){}function st(){}function ct(){}function ut(){}function lt(){}function ht(){}function ft(){}function dt(){}function gt(){}function pt(){}function bt(){}function wt(){}function yt(){}function mt(){}function vt(){}function xt(){}function kt(){}function _t(){}function Et(){}function Tt(){}function Ct(){}function St(){}function At(){}function Mt(){}function It(){}function Ot(){}function Lt(){}function Nt(){}function Dt(){}function Pt(){}function Bt(){}function jt(){}function Rt(){}function $t(){}function Ft(){}function zt(){}function Ht(){}function Ut(){}function Gt(){}function qt(){}function Kt(){}function Yt(){}function Wt(){}function Xt(){}function Vt(){}function Qt(){}function Zt(){}function Jt(){}function te(){}function ee(){}function ne(){}function ie(){}function re(){}function ae(){}function oe(){}function se(){}function ce(){}function ue(){}function le(){}function he(){}function fe(){}function de(){}function ge(){}function pe(){}function be(){}function we(){}function ye(){}function me(){}function ve(){}function xe(){}function ke(){}function _e(){}function Ee(){}function Te(){}function Ce(){}function Se(){}function Ae(){}function Me(){}function Ie(){}function Oe(){}function Le(){}function Ne(){}function De(){}function Pe(){}function Be(){}function je(){}function Re(){}function $e(){}function Fe(){}function ze(){}function He(){}function Ue(){}function Ge(){}function qe(){}function Ke(){}function Ye(){}function We(){}function Xe(){}function Ve(){}function Qe(){}function Ze(){}function Je(){}function tn(){}function en(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function un(){}function ln(){}function hn(){}function fn(){}function dn(){}function gn(){}function pn(){}function bn(){}function wn(){}function yn(){}function mn(){}function vn(){}function xn(){}function kn(){}function _n(){}function En(){}function Tn(){}function Cn(){}function Sn(){}function An(){}function Mn(){}function In(){}function On(){}function Ln(){}function Nn(){}function Dn(){}function Pn(){}function Bn(){}function jn(){}function Rn(){}function $n(){}function Fn(){}function zn(){}function Hn(){}function Un(){}function Gn(){}function qn(){}function Kn(){}function Yn(){}function Wn(){}function Xn(){}function Vn(){}function Qn(){}function Zn(){}function Jn(){}function ti(){}function ei(){}function ni(){}function ii(){}function ri(){}function ai(){}function oi(){}function si(){}function ci(){}function ui(){}function li(){}function hi(){}function fi(){}function di(){}function gi(){}function pi(){}function bi(){}function wi(){}function yi(){}function mi(){}function vi(){}function xi(){}function ki(){}function _i(){}function Ei(){}function Ti(){}function Ci(){}function Si(){}function Ai(){}function Mi(){}function Ii(){}function Oi(){}function Li(){}function Ni(){}function Di(){}function Pi(){}function Bi(){}function ji(){}function Ri(){}function $i(){}function Fi(){}function zi(){}function Hi(){}function Ui(){}function Gi(){}function qi(){}function Ki(){}function Yi(){}function Wi(){}function Xi(){}function Vi(){}function Qi(){}function Zi(){}function Ji(){}function tr(){}function er(){}function nr(){}function ir(){}function rr(){}function ar(){}function or(){}function sr(){}function cr(){}function ur(){}function lr(){}function hr(){}function fr(){}function dr(){}function gr(){}function pr(){}function br(){}function wr(){}function yr(){}function mr(){}function vr(){}function xr(){}function kr(){}function _r(){}function Er(){}function Tr(){}function Cr(){}function Sr(){}function Ar(){}function Mr(){}function Ir(){}function Or(){}function Lr(){}function Nr(){}function Dr(){}function Pr(){}function Br(){}function jr(){}function Rr(){}function $r(){}function Fr(){}function zr(){}function Hr(){}function Ur(){}function Gr(){}function qr(){}function Kr(){}function Yr(){}function Wr(){}function Xr(){}function Vr(){}function Qr(){}function Zr(){}function Jr(){}function ta(){}function ea(){}function na(){}function ia(){}function ra(){}function aa(){}function oa(){}function sa(){}function ca(){}function ua(){}function la(){}function ha(){}function fa(){}function da(){}function ga(){}function pa(){}function ba(){}function wa(){}function ya(){}function ma(){}function va(){}function xa(){}function ka(){}function _a(){}function Ea(){}function Ta(){}function Ca(){}function Sa(){}function Aa(){}function Ma(){}function Ia(){}function Oa(){}function La(){}function Na(){}function Da(){}function Pa(){}function Ba(){}function ja(){}function Ra(){}function $a(){}function Fa(){}function za(){}function Ha(){}function Ua(){}function Ga(){}function qa(){}function Ka(){}function Ya(){}function Wa(){}function Xa(){}function Va(){}function Qa(){}function Za(){}function Ja(){}function to(){}function eo(){}function no(){}function io(){}function ro(){}function ao(){}function oo(){}function so(){}function co(){}function uo(){}function lo(){}function ho(){}function fo(){}function go(){}function po(){}function bo(){}function wo(){}function yo(){}function mo(){}function vo(){}function xo(){}function ko(){}function _o(){}function Eo(){}function To(){}function Co(){}function So(){}function Ao(){}function Mo(){}function Io(){}function Oo(){}function Lo(){}function No(){}function Do(){}function Po(){}function Bo(){}function jo(){}function Ro(){}function $o(){}function Fo(){}function zo(){}function Ho(){}function Uo(){}function Go(){}function qo(){}function Ko(){}function Yo(){}function Wo(){}function Xo(){}function Vo(){}function Qo(){}function Zo(){}function Jo(){}function ts(){}function es(){}function ns(){}function is(){}function rs(){}function as(){}function os(){}function ss(){}function cs(){}function us(){}function ls(){}function hs(){}function fs(){}function ds(){}function gs(){}function ps(){}function bs(){}function ws(){}function ys(){}function ms(){}function vs(){}function xs(){}function ks(){}function _s(){}function Es(){}function Ts(){}function Cs(){}function Ss(){}function As(){}function Ms(){}function Is(){}function Os(){}function Ls(){}function Ns(){}function Ds(){}function Ps(){}function Bs(){}function js(){}function Rs(){}function $s(){}function Fs(){}function zs(){}function Hs(){}function Us(){}function Gs(){}function qs(){}function Ks(){}function Ys(){}function Ws(){}function Xs(){}function Vs(){}function Qs(){}function Zs(){}function Js(){}function tc(){}function ec(){}function nc(){}function ic(){}function rc(){}function ac(){}function oc(){}function sc(){}function cc(){}function uc(){}function lc(){}function hc(){}function fc(){}function dc(){}function gc(){}function pc(){}function bc(){}function wc(){}function yc(){}function mc(){}function vc(){}function xc(){}function kc(){}function _c(){}function Ec(){}function Tc(){}function Cc(){}function Sc(){}function Ac(){}function Mc(){}function Ic(){}function Oc(){}function Lc(){}function Nc(){}function Dc(){}function Pc(){}function Bc(){}function jc(){}function Rc(){}function $c(){}function Fc(){}function zc(){}function Hc(){}function Uc(){}function Gc(){}function qc(){}function Kc(){}function Yc(){}function Wc(){}function Xc(){}function Vc(){}function Qc(){}function Zc(){}function Jc(){}function tu(){}function eu(){}function nu(){}function iu(){}function ru(){}function au(){}function ou(){}function su(){}function cu(){}function uu(){}function lu(){}function hu(){}function fu(){}function du(){}function gu(){}function pu(){}function bu(){}function wu(){}function yu(){}function mu(){}function vu(){}function xu(){}function ku(){}function _u(){}function Eu(){}function Tu(){}function Cu(){}function Su(){}function Au(){}function Mu(){}function Iu(){}function Ou(){}function Lu(){}function Nu(){}function Du(){}function Pu(){}function Bu(){}function ju(){}function Ru(){}function $u(){}function Fu(){}function zu(){}function Hu(){}function Uu(){}function Gu(){}function qu(){}function Ku(){}function Yu(){}function Wu(){}function Xu(){}function Vu(){}function Qu(){}function Zu(){}function Ju(){}function tl(){}function el(){}function nl(){}function il(){}function rl(){}function al(){}function ol(){}function sl(){}function cl(){}function ul(){}function ll(){}function hl(){}function fl(){}function dl(){}function gl(){}function pl(){}function bl(){}function wl(){}function yl(){}function ml(){}function vl(){}function xl(){}function kl(){}function _l(){}function El(){}function Tl(){}function Cl(){}function Sl(){}function Al(){}function Ml(){}function Il(){}function Ol(){}function Ll(){}function Nl(){}function Dl(){}function Pl(){}function Bl(){}function jl(){}function Rl(){}function $l(){ev()}function Fl(){Uut()}function zl(){kwt()}function Hl(){Rxt()}function Ul(){xCt()}function Gl(){ljt()}function ql(){jvt()}function Kl(){ixt()}function Yl(){xT()}function Wl(){wT()}function Xl(){z$()}function Vl(){kT()}function Ql(){Art()}function Zl(){ET()}function Jl(){S6()}function th(){Cit()}function eh(){W8()}function nh(){jJ()}function ih(){Gut()}function rh(){RTt()}function ah(){Sit()}function oh(){G2()}function sh(){lWt()}function ch(){Uvt()}function uh(){RJ()}function lh(){zYt()}function hh(){PJ()}function fh(){Ait()}function dh(){Vst()}function gh(){HJ()}function ph(){C7()}function bh(){TT()}function wh(){jOt()}function yh(){qvt()}function mh(){$at()}function vh(){ETt()}function xh(){fjt()}function kh(){Fyt()}function _h(){SOt()}function Eh(){Bot()}function Th(){FJ()}function Ch(){c$t()}function Sh(){OOt()}function Ah(){YLt()}function Mh(){N7()}function Ih(){TTt()}function Oh(){cWt()}function Lh(){Kut()}function Nh(){wpt()}function Dh(){Hzt()}function Ph(){a$()}function Bh(){dat()}function jh(){lFt()}function Rh(t){mW(t)}function $h(t){this.a=t}function Fh(t){this.a=t}function zh(t){this.a=t}function Hh(t){this.a=t}function Uh(t){this.a=t}function Gh(t){this.a=t}function qh(t){this.a=t}function Kh(t){this.a=t}function Yh(t){this.a=t}function Wh(t){this.a=t}function Xh(t){this.a=t}function Vh(t){this.a=t}function Qh(t){this.a=t}function Zh(t){this.a=t}function Jh(t){this.a=t}function tf(t){this.a=t}function ef(t){this.a=t}function nf(t){this.a=t}function rf(t){this.a=t}function af(t){this.a=t}function of(t){this.a=t}function sf(t){this.b=t}function cf(t){this.c=t}function uf(t){this.a=t}function lf(t){this.a=t}function hf(t){this.a=t}function ff(t){this.a=t}function df(t){this.a=t}function gf(t){this.a=t}function pf(t){this.a=t}function bf(t){this.a=t}function wf(t){this.a=t}function yf(t){this.a=t}function mf(t){this.a=t}function vf(t){this.a=t}function xf(t){this.a=t}function kf(t){this.a=t}function _f(t){this.a=t}function Ef(t){this.a=t}function Tf(t){this.a=t}function Cf(){this.a=[]}function Sf(t,e){t.a=e}function Af(t,e){t.a=e}function Mf(t,e){t.b=e}function If(t,e){t.b=e}function Of(t,e){t.b=e}function Lf(t,e){t.j=e}function Nf(t,e){t.g=e}function Df(t,e){t.i=e}function Pf(t,e){t.c=e}function Bf(t,e){t.d=e}function jf(t,e){t.d=e}function Rf(t,e){t.c=e}function $f(t,e){t.k=e}function Ff(t,e){t.c=e}function zf(t,e){t.c=e}function Hf(t,e){t.a=e}function Uf(t,e){t.a=e}function Gf(t,e){t.f=e}function qf(t,e){t.a=e}function Kf(t,e){t.b=e}function Yf(t,e){t.d=e}function Wf(t,e){t.i=e}function Xf(t,e){t.o=e}function Vf(t,e){t.r=e}function Qf(t,e){t.a=e}function Zf(t,e){t.b=e}function Jf(t,e){t.e=e}function td(t,e){t.f=e}function ed(t,e){t.g=e}function nd(t,e){t.e=e}function id(t,e){t.f=e}function rd(t,e){t.f=e}function ad(t,e){t.n=e}function od(t,e){t.a=e}function sd(t,e){t.a=e}function cd(t,e){t.c=e}function ud(t,e){t.c=e}function ld(t,e){t.d=e}function hd(t,e){t.e=e}function fd(t,e){t.g=e}function dd(t,e){t.a=e}function gd(t,e){t.c=e}function pd(t,e){t.d=e}function bd(t,e){t.e=e}function wd(t,e){t.f=e}function yd(t,e){t.j=e}function md(t,e){t.a=e}function vd(t,e){t.b=e}function xd(t,e){t.a=e}function kd(t){t.b=t.a}function _d(t){t.c=t.d.d}function Ed(t){this.d=t}function Td(t){this.a=t}function Cd(t){this.a=t}function Sd(t){this.a=t}function Ad(t){this.a=t}function Md(t){this.a=t}function Id(t){this.a=t}function Od(t){this.a=t}function Ld(t){this.a=t}function Nd(t){this.a=t}function Dd(t){this.a=t}function Pd(t){this.a=t}function Bd(t){this.a=t}function jd(t){this.a=t}function Rd(t){this.a=t}function $d(t){this.b=t}function Fd(t){this.b=t}function zd(t){this.b=t}function Hd(t){this.a=t}function Ud(t){this.a=t}function Gd(t){this.a=t}function qd(t){this.c=t}function Kd(t){this.c=t}function Yd(t){this.c=t}function Wd(t){this.a=t}function Xd(t){this.a=t}function Vd(t){this.a=t}function Qd(t){this.a=t}function Zd(t){this.a=t}function Jd(t){this.a=t}function tg(t){this.a=t}function eg(t){this.a=t}function ng(t){this.a=t}function ig(t){this.a=t}function rg(t){this.a=t}function ag(t){this.a=t}function og(t){this.a=t}function sg(t){this.a=t}function cg(t){this.a=t}function ug(t){this.a=t}function lg(t){this.a=t}function hg(t){this.a=t}function fg(t){this.a=t}function dg(t){this.a=t}function gg(t){this.a=t}function pg(t){this.a=t}function bg(t){this.a=t}function wg(t){this.a=t}function yg(t){this.a=t}function mg(t){this.a=t}function vg(t){this.a=t}function xg(t){this.a=t}function kg(t){this.a=t}function _g(t){this.a=t}function Eg(t){this.a=t}function Tg(t){this.a=t}function Cg(t){this.a=t}function Sg(t){this.a=t}function Ag(t){this.a=t}function Mg(t){this.a=t}function Ig(t){this.a=t}function Og(t){this.a=t}function Lg(t){this.a=t}function Ng(t){this.a=t}function Dg(t){this.a=t}function Pg(t){this.a=t}function Bg(t){this.a=t}function jg(t){this.a=t}function Rg(t){this.a=t}function $g(t){this.e=t}function Fg(t){this.a=t}function zg(t){this.a=t}function Hg(t){this.a=t}function Ug(t){this.a=t}function Gg(t){this.a=t}function qg(t){this.a=t}function Kg(t){this.a=t}function Yg(t){this.a=t}function Wg(t){this.a=t}function Xg(t){this.a=t}function Vg(t){this.a=t}function Qg(t){this.a=t}function Zg(t){this.a=t}function Jg(t){this.a=t}function tp(t){this.a=t}function ep(t){this.a=t}function np(t){this.a=t}function ip(t){this.a=t}function rp(t){this.a=t}function ap(t){this.a=t}function op(t){this.a=t}function sp(t){this.a=t}function cp(t){this.a=t}function up(t){this.a=t}function lp(t){this.a=t}function hp(t){this.a=t}function fp(t){this.a=t}function dp(t){this.a=t}function gp(t){this.a=t}function pp(t){this.a=t}function bp(t){this.a=t}function wp(t){this.a=t}function yp(t){this.a=t}function mp(t){this.a=t}function vp(t){this.a=t}function xp(t){this.a=t}function kp(t){this.a=t}function _p(t){this.a=t}function Ep(t){this.a=t}function Tp(t){this.a=t}function Cp(t){this.a=t}function Sp(t){this.a=t}function Ap(t){this.a=t}function Mp(t){this.a=t}function Ip(t){this.a=t}function Op(t){this.a=t}function Lp(t){this.a=t}function Np(t){this.a=t}function Dp(t){this.a=t}function Pp(t){this.a=t}function Bp(t){this.a=t}function jp(t){this.a=t}function Rp(t){this.a=t}function $p(t){this.c=t}function Fp(t){this.b=t}function zp(t){this.a=t}function Hp(t){this.a=t}function Up(t){this.a=t}function Gp(t){this.a=t}function qp(t){this.a=t}function Kp(t){this.a=t}function Yp(t){this.a=t}function Wp(t){this.a=t}function Xp(t){this.a=t}function Vp(t){this.a=t}function Qp(t){this.a=t}function Zp(t){this.a=t}function Jp(t){this.a=t}function tb(t){this.a=t}function eb(t){this.a=t}function nb(t){this.a=t}function ib(t){this.a=t}function rb(t){this.a=t}function ab(t){this.a=t}function ob(t){this.a=t}function sb(t){this.a=t}function cb(t){this.a=t}function ub(t){this.a=t}function lb(t){this.a=t}function hb(t){this.a=t}function fb(t){this.a=t}function db(t){this.a=t}function gb(t){this.a=t}function pb(t){this.a=t}function bb(t){this.a=t}function wb(t){this.a=t}function yb(t){this.a=t}function mb(t){this.a=t}function vb(t){this.a=t}function xb(t){this.a=t}function kb(t){this.a=t}function _b(t){this.a=t}function Eb(t){this.a=t}function Tb(t){this.a=t}function Cb(t){this.a=t}function Sb(t){this.a=t}function Ab(t){this.a=t}function Mb(t){this.a=t}function Ib(t){this.a=t}function Ob(t){this.a=t}function Lb(t){this.a=t}function Nb(t){this.a=t}function Db(t){this.a=t}function Pb(t){this.a=t}function Bb(t){this.a=t}function jb(t){this.a=t}function Rb(t){this.a=t}function $b(t){this.a=t}function Fb(t){this.a=t}function zb(t){this.a=t}function Hb(t){this.a=t}function Ub(t){this.a=t}function Gb(t){this.a=t}function qb(t){this.a=t}function Kb(t){this.a=t}function Yb(t){this.a=t}function Wb(t){this.a=t}function Xb(t){this.a=t}function Vb(t){this.a=t}function Qb(t){this.a=t}function Zb(t){this.a=t}function Jb(t){this.a=t}function tw(t){this.a=t}function ew(t){this.a=t}function nw(t){this.a=t}function iw(t){this.a=t}function rw(t){this.a=t}function aw(t){this.b=t}function ow(t){this.f=t}function sw(t){this.a=t}function cw(t){this.a=t}function uw(t){this.a=t}function lw(t){this.a=t}function hw(t){this.a=t}function fw(t){this.a=t}function dw(t){this.a=t}function gw(t){this.a=t}function pw(t){this.a=t}function bw(t){this.a=t}function ww(t){this.a=t}function yw(t){this.b=t}function mw(t){this.c=t}function vw(t){this.e=t}function xw(t){this.a=t}function kw(t){this.a=t}function _w(t){this.a=t}function Ew(t){this.a=t}function Tw(t){this.a=t}function Cw(t){this.d=t}function Sw(t){this.a=t}function Aw(t){this.a=t}function Mw(t){this.e=t}function Iw(){this.a=0}function Ow(){DO(this)}function Lw(){NO(this)}function Nw(){IK(this)}function Dw(){fX(this)}function Pw(){}function Bw(){this.c=ILe}function jw(t,e){e.Wb(t)}function Rw(t,e){t.b+=e}function $w(t){t.b=new ox}function Fw(t){return t.e}function zw(t){return t.a}function Hw(t){return t.a}function Uw(t){return t.a}function Gw(t){return t.a}function qw(t){return t.a}function Kw(){return null}function Yw(){return null}function Ww(){r_(),gYt()}function Xw(t){t.b.tf(t.e)}function Vw(t,e){t.b=e-t.b}function Qw(t,e){t.a=e-t.a}function Zw(t,e){e.ad(t.a)}function Jw(t,e){HAt(e,t)}function ty(t,e,n){t.Od(n,e)}function ey(t,e){t.e=e,e.b=t}function ny(t){s$(),this.a=t}function iy(t){s$(),this.a=t}function ry(t){s$(),this.a=t}function ay(t){KY(),this.a=t}function oy(t){TQ(),eee.be(t)}function sy(){gD.call(this)}function cy(){gD.call(this)}function uy(){sy.call(this)}function ly(){sy.call(this)}function hy(){sy.call(this)}function fy(){sy.call(this)}function dy(){sy.call(this)}function gy(){sy.call(this)}function py(){sy.call(this)}function by(){sy.call(this)}function wy(){sy.call(this)}function yy(){sy.call(this)}function my(){sy.call(this)}function vy(){this.a=this}function xy(){this.Bb|=256}function ky(){this.b=new TI}function _y(){_y=I,new Nw}function Ey(){uy.call(this)}function Ty(t,e){t.length=e}function Cy(t,e){Kz(t.a,e)}function Sy(t,e){qCt(t.c,e)}function Ay(t,e){kK(t.b,e)}function My(t,e){Ayt(t.a,e)}function Iy(t,e){Mft(t.a,e)}function Oy(t,e){fot(t.e,e)}function Ly(t){IIt(t.c,t.b)}function Ny(t,e){t.kc().Nb(e)}function Dy(t){this.a=pdt(t)}function Py(){this.a=new Nw}function By(){this.a=new Nw}function jy(){this.a=new Lw}function Ry(){this.a=new Lw}function $y(){this.a=new Lw}function Fy(){this.a=new vt}function zy(){this.a=new m6}function Hy(){this.a=new fe}function Uy(){this.a=new KE}function Gy(){this.a=new D0}function qy(){this.a=new iJ}function Ky(){this.a=new Mj}function Yy(){this.a=new Lw}function Wy(){this.a=new Lw}function Xy(){this.a=new Lw}function Vy(){this.a=new Lw}function Qy(){this.d=new Lw}function Zy(){this.a=new Py}function Jy(){this.a=new Nw}function tm(){this.b=new Nw}function em(){this.b=new Lw}function nm(){this.e=new Lw}function im(){this.d=new Lw}function rm(){this.a=new rh}function am(){Lw.call(this)}function om(){jy.call(this)}function sm(){Lj.call(this)}function cm(){Wy.call(this)}function um(){lm.call(this)}function lm(){Pw.call(this)}function hm(){Pw.call(this)}function fm(){hm.call(this)}function dm(){dQ.call(this)}function gm(){dQ.call(this)}function pm(){Km.call(this)}function bm(){Km.call(this)}function wm(){Km.call(this)}function ym(){Ym.call(this)}function mm(){XE.call(this)}function vm(){ic.call(this)}function xm(){ic.call(this)}function km(){Zm.call(this)}function _m(){Zm.call(this)}function Em(){Nw.call(this)}function Tm(){Nw.call(this)}function Cm(){Nw.call(this)}function Sm(){Py.call(this)}function Am(){xit.call(this)}function Mm(){xy.call(this)}function Im(){AN.call(this)}function Om(){AN.call(this)}function Lm(){Nw.call(this)}function Nm(){Nw.call(this)}function Dm(){Nw.call(this)}function Pm(){vc.call(this)}function Bm(){vc.call(this)}function jm(){Pm.call(this)}function Rm(){Bl.call(this)}function $m(t){get.call(this,t)}function Fm(t){get.call(this,t)}function zm(t){Yh.call(this,t)}function Hm(t){_E.call(this,t)}function Um(t){Hm.call(this,t)}function Gm(t){_E.call(this,t)}function qm(){this.a=new XE}function Km(){this.a=new Py}function Ym(){this.a=new Nw}function Wm(){this.a=new Lw}function Xm(){this.j=new Lw}function Vm(){this.a=new Wo}function Qm(){this.a=new O_}function Zm(){this.a=new mc}function Jm(){Jm=I,Rte=new Nx}function tv(){tv=I,jte=new Lx}function ev(){ev=I,Mte=new a}function nv(){nv=I,qte=new iD}function iv(t){Hm.call(this,t)}function rv(t){Hm.call(this,t)}function av(t){d4.call(this,t)}function ov(t){d4.call(this,t)}function sv(t){YR.call(this,t)}function cv(t){mCt.call(this,t)}function uv(t){CE.call(this,t)}function lv(t){AE.call(this,t)}function hv(t){AE.call(this,t)}function fv(t){AE.call(this,t)}function dv(t){uq.call(this,t)}function gv(t){dv.call(this,t)}function pv(){Tf.call(this,{})}function bv(t){CN(),this.a=t}function wv(t){t.b=null,t.c=0}function yv(t,e){t.e=e,SPt(t,e)}function mv(t,e){t.a=e,aAt(t)}function vv(t,e,n){t.a[e.g]=n}function xv(t,e,n){dkt(n,t,e)}function kv(t,e){Qj(e.i,t.n)}function _v(t,e){cut(t).td(e)}function Ev(t,e){return t*t/e}function Tv(t,e){return t.g-e.g}function Cv(t){return new Ef(t)}function Sv(t){return new HY(t)}function Av(t){dv.call(this,t)}function Mv(t){dv.call(this,t)}function Iv(t){dv.call(this,t)}function Ov(t){uq.call(this,t)}function Lv(t){Rat(),this.a=t}function Nv(t){r$(),this.a=t}function Dv(t){RG(),this.f=t}function Pv(t){RG(),this.f=t}function Bv(t){dv.call(this,t)}function jv(t){dv.call(this,t)}function Rv(t){dv.call(this,t)}function $v(t){dv.call(this,t)}function Fv(t){dv.call(this,t)}function zv(t){return mW(t),t}function Hv(t){return mW(t),t}function Uv(t){return mW(t),t}function Gv(t){return mW(t),t}function qv(t){return mW(t),t}function Kv(t){return t.b==t.c}function Yv(t){return!!t&&t.b}function Wv(t){return!!t&&t.k}function Xv(t){return!!t&&t.j}function Vv(t){mW(t),this.a=t}function Qv(t){return Zct(t),t}function Zv(t){bK(t,t.length)}function Jv(t){dv.call(this,t)}function tx(t){dv.call(this,t)}function ex(t){dv.call(this,t)}function nx(t){dv.call(this,t)}function ix(t){dv.call(this,t)}function rx(t){dv.call(this,t)}function ax(t){QD.call(this,t,0)}function ox(){o1.call(this,12,3)}function sx(){sx=I,tee=new k}function cx(){cx=I,Vte=new r}function ux(){ux=I,iee=new b}function lx(){lx=I,uee=new y}function hx(){throw Fw(new py)}function fx(){throw Fw(new py)}function dx(){throw Fw(new py)}function gx(){throw Fw(new py)}function px(){throw Fw(new py)}function bx(){throw Fw(new py)}function wx(){this.a=EB(yY($Wt))}function yx(t){s$(),this.a=yY(t)}function mx(t,e){t.Td(e),e.Sd(t)}function vx(t,e){t.a.ec().Mc(e)}function xx(t,e,n){t.c.lf(e,n)}function kx(t){Mv.call(this,t)}function _x(t){jv.call(this,t)}function Ex(){Md.call(this,"")}function Tx(){Md.call(this,"")}function Cx(){Md.call(this,"")}function Sx(){Md.call(this,"")}function Ax(t){Mv.call(this,t)}function Mx(t){Fd.call(this,t)}function Ix(t){hD.call(this,t)}function Ox(t){Mx.call(this,t)}function Lx(){Zh.call(this,null)}function Nx(){Zh.call(this,null)}function Dx(){Dx=I,TQ()}function Px(){Px=I,mne=y_t()}function Bx(t){return t.a?t.b:0}function jx(t){return t.a?t.b:0}function Rx(t,e){return t.a-e.a}function $x(t,e){return t.a-e.a}function Fx(t,e){return t.a-e.a}function zx(t,e){return w9(t,e)}function Hx(t,e){return gJ(t,e)}function Ux(t,e){return e in t.a}function Gx(t,e){return t.f=e,t}function qx(t,e){return t.b=e,t}function Kx(t,e){return t.c=e,t}function Yx(t,e){return t.g=e,t}function Wx(t,e){return t.a=e,t}function Xx(t,e){return t.f=e,t}function Vx(t,e){return t.k=e,t}function Qx(t,e){return t.a=e,t}function Zx(t,e){return t.e=e,t}function Jx(t,e){return t.e=e,t}function tk(t,e){return t.f=e,t}function ek(t,e){t.b=!0,t.d=e}function nk(t,e){t.b=new fO(e)}function ik(t,e,n){e.td(t.a[n])}function rk(t,e,n){e.we(t.a[n])}function ak(t,e){return t.b-e.b}function ok(t,e){return t.g-e.g}function sk(t,e){return t.s-e.s}function ck(t,e){return t?0:e-1}function uk(t,e){return t?0:e-1}function lk(t,e){return t?e-1:0}function hk(t,e){return e.Yf(t)}function fk(t,e){return t.b=e,t}function dk(t,e){return t.a=e,t}function gk(t,e){return t.c=e,t}function pk(t,e){return t.d=e,t}function bk(t,e){return t.e=e,t}function wk(t,e){return t.f=e,t}function yk(t,e){return t.a=e,t}function mk(t,e){return t.b=e,t}function vk(t,e){return t.c=e,t}function xk(t,e){return t.c=e,t}function kk(t,e){return t.b=e,t}function _k(t,e){return t.d=e,t}function Ek(t,e){return t.e=e,t}function Tk(t,e){return t.f=e,t}function Ck(t,e){return t.g=e,t}function Sk(t,e){return t.a=e,t}function Ak(t,e){return t.i=e,t}function Mk(t,e){return t.j=e,t}function Ik(t,e){return t.k=e,t}function Ok(t,e){return t.j=e,t}function Lk(t,e){RTt(),CJ(e,t)}function Nk(t,e,n){HG(t.a,e,n)}function Dk(t){$X.call(this,t)}function Pk(t){$X.call(this,t)}function Bk(t){ZR.call(this,t)}function jk(t){Hdt.call(this,t)}function Rk(t){pet.call(this,t)}function $k(t){pV.call(this,t)}function Fk(t){pV.call(this,t)}function zk(){AL.call(this,"")}function Hk(){this.a=0,this.b=0}function Uk(){this.b=0,this.a=0}function Gk(t,e){t.b=0,Nnt(t,e)}function qk(t,e){t.c=e,t.b=!0}function Kk(t,e){return t.c._b(e)}function Yk(t){return t.e&&t.e()}function Wk(t){return t?t.d:null}function Xk(t,e){return pht(t.b,e)}function Vk(t){return t?t.g:null}function Qk(t){return t?t.i:null}function Zk(t){return xB(t),t.o}function Jk(){Jk=I,dIe=Kxt()}function t_(){t_=I,gIe=sEt()}function e_(){e_=I,QOe=Wxt()}function n_(){n_=I,fNe=Yxt()}function i_(){i_=I,dNe=nAt()}function r_(){r_=I,uOe=rit()}function a_(){throw Fw(new py)}function o_(){throw Fw(new py)}function s_(){throw Fw(new py)}function c_(){throw Fw(new py)}function u_(){throw Fw(new py)}function l_(){throw Fw(new py)}function h_(t){this.a=new qE(t)}function f_(t){hKt(),PYt(this,t)}function d_(t){this.a=new Kq(t)}function g_(t,e){for(;t.ye(e););}function p_(t,e){for(;t.sd(e););}function b_(t,e){return t.a+=e,t}function w_(t,e){return t.a+=e,t}function y_(t,e){return t.a+=e,t}function m_(t,e){return t.a+=e,t}function v_(t){return xW(t),t.a}function x_(t){return t.b!=t.d.c}function k_(t){return t.l|t.m<<22}function __(t,e){return t.d[e.p]}function E_(t,e){return TPt(t,e)}function T_(t,e,n){t.splice(e,n)}function C_(t){t.c?NBt(t):DBt(t)}function S_(t){this.a=0,this.b=t}function A_(){this.a=new SDt(Zxe)}function M_(){this.b=new SDt(zve)}function I_(){this.b=new SDt(q_e)}function O_(){this.b=new SDt(q_e)}function L_(){throw Fw(new py)}function N_(){throw Fw(new py)}function D_(){throw Fw(new py)}function P_(){throw Fw(new py)}function B_(){throw Fw(new py)}function j_(){throw Fw(new py)}function R_(){throw Fw(new py)}function $_(){throw Fw(new py)}function F_(){throw Fw(new py)}function z_(){throw Fw(new py)}function H_(){throw Fw(new yy)}function U_(){throw Fw(new yy)}function G_(t){this.a=new q_(t)}function q_(t){Uit(this,t,M_t())}function K_(t){return!t||pW(t)}function Y_(t){return-1!=qNe[t]}function W_(){0!=ree&&(ree=0),oee=-1}function X_(){null==CWt&&(CWt=[])}function V_(t,e){tOt(WV(t.a),e)}function Q_(t,e){tOt(WV(t.a),e)}function Z_(t,e){FN.call(this,t,e)}function J_(t,e){Z_.call(this,t,e)}function tE(t,e){this.b=t,this.c=e}function eE(t,e){this.b=t,this.a=e}function nE(t,e){this.a=t,this.b=e}function iE(t,e){this.a=t,this.b=e}function rE(t,e){this.a=t,this.b=e}function aE(t,e){this.a=t,this.b=e}function oE(t,e){this.a=t,this.b=e}function sE(t,e){this.a=t,this.b=e}function cE(t,e){this.a=t,this.b=e}function uE(t,e){this.a=t,this.b=e}function lE(t,e){this.b=t,this.a=e}function hE(t,e){this.b=t,this.a=e}function fE(t,e){this.b=t,this.a=e}function dE(t,e){this.b=t,this.a=e}function gE(t,e){this.f=t,this.g=e}function pE(t,e){this.e=t,this.d=e}function bE(t,e){this.g=t,this.i=e}function wE(t,e){this.a=t,this.b=e}function yE(t,e){this.a=t,this.f=e}function mE(t,e){this.b=t,this.c=e}function vE(t,e){this.a=t,this.b=e}function xE(t,e){this.a=t,this.b=e}function kE(t,e){this.a=t,this.b=e}function _E(t){rD(t.dc()),this.c=t}function EE(t){this.b=$z(yY(t),83)}function TE(t){this.a=$z(yY(t),83)}function CE(t){this.a=$z(yY(t),15)}function SE(t){this.a=$z(yY(t),15)}function AE(t){this.b=$z(yY(t),47)}function ME(){this.q=new i.Date}function IE(){IE=I,Fee=new O}function OE(){OE=I,hne=new S}function LE(t){return t.f.c+t.g.c}function NE(t,e){return t.b.Hc(e)}function DE(t,e){return t.b.Ic(e)}function PE(t,e){return t.b.Qc(e)}function BE(t,e){return t.b.Hc(e)}function jE(t,e){return t.c.uc(e)}function RE(t,e){return t.a._b(e)}function $E(t,e){return Nht(t.c,e)}function FE(t,e){return cK(t.b,e)}function zE(t,e){return t>e&&e<MXt}function HE(t,e){return t.Gc(e),t}function UE(t,e){return $rt(t,e),t}function GE(t){return qY(),t?cee:see}function qE(t){Jst.call(this,t,0)}function KE(){Kq.call(this,null)}function YE(){$8.call(this,null)}function WE(t){this.c=t,Mtt(this)}function XE(){TL(this),yV(this)}function VE(t,e){xW(t),t.a.Nb(e)}function QE(t,e){return t.Gc(e),t}function ZE(t,e){return t.a.f=e,t}function JE(t,e){return t.a.d=e,t}function tT(t,e){return t.a.g=e,t}function eT(t,e){return t.a.j=e,t}function nT(t,e){return t.a.a=e,t}function iT(t,e){return t.a.d=e,t}function rT(t,e){return t.a.e=e,t}function aT(t,e){return t.a.g=e,t}function oT(t,e){return t.a.f=e,t}function sT(t){return t.b=!1,t}function cT(){cT=I,Tne=new CI}function uT(){uT=I,Cne=new SI}function lT(){lT=I,Fne=new K}function hT(){hT=I,bse=new je}function fT(){fT=I,iae=new SP}function dT(){dT=I,Jne=new ut}function gT(){gT=I,mse=new Re}function pT(){pT=I,sie=new gt}function bT(){bT=I,Hoe=new me}function wT(){wT=I,Rse=new Hk}function yT(){yT=I,Uoe=new Ce}function mT(){mT=I,Woe=new DG}function vT(){vT=I,cse=new Ee}function xT(){xT=I,$se=new dn}function kT(){kT=I,Zce=new Qn}function _T(){_T=I,fue=new Nr}function ET(){ET=I,Wue=new ra}function TT(){TT=I,Kxe=new $2}function CT(){CT=I,K_e=new OT}function ST(){ST=I,X_e=new bB}function AT(){AT=I,UEe=new qW}function MT(){MT=I,Kwe=new Xs}function IT(){Tit(),this.c=new ox}function OT(){gE.call(this,z1t,0)}function LT(t,e){Qbt(t.c.b,e.c,e)}function NT(t,e){Qbt(t.c.c,e.b,e)}function DT(t,e,n){wJ(t.d,e.f,n)}function PT(t,e,n,i){Qwt(t,i,e,n)}function BT(t,e,n,i){oDt(i,t,e,n)}function jT(t,e,n,i){sKt(i,t,e,n)}function RT(t,e){return t.a=e.g,t}function $T(t,e){return ext(t.a,e)}function FT(t){return t.b?t.b:t.a}function zT(t){return(t.c+t.a)/2}function HT(){HT=I,lIe=new nc}function UT(){UT=I,CIe=new hc}function GT(){GT=I,DOe=new Tm}function qT(){qT=I,UOe=new Cm}function KT(){KT=I,HOe=new Lm}function YT(){YT=I,VOe=new Dm}function WT(){WT=I,OLe=new UL}function XT(){XT=I,LLe=new GL}function VT(){VT=I,eNe=new Du}function QT(){QT=I,iNe=new Pu}function ZT(){ZT=I,bOe=new Nw}function JT(){JT=I,KLe=new Lw}function tC(){tC=I,kDe=new Rl}function eC(t){i.clearTimeout(t)}function nC(t){this.a=$z(yY(t),224)}function iC(t){return $z(t,42).cd()}function rC(t){return t.b<t.d.gc()}function aC(t,e){return CG(t.a,e)}function oC(t,e){return Wlt(t,e)>0}function sC(t,e){return Wlt(t,e)<0}function cC(t,e){return t.a.get(e)}function uC(t,e){return e.split(t)}function lC(t,e){return cK(t.e,e)}function hC(t){return mW(t),!1}function fC(t){f1.call(this,t,21)}function dC(t,e){jZ.call(this,t,e)}function gC(t,e){gE.call(this,t,e)}function pC(t,e){gE.call(this,t,e)}function bC(t){YY(),YR.call(this,t)}function wC(t,e){vG(t,t.length,e)}function yC(t,e){WK(t,t.length,e)}function mC(t,e,n){e.ud(t.a.Ge(n))}function vC(t,e,n){e.we(t.a.Fe(n))}function xC(t,e,n){e.td(t.a.Kb(n))}function kC(t,e,n){t.Mb(n)&&e.td(n)}function _C(t,e,n){t.splice(e,0,n)}function EC(t,e){return ED(t.e,e)}function TC(t,e){this.d=t,this.e=e}function CC(t,e){this.b=t,this.a=e}function SC(t,e){this.b=t,this.a=e}function AC(t,e){this.b=t,this.a=e}function MC(t,e){this.a=t,this.b=e}function IC(t,e){this.a=t,this.b=e}function OC(t,e){this.a=t,this.b=e}function LC(t,e){this.a=t,this.b=e}function NC(t,e){this.a=t,this.b=e}function DC(t,e){this.b=t,this.a=e}function PC(t,e){this.b=t,this.a=e}function BC(t,e){gE.call(this,t,e)}function jC(t,e){gE.call(this,t,e)}function RC(t,e){gE.call(this,t,e)}function $C(t,e){gE.call(this,t,e)}function FC(t,e){gE.call(this,t,e)}function zC(t,e){gE.call(this,t,e)}function HC(t,e){gE.call(this,t,e)}function UC(t,e){gE.call(this,t,e)}function GC(t,e){gE.call(this,t,e)}function qC(t,e){gE.call(this,t,e)}function KC(t,e){gE.call(this,t,e)}function YC(t,e){gE.call(this,t,e)}function WC(t,e){gE.call(this,t,e)}function XC(t,e){gE.call(this,t,e)}function VC(t,e){gE.call(this,t,e)}function QC(t,e){gE.call(this,t,e)}function ZC(t,e){gE.call(this,t,e)}function JC(t,e){gE.call(this,t,e)}function tS(t,e){this.a=t,this.b=e}function eS(t,e){this.a=t,this.b=e}function nS(t,e){this.a=t,this.b=e}function iS(t,e){this.a=t,this.b=e}function rS(t,e){this.a=t,this.b=e}function aS(t,e){this.a=t,this.b=e}function oS(t,e){this.a=t,this.b=e}function sS(t,e){this.a=t,this.b=e}function cS(t,e){this.a=t,this.b=e}function uS(t,e){this.b=t,this.a=e}function lS(t,e){this.b=t,this.a=e}function hS(t,e){this.b=t,this.a=e}function fS(t,e){this.b=t,this.a=e}function dS(t,e){this.c=t,this.d=e}function gS(t,e){this.e=t,this.d=e}function pS(t,e){this.a=t,this.b=e}function bS(t,e){this.b=e,this.c=t}function wS(t,e){gE.call(this,t,e)}function yS(t,e){gE.call(this,t,e)}function mS(t,e){gE.call(this,t,e)}function vS(t,e){gE.call(this,t,e)}function xS(t,e){gE.call(this,t,e)}function kS(t,e){gE.call(this,t,e)}function _S(t,e){gE.call(this,t,e)}function ES(t,e){gE.call(this,t,e)}function TS(t,e){gE.call(this,t,e)}function CS(t,e){gE.call(this,t,e)}function SS(t,e){gE.call(this,t,e)}function AS(t,e){gE.call(this,t,e)}function MS(t,e){gE.call(this,t,e)}function IS(t,e){gE.call(this,t,e)}function OS(t,e){gE.call(this,t,e)}function LS(t,e){gE.call(this,t,e)}function NS(t,e){gE.call(this,t,e)}function DS(t,e){gE.call(this,t,e)}function PS(t,e){gE.call(this,t,e)}function BS(t,e){gE.call(this,t,e)}function jS(t,e){gE.call(this,t,e)}function RS(t,e){gE.call(this,t,e)}function $S(t,e){gE.call(this,t,e)}function FS(t,e){gE.call(this,t,e)}function zS(t,e){gE.call(this,t,e)}function HS(t,e){gE.call(this,t,e)}function US(t,e){gE.call(this,t,e)}function GS(t,e){gE.call(this,t,e)}function qS(t,e){gE.call(this,t,e)}function KS(t,e){gE.call(this,t,e)}function YS(t,e){gE.call(this,t,e)}function WS(t,e){gE.call(this,t,e)}function XS(t,e){gE.call(this,t,e)}function VS(t,e){gE.call(this,t,e)}function QS(t,e){this.b=t,this.a=e}function ZS(t,e){this.a=t,this.b=e}function JS(t,e){this.a=t,this.b=e}function tA(t,e){this.a=t,this.b=e}function eA(t,e){this.a=t,this.b=e}function nA(t,e){gE.call(this,t,e)}function iA(t,e){gE.call(this,t,e)}function rA(t,e){this.b=t,this.d=e}function aA(t,e){gE.call(this,t,e)}function oA(t,e){gE.call(this,t,e)}function sA(t,e){this.a=t,this.b=e}function cA(t,e){this.a=t,this.b=e}function uA(t,e){gE.call(this,t,e)}function lA(t,e){gE.call(this,t,e)}function hA(t,e){gE.call(this,t,e)}function fA(t,e){gE.call(this,t,e)}function dA(t,e){gE.call(this,t,e)}function gA(t,e){gE.call(this,t,e)}function pA(t,e){gE.call(this,t,e)}function bA(t,e){gE.call(this,t,e)}function wA(t,e){gE.call(this,t,e)}function yA(t,e){gE.call(this,t,e)}function mA(t,e){gE.call(this,t,e)}function vA(t,e){gE.call(this,t,e)}function xA(t,e){gE.call(this,t,e)}function kA(t,e){gE.call(this,t,e)}function _A(t,e){gE.call(this,t,e)}function EA(t,e){gE.call(this,t,e)}function TA(t,e){return ED(t.c,e)}function CA(t,e){return ED(e.b,t)}function SA(t,e){return-t.b.Je(e)}function AA(t,e){return ED(t.g,e)}function MA(t,e){gE.call(this,t,e)}function IA(t,e){gE.call(this,t,e)}function OA(t,e){this.a=t,this.b=e}function LA(t,e){this.a=t,this.b=e}function NA(t,e){this.a=t,this.b=e}function DA(t,e){gE.call(this,t,e)}function PA(t,e){gE.call(this,t,e)}function BA(t,e){gE.call(this,t,e)}function jA(t,e){gE.call(this,t,e)}function RA(t,e){gE.call(this,t,e)}function $A(t,e){gE.call(this,t,e)}function FA(t,e){gE.call(this,t,e)}function zA(t,e){gE.call(this,t,e)}function HA(t,e){gE.call(this,t,e)}function UA(t,e){gE.call(this,t,e)}function GA(t,e){gE.call(this,t,e)}function qA(t,e){gE.call(this,t,e)}function KA(t,e){gE.call(this,t,e)}function YA(t,e){gE.call(this,t,e)}function WA(t,e){gE.call(this,t,e)}function XA(t,e){gE.call(this,t,e)}function VA(t,e){this.a=t,this.b=e}function QA(t,e){this.a=t,this.b=e}function ZA(t,e){this.a=t,this.b=e}function JA(t,e){this.a=t,this.b=e}function tM(t,e){this.a=t,this.b=e}function eM(t,e){this.a=t,this.b=e}function nM(t,e){this.a=t,this.b=e}function iM(t,e){gE.call(this,t,e)}function rM(t,e){this.a=t,this.b=e}function aM(t,e){this.a=t,this.b=e}function oM(t,e){this.a=t,this.b=e}function sM(t,e){this.a=t,this.b=e}function cM(t,e){this.a=t,this.b=e}function uM(t,e){this.a=t,this.b=e}function lM(t,e){this.b=t,this.a=e}function hM(t,e){this.b=t,this.a=e}function fM(t,e){this.b=t,this.a=e}function dM(t,e){this.b=t,this.a=e}function gM(t,e){this.a=t,this.b=e}function pM(t,e){this.a=t,this.b=e}function bM(t,e){QNt(t.a,$z(e,56))}function wM(t,e){b9(t.a,$z(e,11))}function yM(t,e){return cH(),e!=t}function mM(){return Px(),new mne}function vM(){zJ(),this.b=new Py}function xM(){gPt(),this.a=new Py}function kM(){BJ(),BG.call(this)}function _M(t,e){gE.call(this,t,e)}function EM(t,e){this.a=t,this.b=e}function TM(t,e){this.a=t,this.b=e}function CM(t,e){this.a=t,this.b=e}function SM(t,e){this.a=t,this.b=e}function AM(t,e){this.a=t,this.b=e}function MM(t,e){this.a=t,this.b=e}function IM(t,e){this.d=t,this.b=e}function OM(t,e){this.d=t,this.e=e}function LM(t,e){this.f=t,this.c=e}function NM(t,e){this.b=t,this.c=e}function DM(t,e){this.i=t,this.g=e}function PM(t,e){this.e=t,this.a=e}function BM(t,e){this.a=t,this.b=e}function jM(t,e){t.i=null,art(t,e)}function RM(t,e){t&&YW(sOe,t,e)}function $M(t,e){return ipt(t.a,e)}function FM(t){return apt(t.c,t.b)}function zM(t){return t?t.dd():null}function HM(t){return t??null}function UM(t){return typeof t===OWt}function GM(t){return typeof t===LWt}function qM(t){return typeof t===NWt}function KM(t,e){return t.Hd().Xb(e)}function YM(t,e){return Xat(t.Kc(),e)}function WM(t,e){return 0==Wlt(t,e)}function XM(t,e){return Wlt(t,e)>=0}function VM(t,e){return 0!=Wlt(t,e)}function QM(t){return""+(mW(t),t)}function ZM(t,e){return t.substr(e)}function JM(t){return Gdt(t),t.d.gc()}function tI(t){return GIt(t,t.c),t}function eI(t){return VH(null==t),t}function nI(t,e){return t.a+=""+e,t}function iI(t,e){return t.a+=""+e,t}function rI(t,e){return t.a+=""+e,t}function aI(t,e){return t.a+=""+e,t}function oI(t,e){return t.a+=""+e,t}function sI(t,e){return t.a+=""+e,t}function cI(t,e){n5(t,e,t.a,t.a.a)}function uI(t,e){n5(t,e,t.c.b,t.c)}function lI(t,e,n){jkt(e,BSt(t,n))}function hI(t,e,n){jkt(e,BSt(t,n))}function fI(t,e){ktt(new MN(t),e)}function dI(t,e){t.q.setTime(v2(e))}function gI(t,e){Uq.call(this,t,e)}function pI(t,e){Uq.call(this,t,e)}function bI(t,e){Uq.call(this,t,e)}function wI(t){IK(this),_at(this,t)}function yI(t){return l1(t,0),null}function mI(t){return t.a=0,t.b=0,t}function vI(t,e){return t.a=e.g+1,t}function xI(t,e){return 2==t.j[e.p]}function kI(t){return sY($z(t,79))}function _I(){_I=I,Mre=hlt(twt())}function EI(){EI=I,Qce=hlt(kDt())}function TI(){this.b=new qE(tet(12))}function CI(){this.b=0,this.a=!1}function SI(){this.b=0,this.a=!1}function AI(t){this.a=t,$l.call(this)}function MI(t){this.a=t,$l.call(this)}function II(t,e){ej.call(this,t,e)}function OI(t,e){Jj.call(this,t,e)}function LI(t,e){DM.call(this,t,e)}function NI(t,e){Iot.call(this,t,e)}function DI(t,e){WD.call(this,t,e)}function PI(t,e){ZT(),YW(bOe,t,e)}function BI(t,e){return uP(t.a,0,e)}function jI(t,e){return t.a.a.a.cc(e)}function RI(t,e){return HM(t)===HM(e)}function $I(t,e){return Cft(t.a,e.a)}function FI(t,e){return xL(t.a,e.a)}function zI(t,e){return RK(t.a,e.a)}function HI(t,e){return t.indexOf(e)}function UI(t,e){return t==e?0:t?1:-1}function GI(t){return t<10?"0"+t:""+t}function qI(t){return yY(t),new AI(t)}function KI(t){return _L(t.l,t.m,t.h)}function YI(t){return CZ((mW(t),t))}function WI(t){return CZ((mW(t),t))}function XI(t,e){return xL(t.g,e.g)}function VI(t){return typeof t===LWt}function QI(t){return t==Zoe||t==ese}function ZI(t){return t==Zoe||t==Joe}function JI(t){return x9(t.b.b,t,0)}function tO(t){this.a=mM(),this.b=t}function eO(t){this.a=mM(),this.b=t}function nO(t,e){return Kz(t.a,e),e}function iO(t,e){return Kz(t.c,e),t}function rO(t,e){return Qat(t.a,e),t}function aO(t,e){return H$(),e.a+=t}function oO(t,e){return H$(),e.a+=t}function sO(t,e){return H$(),e.c+=t}function cO(t,e){U7(t,0,t.length,e)}function uO(){tg.call(this,new b4)}function lO(){aG.call(this,0,0,0,0)}function hO(){GX.call(this,0,0,0,0)}function fO(t){this.a=t.a,this.b=t.b}function dO(t){return t==RSe||t==$Se}function gO(t){return t==zSe||t==jSe}function pO(t){return t==lye||t==uye}function bO(t){return t!=XAe&&t!=VAe}function wO(t){return t.Lg()&&t.Mg()}function yO(t){return wX($z(t,118))}function mO(t){return Qat(new $2,t)}function vO(t,e){return new Iot(e,t)}function xO(t,e){return new Iot(e,t)}function kO(t,e,n){xnt(t,e),knt(t,n)}function _O(t,e,n){Tnt(t,e),Ent(t,n)}function EO(t,e,n){Cnt(t,e),Snt(t,n)}function TO(t,e,n){_nt(t,e),Mnt(t,n)}function CO(t,e,n){Ant(t,e),Int(t,n)}function SO(t,e){Put(t,e),Dnt(t,t.D)}function AO(t){LM.call(this,t,!0)}function MO(t,e,n){LB.call(this,t,e,n)}function IO(t){MBt(),cot.call(this,t)}function OO(){gC.call(this,"Head",1)}function LO(){gC.call(this,"Tail",3)}function NO(t){t.c=N8(Ite,zWt,1,0,5,1)}function DO(t){t.a=N8(Ite,zWt,1,8,5,1)}function PO(t){Met(t.xf(),new Eg(t))}function BO(t){return null!=t?Jct(t):0}function jO(t,e){return Set(e,KZ(t))}function RO(t,e){return Set(e,KZ(t))}function $O(t,e){return t[t.length]=e}function FO(t,e){return t[t.length]=e}function zO(t){return Rz(t.b.Kc(),t.a)}function HO(t,e){return qit(TY(t.d),e)}function UO(t,e){return qit(TY(t.g),e)}function GO(t,e){return qit(TY(t.j),e)}function qO(t,e){ej.call(this,t.b,e)}function KO(t){aG.call(this,t,t,t,t)}function YO(t){return t.b&&Wzt(t),t.a}function WO(t){return t.b&&Wzt(t),t.c}function XO(t,e){qne||(t.b=e)}function VO(t,e,n){return IY(t,e,n),n}function QO(t,e,n){IY(t.c[e.g],e.g,n)}function ZO(t,e,n){$z(t.c,69).Xh(e,n)}function JO(t,e,n){EO(n,n.i+t,n.j+e)}function tL(t,e){u7(r4(t.a),t1(e))}function eL(t,e){u7(F9(t.a),e1(e))}function nL(t){dWt(),Mw.call(this,t)}function iL(t){return null==t?0:Jct(t)}function rL(){rL=I,sve=new zdt(tAe)}function aL(){aL=I,new oL,new Lw}function oL(){new Nw,new Nw,new Nw}function sL(){sL=I,_y(),nee=new Nw}function cL(){cL=I,i.Math.log(2)}function uL(){uL=I,UT(),DLe=CIe}function lL(){throw Fw(new Jv(_te))}function hL(){throw Fw(new Jv(_te))}function fL(){throw Fw(new Jv(Ete))}function dL(){throw Fw(new Jv(Ete))}function gL(t){this.a=t,Wz.call(this,t)}function pL(t){this.a=t,EE.call(this,t)}function bL(t){this.a=t,EE.call(this,t)}function wL(t,e){yG(t.c,t.c.length,e)}function yL(t){return t.a<t.c.c.length}function mL(t){return t.a<t.c.a.length}function vL(t,e){return t.a?t.b:e.De()}function xL(t,e){return t<e?-1:t>e?1:0}function kL(t,e){return Wlt(t,e)>0?t:e}function _L(t,e,n){return{l:t,m:e,h:n}}function EL(t,e){null!=t.a&&wM(e,t.a)}function TL(t){t.a=new L,t.c=new L}function CL(t){this.b=t,this.a=new Lw}function SL(t){this.b=new ee,this.a=t}function AL(t){Oj.call(this),this.a=t}function ML(){gC.call(this,"Range",2)}function IL(){tkt(),this.a=new SDt(Goe)}function OL(t,e){yY(e),xX(t).Jc(new d)}function LL(t,e){return $J(),e.n.b+=t}function NL(t,e,n){return YW(t.g,n,e)}function DL(t,e,n){return YW(t.k,n,e)}function PL(t,e){return YW(t.a,e.a,e)}function BL(t,e,n){return Apt(e,n,t.c)}function jL(t){return new NA(t.c,t.d)}function RL(t){return new NA(t.c,t.d)}function $L(t){return new NA(t.a,t.b)}function FL(t,e){return tqt(t.a,e,null)}function zL(t){EJ(t,null),_J(t,null)}function HL(t){KJ(t,null),YJ(t,null)}function UL(){WD.call(this,null,null)}function GL(){XD.call(this,null,null)}function qL(t){this.a=t,Nw.call(this)}function KL(t){this.b=(EV(),new qd(t))}function YL(t){t.j=N8($ee,cXt,310,0,0,1)}function WL(t,e,n){t.c.Vc(e,$z(n,133))}function XL(t,e,n){t.c.ji(e,$z(n,133))}function VL(t,e){cUt(t),t.Gc($z(e,15))}function QL(t,e){return FUt(t.c,t.b,e)}function ZL(t,e){return new pD(t.Kc(),e)}function JL(t,e){return-1!=$st(t.Kc(),e)}function tN(t,e){return null!=t.a.Bc(e)}function eN(t){return t.Ob()?t.Pb():null}function nN(t){return Fpt(t,0,t.length)}function iN(t,e){return null!=t&&Xwt(t,e)}function rN(t,e){t.q.setHours(e),hzt(t,e)}function aN(t,e){t.c&&(PH(e),mZ(e))}function oN(t,e,n){$z(t.Kb(n),164).Nb(e)}function sN(t,e,n){return zGt(t,e,n),n}function cN(t,e,n){t.a=1502^e,t.b=n^aQt}function uN(t,e,n){return t.a[e.g][n.g]}function lN(t,e){return t.a[e.c.p][e.p]}function hN(t,e){return t.e[e.c.p][e.p]}function fN(t,e){return t.c[e.c.p][e.p]}function dN(t,e){return t.j[e.p]=bNt(e)}function gN(t,e){return u6(t.f,e.tg())}function pN(t,e){return u6(t.b,e.tg())}function bN(t,e){return t.a<qR(e)?-1:1}function wN(t,e,n){return n?0!=e:e!=t-1}function yN(t,e,n){return t.a=e,t.b=n,t}function mN(t,e){return t.a*=e,t.b*=e,t}function vN(t,e,n){return IY(t.g,e,n),n}function xN(t,e,n,i){IY(t.a[e.g],n.g,i)}function kN(t,e){jP(e,t.a.a.a,t.a.a.b)}function _N(t){t.a=$z(mot(t.b.a,4),126)}function EN(t){t.a=$z(mot(t.b.a,4),126)}function TN(t){AQ(t,n8t),zNt(t,AKt(t))}function CN(){CN=I,Ene=new bv(null)}function SN(){(SN=I)(),Ine=new q}function AN(){this.Bb|=256,this.Bb|=512}function MN(t){this.i=t,this.f=this.i.j}function IN(t,e,n){yH.call(this,t,e,n)}function ON(t,e,n){IN.call(this,t,e,n)}function LN(t,e,n){IN.call(this,t,e,n)}function NN(t,e,n){ON.call(this,t,e,n)}function DN(t,e,n){yH.call(this,t,e,n)}function PN(t,e,n){yH.call(this,t,e,n)}function BN(t,e,n){_H.call(this,t,e,n)}function jN(t,e,n){_H.call(this,t,e,n)}function RN(t,e,n){BN.call(this,t,e,n)}function $N(t,e,n){DN.call(this,t,e,n)}function FN(t,e){this.a=t,EE.call(this,e)}function zN(t,e){this.a=t,ax.call(this,e)}function HN(t,e){this.a=t,ax.call(this,e)}function UN(t,e){this.a=t,ax.call(this,e)}function GN(t){this.a=t,cf.call(this,t.d)}function qN(t){this.c=t,this.a=this.c.a}function KN(t,e){this.a=e,ax.call(this,t)}function YN(t,e){this.a=e,d4.call(this,t)}function WN(t,e){this.a=t,d4.call(this,e)}function XN(t,e){return fq(hq(t.c)).Xb(e)}function VN(t,e){return edt(t,new Cx,e).a}function QN(t,e){return yY(e),new ZN(t,e)}function ZN(t,e){this.a=e,AE.call(this,t)}function JN(t){this.b=t,this.a=this.b.a.e}function tD(t){t.b.Qb(),--t.d.f.d,IG(t.d)}function eD(t){Zh.call(this,$z(yY(t),35))}function nD(t){Zh.call(this,$z(yY(t),35))}function iD(){gE.call(this,"INSTANCE",0)}function rD(t){if(!t)throw Fw(new fy)}function aD(t){if(!t)throw Fw(new dy)}function oD(t){if(!t)throw Fw(new yy)}function sD(){sD=I,VT(),nNe=new jh}function cD(){cD=I,wee=!1,yee=!0}function uD(t){Md.call(this,(mW(t),t))}function lD(t){Md.call(this,(mW(t),t))}function hD(t){Fd.call(this,t),this.a=t}function fD(t){zd.call(this,t),this.a=t}function dD(t){Mx.call(this,t),this.a=t}function gD(){YL(this),vV(this),this._d()}function pD(t,e){this.a=e,AE.call(this,t)}function bD(t,e){return new jSt(t.a,t.b,e)}function wD(t,e){return t.lastIndexOf(e)}function yD(t,e,n){return t.indexOf(e,n)}function mD(t){return null==t?GWt:Fdt(t)}function vD(t){return null==t?null:t.name}function xD(t){return null!=t.a?t.a:null}function kD(t){return x_(t.a)?a1(t):null}function _D(t,e){return null!=IZ(t.a,e)}function ED(t,e){return!!e&&t.b[e.g]==e}function TD(t){return t.$H||(t.$H=++iie)}function CD(t){return t.l+t.m*AVt+t.h*MVt}function SD(t,e){return Kz(e.a,t.a),t.a}function AD(t,e){return Kz(e.b,t.a),t.a}function MD(t,e){return Kz(e.a,t.a),t.a}function ID(t){return TP(null!=t.a),t.a}function OD(t){tg.call(this,new z8(t))}function LD(t,e){Tbt.call(this,t,e,null)}function ND(t){this.a=t,$d.call(this,t)}function DD(){DD=I,Ore=new ej(gZt,0)}function PD(t,e){return++t.b,Kz(t.a,e)}function BD(t,e){return++t.b,y9(t.a,e)}function jD(t,e){return Cft(t.n.a,e.n.a)}function RD(t,e){return Cft(t.c.d,e.c.d)}function $D(t,e){return Cft(t.c.c,e.c.c)}function FD(t,e){return $z(c6(t.b,e),15)}function zD(t,e){return t.n.b=(mW(e),e)}function HD(t,e){return t.n.b=(mW(e),e)}function UD(t){return yL(t.a)||yL(t.b)}function GD(t,e,n){return p3(t,e,n,t.b)}function qD(t,e,n){return p3(t,e,n,t.c)}function KD(t,e,n){$z(D9(t,e),21).Fc(n)}function YD(t,e,n){Mft(t.a,n),Ayt(t.a,e)}function WD(t,e){WT(),this.a=t,this.b=e}function XD(t,e){XT(),this.b=t,this.c=e}function VD(t,e){RG(),this.f=e,this.d=t}function QD(t,e){f6(e,t),this.d=t,this.c=e}function ZD(t){var e;e=t.a,t.a=t.b,t.b=e}function JD(t){return H$(),!!t&&!t.dc()}function tP(t){return new c4(3,t)}function eP(t,e){return new hR(t,t.gc(),e)}function nP(t){return nv(),Ctt((DJ(),Kte),t)}function iP(t){this.d=t,MN.call(this,t)}function rP(t){this.c=t,MN.call(this,t)}function aP(t){this.c=t,iP.call(this,t)}function oP(){_T(),this.b=new yp(this)}function sP(t){return hit(t,IXt),new V6(t)}function cP(t){return TQ(),parseInt(t)||-1}function uP(t,e,n){return t.substr(e,n-e)}function lP(t,e,n){return yD(t,VEt(e),n)}function hP(t){return YK(t.c,t.c.length)}function fP(t){return null!=t.f?t.f:""+t.g}function dP(t){return null!=t.f?t.f:""+t.g}function gP(t){return TP(0!=t.b),t.a.a.c}function pP(t){return TP(0!=t.b),t.c.b.c}function bP(t){iN(t,150)&&$z(t,150).Gh()}function wP(t){return t.b=$z(wV(t.a),42)}function yP(t){cT(),this.b=t,this.a=!0}function mP(t){uT(),this.b=t,this.a=!0}function vP(t){t.d=new CP(t),t.e=new Nw}function xP(t){if(!t)throw Fw(new by)}function kP(t){if(!t)throw Fw(new fy)}function _P(t){if(!t)throw Fw(new dy)}function EP(t){if(!t)throw Fw(new ly)}function TP(t){if(!t)throw Fw(new yy)}function CP(t){Zz.call(this,t,null,null)}function SP(){gE.call(this,"POLYOMINO",0)}function AP(t,e,n,i){sq.call(this,t,e,n,i)}function MP(t,e){return RTt(),QMt(t,e.e,e)}function IP(t,e,n){return MT(),n.qg(t,e)}function OP(t,e){return!!t.q&&cK(t.q,e)}function LP(t,e){return t>0?e*e/t:e*e*100}function NP(t,e){return t>0?e/(t*t):100*e}function DP(t,e,n){return Kz(e,sgt(t,n))}function PP(t,e,n){N7(),t.Xe(e)&&n.td(t)}function BP(t,e,n){t.Zc(e).Rb(n)}function jP(t,e,n){return t.a+=e,t.b+=n,t}function RP(t,e,n){return t.a*=e,t.b*=n,t}function $P(t,e,n){return t.a-=e,t.b-=n,t}function FP(t,e){return t.a=e.a,t.b=e.b,t}function zP(t){return t.a=-t.a,t.b=-t.b,t}function HP(t){this.c=t,this.a=1,this.b=1}function UP(t){this.c=t,Cnt(t,0),Snt(t,0)}function GP(t){XE.call(this),Jnt(this,t)}function qP(t){BYt(),$w(this),this.mf(t)}function KP(t,e){WT(),WD.call(this,t,e)}function YP(t,e){XT(),XD.call(this,t,e)}function WP(t,e){XT(),XD.call(this,t,e)}function XP(t,e){XT(),YP.call(this,t,e)}function VP(t,e,n){y7.call(this,t,e,n,2)}function QP(t,e){uL(),iG.call(this,t,e)}function ZP(t,e){uL(),QP.call(this,t,e)}function JP(t,e){uL(),QP.call(this,t,e)}function tB(t,e){uL(),JP.call(this,t,e)}function eB(t,e){uL(),iG.call(this,t,e)}function nB(t,e){uL(),eB.call(this,t,e)}function iB(t,e){uL(),iG.call(this,t,e)}function rB(t,e){return t.c.Fc($z(e,133))}function aB(t,e,n){return NHt(R9(t,e),n)}function oB(t,e,n){return e.Qk(t.e,t.c,n)}function sB(t,e,n){return e.Rk(t.e,t.c,n)}function cB(t,e){return tht(t.e,$z(e,49))}function uB(t,e,n){cft(F9(t.a),e,e1(n))}function lB(t,e,n){cft(r4(t.a),e,t1(n))}function hB(t,e){e.$modCount=t.$modCount}function fB(){fB=I,Yxe=new aw("root")}function dB(){dB=I,gOe=new km,new _m}function gB(){this.a=new pZ,this.b=new pZ}function pB(){xit.call(this),this.Bb|=FVt}function bB(){gE.call(this,"GROW_TREE",0)}function wB(t){return null==t?null:dKt(t)}function yB(t){return null==t?null:LCt(t)}function mB(t){return null==t?null:Fdt(t)}function vB(t){return null==t?null:Fdt(t)}function xB(t){null==t.o&&pLt(t)}function kB(t){return VH(null==t||UM(t)),t}function _B(t){return VH(null==t||GM(t)),t}function EB(t){return VH(null==t||qM(t)),t}function TB(t){this.q=new i.Date(v2(t))}function CB(t,e){this.c=t,pE.call(this,t,e)}function SB(t,e){this.a=t,CB.call(this,t,e)}function AB(t,e){this.d=t,_d(this),this.b=e}function MB(t,e){$8.call(this,t),this.a=e}function IB(t,e){$8.call(this,t),this.a=e}function OB(t){Hgt.call(this,0,0),this.f=t}function LB(t,e,n){K6.call(this,t,e,n,null)}function NB(t,e,n){K6.call(this,t,e,n,null)}function DB(t,e,n){return t.ue(e,n)<=0?n:e}function PB(t,e,n){return t.ue(e,n)<=0?e:n}function BB(t,e){return $z(ltt(t.b,e),149)}function jB(t,e){return $z(ltt(t.c,e),229)}function RB(t){return $z(NU(t.a,t.b),287)}function $B(t){return new NA(t.c,t.d+t.a)}function FB(t){return $J(),pO($z(t,197))}function zB(){zB=I,Ire=Jft((ypt(),RMe))}function HB(t,e){e.a?$Pt(t,e):_D(t.a,e.b)}function UB(t,e){qne||Kz(t.a,e)}function GB(t,e){return wT(),dot(e.d.i,t)}function qB(t,e){return Art(),new rRt(e,t)}function KB(t,e){return AQ(e,oZt),t.f=e,t}function YB(t,e,n){return n=_$t(t,e,3,n)}function WB(t,e,n){return n=_$t(t,e,6,n)}function XB(t,e,n){return n=_$t(t,e,9,n)}function VB(t,e,n){++t.j,t.Ki(),O8(t,e,n)}function QB(t,e,n){++t.j,t.Hi(e,t.oi(e,n))}function ZB(t,e,n){t.Zc(e).Rb(n)}function JB(t,e,n){return Zzt(t.c,t.b,e,n)}function tj(t,e){return(e&PWt)%t.d.length}function ej(t,e){aw.call(this,t),this.a=e}function nj(t,e){mw.call(this,t),this.a=e}function ij(t,e){mw.call(this,t),this.a=e}function rj(t,e){this.c=t,pet.call(this,e)}function aj(t,e){this.a=t,yw.call(this,e)}function oj(t,e){this.a=t,yw.call(this,e)}function sj(t){this.a=(hit(t,IXt),new V6(t))}function cj(t){this.a=(hit(t,IXt),new V6(t))}function uj(t){return!t.a&&(t.a=new g),t.a}function lj(t){return t>8?0:t+1}function hj(t,e){return cD(),t==e?0:t?1:-1}function fj(t,e,n){return wG(t,$z(e,22),n)}function dj(t,e,n){return t.apply(e,n)}function gj(t,e,n){return t.a+=Fpt(e,0,n),t}function pj(t,e){var n;return n=t.e,t.e=e,n}function bj(t,e){t[nQt].call(t,e)}function wj(t,e){t[nQt].call(t,e)}function yj(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1}function mj(t){IK(t.e),t.d.b=t.d,t.d.a=t.d}function vj(t){t.b?vj(t.b):t.f.c.zc(t.e,t.d)}function xj(t,e,n){dT(),Sf(t,e.Ce(t.a,n))}function kj(t,e){return Wk(Ept(t.a,e,!0))}function _j(t,e){return Wk(Tpt(t.a,e,!0))}function Ej(t,e){return zx(new Array(e),t)}function Tj(t){return String.fromCharCode(t)}function Cj(t){return null==t?null:t.message}function Sj(){this.a=new Lw,this.b=new Lw}function Aj(){this.a=new fe,this.b=new ky}function Mj(){this.b=new Hk,this.c=new Lw}function Ij(){this.d=new Hk,this.e=new Hk}function Oj(){this.n=new Hk,this.o=new Hk}function Lj(){this.n=new hm,this.i=new hO}function Nj(){this.a=new Zl,this.b=new sa}function Dj(){this.a=new Lw,this.d=new Lw}function Pj(){this.b=new Py,this.a=new Py}function Bj(){this.b=new Nw,this.a=new Nw}function jj(){this.b=new M_,this.a=new bo}function Rj(){Lj.call(this),this.a=new Hk}function $j(t){Mot.call(this,t,(Q7(),Nne))}function Fj(t,e,n,i){aG.call(this,t,e,n,i)}function zj(t,e,n){null!=n&&Lit(e,Imt(t,n))}function Hj(t,e,n){null!=n&&Nit(e,Imt(t,n))}function Uj(t,e,n){return n=_$t(t,e,11,n)}function Gj(t,e){return t.a+=e.a,t.b+=e.b,t}function qj(t,e){return t.a-=e.a,t.b-=e.b,t}function Kj(t,e){return t.n.a=(mW(e),e+10)}function Yj(t,e){return t.n.a=(mW(e),e+10)}function Wj(t,e){return e==t||Tkt(SNt(e),t)}function Xj(t,e){return null==YW(t.a,e,"")}function Vj(t,e){return wT(),!dot(e.d.i,t)}function Qj(t,e){dO(t.f)?rLt(t,e):AEt(t,e)}function Zj(t,e){return e.Hh(t.a)}function Jj(t,e){Mv.call(this,e7t+t+s8t+e)}function tR(t,e,n,i){tK.call(this,t,e,n,i)}function eR(t,e,n,i){tK.call(this,t,e,n,i)}function nR(t,e,n,i){eR.call(this,t,e,n,i)}function iR(t,e,n,i){eK.call(this,t,e,n,i)}function rR(t,e,n,i){eK.call(this,t,e,n,i)}function aR(t,e,n,i){eK.call(this,t,e,n,i)}function oR(t,e,n,i){rR.call(this,t,e,n,i)}function sR(t,e,n,i){rR.call(this,t,e,n,i)}function cR(t,e,n,i){aR.call(this,t,e,n,i)}function uR(t,e,n,i){sR.call(this,t,e,n,i)}function lR(t,e,n,i){Qq.call(this,t,e,n,i)}function hR(t,e,n){this.a=t,QD.call(this,e,n)}function fR(t,e,n){this.c=e,this.b=n,this.a=t}function dR(t,e,n){return t.d=$z(e.Kb(n),164)}function gR(t,e){return t.Aj().Nh().Kh(t,e)}function pR(t,e){return t.Aj().Nh().Ih(t,e)}function bR(t,e){return mW(t),HM(t)===HM(e)}function wR(t,e){return mW(t),HM(t)===HM(e)}function yR(t,e){return Wk(Ept(t.a,e,!1))}function mR(t,e){return Wk(Tpt(t.a,e,!1))}function vR(t,e){return t.b.sd(new IC(t,e))}function xR(t,e){return t.b.sd(new OC(t,e))}function kR(t,e){return t.b.sd(new LC(t,e))}function _R(t,e,n){return t.lastIndexOf(e,n)}function ER(t,e,n){return Cft(t[e.b],t[n.b])}function TR(t,e){return uct(e,(zYt(),Ppe),t)}function CR(t,e){return xL(e.a.d.p,t.a.d.p)}function SR(t,e){return xL(t.a.d.p,e.a.d.p)}function AR(t,e){return Cft(t.c-t.s,e.c-e.s)}function MR(t){return t.c?x9(t.c.a,t,0):-1}function IR(t){return t<100?null:new Rk(t)}function OR(t){return t==qAe||t==YAe||t==KAe}function LR(t,e){return iN(e,15)&&XBt(t.c,e)}function NR(t,e){qne||e&&(t.d=e)}function DR(t,e){return!!hut(t,e)}function PR(t,e){this.c=t,HK.call(this,t,e)}function BR(t){this.c=t,bI.call(this,fXt,0)}function jR(t,e){Vz.call(this,t,t.length,e)}function RR(t,e,n){return $z(t.c,69).lk(e,n)}function $R(t,e,n){return $z(t.c,69).mk(e,n)}function FR(t,e,n){return oB(t,$z(e,332),n)}function zR(t,e,n){return sB(t,$z(e,332),n)}function HR(t,e,n){return A_t(t,$z(e,332),n)}function UR(t,e,n){return XEt(t,$z(e,332),n)}function GR(t,e){return null==e?null:hht(t.b,e)}function qR(t){return GM(t)?(mW(t),t):t.ke()}function KR(t){return!isNaN(t)&&!isFinite(t)}function YR(t){s$(),this.a=(EV(),new Mx(t))}function WR(t){cH(),this.d=t,this.a=new Ow}function XR(t,e,n){this.a=t,this.b=e,this.c=n}function VR(t,e,n){this.a=t,this.b=e,this.c=n}function QR(t,e,n){this.d=t,this.b=n,this.a=e}function ZR(t){TL(this),yV(this),$rt(this,t)}function JR(t){NO(this),Jz(this.c,0,t.Pc())}function t$(t){uW(t.a),U8(t.c,t.b),t.b=null}function e$(t){this.a=t,IE(),lot(Date.now())}function n$(){n$=I,eie=new r,nie=new r}function i$(){i$=I,kne=new N,_ne=new D}function r$(){r$=I,hOe=N8(Ite,zWt,1,0,5,1)}function a$(){a$=I,kLe=N8(Ite,zWt,1,0,5,1)}function o$(){o$=I,_Le=N8(Ite,zWt,1,0,5,1)}function s$(){s$=I,new ny((EV(),EV(),cne))}function c$(t){return Q7(),Ctt((Z7(),jne),t)}function u$(t){return Hut(),Ctt((t8(),Qne),t)}function l$(t){return uwt(),Ctt((S4(),pie),t)}function h$(t){return Ptt(),Ctt((A4(),mie),t)}function f$(t){return tjt(),Ctt((Dot(),Rie),t)}function d$(t){return Pet(),Ctt((Q6(),Kie),t)}function g$(t){return V7(),Ctt((Z6(),Jie),t)}function p$(t){return H9(),Ctt((J6(),are),t)}function b$(t){return gWt(),Ctt((_I(),Mre),t)}function w$(t){return Pot(),Ctt((t9(),jre),t)}function y$(t){return zwt(),Ctt((e9(),Ure),t)}function m$(t){return Hwt(),Ctt((n9(),eae),t)}function v$(t){return fT(),Ctt((W2(),rae),t)}function x$(t){return Btt(),Ctt((M4(),jae),t)}function k$(t){return z9(),Ctt((e8(),Ooe),t)}function _$(t){return mTt(),Ctt((qtt(),zoe),t)}function E$(t){return Ist(),Ctt((J7(),nse),t)}function T$(t){return Fht(),Ctt((n8(),gse),t)}function C$(t,e){if(!t)throw Fw(new jv(e))}function S$(t){return oCt(),Ctt((unt(),Mse),t)}function A$(t){aG.call(this,t.d,t.c,t.a,t.b)}function M$(t){aG.call(this,t.d,t.c,t.a,t.b)}function I$(t,e,n){this.b=t,this.c=e,this.a=n}function O$(t,e,n){this.b=t,this.a=e,this.c=n}function L$(t,e,n){this.a=t,this.b=e,this.c=n}function N$(t,e,n){this.a=t,this.b=e,this.c=n}function D$(t,e,n){this.a=t,this.b=e,this.c=n}function P$(t,e,n){this.a=t,this.b=e,this.c=n}function B$(t,e,n){this.b=t,this.a=e,this.c=n}function j$(t,e,n){this.e=e,this.b=t,this.d=n}function R$(t,e,n){return dT(),t.a.Od(e,n),e}function $$(t){var e;return(e=new xt).e=t,e}function F$(t){var e;return(e=new Qy).b=t,e}function z$(){z$=I,Gse=new Dn,qse=new Pn}function H$(){H$=I,due=new yr,gue=new mr}function U$(t){return Ast(),Ctt((r9(),oue),t)}function G$(t){return Mst(),Ctt((o9(),xue),t)}function q$(t){return vBt(),Ctt((Uat(),Yue),t)}function K$(t){return OSt(),Ctt((fnt(),nle),t)}function Y$(t){return Y8(),Ctt((P4(),ole),t)}function W$(t){return Mit(),Ctt((i8(),hle),t)}function X$(t){return L_t(),Ctt((Ftt(),Aue),t)}function V$(t){return Srt(),Ctt((o8(),jue),t)}function Q$(t){return oit(),Ctt((r8(),ble),t)}function Z$(t){return Wyt(),Ctt((Rtt(),_le),t)}function J$(t){return jtt(),Ctt((O4(),Sle),t)}function tF(t){return Qst(),Ctt((a8(),Lle),t)}function eF(t){return pCt(),Ctt((bnt(),Fle),t)}function nF(t){return g9(),Ctt((L4(),Gle),t)}function iF(t){return Fkt(),Ctt((gnt(),Zle),t)}function rF(t){return QTt(),Ctt((dnt(),ohe),t)}function aF(t){return fBt(),Ctt((Wst(),yhe),t)}function oF(t){return jot(),Ctt((c8(),_he),t)}function sF(t){return U9(),Ctt((s8(),Ahe),t)}function cF(t){return U2(),Ctt((B4(),Lhe),t)}function uF(t){return _dt(),Ctt((ztt(),Ufe),t)}function lF(t){return _Et(),Ctt((pnt(),nye),t)}function hF(t){return Elt(),Ctt((u8(),sye),t)}function fF(t){return fyt(),Ctt((s9(),dye),t)}function dF(t){return ait(),Ctt((f8(),Gye),t)}function gF(t){return cDt(),Ctt((Hat(),Iye),t)}function pF(t){return yct(),Ctt((h8(),Pye),t)}function bF(t){return G9(),Ctt((D4(),$ye),t)}function wF(t){return zat(),Ctt((l8(),Xye),t)}function yF(t){return Nyt(),Ctt(($tt(),vye),t)}function mF(t){return M6(),Ctt((N4(),Jye),t)}function vF(t){return qut(),Ctt((g8(),rme),t)}function xF(t){return gat(),Ctt((p8(),ume),t)}function kF(t){return Ost(),Ctt((d8(),gme),t)}function _F(t){return sit(),Ctt((b8(),Lme),t)}function EF(t){return W4(),Ctt((R4(),Hme),t)}function TF(t){return gZ(),Ctt(($4(),eve),t)}function CF(t){return oJ(),Ctt((F4(),ave),t)}function SF(t){return A6(),Ctt((j4(),Tve),t)}function AF(t){return dZ(),Ctt((z4(),Dve),t)}function MF(t){return Gvt(),Ctt((i9(),Fve),t)}function IF(t){return PSt(),Ctt((wnt(),Vve),t)}function OF(t){return sJ(),Ctt((G4(),Rxe),t)}function LF(t){return Crt(),Ctt((U4(),Qxe),t)}function NF(t){return $0(),Ctt((H4(),Hxe),t)}function DF(t){return Sdt(),Ctt((w8(),nke),t)}function PF(t){return D7(),Ctt((q4(),oke),t)}function BF(t){return zut(),Ctt((y8(),hke),t)}function jF(t){return Mmt(),Ctt((a9(),Uke),t)}function RF(t){return Fat(),Ctt((v8(),Wke),t)}function $F(t){return Tdt(),Ctt((m8(),t_e),t)}function FF(t){return VNt(),Ctt((Gtt(),$_e),t)}function zF(t){return Cdt(),Ctt((x8(),G_e),t)}function HF(t){return CT(),Ctt((K2(),Y_e),t)}function UF(t){return ST(),Ctt((q2(),V_e),t)}function GF(t){return I6(),Ctt((Y4(),tEe),t)}function qF(t){return OCt(),Ctt((Htt(),sEe),t)}function KF(t){return AT(),Ctt((Y2(),GEe),t)}function YF(t){return Lst(),Ctt((K4(),WEe),t)}function WF(t){return iwt(),Ctt((Utt(),hTe),t)}function XF(t){return CSt(),Ctt((Gat(),xTe),t)}function VF(t){return dyt(),Ctt((hnt(),NTe),t)}function QF(t){return d_t(),Ctt((lnt(),JTe),t)}function ZF(t){return hWt(),Ctt((EI(),Qce),t)}function JF(t){return Trt(),Ctt((I4(),Use),t)}function tz(t){return $ht(),Ctt((Ktt(),HSe),t)}function ez(t){return Bet(),Ctt((_8(),YSe),t)}function nz(t){return Edt(),Ctt((l9(),JSe),t)}function iz(t){return JEt(),Ctt((mnt(),sAe),t)}function rz(t){return oht(),Ctt((k8(),mAe),t)}function az(t){return Kvt(),Ctt((u9(),TAe),t)}function oz(t){return JOt(),Ctt((Not(),BAe),t)}function sz(t){return rwt(),Ctt((Ytt(),UAe),t)}function cz(t){return X_t(),Ctt((zet(),QAe),t)}function uz(t){return hMt(),Ctt((ynt(),aMe),t)}function lz(t){return ypt(),Ctt((f9(),$Me),t)}function hz(t){return JRt(),Ctt((Xst(),VMe),t)}function fz(t){return vKt(),Ctt((Wtt(),AMe),t)}function dz(t){return $gt(),Ctt((h9(),nIe),t)}function gz(t){return Fut(),Ctt((c9(),uIe),t)}function pz(t){return uOt(),Ctt((qat(),nOe),t)}function bz(t,e){return mW(t),t+(mW(e),e)}function wz(t,e){return IE(),u7(WV(t.a),e)}function yz(t,e){return IE(),u7(WV(t.a),e)}function mz(t,e){this.c=t,this.a=e,this.b=e-t}function vz(t,e,n){this.a=t,this.b=e,this.c=n}function xz(t,e,n){this.a=t,this.b=e,this.c=n}function kz(t,e,n){this.a=t,this.b=e,this.c=n}function _z(t,e,n){this.a=t,this.b=e,this.c=n}function Ez(t,e,n){this.a=t,this.b=e,this.c=n}function Tz(t,e,n){this.e=t,this.a=e,this.c=n}function Cz(t,e,n){uL(),wZ.call(this,t,e,n)}function Sz(t,e,n){uL(),nW.call(this,t,e,n)}function Az(t,e,n){uL(),nW.call(this,t,e,n)}function Mz(t,e,n){uL(),nW.call(this,t,e,n)}function Iz(t,e,n){uL(),Sz.call(this,t,e,n)}function Oz(t,e,n){uL(),Sz.call(this,t,e,n)}function Lz(t,e,n){uL(),Oz.call(this,t,e,n)}function Nz(t,e,n){uL(),Az.call(this,t,e,n)}function Dz(t,e,n){uL(),Mz.call(this,t,e,n)}function Pz(t,e){return yY(t),yY(e),new cE(t,e)}function Bz(t,e){return yY(t),yY(e),new jH(t,e)}function jz(t,e){return yY(t),yY(e),new RH(t,e)}function Rz(t,e){return yY(t),yY(e),new lE(t,e)}function $z(t,e){return VH(null==t||Xwt(t,e)),t}function Fz(t){var e;return utt(e=new Lw,t),e}function zz(t){var e;return utt(e=new Py,t),e}function Hz(t){var e;return Hrt(e=new Uy,t),e}function Uz(t){var e;return Hrt(e=new XE,t),e}function Gz(t){return!t.e&&(t.e=new Lw),t.e}function qz(t){return!t.c&&(t.c=new zc),t.c}function Kz(t,e){return t.c[t.c.length]=e,!0}function Yz(t,e){this.c=t,this.b=e,this.a=!1}function Wz(t){this.d=t,_d(this),this.b=nq(t.d)}function Xz(){this.a=";,;",this.b="",this.c=""}function Vz(t,e,n){Gq.call(this,e,n),this.a=t}function Qz(t,e,n){this.b=t,gI.call(this,e,n)}function Zz(t,e,n){this.c=t,TC.call(this,e,n)}function Jz(t,e,n){RAt(n,0,t,e,n.length,!1)}function tH(t,e,n,i,r){t.b=e,t.c=n,t.d=i,t.a=r}function eH(t,e){e&&(t.b=e,t.a=(xW(e),e.a))}function nH(t,e,n,i,r){t.d=e,t.c=n,t.a=i,t.b=r}function iH(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function rH(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function aH(t){return oot(NK(VI(t)?Cot(t):t))}function oH(t,e){return xL(oU(t.d),oU(e.d))}function sH(t,e){return e==(vKt(),SMe)?t.c:t.d}function cH(){cH=I,vKt(),Pme=SMe,Bme=sMe}function uH(){this.b=Hv(_B(ywt((ljt(),roe))))}function lH(t){return dT(),N8(Ite,zWt,1,t,5,1)}function hH(t){return new NA(t.c+t.b,t.d+t.a)}function fH(t,e){return ET(),xL(t.d.p,e.d.p)}function dH(t){return TP(0!=t.b),Iet(t,t.a.a)}function gH(t){return TP(0!=t.b),Iet(t,t.c.b)}function pH(t,e){if(!t)throw Fw(new Iv(e))}function bH(t,e){if(!t)throw Fw(new jv(e))}function wH(t,e,n){dS.call(this,t,e),this.b=n}function yH(t,e,n){OM.call(this,t,e),this.c=n}function mH(t,e,n){fet.call(this,e,n),this.d=t}function vH(t){o$(),vc.call(this),this.th(t)}function xH(t,e,n){this.a=t,LI.call(this,e,n)}function kH(t,e,n){this.a=t,LI.call(this,e,n)}function _H(t,e,n){OM.call(this,t,e),this.c=n}function EH(){P5(),oW.call(this,(KT(),HOe))}function TH(t){return null!=t&&!Kdt(t,IOe,OOe)}function CH(t,e){return(Yht(t)<<4|Yht(e))&XXt}function SH(t,e){return ZW(),Gyt(t,e),new HW(t,e)}function AH(t,e){var n;t.n&&(n=e,Kz(t.f,n))}function MH(t,e,n){net(t,e,new HY(n))}function IH(t,e){var n;return n=t.c,jit(t,e),n}function OH(t,e){return t.g=e<0?-1:e,t}function LH(t,e){return Get(t),t.a*=e,t.b*=e,t}function NH(t,e,n,i,r){t.c=e,t.d=n,t.b=i,t.a=r}function DH(t,e){return n5(t,e,t.c.b,t.c),!0}function PH(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function BH(t){this.b=t,this.a=lq(this.b.a).Ed()}function jH(t,e){this.b=t,this.a=e,$l.call(this)}function RH(t,e){this.a=t,this.b=e,$l.call(this)}function $H(t,e){Gq.call(this,e,1040),this.a=t}function FH(t){return 0==t||isNaN(t)?t:t<0?-1:1}function zH(t){return _V(),CTt(t)==VZ(MTt(t))}function HH(t){return _V(),MTt(t)==VZ(CTt(t))}function UH(t,e){return Vkt(t,new dS(e.a,e.b))}function GH(t){return!h5(t)&&t.c.i.c==t.d.i.c}function qH(t){var e;return e=t.n,t.a.b+e.d+e.a}function KH(t){var e;return e=t.n,t.e.b+e.d+e.a}function YH(t){var e;return e=t.n,t.e.a+e.b+e.c}function WH(t){return dWt(),new oG(0,t)}function XH(t){return t.a?t.a:tV(t)}function VH(t){if(!t)throw Fw(new Bv(null))}function QH(){QH=I,EV(),rNe=new Hd(C9t)}function ZH(){ZH=I,new cyt((Jm(),Rte),(tv(),jte))}function JH(){JH=I,Aee=N8(Iee,cXt,19,256,0,1)}function tU(t,e,n,i){agt.call(this,t,e,n,i,0,0)}function eU(t,e,n){return YW(t.b,$z(n.b,17),e)}function nU(t,e,n){return YW(t.b,$z(n.b,17),e)}function iU(t,e){return Kz(t,new NA(e.a,e.b))}function rU(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function aU(t){return t.e.c.length+t.g.c.length}function oU(t){return t.e.c.length-t.g.c.length}function sU(t){return t.b.c.length-t.e.c.length}function cU(t){return $J(),(vKt(),fMe).Hc(t.j)}function uU(t){o$(),vH.call(this,t),this.a=-1}function lU(t,e){NM.call(this,t,e),this.a=this}function hU(t,e){var n;return(n=wY(t,e)).i=2,n}function fU(t,e){return++t.j,t.Ti(e)}function dU(t,e,n){return t.a=-1,KD(t,e.g,n),t}function gU(t,e,n){jqt(t.a,t.b,t.c,$z(e,202),n)}function pU(t,e){Fit(t,null==e?null:(mW(e),e))}function bU(t,e){Bit(t,null==e?null:(mW(e),e))}function wU(t,e){Bit(t,null==e?null:(mW(e),e))}function yU(t,e,n){return new fR(dW(t).Ie(),n,e)}function mU(t,e,n,i,r,a){return Wkt(t,e,n,i,r,0,a)}function vU(){vU=I,xee=N8(kee,cXt,217,256,0,1)}function xU(){xU=I,Oee=N8(Bee,cXt,162,256,0,1)}function kU(){kU=I,jee=N8(Ree,cXt,184,256,0,1)}function _U(){_U=I,Eee=N8(Tee,cXt,172,128,0,1)}function EU(){tH(this,!1,!1,!1,!1)}function TU(t){KY(),this.a=(EV(),new Hd(yY(t)))}function CU(t){for(yY(t);t.Ob();)t.Pb(),t.Qb()}function SU(t){t.a.cd(),$z(t.a.dd(),14).gc(),fx()}function AU(t){this.c=t,this.b=this.c.d.vc().Kc()}function MU(t){this.c=t,this.a=new WE(this.c.a)}function IU(t){this.a=new qE(t.gc()),$rt(this,t)}function OU(t){tg.call(this,new b4),$rt(this,t)}function LU(t,e){return t.a+=Fpt(e,0,e.length),t}function NU(t,e){return l1(e,t.c.length),t.c[e]}function DU(t,e){return l1(e,t.a.length),t.a[e]}function PU(t,e){dT(),$8.call(this,t),this.a=e}function BU(t,e){return xbt(idt(xbt(t.a).a,e.a))}function jU(t,e){return mW(t),Nat(t,(mW(e),e))}function RU(t,e){return mW(e),Nat(e,(mW(t),t))}function $U(t,e){return IY(e,0,FU(e[0],xbt(1)))}function FU(t,e){return BU($z(t,162),$z(e,162))}function zU(t){return t.c-$z(NU(t.a,t.b),287).b}function HU(t){return t.q?t.q:(EV(),EV(),une)}function UU(t){return t.e.Hd().gc()*t.c.Hd().gc()}function GU(t,e,n){return xL(e.d[t.g],n.d[t.g])}function qU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function KU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function YU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function WU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function XU(t,e,n){return i.Math.min(n/t,1/e)}function VU(t,e){return t?0:i.Math.max(0,e-1)}function QU(t,e){var n;for(n=0;n<e;++n)t[n]=-1}function ZU(t){var e;return(e=o_t(t))?ZU(e):t}function JU(t,e){return null==t.a&&djt(t),t.a[e]}function tG(t){return t.c?t.c.f:t.e.b}function eG(t){return t.c?t.c.g:t.e.a}function nG(t){pet.call(this,t.gc()),pY(this,t)}function iG(t,e){uL(),vw.call(this,e),this.a=t}function rG(t,e,n){this.a=t,IN.call(this,e,n,2)}function aG(t,e,n,i){nH(this,t,e,n,i)}function oG(t,e){dWt(),Mw.call(this,t),this.a=e}function sG(t){this.b=new XE,this.a=t,this.c=-1}function cG(){this.d=new NA(0,0),this.e=new Py}function uG(t){QD.call(this,0,0),this.a=t,this.b=0}function lG(t){this.a=t,this.c=new Nw,ict(this)}function hG(t){if(t.e.c!=t.b)throw Fw(new by)}function fG(t){if(t.c.e!=t.a)throw Fw(new by)}function dG(t){return VI(t)?0|t:k_(t)}function gG(t,e){return dWt(),new GK(t,e)}function pG(t,e){return null==t?null==e:wR(t,e)}function bG(t,e){return null==t?null==e:ybt(t,e)}function wG(t,e,n){return srt(t.a,e),xK(t,e.g,n)}function yG(t,e,n){nlt(0,e,t.length),U7(t,0,e,n)}function mG(t,e,n){OJ(e,t.c.length),_C(t.c,e,n)}function vG(t,e,n){var i;for(i=0;i<e;++i)t[i]=n}function xG(t,e){var n;return Oct(n=Jft(t),e),n}function kG(t,e){return!t&&(t=[]),t[t.length]=e,t}function _G(t,e){return void 0!==t.a.get(e)}function EG(t,e){return Kit(new tt,new ag(t),e)}function TG(t){return null==t?Ene:new bv(mW(t))}function CG(t,e){return iN(e,22)&&ED(t,$z(e,22))}function SG(t,e){return iN(e,22)&&Oet(t,$z(e,22))}function AG(t){return zLt(t,26)*iQt+zLt(t,27)*rQt}function MG(t){return Array.isArray(t)&&t.im===M}function IG(t){t.b?IG(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function OG(t,e){Gj(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function LG(t,e){OG(t,qj(new NA(e.a,e.b),t.c))}function NG(t,e){this.b=new XE,this.a=t,this.c=e}function DG(){this.b=new Me,this.c=new lQ(this)}function PG(){this.d=new yt,this.e=new uQ(this)}function BG(){BJ(),this.f=new XE,this.e=new XE}function jG(){$J(),this.k=new Nw,this.d=new Py}function RG(){RG=I,hIe=new qO((cWt(),rSe),0)}function $G(){$G=I,Hte=new uG(N8(Ite,zWt,1,0,5,1))}function FG(t,e,n){WOt(n,t,1),Kz(e,new iS(n,t))}function zG(t,e,n){$xt(n,t,1),Kz(e,new hS(n,t))}function HG(t,e,n){return kK(t,new NC(e.a,n.a))}function UG(t,e,n){return-xL(t.f[e.p],t.f[n.p])}function GG(t,e,n){var i;t&&((i=t.i).c=e,i.b=n)}function qG(t,e,n){var i;t&&((i=t.i).d=e,i.a=n)}function KG(t,e,n){return t.a=-1,KD(t,e.g+1,n),t}function YG(t,e,n){return n=_$t(t,$z(e,49),7,n)}function WG(t,e,n){return n=_$t(t,$z(e,49),3,n)}function XG(t,e,n){this.a=t,ON.call(this,e,n,22)}function VG(t,e,n){this.a=t,ON.call(this,e,n,14)}function QG(t,e,n,i){uL(),L0.call(this,t,e,n,i)}function ZG(t,e,n,i){uL(),L0.call(this,t,e,n,i)}function JG(t,e){e.Bb&u6t&&!t.a.o&&(t.a.o=e)}function tq(t){return null!=t&&DK(t)&&t.im!==M}function eq(t){return!Array.isArray(t)&&t.im===M}function nq(t){return iN(t,15)?$z(t,15).Yc():t.Kc()}function iq(t){return t.Qc(N8(Ite,zWt,1,t.gc(),5,1))}function rq(t,e){return hbt(R9(t,e))?e.Qh():null}function aq(t){t?$mt(t,(IE(),Fee)):IE()}function oq(t){this.a=($G(),Hte),this.d=$z(yY(t),47)}function sq(t,e,n,i){this.a=t,K6.call(this,t,e,n,i)}function cq(t){tC(),this.a=0,this.b=t-1,this.c=1}function uq(t){YL(this),this.g=t,vV(this),this._d()}function lq(t){return t.c?t.c:t.c=t.Id()}function hq(t){return t.d?t.d:t.d=t.Jd()}function fq(t){return t.c||(t.c=t.Dd())}function dq(t){return t.f||(t.f=t.Dc())}function gq(t){return t.i||(t.i=t.bc())}function pq(t){return dWt(),new bZ(10,t,0)}function bq(t){return VI(t)?""+t:UBt(t)}function wq(t){if(t.e.j!=t.d)throw Fw(new by)}function yq(t,e){return oot(hCt(VI(t)?Cot(t):t,e))}function mq(t,e){return oot(xOt(VI(t)?Cot(t):t,e))}function vq(t,e){return oot(QCt(VI(t)?Cot(t):t,e))}function xq(t,e){return hj((mW(t),t),(mW(e),e))}function kq(t,e){return Cft((mW(t),t),(mW(e),e))}function _q(t,e){return yY(e),t.a.Ad(e)&&!t.b.Ad(e)}function Eq(t,e){return _L(t.l&e.l,t.m&e.m,t.h&e.h)}function Tq(t,e){return _L(t.l|e.l,t.m|e.m,t.h|e.h)}function Cq(t,e){return _L(t.l^e.l,t.m^e.m,t.h^e.h)}function Sq(t,e){return Oht(t,(mW(e),new ng(e)))}function Aq(t,e){return Oht(t,(mW(e),new ig(e)))}function Mq(t){return pat(),0!=$z(t,11).e.c.length}function Iq(t){return pat(),0!=$z(t,11).g.c.length}function Oq(t,e){return Art(),Cft(e.a.o.a,t.a.o.a)}function Lq(t,e,n){return _Kt(t,$z(e,11),$z(n,11))}function Nq(t){return t.e?D6(t.e):null}function Dq(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function Pq(t,e,n){t.a.Mb(n)&&(t.b=!0,e.td(n))}function Bq(t,e){if(t<0||t>=e)throw Fw(new Ey)}function jq(t,e,n){return IY(e,0,FU(e[0],n[0])),e}function Rq(t,e,n){e.Ye(n,Hv(_B(PY(t.b,n)))*t.a)}function $q(t,e,n){return xBt(),Pat(t,e)&&Pat(t,n)}function Fq(t){return hMt(),!t.Hc(eMe)&&!t.Hc(iMe)}function zq(t){return new NA(t.c+t.b/2,t.d+t.a/2)}function Hq(t,e){return e.kh()?tht(t.b,$z(e,49)):e}function Uq(t,e){this.e=t,this.d=64&e?e|uXt:e}function Gq(t,e){this.c=0,this.d=t,this.b=64|e|uXt}function qq(t){this.b=new V6(11),this.a=(TV(),t)}function Kq(t){this.b=null,this.a=(TV(),t||fne)}function Yq(t){this.a=iyt(t.a),this.b=new JR(t.b)}function Wq(t){this.b=t,iP.call(this,t),_N(this)}function Xq(t){this.b=t,aP.call(this,t),EN(this)}function Vq(t,e,n){this.a=t,tR.call(this,e,n,5,6)}function Qq(t,e,n,i){this.b=t,IN.call(this,e,n,i)}function Zq(t,e,n,i,r){m7.call(this,t,e,n,i,r,-1)}function Jq(t,e,n,i,r){v7.call(this,t,e,n,i,r,-1)}function tK(t,e,n,i){IN.call(this,t,e,n),this.b=i}function eK(t,e,n,i){yH.call(this,t,e,n),this.b=i}function nK(t){LM.call(this,t,!1),this.a=!1}function iK(t,e){this.b=t,cf.call(this,t.b),this.a=e}function rK(t,e){KY(),vE.call(this,t,cht(new Vv(e)))}function aK(t,e){return dWt(),new iW(t,e,0)}function oK(t,e){return dWt(),new iW(6,t,e)}function sK(t,e){return wR(t.substr(0,e.length),e)}function cK(t,e){return qM(e)?tQ(t,e):!!MQ(t.f,e)}function uK(t,e){for(mW(e);t.Ob();)e.td(t.Pb())}function lK(t,e,n){MBt(),this.e=t,this.d=e,this.a=n}function hK(t,e,n,i){var r;(r=t.i).i=e,r.a=n,r.b=i}function fK(t){var e;for(e=t;e.f;)e=e.f;return e}function dK(t){var e;return TP(null!=(e=kct(t))),e}function gK(t){var e;return TP(null!=(e=yft(t))),e}function pK(t,e){var n;return f6(e,n=t.a.gc()),n-e}function bK(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function wK(t,e,n,i){var r;for(r=e;r<n;++r)t[r]=i}function yK(t,e,n,i){nlt(e,n,t.length),wK(t,e,n,i)}function mK(t,e,n){Bq(n,t.a.c.length),i5(t.a,n,e)}function vK(t,e,n){this.c=t,this.a=e,EV(),this.b=n}function xK(t,e,n){var i;return i=t.b[e],t.b[e]=n,i}function kK(t,e){return null==t.a.zc(e,t)}function _K(t){if(!t)throw Fw(new yy);return t.d}function EK(t,e){if(null==t)throw Fw(new Fv(e))}function TK(t,e){return!!e&&$rt(t,e)}function CK(t,e,n){return elt(t,e.g,n),srt(t.c,e),t}function SK(t){return Eqt(t,($ht(),RSe)),t.d=!0,t}function AK(t){return!t.j&&yd(t,$Rt(t.g,t.b)),t.j}function MK(t){_P(-1!=t.b),s6(t.c,t.a=t.b),t.b=-1}function IK(t){t.f=new tO(t),t.g=new eO(t),oQ(t)}function OK(t){return new PU(null,zK(t,t.length))}function LK(t){return new oq(new KN(t.a.length,t.a))}function NK(t){return _L(~t.l&TVt,~t.m&TVt,~t.h&CVt)}function DK(t){return typeof t===IWt||typeof t===DWt}function PK(t){return t==BVt?D9t:t==jVt?"-INF":""+t}function BK(t){return t==BVt?D9t:t==jVt?"-INF":""+t}function jK(t,e){return t>0?i.Math.log(t/e):-100}function RK(t,e){return Wlt(t,e)<0?-1:Wlt(t,e)>0?1:0}function $K(t,e,n){return THt(t,$z(e,46),$z(n,167))}function FK(t,e){return $z(fq(lq(t.a)).Xb(e),42).cd()}function zK(t,e){return bet(e,t.length),new $H(t,e)}function HK(t,e){this.d=t,MN.call(this,t),this.e=e}function UK(t){this.d=(mW(t),t),this.a=0,this.c=fXt}function GK(t,e){Mw.call(this,1),this.a=t,this.b=e}function qK(t,e){return t.c?qK(t.c,e):Kz(t.b,e),t}function KK(t,e,n){var i;return i=dtt(t,e),n4(t,e,n),i}function YK(t,e){return w9(t.slice(0,e),t)}function WK(t,e,n){var i;for(i=0;i<e;++i)IY(t,i,n)}function XK(t,e,n,i,r){for(;e<n;)i[r++]=uX(t,e++)}function VK(t,e){return Cft(t.c.c+t.c.b,e.c.c+e.c.b)}function QK(t,e){return null==Ect(t.a,e,(cD(),wee))}function ZK(t,e){n5(t.d,e,t.b.b,t.b),++t.a,t.c=null}function JK(t,e){VL(t,iN(e,153)?e:$z(e,1937).gl())}function tY(t,e){VE(IX(t.Oc(),new Qr),new Sp(e))}function eY(t,e,n,i,r){N_t(t,$z(c6(e.k,n),15),n,i,r)}function nY(t){t.s=NaN,t.c=NaN,ZIt(t,t.e),ZIt(t,t.j)}function iY(t){t.a=null,t.e=null,IK(t.b),t.d=0,++t.c}function rY(t){return i.Math.abs(t.d.e-t.e.e)-t.a}function aY(t,e,n){return $z(t.c._c(e,$z(n,133)),42)}function oY(){return nv(),Cst(Hx(Yte,1),OXt,538,0,[qte])}function sY(t){return _V(),VZ(CTt(t))==VZ(MTt(t))}function cY(t){Ij.call(this),this.a=t,Kz(t.a,this)}function uY(t,e){this.d=Tft(t),this.c=e,this.a=.5*e}function lY(){b4.call(this),this.a=!0,this.b=!0}function hY(t){return(null==t.i&&HFt(t),t.i).length}function fY(t){return iN(t,99)&&!!($z(t,18).Bb&u6t)}function dY(t,e){++t.j,cEt(t,t.i,e),GMt(t,$z(e,332))}function gY(t,e){return e=t.nk(null,e),OEt(t,null,e)}function pY(t,e){return t.hi()&&(e=ZZ(t,e)),t.Wh(e)}function bY(t,e,n){var i;return Xnt(n,i=wY(t,e)),i}function wY(t,e){var n;return(n=new bct).j=t,n.d=e,n}function yY(t){if(null==t)throw Fw(new gy);return t}function mY(t){return t.j||(t.j=new ff(t))}function vY(t){return t.f||(t.f=new GN(t))}function xY(t){return t.k||(t.k=new Wh(t))}function kY(t){return t.k||(t.k=new Wh(t))}function _Y(t){return t.g||(t.g=new Yh(t))}function EY(t){return t.i||(t.i=new Qh(t))}function TY(t){return t.d||(t.d=new tf(t))}function CY(t){return yY(t),iN(t,475)?$z(t,475):Fdt(t)}function SY(t){return iN(t,607)?t:new hZ(t)}function AY(t,e){return f2(e,t.c.b.c.gc()),new sE(t,e)}function MY(t,e,n){return dWt(),new k0(t,e,n)}function IY(t,e,n){return EP(null==n||X$t(t,n)),t[e]=n}function OY(t,e){var n;return f2(e,n=t.a.gc()),n-1-e}function LY(t,e){return t.a+=String.fromCharCode(e),t}function NY(t,e){return t.a+=String.fromCharCode(e),t}function DY(t,e){for(mW(e);t.c<t.d;)t.ze(e,t.c++)}function PY(t,e){return qM(e)?EZ(t,e):zM(MQ(t.f,e))}function BY(t,e){return _V(),t==CTt(e)?MTt(e):CTt(e)}function jY(t,e){ZY(t,new HY(null!=e.f?e.f:""+e.g))}function RY(t,e){ZY(t,new HY(null!=e.f?e.f:""+e.g))}function $Y(t){this.b=new Lw,this.a=new Lw,this.c=t}function FY(t){this.c=new Hk,this.a=new Lw,this.b=t}function zY(t){Ij.call(this),this.a=new Hk,this.c=t}function HY(t){if(null==t)throw Fw(new gy);this.a=t}function UY(t){_y(),this.b=new Lw,this.a=t,wGt(this,t)}function GY(t){this.c=t,this.a=new XE,this.b=new XE}function qY(){qY=I,see=new _f(!1),cee=new _f(!0)}function KY(){KY=I,s$(),$te=new EQ((EV(),EV(),cne))}function YY(){YY=I,s$(),Wte=new bC((EV(),EV(),lne))}function WY(){WY=I,ZOe=UMt(),pWt(),tLe&&Bxt()}function XY(t,e){return Art(),$z(oX(t,e.d),15).Fc(e)}function VY(t,e,n,i){return 0==n||(n-i)/n<t.e||e>=t.g}function QY(t,e,n){return Njt(t,mrt(t,e,n))}function ZY(t,e){var n;dtt(t,n=t.a.length),n4(t,n,e)}function JY(t,e){console[t].call(console,e)}function tW(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e))}function eW(t,e,n){$z(e.b,65),Met(e.a,new xz(t,n,e))}function nW(t,e,n){vw.call(this,e),this.a=t,this.b=n}function iW(t,e,n){Mw.call(this,t),this.a=e,this.b=n}function rW(t,e,n){this.a=t,mw.call(this,e),this.b=n}function aW(t,e,n){this.a=t,F2.call(this,8,e,null,n)}function oW(t){this.a=(mW(R7t),R7t),this.b=t,new Lm}function sW(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function cW(t){this.c=t,this.b=t.a.d.a,hB(t.a.e,this)}function uW(t){_P(-1!=t.c),t.d.$c(t.c),t.b=t.c,t.c=-1}function lW(t){return i.Math.sqrt(t.a*t.a+t.b*t.b)}function hW(t,e){return Bq(e,t.a.c.length),NU(t.a,e)}function fW(t,e){return HM(t)===HM(e)||null!=t&&Nht(t,e)}function dW(t){return 0>=t?new YE:Yit(t-1)}function gW(t){return!!_De&&tQ(_De,t)}function pW(t){return t?t.dc():!t.Kc().Ob()}function bW(t){return!t.a&&t.c?t.c.b:t.a}function wW(t){return!t.a&&(t.a=new IN(IIe,t,4)),t.a}function yW(t){return!t.d&&(t.d=new IN(KOe,t,1)),t.d}function mW(t){if(null==t)throw Fw(new gy);return t}function vW(t){t.c?t.c.He():(t.d=!0,XDt(t))}function xW(t){t.c?xW(t.c):(Xft(t),t.d=!0)}function kW(t){kX(t.a),t.b=N8(Ite,zWt,1,t.b.length,5,1)}function _W(t,e){return xL(e.j.c.length,t.j.c.length)}function EW(t,e){t.c<0||t.b.b<t.c?uI(t.b,e):t.a._e(e)}function TW(t,e){var n;(n=t.Yg(e))>=0?t.Bh(n):rMt(t,e)}function CW(t){return t.c.i.c==t.d.i.c}function SW(t){if(4!=t.p)throw Fw(new dy);return t.e}function AW(t){if(3!=t.p)throw Fw(new dy);return t.e}function MW(t){if(6!=t.p)throw Fw(new dy);return t.f}function IW(t){if(6!=t.p)throw Fw(new dy);return t.k}function OW(t){if(3!=t.p)throw Fw(new dy);return t.j}function LW(t){if(4!=t.p)throw Fw(new dy);return t.j}function NW(t){return!t.b&&(t.b=new kw(new Nm)),t.b}function DW(t){return-2==t.c&&gd(t,oTt(t.g,t.b)),t.c}function PW(t,e){var n;return(n=wY("",t)).n=e,n.i=1,n}function BW(t,e){OG($z(e.b,65),t),Met(e.a,new Mg(t))}function jW(t,e){u7((!t.a&&(t.a=new oj(t,t)),t.a),e)}function RW(t,e){this.b=t,HK.call(this,t,e),_N(this)}function $W(t,e){this.b=t,PR.call(this,t,e),EN(this)}function FW(t,e,n,i){bE.call(this,t,e),this.d=n,this.a=i}function zW(t,e,n,i){bE.call(this,t,n),this.a=e,this.f=i}function HW(t,e){KL.call(this,Wit(yY(t),yY(e))),this.a=e}function UW(){gTt.call(this,T9t,(n_(),fNe)),YUt(this)}function GW(){gTt.call(this,W7t,(e_(),QOe)),MHt(this)}function qW(){gE.call(this,"DELAUNAY_TRIANGULATION",0)}function KW(t){return String.fromCharCode.apply(null,t)}function YW(t,e,n){return qM(e)?wJ(t,e,n):xAt(t.f,e,n)}function WW(t){return EV(),t?t.ve():(TV(),TV(),gne)}function XW(t,e,n){return Nst(),n.pg(t,$z(e.cd(),146))}function VW(t,e){return ZH(),new cyt(new nD(t),new eD(e))}function QW(t){return hit(t,NXt),Jtt(idt(idt(5,t),t/10|0))}function ZW(){ZW=I,Fte=new cv(Cst(Hx(zte,1),vXt,42,0,[]))}function JW(t){return!t.d&&(t.d=new Fd(t.c.Cc())),t.d}function tX(t){return!t.a&&(t.a=new Ox(t.c.vc())),t.a}function eX(t){return!t.b&&(t.b=new Mx(t.c.ec())),t.b}function nX(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function iX(t,e){return HM(t)===HM(e)||null!=t&&Nht(t,e)}function rX(t,e){return cD(),$z(e.b,19).a<t}function aX(t,e){return cD(),$z(e.a,19).a<t}function oX(t,e){return CG(t.a,e)?t.b[$z(e,22).g]:null}function sX(t,e,n,i){t.a=uP(t.a,0,e)+""+i+ZM(t.a,n)}function cX(t,e){t.u.Hc((hMt(),eMe))&&CMt(t,e),U6(t,e)}function uX(t,e){return h1(e,t.length),t.charCodeAt(e)}function lX(){dv.call(this,"There is no more element.")}function hX(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function fX(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function dX(t,e,n,i){return Bat(t,e,n,!1),Zht(t,i),t}function gX(t){return t.j.c=N8(Ite,zWt,1,0,5,1),t.a=-1,t}function pX(t){return!t.c&&(t.c=new cR(PIe,t,5,8)),t.c}function bX(t){return!t.b&&(t.b=new cR(PIe,t,4,7)),t.b}function wX(t){return!t.n&&(t.n=new tK(HIe,t,1,7)),t.n}function yX(t){return!t.c&&(t.c=new tK(GIe,t,9,9)),t.c}function mX(t){return t.e==S9t&&bd(t,_bt(t.g,t.b)),t.e}function vX(t){return t.f==S9t&&wd(t,bxt(t.g,t.b)),t.f}function xX(t){var e;return!(e=t.b)&&(t.b=e=new Xh(t)),e}function kX(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function _X(t){if(Gdt(t.d),t.d.d!=t.c)throw Fw(new by)}function EX(t,e){this.b=t,this.c=e,this.a=new WE(this.b)}function TX(t,e,n){this.a=KXt,this.d=t,this.b=e,this.c=n}function CX(t,e){this.d=(mW(t),t),this.a=16449,this.c=e}function SX(t,e){Qft(t,Hv(Bnt(e,"x")),Hv(Bnt(e,"y")))}function AX(t,e){Qft(t,Hv(Bnt(e,"x")),Hv(Bnt(e,"y")))}function MX(t,e){return Xft(t),new PU(t,new W7(e,t.a))}function IX(t,e){return Xft(t),new PU(t,new _6(e,t.a))}function OX(t,e){return Xft(t),new MB(t,new x6(e,t.a))}function LX(t,e){return Xft(t),new IB(t,new k6(e,t.a))}function NX(t,e){return new pQ($z(yY(t),62),$z(yY(e),62))}function DX(t,e){return vT(),Cft((mW(t),t),(mW(e),e))}function PX(){return fT(),Cst(Hx(Tae,1),OXt,481,0,[iae])}function BX(){return CT(),Cst(Hx(W_e,1),OXt,482,0,[K_e])}function jX(){return ST(),Cst(Hx(Q_e,1),OXt,551,0,[X_e])}function RX(){return AT(),Cst(Hx(qEe,1),OXt,530,0,[UEe])}function $X(t){this.a=new Lw,this.e=N8(ADe,cXt,48,t,0,2)}function FX(t,e,n,i){this.a=t,this.e=e,this.d=n,this.c=i}function zX(t,e,n,i){this.a=t,this.c=e,this.b=n,this.d=i}function HX(t,e,n,i){this.c=t,this.b=e,this.a=n,this.d=i}function UX(t,e,n,i){this.c=t,this.b=e,this.d=n,this.a=i}function GX(t,e,n,i){this.c=t,this.d=e,this.b=n,this.a=i}function qX(t,e,n,i){this.a=t,this.d=e,this.c=n,this.b=i}function KX(t,e,n,i){gE.call(this,t,e),this.a=n,this.b=i}function YX(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function WX(t,e,n){kHt(t.a,n),Jot(n),IOt(t.b,n),iUt(e,n)}function XX(t,e,n){var i;return i=OKt(t),e.Kh(n,i)}function VX(t,e){var n,i;return(n=t/e)>(i=CZ(n))&&++i,i}function QX(t){var e;return rnt(e=new Bw,t),e}function ZX(t){var e;return PTt(e=new Bw,t),e}function JX(t,e){return jat(e,PY(t.f,e)),null}function tV(t){return Vit(t)||null}function eV(t){return!t.b&&(t.b=new tK(BIe,t,12,3)),t.b}function nV(t){return null!=t&&NE(mOe,t.toLowerCase())}function iV(t,e){return Cft(eG(t)*tG(t),eG(e)*tG(e))}function rV(t,e){return Cft(eG(t)*tG(t),eG(e)*tG(e))}function aV(t,e){return Cft(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function oV(t,e){return Cft(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function sV(t,e,n){n.a?Snt(t,e.b-t.f/2):Cnt(t,e.a-t.g/2)}function cV(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function uV(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function lV(t,e,n,i){this.e=t,this.a=e,this.c=n,this.d=i}function hV(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function fV(t,e,n,i){uL(),t6.call(this,e,n,i),this.a=t}function dV(t,e,n,i){uL(),t6.call(this,e,n,i),this.a=t}function gV(t,e){this.a=t,AB.call(this,t,$z(t.d,15).Zc(e))}function pV(t){this.f=t,this.c=this.f.e,t.f>0&&okt(this)}function bV(t,e,n,i){this.b=t,this.c=i,bI.call(this,e,n)}function wV(t){return TP(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function yV(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function mV(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function vV(t){return t.n&&(t.e!==$Xt&&t._d(),t.j=null),t}function xV(t){return VH(null==t||DK(t)&&t.im!==M),t}function kV(t){this.b=new Lw,pst(this.b,this.b),this.a=t}function _V(){_V=I,Eae=new Lw,_ae=new Nw,kae=new Lw}function EV(){EV=I,cne=new C,une=new A,lne=new T}function TV(){TV=I,fne=new j,dne=new j,gne=new R}function CV(){CV=I,uie=new pt,hie=new PG,lie=new bt}function SV(){256==rie&&(eie=nie,nie=new r,rie=0),++rie}function AV(t){return t.f||(t.f=new pE(t,t.c))}function MV(t){return XMt(t)&&zv(kB(ZOt(t,(zYt(),dbe))))}function IV(t,e){return QMt(t,$z(yTt(e,(zYt(),Kbe)),19),e)}function OV(t,e){return _ht(t.j,e.s,e.c)+_ht(e.e,t.s,t.c)}function LV(t,e){t.e&&!t.e.a&&(Rw(t.e,e),LV(t.e,e))}function NV(t,e){t.d&&!t.d.a&&(Rw(t.d,e),NV(t.d,e))}function DV(t,e){return-Cft(eG(t)*tG(t),eG(e)*tG(e))}function PV(t){return $z(t.cd(),146).tg()+":"+Fdt(t.dd())}function BV(t){var e;H$(),(e=$z(t.g,10)).n.a=t.d.c+e.d.b}function jV(t,e,n){return _T(),Ddt($z(PY(t.e,e),522),n)}function RV(t,e){return tut(t),tut(e),Tv($z(t,22),$z(e,22))}function $V(t,e,n){t.i=0,t.e=0,e!=n&&Kct(t,e,n)}function FV(t,e,n){t.i=0,t.e=0,e!=n&&Yct(t,e,n)}function zV(t,e,n){net(t,e,new Ef(qR(n)))}function HV(t,e,n,i,r,a){v7.call(this,t,e,n,i,r,a?-2:-1)}function UV(t,e,n,i){OM.call(this,e,n),this.b=t,this.a=i}function GV(t,e){new XE,this.a=new mm,this.b=t,this.c=e}function qV(t,e){return $z(yTt(t,(uWt(),ife)),15).Fc(e),e}function KV(t,e){if(null==t)throw Fw(new Fv(e));return t}function YV(t){return!t.q&&(t.q=new tK(YOe,t,11,10)),t.q}function WV(t){return!t.s&&(t.s=new tK(jOe,t,21,17)),t.s}function XV(t){return!t.a&&(t.a=new tK(UIe,t,10,11)),t.a}function VV(t){return iN(t,14)?new IU($z(t,14)):zz(t.Kc())}function QV(t){return new zN(t,t.e.Hd().gc()*t.c.Hd().gc())}function ZV(t){return new HN(t,t.e.Hd().gc()*t.c.Hd().gc())}function JV(t){return t&&t.hashCode?t.hashCode():TD(t)}function tQ(t,e){return null==e?!!MQ(t.f,null):_G(t.g,e)}function eQ(t){return yY(t),emt(new oq(QN(t.a.Kc(),new l)))}function nQ(t){return EV(),iN(t,54)?new Ix(t):new hD(t)}function iQ(t,e,n){return!!t.f&&t.f.Ne(e,n)}function rQ(t,e){return t.a=uP(t.a,0,e)+""+ZM(t.a,e+1),t}function aQ(t,e){var n;return(n=tN(t.a,e))&&(e.d=null),n}function oQ(t){var e,n;e=0|(n=t).$modCount,n.$modCount=e+1}function sQ(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function cQ(t){this.b=t,this.a=new d_($z(yY(new te),62))}function uQ(t){this.c=t,this.b=new d_($z(yY(new wt),62))}function lQ(t){this.c=t,this.b=new d_($z(yY(new Ae),62))}function hQ(){this.a=new Wy,this.b=new cm,this.d=new Pe}function fQ(){this.a=new mm,this.b=(hit(3,IXt),new V6(3))}function dQ(){this.b=new Py,this.d=new XE,this.e=new om}function gQ(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function pQ(t,e){Um.call(this,new Kq(t)),this.a=t,this.b=e}function bQ(){nCt(this,new Dh),this.wb=(WY(),ZOe),e_()}function wQ(t){MEt(t,"No crossing minimization",1),zCt(t)}function yQ(t){Dx(),i.setTimeout((function(){throw t}),0)}function mQ(t){return t.u||(T5(t),t.u=new aj(t,t)),t.u}function vQ(t){return $z(mot(t,16),26)||t.zh()}function xQ(t,e){return iN(e,146)&&wR(t.b,$z(e,146).tg())}function kQ(t,e){return t.a?e.Wg().Kc():$z(e.Wg(),69).Zh()}function _Q(t){return t.k==(oCt(),Sse)&&OP(t,(uWt(),Uhe))}function EQ(t){this.a=(EV(),iN(t,54)?new Ix(t):new hD(t))}function TQ(){var t,e;TQ=I,e=!Ppt(),t=new p,eee=e?new _:t}function CQ(t,e){var n;return n=Zk(t.gm),null==e?n:n+": "+e}function SQ(t,e){var n;return v4(n=t.b.Qc(e),t.b.gc()),n}function AQ(t,e){if(null==t)throw Fw(new Fv(e));return t}function MQ(t,e){return ult(t,e,pJ(t,null==e?0:t.b.se(e)))}function IQ(t,e,n){return n>=0&&wR(t.substr(n,e.length),e)}function OQ(t,e,n,i,r,a,o){return new h4(t.e,e,n,i,r,a,o)}function LQ(t,e,n,i,r,a){this.a=t,vit.call(this,e,n,i,r,a)}function NQ(t,e,n,i,r,a){this.a=t,vit.call(this,e,n,i,r,a)}function DQ(t,e){this.g=t,this.d=Cst(Hx(kse,1),a1t,10,0,[e])}function PQ(t,e){this.e=t,this.a=Ite,this.b=Ijt(e),this.c=e}function BQ(t,e){Lj.call(this),Det(this),this.a=t,this.c=e}function jQ(t,e,n,i){IY(t.c[e.g],n.g,i),IY(t.c[n.g],e.g,i)}function RQ(t,e,n,i){IY(t.c[e.g],e.g,n),IY(t.b[e.g],e.g,i)}function $Q(){return M6(),Cst(Hx(tme,1),OXt,376,0,[Zye,Qye])}function FQ(){return g9(),Cst(Hx(qle,1),OXt,479,0,[Ule,Hle])}function zQ(){return jtt(),Cst(Hx(Ale,1),OXt,419,0,[Tle,Cle])}function HQ(){return Y8(),Cst(Hx(sle,1),OXt,422,0,[rle,ale])}function UQ(){return U2(),Cst(Hx(jfe,1),OXt,420,0,[Ihe,Ohe])}function GQ(){return G9(),Cst(Hx(Fye,1),OXt,421,0,[jye,Rye])}function qQ(){return W4(),Cst(Hx(Yme,1),OXt,523,0,[zme,Fme])}function KQ(){return A6(),Cst(Hx(Ove,1),OXt,520,0,[Eve,_ve])}function YQ(){return gZ(),Cst(Hx(nve,1),OXt,516,0,[tve,Jme])}function WQ(){return oJ(),Cst(Hx(kve,1),OXt,515,0,[ive,rve])}function XQ(){return dZ(),Cst(Hx(Pve,1),OXt,455,0,[Lve,Nve])}function VQ(){return $0(),Cst(Hx(Wxe,1),OXt,425,0,[zxe,Fxe])}function QQ(){return sJ(),Cst(Hx($xe,1),OXt,480,0,[Bxe,jxe])}function ZQ(){return Crt(),Cst(Hx(Zxe,1),OXt,495,0,[Xxe,Vxe])}function JQ(){return D7(),Cst(Hx(ske,1),OXt,426,0,[rke,ake])}function tZ(){return Lst(),Cst(Hx(XEe,1),OXt,429,0,[YEe,KEe])}function eZ(){return I6(),Cst(Hx(eEe,1),OXt,430,0,[J_e,Z_e])}function nZ(){return uwt(),Cst(Hx(bie,1),OXt,428,0,[gie,die])}function iZ(){return Ptt(),Cst(Hx(Sie,1),OXt,427,0,[wie,yie])}function rZ(){return Btt(),Cst(Hx(Soe,1),OXt,424,0,[Pae,Bae])}function aZ(){return Trt(),Cst(Hx(Kse,1),OXt,511,0,[Hse,zse])}function oZ(t,e,n,i){return n>=0?t.jh(e,n,i):t.Sg(null,n,i)}function sZ(t){return 0==t.b.b?t.a.$e():dH(t.b)}function cZ(t){if(5!=t.p)throw Fw(new dy);return dG(t.f)}function uZ(t){if(5!=t.p)throw Fw(new dy);return dG(t.k)}function lZ(t){return HM(t.a)===HM((dat(),CLe))&&BUt(t),t.a}function hZ(t){this.a=$z(yY(t),271),this.b=(EV(),new dD(t))}function fZ(t,e){Qf(this,new NA(t.a,t.b)),Zf(this,Uz(e))}function dZ(){dZ=I,Lve=new oA(rZt,0),Nve=new oA(aZt,1)}function gZ(){gZ=I,tve=new iA(aZt,0),Jme=new iA(rZt,1)}function pZ(){rv.call(this,new qE(tet(12))),rD(!0),this.a=2}function bZ(t,e,n){dWt(),Mw.call(this,t),this.b=e,this.a=n}function wZ(t,e,n){uL(),vw.call(this,e),this.a=t,this.b=n}function yZ(t){Lj.call(this),Det(this),this.a=t,this.c=!0}function mZ(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function vZ(t){bit(t.a),PO(t.a),tgt(new Tg(t.a))}function xZ(t,e){sjt(t,!0),Met(t.e.wf(),new I$(t,!0,e))}function kZ(t,e){return i4(e),Vnt(t,N8(ADe,uVt,25,e,15,1),e)}function _Z(t,e){return _V(),t==VZ(CTt(e))||t==VZ(MTt(e))}function EZ(t,e){return null==e?zM(MQ(t.f,null)):cC(t.g,e)}function TZ(t){return 0==t.b?null:(TP(0!=t.b),Iet(t,t.a.a))}function CZ(t){return 0|Math.max(Math.min(t,PWt),-2147483648)}function SZ(t,e){return Zte[t.charCodeAt(0)]??t}function AZ(t,e){return KV(t,"set1"),KV(e,"set2"),new xE(t,e)}function MZ(t,e){return Gj(zP(Jet(t.f,e)),t.f.d)}function IZ(t,e){var n;return VGt(t,e,n=new U),n.d}function OZ(t,e,n,i){var r;r=new Rj,e.a[n.g]=r,wG(t.b,i,r)}function LZ(t,e,n){var i;(i=t.Yg(e))>=0?t.sh(i,n):_Nt(t,e,n)}function NZ(t,e,n){cJ(),t&&YW(cOe,t,e),t&&YW(sOe,t,n)}function DZ(t,e,n){this.i=new Lw,this.b=t,this.g=e,this.a=n}function PZ(t,e,n){this.c=new Lw,this.e=t,this.f=e,this.b=n}function BZ(t,e,n){this.a=new Lw,this.e=t,this.f=e,this.c=n}function jZ(t,e){YL(this),this.f=e,this.g=t,vV(this),this._d()}function RZ(t,e){var n;n=t.q.getHours(),t.q.setDate(e),hzt(t,n)}function $Z(t,e){var n;for(yY(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function FZ(t){var e;return Oct(e=new h_(tet(t.length)),t),e}function zZ(t){function e(){}return e.prototype=t||{},new e}function HZ(t,e){return!!dst(t,e)&&(eit(t),!0)}function UZ(t,e){if(null==e)throw Fw(new gy);return obt(t,e)}function GZ(t){if(t.qe())return null;var e=t.n;return TWt[e]}function qZ(t){return t.Db>>16!=3?null:$z(t.Cb,33)}function KZ(t){return t.Db>>16!=9?null:$z(t.Cb,33)}function YZ(t){return t.Db>>16!=6?null:$z(t.Cb,79)}function WZ(t){return t.Db>>16!=7?null:$z(t.Cb,235)}function XZ(t){return t.Db>>16!=7?null:$z(t.Cb,160)}function VZ(t){return t.Db>>16!=11?null:$z(t.Cb,33)}function QZ(t,e){var n;return(n=t.Yg(e))>=0?t.lh(n):HMt(t,e)}function ZZ(t,e){var n;return sTt(n=new OU(e),t),new JR(n)}function JZ(t){var e;return e=t.d,e=t.si(t.f),u7(t,e),e.Ob()}function tJ(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function eJ(t,e){return i.Math.abs(t)<i.Math.abs(e)?t:e}function nJ(t){return!t.a&&(t.a=new tK(UIe,t,10,11)),t.a.i>0}function iJ(){this.a=new uO,this.e=new Py,this.g=0,this.i=0}function rJ(t){this.a=t,this.b=N8(jme,cXt,1944,t.e.length,0,2)}function aJ(t,e,n){var i;i=Nct(t,e,n),t.b=new yrt(i.c.length)}function oJ(){oJ=I,ive=new nA(bZt,0),rve=new nA("UP",1)}function sJ(){sJ=I,Bxe=new hA(q3t,0),jxe=new hA("FAN",1)}function cJ(){cJ=I,cOe=new Nw,sOe=new Nw,RM(yne,new pc)}function uJ(t){if(0!=t.p)throw Fw(new dy);return VM(t.f,0)}function lJ(t){if(0!=t.p)throw Fw(new dy);return VM(t.k,0)}function hJ(t){return t.Db>>16!=3?null:$z(t.Cb,147)}function fJ(t){return t.Db>>16!=6?null:$z(t.Cb,235)}function dJ(t){return t.Db>>16!=17?null:$z(t.Cb,26)}function gJ(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function pJ(t,e){return t.a.get(e)??new Array}function bJ(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),hzt(t,n)}function wJ(t,e,n){return null==e?xAt(t.f,null,n):odt(t.g,e,n)}function yJ(t,e,n,i,r,a){return new L9(t.e,e,t.aj(),n,i,r,a)}function mJ(t,e,n){return t.a=uP(t.a,0,e)+""+n+ZM(t.a,e),t}function vJ(t,e,n){return Kz(t.a,(ZW(),Gyt(e,n),new bE(e,n))),t}function xJ(t){return oD(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function kJ(t){return oD(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function _J(t,e){t.d&&y9(t.d.e,t),t.d=e,t.d&&Kz(t.d.e,t)}function EJ(t,e){t.c&&y9(t.c.g,t),t.c=e,t.c&&Kz(t.c.g,t)}function TJ(t,e){t.c&&y9(t.c.a,t),t.c=e,t.c&&Kz(t.c.a,t)}function CJ(t,e){t.i&&y9(t.i.j,t),t.i=e,t.i&&Kz(t.i.j,t)}function SJ(t,e,n){this.a=e,this.c=t,this.b=(yY(n),new JR(n))}function AJ(t,e,n){this.a=e,this.c=t,this.b=(yY(n),new JR(n))}function MJ(t,e){this.a=t,this.c=$L(this.a),this.b=new gQ(e)}function IJ(t){return Xft(t),MX(t,new bg(new Py))}function OJ(t,e){if(t<0||t>e)throw Fw(new Mv(xQt+t+kQt+e))}function LJ(t,e){return SG(t.a,e)?xK(t,$z(e,22).g,null):null}function NJ(t){return Tlt(),cD(),0!=$z(t.a,81).d.e}function DJ(){DJ=I,Kte=hlt((nv(),Cst(Hx(Yte,1),OXt,538,0,[qte])))}function PJ(){PJ=I,pme=KG(new $2,(mTt(),Foe),(hWt(),Hce))}function BJ(){BJ=I,bme=KG(new $2,(mTt(),Foe),(hWt(),Hce))}function jJ(){jJ=I,yme=KG(new $2,(mTt(),Foe),(hWt(),Hce))}function RJ(){RJ=I,Ume=dU(new $2,(mTt(),Foe),(hWt(),gce))}function $J(){$J=I,Wme=dU(new $2,(mTt(),Foe),(hWt(),gce))}function FJ(){FJ=I,Qme=dU(new $2,(mTt(),Foe),(hWt(),gce))}function zJ(){zJ=I,ove=dU(new $2,(mTt(),Foe),(hWt(),gce))}function HJ(){HJ=I,Uxe=KG(new $2,(Gvt(),$ve),(PSt(),Gve))}function UJ(t,e,n,i){this.c=t,this.d=i,KJ(this,e),YJ(this,n)}function GJ(t){this.c=new XE,this.b=t.b,this.d=t.c,this.a=t.a}function qJ(t){this.a=i.Math.cos(t),this.b=i.Math.sin(t)}function KJ(t,e){t.a&&y9(t.a.k,t),t.a=e,t.a&&Kz(t.a.k,t)}function YJ(t,e){t.b&&y9(t.b.f,t),t.b=e,t.b&&Kz(t.b.f,t)}function WJ(t,e){eW(t,t.b,t.c),$z(t.b.b,65),e&&$z(e.b,65).b}function XJ(t,e){Gft(t,e),iN(t.Cb,88)&&IAt(T5($z(t.Cb,88)),2)}function VJ(t,e){iN(t.Cb,88)&&IAt(T5($z(t.Cb,88)),4),Nrt(t,e)}function QJ(t,e){iN(t.Cb,179)&&($z(t.Cb,179).tb=null),Nrt(t,e)}function ZJ(t,e){return QT(),ctt(e)?new lU(e,t):new NM(e,t)}function JJ(t,e){null!=e.c&&ZY(t,new HY(e.c))}function t1(t){var e;return e_(),rnt(e=new Bw,t),e}function e1(t){var e;return e_(),rnt(e=new Bw,t),e}function n1(t,e){var n;return n=new FY(t),e.c[e.c.length]=n,n}function i1(t,e){var n;return(n=$z(hht(AV(t.a),e),14))?n.gc():0}function r1(t){return Xft(t),TV(),TV(),met(t,dne)}function a1(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function o1(t,e){Gm.call(this,new qE(tet(t))),hit(e,sXt),this.a=e}function s1(t,e,n){zht(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function c1(t,e,n){var i;zht(e,n,t.c.length),i=n-e,T_(t.c,e,i)}function u1(t,e){cN(t,dG(t0(mq(e,24),cQt)),dG(t0(e,cQt)))}function l1(t,e){if(t<0||t>=e)throw Fw(new Mv(xQt+t+kQt+e))}function h1(t,e){if(t<0||t>=e)throw Fw(new Ax(xQt+t+kQt+e))}function f1(t,e){this.b=(mW(t),t),this.a=e&RVt?e:64|e|uXt}function d1(t){DO(this),Ty(this.a,vct(i.Math.max(8,t))<<1)}function g1(t){return Ict(Cst(Hx(TTe,1),cXt,8,0,[t.i.n,t.n,t.a]))}function p1(){return Hut(),Cst(Hx(Zne,1),OXt,132,0,[Wne,Xne,Vne])}function b1(){return Pet(),Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])}function w1(){return V7(),Cst(Hx(tre,1),OXt,461,0,[Qie,Vie,Zie])}function y1(){return H9(),Cst(Hx(ore,1),OXt,462,0,[rre,ire,nre])}function m1(){return Fht(),Cst(Hx(wse,1),OXt,423,0,[dse,fse,hse])}function v1(){return z9(),Cst(Hx(Poe,1),OXt,379,0,[Moe,Aoe,Ioe])}function x1(){return Elt(),Cst(Hx(cye,1),OXt,378,0,[rye,aye,oye])}function k1(){return Mit(),Cst(Hx(fle,1),OXt,314,0,[ule,cle,lle])}function _1(){return oit(),Cst(Hx(wle,1),OXt,337,0,[dle,ple,gle])}function E1(){return Qst(),Cst(Hx(Nle,1),OXt,450,0,[Ile,Mle,Ole])}function T1(){return Srt(),Cst(Hx(Rue,1),OXt,361,0,[Bue,Pue,Due])}function C1(){return U9(),Cst(Hx(Mhe,1),OXt,303,0,[Che,She,The])}function S1(){return jot(),Cst(Hx(Ehe,1),OXt,292,0,[xhe,khe,vhe])}function A1(){return ait(),Cst(Hx(qye,1),OXt,452,0,[Uye,zye,Hye])}function M1(){return yct(),Cst(Hx(Bye,1),OXt,339,0,[Nye,Lye,Dye])}function I1(){return zat(),Cst(Hx(Vye,1),OXt,375,0,[Kye,Yye,Wye])}function O1(){return Ost(),Cst(Hx(Eme,1),OXt,377,0,[fme,dme,hme])}function L1(){return qut(),Cst(Hx(ame,1),OXt,336,0,[eme,nme,ime])}function N1(){return gat(),Cst(Hx(lme,1),OXt,338,0,[cme,ome,sme])}function D1(){return sit(),Cst(Hx(Nme,1),OXt,454,0,[Mme,Ime,Ome])}function P1(){return Sdt(),Cst(Hx(ike,1),OXt,442,0,[eke,Jxe,tke])}function B1(){return zut(),Cst(Hx(Rke,1),OXt,380,0,[cke,uke,lke])}function j1(){return Tdt(),Cst(Hx(L_e,1),OXt,381,0,[Zke,Jke,Qke])}function R1(){return Fat(),Cst(Hx(Xke,1),OXt,293,0,[Kke,Yke,qke])}function $1(){return Cdt(),Cst(Hx(q_e,1),OXt,437,0,[z_e,H_e,U_e])}function F1(){return oht(),Cst(Hx(vAe,1),OXt,334,0,[wAe,bAe,yAe])}function z1(){return Bet(),Cst(Hx(WSe,1),OXt,272,0,[GSe,qSe,KSe])}function H1(t,e){return vLt(t,e,iN(e,99)&&!!($z(e,18).Bb&FVt))}function U1(t,e,n){var i;return(i=rHt(t,e,!1)).b<=e&&i.a<=n}function G1(t,e,n){var i;(i=new ao).b=e,i.a=n,++e.b,Kz(t.d,i)}function q1(t,e){var n;return kP(!!(n=(mW(t),t).g)),mW(e),n(e)}function K1(t,e){var n,i;return i=pK(t,e),n=t.a.Zc(i),new mE(t,n)}function Y1(t){return t.Db>>16!=6?null:$z(rOt(t),235)}function W1(t){if(2!=t.p)throw Fw(new dy);return dG(t.f)&XXt}function X1(t){if(2!=t.p)throw Fw(new dy);return dG(t.k)&XXt}function V1(t){return t.a==(P5(),JLe)&&dd(t,eNt(t.g,t.b)),t.a}function Q1(t){return t.d==(P5(),JLe)&&pd(t,NRt(t.g,t.b)),t.d}function Z1(t){return TP(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function J1(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function t0(t,e){return oot(Eq(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function e0(t,e){return oot(Tq(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function n0(t,e){return oot(Cq(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function i0(t){return idt(yq(lot(zLt(t,32)),32),lot(zLt(t,32)))}function r0(t){return yY(t),iN(t,14)?new JR($z(t,14)):Fz(t.Kc())}function a0(t,e){return Dtt(),t.c==e.c?Cft(e.d,t.d):Cft(t.c,e.c)}function o0(t,e){return Dtt(),t.c==e.c?Cft(t.d,e.d):Cft(t.c,e.c)}function s0(t,e){return Dtt(),t.c==e.c?Cft(t.d,e.d):Cft(e.c,t.c)}function c0(t,e){return Dtt(),t.c==e.c?Cft(e.d,t.d):Cft(e.c,t.c)}function u0(t,e){var n;n=Hv(_B(t.a.We((cWt(),ASe)))),WKt(t,e,n)}function l0(t,e){var n;n=$z(PY(t.g,e),57),Met(e.d,new oS(t,n))}function h0(t,e){var n,i;return(n=svt(t))<(i=svt(e))?-1:n>i?1:0}function f0(t,e){var n;return n=E9(e),$z(PY(t.c,n),19).a}function d0(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function g0(t){return null==t.c||0==t.c.length?"n_"+t.g:"n_"+t.c}function p0(t){return null==t.c||0==t.c.length?"n_"+t.b:"n_"+t.c}function b0(t,e){return t&&t.equals?t.equals(e):HM(t)===HM(e)}function w0(t,e){return 0==e?!!t.o&&0!=t.o.f:wwt(t,e)}function y0(t,e,n){var i;t.n&&e&&n&&(i=new tc,Kz(t.e,i))}function m0(t,e,n){var i;i=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=i}function v0(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function x0(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function k0(t,e,n){Mw.call(this,25),this.b=t,this.a=e,this.c=n}function _0(t){dWt(),Mw.call(this,t),this.c=!1,this.a=!1}function E0(t,e,n,i,r,a){znt.call(this,t,e,n,i,r),a&&(this.o=-2)}function T0(t,e,n,i,r,a){Hnt.call(this,t,e,n,i,r),a&&(this.o=-2)}function C0(t,e,n,i,r,a){V5.call(this,t,e,n,i,r),a&&(this.o=-2)}function S0(t,e,n,i,r,a){qnt.call(this,t,e,n,i,r),a&&(this.o=-2)}function A0(t,e,n,i,r,a){Q5.call(this,t,e,n,i,r),a&&(this.o=-2)}function M0(t,e,n,i,r,a){Unt.call(this,t,e,n,i,r),a&&(this.o=-2)}function I0(t,e,n,i,r,a){Gnt.call(this,t,e,n,i,r),a&&(this.o=-2)}function O0(t,e,n,i,r,a){Z5.call(this,t,e,n,i,r),a&&(this.o=-2)}function L0(t,e,n,i){vw.call(this,n),this.b=t,this.c=e,this.d=i}function N0(t,e){this.a=new Lw,this.d=new Lw,this.f=t,this.c=e}function D0(){this.c=new IL,this.a=new hQ,this.b=new tm,hT()}function P0(){Nst(),this.b=new Nw,this.a=new Nw,this.c=new Lw}function B0(t,e){this.g=t,this.d=(P5(),JLe),this.a=JLe,this.b=e}function j0(t,e){this.f=t,this.a=(P5(),ZLe),this.c=ZLe,this.b=e}function R0(t,e){!t.c&&(t.c=new kat(t,0)),EHt(t.c,(qUt(),INe),e)}function $0(){$0=I,zxe=new fA("DFS",0),Fxe=new fA("BFS",1)}function F0(t,e,n){var i;return!!(i=$z(t.Zb().xc(e),14))&&i.Hc(n)}function z0(t,e,n){var i;return!!(i=$z(t.Zb().xc(e),14))&&i.Mc(n)}function H0(t,e,n,i){return t.a+=""+uP(null==e?GWt:Fdt(e),n,i),t}function U0(t,e,n,i,r,a){return Bat(t,e,n,a),Qht(t,i),tft(t,r),t}function G0(t){return TP(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function q0(t){for(;t.d>0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0)}function K0(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function Y0(t){return!(!t.a||0==F9(t.a.a).i||t.b&&jyt(t.b))}function W0(t){return!(!t.u||0==r4(t.u.a).i||t.n&&Byt(t.n))}function X0(t){return yU(t.e.Hd().gc()*t.c.Hd().gc(),16,new Hh(t))}function V0(t,e){return RK(lot(t.q.getTime()),lot(e.q.getTime()))}function Q0(t){return $z(Xbt(t,N8(yse,r1t,17,t.c.length,0,1)),474)}function Z0(t){return $z(Xbt(t,N8(kse,a1t,10,t.c.length,0,1)),193)}function J0(t){return $J(),!(h5(t)||!h5(t)&&t.c.i.c==t.d.i.c)}function t2(t,e,n){yY(t),Dvt(new SJ(new JR(t),e,n))}function e2(t,e,n){yY(t),Pvt(new AJ(new JR(t),e,n))}function n2(t,e){var n;return n=1-e,t.a[n]=drt(t.a[n],n),drt(t,e)}function i2(t,e){var n;t.e=new Vm,wL(n=dBt(e),t.c),ABt(t,n,0)}function r2(t,e,n,i){var r;(r=new ms).a=e,r.b=n,r.c=i,DH(t.a,r)}function a2(t,e,n,i){var r;(r=new ms).a=e,r.b=n,r.c=i,DH(t.b,r)}function o2(t){var e,n;return n=t$t(e=new lY,t),mqt(e),n}function s2(){var t,e;return t=new Bw,Kz(KLe,e=t),e}function c2(t){return t.j.c=N8(Ite,zWt,1,0,5,1),kX(t.c),gX(t.a),t}function u2(t){return _T(),iN(t.g,10)?$z(t.g,10):null}function l2(t){return!xX(t).dc()&&(OL(t,new m),!0)}function h2(t){if(!("stack"in t))try{throw t}catch{}return t}function f2(t,e){if(t<0||t>=e)throw Fw(new Mv(LAt(t,e)));return t}function d2(t,e,n){if(t<0||e<t||e>n)throw Fw(new Mv(sSt(t,e,n)))}function g2(t,e){if(kK(t.a,e),e.d)throw Fw(new dv(AQt));e.d=t}function p2(t,e){if(e.$modCount!=t.$modCount)throw Fw(new by)}function b2(t,e){return!!iN(e,42)&&Emt(t.a,$z(e,42))}function w2(t,e){return!!iN(e,42)&&Emt(t.a,$z(e,42))}function y2(t,e){return!!iN(e,42)&&Emt(t.a,$z(e,42))}function m2(t,e){return t.a<=t.b&&(e.ud(t.a++),!0)}function v2(t){var e;return VI(t)?-0==(e=t)?0:e:ptt(t)}function x2(t){var e;return xW(t),e=new F,g_(t.a,new gg(e)),e}function k2(t){var e;return xW(t),e=new $,g_(t.a,new dg(e)),e}function _2(t,e){this.a=t,Ed.call(this,t),OJ(e,t.gc()),this.b=e}function E2(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function T2(t){return yU(t.e.Hd().gc()*t.c.Hd().gc(),273,new zh(t))}function C2(t){return new V6((hit(t,NXt),Jtt(idt(idt(5,t),t/10|0))))}function S2(t){return $z(Xbt(t,N8(Fse,o1t,11,t.c.length,0,1)),1943)}function A2(t,e,n){return n.f.c.length>0?$K(t.a,e,n):$K(t.b,e,n)}function M2(t,e,n){t.d&&y9(t.d.e,t),t.d=e,t.d&&mG(t.d.e,n,t)}function I2(t,e){wYt(e,t),rH(t.d),rH($z(yTt(t,(zYt(),Mbe)),207))}function O2(t,e){bYt(e,t),iH(t.d),iH($z(yTt(t,(zYt(),Mbe)),207))}function L2(t,e){var n,i;return i=null,(n=UZ(t,e))&&(i=n.fe()),i}function N2(t,e){var n,i;return i=null,(n=dtt(t,e))&&(i=n.ie()),i}function D2(t,e){var n,i;return i=null,(n=UZ(t,e))&&(i=n.ie()),i}function P2(t,e){var n,i;return i=null,(n=UZ(t,e))&&(i=mSt(n)),i}function B2(t,e,n){var i;return i=Xpt(n),dRt(t.g,i,e),dRt(t.i,e,n),e}function j2(t,e,n){var i;i=Lpt();try{return dj(t,e,n)}finally{y3(i)}}function R2(t){var e;e=t.Wg(),this.a=iN(e,69)?$z(e,69).Zh():e.Kc()}function $2(){Xm.call(this),this.j.c=N8(Ite,zWt,1,0,5,1),this.a=-1}function F2(t,e,n,i){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1}function z2(t,e,n,i){this.e=i,this.d=null,this.c=t,this.a=e,this.b=n}function H2(t,e,n){this.d=new Rp(this),this.e=t,this.i=e,this.f=n}function U2(){U2=I,Ihe=new DS(eZt,0),Ohe=new DS("TOP_LEFT",1)}function G2(){G2=I,kme=VW(nft(1),nft(4)),xme=VW(nft(1),nft(2))}function q2(){q2=I,V_e=hlt((ST(),Cst(Hx(Q_e,1),OXt,551,0,[X_e])))}function K2(){K2=I,Y_e=hlt((CT(),Cst(Hx(W_e,1),OXt,482,0,[K_e])))}function Y2(){Y2=I,GEe=hlt((AT(),Cst(Hx(qEe,1),OXt,530,0,[UEe])))}function W2(){W2=I,rae=hlt((fT(),Cst(Hx(Tae,1),OXt,481,0,[iae])))}function X2(){return Pot(),Cst(Hx(Rre,1),OXt,406,0,[Bre,Nre,Dre,Pre])}function V2(){return Q7(),Cst(Hx(Rne,1),OXt,297,0,[Nne,Dne,Pne,Bne])}function Q2(){return Hwt(),Cst(Hx(nae,1),OXt,394,0,[Zre,Qre,Jre,tae])}function Z2(){return zwt(),Cst(Hx(Gre,1),OXt,323,0,[Fre,$re,zre,Hre])}function J2(){return Ist(),Cst(Hx(lse,1),OXt,405,0,[Zoe,ese,Joe,tse])}function t3(){return Ast(),Cst(Hx(pue,1),OXt,360,0,[aue,iue,rue,nue])}function e3(t,e,n,i){return iN(n,54)?new AP(t,e,n,i):new sq(t,e,n,i)}function n3(){return Mst(),Cst(Hx(kue,1),OXt,411,0,[wue,yue,mue,vue])}function i3(t){return t.j==(vKt(),TMe)&&ED(qIt(t),sMe)}function r3(t,e){var n;EJ(n=e.a,e.c.d),_J(n,e.d.d),Zet(n.a,t.n)}function a3(t,e){return $z(ID(Sq($z(c6(t.k,e),15).Oc(),Wue)),113)}function o3(t,e){return $z(ID(Aq($z(c6(t.k,e),15).Oc(),Wue)),113)}function s3(t){return new f1(tat($z(t.a.dd(),14).gc(),t.a.cd()),16)}function c3(t){return iN(t,14)?$z(t,14).dc():!t.Kc().Ob()}function u3(t){return _T(),iN(t.g,145)?$z(t.g,145):null}function l3(t){if(t.e.g!=t.b)throw Fw(new by);return!!t.c&&t.d>0}function h3(t){return TP(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function f3(t,e){mW(e),IY(t.a,t.c,e),t.c=t.c+1&t.a.length-1,dvt(t)}function d3(t,e){mW(e),t.b=t.b-1&t.a.length-1,IY(t.a,t.b,e),dvt(t)}function g3(t,e){var n;for(n=t.j.c.length;n<e;n++)Kz(t.j,t.rg())}function p3(t,e,n,i){var r;return r=i[e.g][n.g],Hv(_B(yTt(t.a,r)))}function b3(t,e,n,i,r){this.i=t,this.a=e,this.e=n,this.j=i,this.f=r}function w3(t,e,n,i,r){this.a=t,this.e=e,this.f=n,this.b=i,this.g=r}function y3(t){t&&Stt((sx(),tee)),--ree,t&&-1!=oee&&(eC(oee),oee=-1)}function m3(){return fyt(),Cst(Hx(gye,1),OXt,197,0,[hye,fye,lye,uye])}function v3(){return Gvt(),Cst(Hx(zve,1),OXt,393,0,[Bve,jve,Rve,$ve])}function x3(){return Mmt(),Cst(Hx(Gke,1),OXt,340,0,[Hke,Fke,zke,$ke])}function k3(){return ypt(),Cst(Hx(FMe,1),OXt,374,0,[jMe,RMe,BMe,PMe])}function _3(){return Kvt(),Cst(Hx(CAe,1),OXt,285,0,[EAe,xAe,kAe,_Ae])}function E3(){return Edt(),Cst(Hx(tAe,1),OXt,218,0,[ZSe,VSe,XSe,QSe])}function T3(){return $gt(),Cst(Hx(iIe,1),OXt,311,0,[eIe,ZMe,tIe,JMe])}function C3(){return Fut(),Cst(Hx(fIe,1),OXt,396,0,[oIe,sIe,aIe,cIe])}function S3(t){return cJ(),cK(cOe,t)?$z(PY(cOe,t),331).ug():null}function A3(t,e,n){return e<0?HMt(t,n):$z(n,66).Nj().Sj(t,t.yh(),e)}function M3(t,e,n){var i;return i=Xpt(n),dRt(t.d,i,e),YW(t.e,e,n),e}function I3(t,e,n){var i;return i=Xpt(n),dRt(t.j,i,e),YW(t.k,e,n),e}function O3(t){var e;return Jk(),e=new rc,t&&zNt(e,t),e}function L3(t){var e;return e=t.ri(t.i),t.i>0&&aHt(t.g,0,e,0,t.i),e}function N3(t,e){var n;return ZT(),!(n=$z(PY(bOe,t),55))||n.wj(e)}function D3(t){if(1!=t.p)throw Fw(new dy);return dG(t.f)<<24>>24}function P3(t){if(1!=t.p)throw Fw(new dy);return dG(t.k)<<24>>24}function B3(t){if(7!=t.p)throw Fw(new dy);return dG(t.k)<<16>>16}function j3(t){if(7!=t.p)throw Fw(new dy);return dG(t.f)<<16>>16}function R3(t){var e;for(e=0;t.Ob();)t.Pb(),e=idt(e,1);return Jtt(e)}function $3(t,e){var n;return n=new Sx,t.xd(n),n.a+="..",e.yd(n),n.a}function F3(t,e,n){var i;i=$z(PY(t.g,n),57),Kz(t.a.c,new nM(e,i))}function z3(t,e,n){return kq(_B(zM(MQ(t.f,e))),_B(zM(MQ(t.f,n))))}function H3(t,e,n){return qFt(t,e,n,iN(e,99)&&!!($z(e,18).Bb&FVt))}function U3(t,e,n){return bzt(t,e,n,iN(e,99)&&!!($z(e,18).Bb&FVt))}function G3(t,e,n){return DLt(t,e,n,iN(e,99)&&!!($z(e,18).Bb&FVt))}function q3(t,e){return t==(oCt(),Sse)&&e==Sse?4:t==Sse||e==Sse?8:32}function K3(t,e){return HM(e)===HM(t)?"(this Map)":null==e?GWt:Fdt(e)}function Y3(t,e){return $z(null==e?zM(MQ(t.f,null)):cC(t.g,e),281)}function W3(t,e,n){var i;return i=Xpt(n),YW(t.b,i,e),YW(t.c,e,n),e}function X3(t,e){var n;for(n=e;n;)jP(t,n.i,n.j),n=VZ(n);return t}function V3(t,e){var n;return n=nQ(Fz(new C9(t,e))),CU(new C9(t,e)),n}function Q3(t,e){var n;return QT(),_Ct(n=$z(t,66).Mj(),e),n.Ok(e)}function Z3(t,e,n,i,r){Kz(e,yAt(r,KLt(r,n,i))),qTt(t,r,e)}function J3(t,e,n){t.i=0,t.e=0,e!=n&&(Yct(t,e,n),Kct(t,e,n))}function t4(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+cVt),hzt(t,n)}function e4(t,e,n){if(n){var i=n.ee();t.a[e]=i(n)}else delete t.a[e]}function n4(t,e,n){if(n){var i=n.ee();n=i(n)}else n=void 0;t.a[e]=n}function i4(t){if(t<0)throw Fw(new $v("Negative array size: "+t))}function r4(t){return t.n||(T5(t),t.n=new XG(t,KOe,t),mQ(t)),t.n}function a4(t){return TP(t.a<t.c.a.length),t.b=t.a,Mtt(t),t.c.b[t.b]}function o4(t){t.b!=t.c&&(t.a=N8(Ite,zWt,1,8,5,1),t.b=0,t.c=0)}function s4(t){this.b=new Nw,this.c=new Nw,this.d=new Nw,this.a=t}function c4(t,e){dWt(),Mw.call(this,t),this.a=e,this.c=-1,this.b=-1}function u4(t,e,n,i){v0.call(this,1,n,i),this.c=t,this.b=e}function l4(t,e,n,i){x0.call(this,1,n,i),this.c=t,this.b=e}function h4(t,e,n,i,r,a,o){vit.call(this,e,i,r,a,o),this.c=t,this.a=n}function f4(t,e,n){this.e=t,this.a=Ite,this.b=Ijt(e),this.c=e,this.d=n}function d4(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function g4(t){this.c=t,this.a=$z(Axt(t),148),this.b=this.a.Aj().Nh()}function p4(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function b4(){Nw.call(this),vP(this),this.d.b=this.d,this.d.a=this.d}function w4(t,e){Ij.call(this),this.a=t,this.b=e,Kz(this.a.b,this)}function y4(t,e){return eI(null!=e?EZ(t,e):zM(MQ(t.f,e)))}function m4(t,e){return eI(null!=e?EZ(t,e):zM(MQ(t.f,e)))}function v4(t,e){var n;for(n=0;n<e;++n)IY(t,n,new Gd($z(t[n],42)))}function x4(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function k4(t,e){var n;return Gut(),0!=(n=t.j.g-e.j.g)?n:0}function _4(t,e){return mW(e),null!=t.a?TG(e.Kb(t.a)):Ene}function E4(t){var e;return t?new OU(t):(Hrt(e=new uO,t),e)}function T4(t,e){return e.b.Kb(k9(t,e.c.Ee(),new yg(e)))}function C4(t){mEt(),cN(this,dG(t0(mq(t,24),cQt)),dG(t0(t,cQt)))}function S4(){S4=I,pie=hlt((uwt(),Cst(Hx(bie,1),OXt,428,0,[gie,die])))}function A4(){A4=I,mie=hlt((Ptt(),Cst(Hx(Sie,1),OXt,427,0,[wie,yie])))}function M4(){M4=I,jae=hlt((Btt(),Cst(Hx(Soe,1),OXt,424,0,[Pae,Bae])))}function I4(){I4=I,Use=hlt((Trt(),Cst(Hx(Kse,1),OXt,511,0,[Hse,zse])))}function O4(){O4=I,Sle=hlt((jtt(),Cst(Hx(Ale,1),OXt,419,0,[Tle,Cle])))}function L4(){L4=I,Gle=hlt((g9(),Cst(Hx(qle,1),OXt,479,0,[Ule,Hle])))}function N4(){N4=I,Jye=hlt((M6(),Cst(Hx(tme,1),OXt,376,0,[Zye,Qye])))}function D4(){D4=I,$ye=hlt((G9(),Cst(Hx(Fye,1),OXt,421,0,[jye,Rye])))}function P4(){P4=I,ole=hlt((Y8(),Cst(Hx(sle,1),OXt,422,0,[rle,ale])))}function B4(){B4=I,Lhe=hlt((U2(),Cst(Hx(jfe,1),OXt,420,0,[Ihe,Ohe])))}function j4(){j4=I,Tve=hlt((A6(),Cst(Hx(Ove,1),OXt,520,0,[Eve,_ve])))}function R4(){R4=I,Hme=hlt((W4(),Cst(Hx(Yme,1),OXt,523,0,[zme,Fme])))}function $4(){$4=I,eve=hlt((gZ(),Cst(Hx(nve,1),OXt,516,0,[tve,Jme])))}function F4(){F4=I,ave=hlt((oJ(),Cst(Hx(kve,1),OXt,515,0,[ive,rve])))}function z4(){z4=I,Dve=hlt((dZ(),Cst(Hx(Pve,1),OXt,455,0,[Lve,Nve])))}function H4(){H4=I,Hxe=hlt(($0(),Cst(Hx(Wxe,1),OXt,425,0,[zxe,Fxe])))}function U4(){U4=I,Qxe=hlt((Crt(),Cst(Hx(Zxe,1),OXt,495,0,[Xxe,Vxe])))}function G4(){G4=I,Rxe=hlt((sJ(),Cst(Hx($xe,1),OXt,480,0,[Bxe,jxe])))}function q4(){q4=I,oke=hlt((D7(),Cst(Hx(ske,1),OXt,426,0,[rke,ake])))}function K4(){K4=I,WEe=hlt((Lst(),Cst(Hx(XEe,1),OXt,429,0,[YEe,KEe])))}function Y4(){Y4=I,tEe=hlt((I6(),Cst(Hx(eEe,1),OXt,430,0,[J_e,Z_e])))}function W4(){W4=I,zme=new VS("UPPER",0),Fme=new VS("LOWER",1)}function X4(t,e){var n;zV(n=new pv,"x",e.a),zV(n,"y",e.b),ZY(t,n)}function V4(t,e){var n;zV(n=new pv,"x",e.a),zV(n,"y",e.b),ZY(t,n)}function Q4(t,e){var n,i;i=!1;do{i|=n=fct(t,e)}while(n);return i}function Z4(t,e){var n,i;for(n=e,i=0;n>0;)i+=t.a[n],n-=n&-n;return i}function J4(t,e){var n;for(n=e;n;)jP(t,-n.i,-n.j),n=VZ(n);return t}function t5(t,e){var n,i;for(mW(e),i=t.Kc();i.Ob();)n=i.Pb(),e.td(n)}function e5(t,e){var n;return new bE(n=e.cd(),t.e.pc(n,$z(e.dd(),14)))}function n5(t,e,n,i){var r;(r=new L).c=e,r.b=n,r.a=i,i.b=n.a=r,++t.b}function i5(t,e,n){var i;return l1(e,t.c.length),i=t.c[e],t.c[e]=n,i}function r5(t,e,n){return $z(null==e?xAt(t.f,null,n):odt(t.g,e,n),281)}function a5(t){return t.c&&t.d?p0(t.c)+"->"+p0(t.d):"e_"+TD(t)}function o5(t,e){return(Xft(t),v_(new PU(t,new W7(e,t.a)))).sd(Jne)}function s5(){return mTt(),Cst(Hx(Goe,1),OXt,356,0,[Boe,joe,Roe,$oe,Foe])}function c5(){return vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])}function u5(t){return Dx(),function(){return j2(t,this,arguments)}}function l5(){return Date.now?Date.now():(new Date).getTime()}function h5(t){return!(!t.c||!t.d||!t.c.i||t.c.i!=t.d.i)}function f5(t){if(!t.c.Sb())throw Fw(new yy);return t.a=!0,t.c.Ub()}function d5(t){t.i=0,yC(t.b,null),yC(t.c,null),t.a=null,t.e=null,++t.g}function g5(t){dC.call(this,null==t?GWt:Fdt(t),iN(t,78)?$z(t,78):null)}function p5(t){eWt(),$w(this),this.a=new XE,gut(this,t),DH(this.a,t)}function b5(){NO(this),this.b=new NA(BVt,BVt),this.a=new NA(jVt,jVt)}function w5(t,e){this.c=0,this.b=e,pI.call(this,t,17493),this.a=this.c}function y5(t){m5(),!qne&&(this.c=t,this.e=!0,this.a=new Lw)}function m5(){m5=I,qne=!0,Une=!1,Gne=!1,Yne=!1,Kne=!1}function v5(t,e){return!!iN(e,149)&&wR(t.c,$z(e,149).c)}function x5(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function k5(t,e){return $z(ltt(t.d,e),23)||$z(ltt(t.e,e),23)}function _5(t){this.b=t,MN.call(this,t),this.a=$z(mot(this.b.a,4),126)}function E5(t){this.b=t,rP.call(this,t),this.a=$z(mot(this.b.a,4),126)}function T5(t){return t.t||(t.t=new dw(t),cft(new Nv(t),0,t.t)),t.t}function C5(){return $ht(),Cst(Hx(USe,1),OXt,103,0,[FSe,$Se,RSe,jSe,zSe])}function S5(){return rwt(),Cst(Hx(GAe,1),OXt,249,0,[FAe,HAe,RAe,$Ae,zAe])}function A5(){return iwt(),Cst(Hx(fTe,1),OXt,175,0,[uTe,cTe,oTe,lTe,sTe])}function M5(){return OCt(),Cst(Hx(HEe,1),OXt,316,0,[nEe,iEe,oEe,rEe,aEe])}function I5(){return Nyt(),Cst(Hx(xye,1),OXt,315,0,[mye,bye,wye,pye,yye])}function O5(){return Wyt(),Cst(Hx(Ele,1),OXt,335,0,[mle,yle,xle,kle,vle])}function L5(){return VNt(),Cst(Hx(F_e,1),OXt,355,0,[P_e,D_e,j_e,B_e,R_e])}function N5(){return L_t(),Cst(Hx(Nue,1),OXt,363,0,[Eue,Cue,Sue,Tue,_ue])}function D5(){return _dt(),Cst(Hx(Xwe,1),OXt,163,0,[Hfe,Rfe,$fe,Ffe,zfe])}function P5(){var t,e;P5=I,e_(),e=new xy,ZLe=e,t=new Am,JLe=t}function B5(t){var e;return t.c||iN(e=t.r,88)&&(t.c=$z(e,26)),t.c}function j5(t){return t.e=3,t.d=t.Yb(),2!=t.e&&(t.e=0,!0)}function R5(t){return _L(t&TVt,t>>22&TVt,t<0?CVt:0)}function $5(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)vW(e[n])}function F5(t,e){var n,i;(n=$z(fht(t.c,e),14))&&(i=n.gc(),n.$b(),t.d-=i)}function z5(t,e){var n;return!!(n=hut(t,e.cd()))&&iX(n.e,e.dd())}function H5(t,e){return 0==e||0==t.e?t:e>0?kpt(t,e):APt(t,-e)}function U5(t,e){return 0==e||0==t.e?t:e>0?APt(t,e):kpt(t,-e)}function G5(t){if(gOt(t))return t.c=t.a,t.a.Pb();throw Fw(new yy)}function q5(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(oCt(),Ese)&&n.k==Ese}function K5(t){var e;return Hot(e=new fQ,t),uct(e,(zYt(),bbe),null),e}function Y5(t,e,n){var i;return(i=t.Yg(e))>=0?t._g(i,n,!0):rIt(t,e,n)}function W5(t,e,n,i){var r;for(r=0;r<Wie;r++)qG(t.a[e.g][r],n,i[e.g])}function X5(t,e,n,i){var r;for(r=0;r<Xie;r++)GG(t.a[r][e.g],n,i[e.g])}function V5(t,e,n,i,r){v0.call(this,e,i,r),this.c=t,this.a=n}function Q5(t,e,n,i,r){x0.call(this,e,i,r),this.c=t,this.a=n}function Z5(t,e,n,i,r){e6.call(this,e,i,r),this.c=t,this.a=n}function J5(t,e,n,i,r){e6.call(this,e,i,r),this.c=t,this.b=n}function t6(t,e,n){vw.call(this,n),this.b=t,this.c=e,this.d=(Fgt(),HLe)}function e6(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function n6(t,e,n){var i;_at(i=new qL(t.a),t.a.a),xAt(i.f,e,n),t.a.a=i}function i6(t,e){t.qi(t.i+1),vN(t,t.i,t.oi(t.i,e)),t.bi(t.i++,e),t.ci()}function r6(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.di(n,e),t.ci()}function a6(t){var e;return yY(t),Oct(e=new V6(QW(t.length)),t),e}function o6(t){var e;return yY(t),QSt(e=t?new JR(t):Fz(t.Kc())),cht(e)}function s6(t,e){var n;return l1(e,t.c.length),n=t.c[e],T_(t.c,e,1),n}function c6(t,e){var n;return!(n=$z(t.c.xc(e),14))&&(n=t.ic(e)),t.pc(e,n)}function u6(t,e){var n,i;return mW(t),n=t,mW(e),n==(i=e)?0:n<i?-1:1}function l6(t){var e;return e=t.e+t.f,isNaN(e)&&KR(t.d)?t.d:e}function h6(t,e){return t.a?oI(t.a,t.b):t.a=new lD(t.d),rI(t.a,e),t}function f6(t,e){if(t<0||t>e)throw Fw(new Mv(gAt(t,e,"index")));return t}function d6(t,e,n,i){var r;return wEt(r=N8(ADe,uVt,25,e,15,1),t,e,n,i),r}function g6(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),hzt(t,n)}function p6(t,e){return i.Math.min(K8(e.a,t.d.d.c),K8(e.b,t.d.d.c))}function b6(t,e){return qM(e)?null==e?pOt(t.f,null):Uot(t.g,e):pOt(t.f,e)}function w6(t){this.c=t,this.a=new Kd(this.c.a),this.b=new Kd(this.c.b)}function y6(){this.e=new Lw,this.c=new Lw,this.d=new Lw,this.b=new Lw}function m6(){this.g=new $y,this.b=new $y,this.a=new Lw,this.k=new Lw}function v6(t,e,n){this.a=t,this.c=e,this.d=n,Kz(e.e,this),Kz(n.b,this)}function x6(t,e){gI.call(this,e.rd(),-6&e.qd()),mW(t),this.a=t,this.b=e}function k6(t,e){pI.call(this,e.rd(),-6&e.qd()),mW(t),this.a=t,this.b=e}function _6(t,e){bI.call(this,e.rd(),-6&e.qd()),mW(t),this.a=t,this.b=e}function E6(t,e,n){this.a=t,this.b=e,this.c=n,Kz(t.t,this),Kz(e.i,this)}function T6(){this.b=new XE,this.a=new XE,this.b=new XE,this.a=new XE}function C6(){C6=I,kTe=new aw("org.eclipse.elk.labels.labelManager")}function S6(){S6=I,tue=new ej("separateLayerConnections",(Ast(),aue))}function A6(){A6=I,Eve=new aA("REGULAR",0),_ve=new aA("CRITICAL",1)}function M6(){M6=I,Zye=new qS("STACKED",0),Qye=new qS("SEQUENCED",1)}function I6(){I6=I,J_e=new kA("FIXED",0),Z_e=new kA("CENTER_NODE",1)}function O6(t,e){var n;return n=DGt(t,e),t.b=new yrt(n.c.length),mUt(t,n)}function L6(t,e,n){return++t.e,--t.f,$z(t.d[e].$c(n),133).dd()}function N6(t){var e;return t.a||iN(e=t.r,148)&&(t.a=$z(e,148)),t.a}function D6(t){return t.a?t.e?D6(t.e):null:t}function P6(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function B6(t,e){return mW(e),t.c<t.d&&(t.ze(e,t.c++),!0)}function j6(t,e){return!!cK(t.a,e)&&(b6(t.a,e),!0)}function R6(t){var e;return e=t.cd(),Pz($z(t.dd(),14).Nc(),new Kh(e))}function $6(t){var e;return e=$z(YK(t.b,t.b.length),9),new XR(t.a,e,t.c)}function F6(t){return Xft(t),new MB(t,new Qz(t,t.a.e,4|t.a.d))}function z6(t){var e;for(xW(t),e=0;t.a.sd(new lt);)e=idt(e,1);return e}function H6(t,e,n){var i,r;for(i=0,r=0;r<e.length;r++)i+=t.$f(e[r],i,n)}function U6(t,e){var n;t.C&&((n=$z(oX(t.b,e),124).n).d=t.C.d,n.a=t.C.a)}function G6(t,e,n){return f2(e,t.e.Hd().gc()),f2(n,t.c.Hd().gc()),t.a[e][n]}function q6(t,e){MBt(),this.e=t,this.d=1,this.a=Cst(Hx(ADe,1),uVt,25,15,[e])}function K6(t,e,n,i){this.f=t,this.e=e,this.d=n,this.b=i,this.c=i?i.d:null}function Y6(t){var e,n,i,r;r=t.d,e=t.a,n=t.b,i=t.c,t.d=n,t.a=i,t.b=r,t.c=e}function W6(t,e,n,i){yFt(t,e,n,bzt(t,e,i,iN(e,99)&&!!($z(e,18).Bb&FVt)))}function X6(t,e){MEt(e,"Label management",1),eI(yTt(t,(C6(),kTe))),zCt(e)}function V6(t){NO(this),bH(t>=0,"Initial capacity must not be negative")}function Q6(){Q6=I,Kie=hlt((Pet(),Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])))}function Z6(){Z6=I,Jie=hlt((V7(),Cst(Hx(tre,1),OXt,461,0,[Qie,Vie,Zie])))}function J6(){J6=I,are=hlt((H9(),Cst(Hx(ore,1),OXt,462,0,[rre,ire,nre])))}function t8(){t8=I,Qne=hlt((Hut(),Cst(Hx(Zne,1),OXt,132,0,[Wne,Xne,Vne])))}function e8(){e8=I,Ooe=hlt((z9(),Cst(Hx(Poe,1),OXt,379,0,[Moe,Aoe,Ioe])))}function n8(){n8=I,gse=hlt((Fht(),Cst(Hx(wse,1),OXt,423,0,[dse,fse,hse])))}function i8(){i8=I,hle=hlt((Mit(),Cst(Hx(fle,1),OXt,314,0,[ule,cle,lle])))}function r8(){r8=I,ble=hlt((oit(),Cst(Hx(wle,1),OXt,337,0,[dle,ple,gle])))}function a8(){a8=I,Lle=hlt((Qst(),Cst(Hx(Nle,1),OXt,450,0,[Ile,Mle,Ole])))}function o8(){o8=I,jue=hlt((Srt(),Cst(Hx(Rue,1),OXt,361,0,[Bue,Pue,Due])))}function s8(){s8=I,Ahe=hlt((U9(),Cst(Hx(Mhe,1),OXt,303,0,[Che,She,The])))}function c8(){c8=I,_he=hlt((jot(),Cst(Hx(Ehe,1),OXt,292,0,[xhe,khe,vhe])))}function u8(){u8=I,sye=hlt((Elt(),Cst(Hx(cye,1),OXt,378,0,[rye,aye,oye])))}function l8(){l8=I,Xye=hlt((zat(),Cst(Hx(Vye,1),OXt,375,0,[Kye,Yye,Wye])))}function h8(){h8=I,Pye=hlt((yct(),Cst(Hx(Bye,1),OXt,339,0,[Nye,Lye,Dye])))}function f8(){f8=I,Gye=hlt((ait(),Cst(Hx(qye,1),OXt,452,0,[Uye,zye,Hye])))}function d8(){d8=I,gme=hlt((Ost(),Cst(Hx(Eme,1),OXt,377,0,[fme,dme,hme])))}function g8(){g8=I,rme=hlt((qut(),Cst(Hx(ame,1),OXt,336,0,[eme,nme,ime])))}function p8(){p8=I,ume=hlt((gat(),Cst(Hx(lme,1),OXt,338,0,[cme,ome,sme])))}function b8(){b8=I,Lme=hlt((sit(),Cst(Hx(Nme,1),OXt,454,0,[Mme,Ime,Ome])))}function w8(){w8=I,nke=hlt((Sdt(),Cst(Hx(ike,1),OXt,442,0,[eke,Jxe,tke])))}function y8(){y8=I,hke=hlt((zut(),Cst(Hx(Rke,1),OXt,380,0,[cke,uke,lke])))}function m8(){m8=I,t_e=hlt((Tdt(),Cst(Hx(L_e,1),OXt,381,0,[Zke,Jke,Qke])))}function v8(){v8=I,Wke=hlt((Fat(),Cst(Hx(Xke,1),OXt,293,0,[Kke,Yke,qke])))}function x8(){x8=I,G_e=hlt((Cdt(),Cst(Hx(q_e,1),OXt,437,0,[z_e,H_e,U_e])))}function k8(){k8=I,mAe=hlt((oht(),Cst(Hx(vAe,1),OXt,334,0,[wAe,bAe,yAe])))}function _8(){_8=I,YSe=hlt((Bet(),Cst(Hx(WSe,1),OXt,272,0,[GSe,qSe,KSe])))}function E8(){return X_t(),Cst(Hx(ZAe,1),OXt,98,0,[VAe,XAe,WAe,qAe,YAe,KAe])}function T8(t,e){return!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),ipt(t.o,e)}function C8(t){return!t.g&&(t.g=new uc),!t.g.d&&(t.g.d=new lw(t)),t.g.d}function S8(t){return!t.g&&(t.g=new uc),!t.g.a&&(t.g.a=new hw(t)),t.g.a}function A8(t){return!t.g&&(t.g=new uc),!t.g.b&&(t.g.b=new uw(t)),t.g.b}function M8(t){return!t.g&&(t.g=new uc),!t.g.c&&(t.g.c=new fw(t)),t.g.c}function I8(t,e,n){var i,r;for(r=new Iot(e,t),i=0;i<n;++i)ryt(r);return r}function O8(t,e,n){var i,r;if(null!=n)for(i=0;i<e;++i)r=n[i],t.fi(i,r)}function L8(t,e,n,i){var r;return IFt(r=N8(ADe,uVt,25,e+1,15,1),t,e,n,i),r}function N8(t,e,n,i,r,a){var o;return o=Fmt(r,i),10!=r&&Cst(Hx(t,a),e,n,r,o),o}function D8(t,e,n,i){return n&&(i=n.gh(e,Igt(n.Tg(),t.c.Lj()),null,i)),i}function P8(t,e,n,i){return n&&(i=n.ih(e,Igt(n.Tg(),t.c.Lj()),null,i)),i}function B8(t,e,n){$z(t.b,65),$z(t.b,65),$z(t.b,65),Met(t.a,new L$(n,e,t))}function j8(t,e,n){if(t<0||e>n||e<t)throw Fw(new Ax(yQt+t+vQt+e+uQt+n))}function R8(t){if(!t)throw Fw(new Rv("Unable to add element to queue"))}function $8(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new Lw)}function F8(t,e){TC.call(this,t,e),this.a=N8(Lne,vXt,436,2,0,1),this.b=!0}function z8(t){Jst.call(this,t,0),vP(this),this.d.b=this.d,this.d.a=this.d}function H8(t){var e;return 0==(e=t.b).b?null:$z(Pwt(e,0),188).b}function U8(t,e){var n;return(n=new U).c=!0,n.d=e.dd(),VGt(t,e.cd(),n)}function G8(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),hzt(t,n)}function q8(t,e,n){var i;(i=t.b[n.c.p][n.p]).b+=e.b,i.c+=e.c,i.a+=e.a,++i.a}function K8(t,e){var n,r;return n=t.a-e.a,r=t.b-e.b,i.Math.sqrt(n*n+r*r)}function Y8(){Y8=I,rle=new xS("QUADRATIC",0),ale=new xS("SCANLINE",1)}function W8(){W8=I,wme=KG(dU(new $2,(mTt(),Boe),(hWt(),vce)),Foe,Hce)}function X8(){return d_t(),Cst(Hx(BSe,1),OXt,291,0,[ZTe,QTe,VTe,WTe,YTe,XTe])}function V8(){return dyt(),Cst(Hx(KTe,1),OXt,248,0,[STe,ITe,OTe,LTe,ATe,MTe])}function Q8(){return OSt(),Cst(Hx(ile,1),OXt,227,0,[Zue,tle,Que,Jue,ele,Vue])}function Z8(){return QTt(),Cst(Hx(she,1),OXt,275,0,[rhe,ehe,ahe,ihe,nhe,the])}function J8(){return Fkt(),Cst(Hx(Jle,1),OXt,274,0,[Xle,Wle,Qle,Yle,Vle,Kle])}function t7(){return _Et(),Cst(Hx(iye,1),OXt,313,0,[tye,Zwe,Vwe,Qwe,eye,Jwe])}function e7(){return pCt(),Cst(Hx(zle,1),OXt,276,0,[Ple,Dle,jle,Ble,$le,Rle])}function n7(){return PSt(),Cst(Hx(Pxe,1),OXt,327,0,[Xve,qve,Yve,Kve,Wve,Gve])}function i7(){return hMt(),Cst(Hx(oMe,1),OXt,273,0,[iMe,eMe,nMe,tMe,JAe,rMe])}function r7(){return JEt(),Cst(Hx(pAe,1),OXt,312,0,[aAe,iAe,oAe,eAe,rAe,nAe])}function a7(){return oCt(),Cst(Hx(Ise,1),OXt,267,0,[Sse,Cse,Ese,Ase,Tse,_se])}function o7(t){_P(!!t.c),p2(t.e,t),t.c.Qb(),t.c=null,t.b=gst(t),hB(t.e,t)}function s7(t){return p2(t.c.a.e,t),TP(t.b!=t.c.a.d),t.a=t.b,t.b=t.b.a,t.a}function c7(t){var e;return!t.a&&-1!=t.b&&(e=t.c.Tg(),t.a=eet(e,t.b)),t.a}function u7(t,e){return!(t.hi()&&t.Hc(e)||(t.Yh(e),0))}function l7(t,e){return AQ(e,"Horizontal alignment cannot be null"),t.b=e,t}function h7(t,e,n){var i;return dWt(),i=ZKt(t,e),n&&i&&gW(t)&&(i=null),i}function f7(t,e,n){var i;for(i=t.Kc();i.Ob();)Zjt($z(i.Pb(),37),e,n)}function d7(t,e){var n;for(n=e.Kc();n.Ob();)ORt(t,$z(n.Pb(),37),0,0)}function g7(t,e,n){var r;t.d[e.g]=n,(r=t.g.c)[e.g]=i.Math.max(r[e.g],n+1)}function p7(t,e){var n,i,r;return r=t.r,i=t.d,(n=rHt(t,e,!0)).b!=r||n.a!=i}function b7(t,e){return lC(t.e,e)||Qbt(t.e,e,new nwt(e)),$z(ltt(t.e,e),113)}function w7(t,e,n,i){return mW(t),mW(e),mW(n),mW(i),new vK(t,e,new G)}function y7(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=new Qq(this,e,n,i)}function m7(t,e,n,i,r,a){F2.call(this,e,i,r,a),this.c=t,this.b=n}function v7(t,e,n,i,r,a){F2.call(this,e,i,r,a),this.c=t,this.a=n}function x7(t,e,n){var i,r;r=null,(i=UZ(t,n))&&(r=mSt(i)),Kbt(e,n,r)}function k7(t,e,n){var i,r;r=null,(i=UZ(t,n))&&(r=mSt(i)),Kbt(e,n,r)}function _7(t,e,n){var i;return(i=OLt(t.b,e))?NHt(R9(t,i),n):null}function E7(t,e){var n;return(n=t.Yg(e))>=0?t._g(n,!0,!0):rIt(t,e,!0)}function T7(t,e){return Cft(Hv(_B(yTt(t,(uWt(),kfe)))),Hv(_B(yTt(e,kfe))))}function C7(){C7=I,Gxe=sbt(sbt(RT(new $2,(Gvt(),jve)),(PSt(),Xve)),qve)}function S7(t,e,n){var i;return i=Nct(t,e,n),t.b=new yrt(i.c.length),cBt(t,i)}function A7(t){if(t.b<=0)throw Fw(new yy);return--t.b,t.a-=t.c.c,nft(t.a)}function M7(t){var e;if(!t.a)throw Fw(new lX);return e=t.a,t.a=VZ(t.a),e}function I7(t){for(;!t.a;)if(!kR(t.c,new pg(t)))return!1;return!0}function O7(t){return yY(t),iN(t,198)?$z(t,198):new of(t)}function L7(t){N7(),$z(t.We((cWt(),uSe)),174).Fc((hMt(),nMe)),t.Ye(cSe,null)}function N7(){N7=I,JEe=new gs,eTe=new ps,tTe=wut((cWt(),cSe),JEe,zCe,eTe)}function D7(){D7=I,rke=new pA("LEAF_NUMBER",0),ake=new pA("NODE_SIZE",1)}function P7(t,e,n){t.a=e,t.c=n,t.b.a.$b(),yV(t.d),t.e.a.c=N8(Ite,zWt,1,0,5,1)}function B7(t){t.a=N8(ADe,uVt,25,t.b+1,15,1),t.c=N8(ADe,uVt,25,t.b,15,1),t.d=0}function j7(t,e){t.a.ue(e.d,t.b)>0&&(Kz(t.c,new wH(e.c,e.d,t.d)),t.b=e.d)}function R7(t,e){if(null==t.g||e>=t.i)throw Fw(new OI(e,t.i));return t.g[e]}function $7(t,e,n){if(Dut(t,n),null!=n&&!t.wj(n))throw Fw(new ly);return n}function F7(t){var e;if(t.Ek())for(e=t.i-1;e>=0;--e)Yet(t,e);return L3(t)}function z7(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function H7(t,e){var n;return i4(e),(n=w9(t.slice(0,e),t)).length=e,n}function U7(t,e,n,i){TV(),i=i||fne,pAt(t.slice(e,n),t,e,n,-e,i)}function G7(t,e,n,i,r){return e<0?rIt(t,n,i):$z(n,66).Nj().Pj(t,t.yh(),e,i,r)}function q7(t){return iN(t,172)?""+$z(t,172).a:null==t?null:Fdt(t)}function K7(t){return iN(t,172)?""+$z(t,172).a:null==t?null:Fdt(t)}function Y7(t,e){if(e.a)throw Fw(new dv(AQt));kK(t.a,e),e.a=t,!t.j&&(t.j=e)}function W7(t,e){bI.call(this,e.rd(),-16449&e.qd()),mW(t),this.a=t,this.c=e}function X7(t,e){var n,i;return i=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),G6(t,i,n)}function V7(){V7=I,Qie=new HC(rZt,0),Vie=new HC(eZt,1),Zie=new HC(aZt,2)}function Q7(){Q7=I,Nne=new gC("All",0),Dne=new OO,Pne=new ML,Bne=new LO}function Z7(){Z7=I,jne=hlt((Q7(),Cst(Hx(Rne,1),OXt,297,0,[Nne,Dne,Pne,Bne])))}function J7(){J7=I,nse=hlt((Ist(),Cst(Hx(lse,1),OXt,405,0,[Zoe,ese,Joe,tse])))}function t9(){t9=I,jre=hlt((Pot(),Cst(Hx(Rre,1),OXt,406,0,[Bre,Nre,Dre,Pre])))}function e9(){e9=I,Ure=hlt((zwt(),Cst(Hx(Gre,1),OXt,323,0,[Fre,$re,zre,Hre])))}function n9(){n9=I,eae=hlt((Hwt(),Cst(Hx(nae,1),OXt,394,0,[Zre,Qre,Jre,tae])))}function i9(){i9=I,Fve=hlt((Gvt(),Cst(Hx(zve,1),OXt,393,0,[Bve,jve,Rve,$ve])))}function r9(){r9=I,oue=hlt((Ast(),Cst(Hx(pue,1),OXt,360,0,[aue,iue,rue,nue])))}function a9(){a9=I,Uke=hlt((Mmt(),Cst(Hx(Gke,1),OXt,340,0,[Hke,Fke,zke,$ke])))}function o9(){o9=I,xue=hlt((Mst(),Cst(Hx(kue,1),OXt,411,0,[wue,yue,mue,vue])))}function s9(){s9=I,dye=hlt((fyt(),Cst(Hx(gye,1),OXt,197,0,[hye,fye,lye,uye])))}function c9(){c9=I,uIe=hlt((Fut(),Cst(Hx(fIe,1),OXt,396,0,[oIe,sIe,aIe,cIe])))}function u9(){u9=I,TAe=hlt((Kvt(),Cst(Hx(CAe,1),OXt,285,0,[EAe,xAe,kAe,_Ae])))}function l9(){l9=I,JSe=hlt((Edt(),Cst(Hx(tAe,1),OXt,218,0,[ZSe,VSe,XSe,QSe])))}function h9(){h9=I,nIe=hlt(($gt(),Cst(Hx(iIe,1),OXt,311,0,[eIe,ZMe,tIe,JMe])))}function f9(){f9=I,$Me=hlt((ypt(),Cst(Hx(FMe,1),OXt,374,0,[jMe,RMe,BMe,PMe])))}function d9(){d9=I,Hzt(),$Ne=BVt,RNe=jVt,zNe=new Ld(BVt),FNe=new Ld(jVt)}function g9(){g9=I,Ule=new AS(XJt,0),Hle=new AS("IMPROVE_STRAIGHTNESS",1)}function p9(t,e){return cH(),Kz(t,new nM(e,nft(e.e.c.length+e.g.c.length)))}function b9(t,e){return cH(),Kz(t,new nM(e,nft(e.e.c.length+e.g.c.length)))}function w9(t,e){return 10!=btt(e)&&Cst(tut(e),e.hm,e.__elementTypeId$,btt(e),t),t}function y9(t,e){var n;return-1!=(n=x9(t,e,0))&&(s6(t,n),!0)}function m9(t,e){var n;return(n=$z(b6(t.e,e),387))?(PH(n),n.e):null}function v9(t){var e;return VI(t)&&(e=0-t,!isNaN(e))?e:oot(act(t))}function x9(t,e,n){for(;n<t.c.length;++n)if(iX(e,t.c[n]))return n;return-1}function k9(t,e,n){var i;return xW(t),(i=new ct).a=e,t.a.Nb(new SC(i,n)),i.a}function _9(t){var e;return xW(t),e=N8(LDe,HVt,25,0,15,1),g_(t.a,new fg(e)),e}function E9(t){var e;return e=$z(NU(t.j,0),11),$z(yTt(e,(uWt(),dfe)),11)}function T9(t){var e;if(!Zit(t))throw Fw(new yy);return t.e=1,e=t.d,t.d=null,e}function C9(t,e){var n;this.f=t,this.b=e,n=$z(PY(t.b,e),283),this.c=n?n.b:null}function S9(){H$(),this.b=new Nw,this.f=new Nw,this.g=new Nw,this.e=new Nw}function A9(t,e){this.a=N8(kse,a1t,10,t.a.c.length,0,1),Xbt(t.a,this.a),this.b=e}function M9(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--$z(NU(t.c.a,e),10).p}function I9(t){var e;null!=(e=t.Ai())&&-1!=t.d&&$z(e,92).Ng(t),t.i&&t.i.Fi()}function O9(t){YL(this),this.g=t?CQ(t,t.$d()):null,this.f=t,vV(this),this._d()}function L9(t,e,n,i,r,a,o){vit.call(this,e,i,r,a,o),this.c=t,this.b=n}function N9(t,e,n,i,r){return mW(t),mW(e),mW(n),mW(i),mW(r),new vK(t,e,i)}function D9(t,e){if(e<0)throw Fw(new Mv(J4t+e));return g3(t,e+1),NU(t.j,e)}function P9(t,e,n,i){if(!t)throw Fw(new jv(Ojt(e,Cst(Hx(Ite,1),zWt,1,5,[n,i]))))}function B9(t,e){return iX(e,NU(t.f,0))||iX(e,NU(t.f,1))||iX(e,NU(t.f,2))}function j9(t,e){OR($z($z(t.f,33).We((cWt(),aSe)),98))&&Xdt(yX($z(t.f,33)),e)}function R9(t,e){var n,i;return!(i=(n=$z(e,675)).Oh())&&n.Rh(i=new PM(t,e)),i}function $9(t,e){var n,i;return!(i=(n=$z(e,677)).pk())&&n.tk(i=new B0(t,e)),i}function F9(t){return t.b||(t.b=new VG(t,KOe,t),!t.a&&(t.a=new oj(t,t))),t.b}function z9(){z9=I,Moe=new KC("XY",0),Aoe=new KC("X",1),Ioe=new KC("Y",2)}function H9(){H9=I,rre=new UC("TOP",0),ire=new UC(eZt,1),nre=new UC(sZt,2)}function U9(){U9=I,Che=new NS(XJt,0),She=new NS("TOP",1),The=new NS(sZt,2)}function G9(){G9=I,jye=new HS("INPUT_ORDER",0),Rye=new HS("PORT_DEGREE",1)}function q9(){q9=I,fee=_L(TVt,TVt,524287),dee=_L(0,0,SVt),gee=R5(1),R5(2),pee=R5(0)}function K9(t,e,n){t.a.c=N8(Ite,zWt,1,0,5,1),KUt(t,e,n),0==t.a.c.length||l$t(t,e)}function Y9(t){var e,n;return XK(t,0,n=t.length,e=N8(SDe,YXt,25,n,15,1),0),e}function W9(t){var e;return t.dh()||(e=hY(t.Tg())-t.Ah(),t.ph().bk(e)),t.Pg()}function X9(t){var e;return null==(e=ent(mot(t,32)))&&(lbt(t),e=ent(mot(t,32))),e}function V9(t,e){var n;return(n=Igt(t.d,e))>=0?Zwt(t,n,!0,!0):rIt(t,e,!0)}function Q9(t,e){var n,i;return _T(),n=u3(t),i=u3(e),!!n&&!!i&&!jwt(n.k,i.k)}function Z9(t,e){Cnt(t,null==e||KR((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e))}function J9(t,e){Snt(t,null==e||KR((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e))}function ttt(t,e){Tnt(t,null==e||KR((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e))}function ett(t,e){Ent(t,null==e||KR((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e))}function ntt(t){(this.q?this.q:(EV(),EV(),une)).Ac(t.q?t.q:(EV(),EV(),une))}function itt(t,e){return iN(e,99)&&$z(e,18).Bb&FVt?new NI(e,t):new Iot(e,t)}function rtt(t,e){return iN(e,99)&&$z(e,18).Bb&FVt?new NI(e,t):new Iot(e,t)}function att(t,e){Yre=new ne,Vre=e,$z((Kre=t).b,65),B8(Kre,Yre,null),oUt(Kre)}function ott(t,e,n){var i;return i=t.g[e],vN(t,e,t.oi(e,n)),t.gi(e,n,i),t.ci(),i}function stt(t,e){var n;return(n=t.Xc(e))>=0&&(t.$c(n),!0)}function ctt(t){var e;return t.d!=t.r&&(e=Axt(t),t.e=!!e&&e.Cj()==k7t,t.d=e),t.e}function utt(t,e){var n;for(yY(t),yY(e),n=!1;e.Ob();)n|=t.Fc(e.Pb());return n}function ltt(t,e){var n;return(n=$z(PY(t.e,e),387))?(aN(t,n),n.e):null}function htt(t){var e,n;return e=t/60|0,0==(n=t%60)?""+e:e+":"+n}function ftt(t,e){return Xft(t),new PU(t,new BR(new _6(e,t.a)))}function dtt(t,e){var n=t.a[e],i=(Zst(),lee)[typeof n];return i?i(n):vlt(typeof n)}function gtt(t){switch(t.g){case 0:return PWt;case 1:return-1;default:return 0}}function ptt(t){return jxt(t,(q9(),pee))<0?-CD(act(t)):t.l+t.m*AVt+t.h*MVt}function btt(t){return null==t.__elementTypeCategory$?10:t.__elementTypeCategory$}function wtt(t){var e;return null!=(e=0==t.b.c.length?null:NU(t.b,0))&&urt(t,0),e}function ytt(t,e){for(;e[0]<t.length&&HI(" \t\r\n",VEt(uX(t,e[0])))>=0;)++e[0]}function mtt(t,e){this.e=e,this.a=Wot(t),this.a<54?this.f=v2(t):this.c=Jbt(t)}function vtt(t,e,n,i){dWt(),Mw.call(this,26),this.c=t,this.a=e,this.d=n,this.b=i}function xtt(t,e,n){var i,r;for(i=10,r=0;r<n-1;r++)e<i&&(t.a+="0"),i*=10;t.a+=e}function ktt(t,e){var n;for(n=0;t.e!=t.i.gc();)gU(e,vwt(t),nft(n)),n!=PWt&&++n}function _tt(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function Ett(t,e){var n,i,r;r=e.c.i,i=(n=$z(PY(t.f,r),57)).d.c-n.e.c,Vrt(e.a,i,0)}function Ttt(t){var e,n;return e=t+128,!(n=(vU(),xee)[e])&&(n=xee[e]=new Id(t)),n}function Ctt(t,e){var n;return mW(e),Ntt(!!(n=t[":"+e]),Cst(Hx(Ite,1),zWt,1,5,[e])),n}function Stt(t){var e,n;if(t.b){n=null;do{e=t.b,t.b=null,n=cSt(e,n)}while(t.b);t.b=n}}function Att(t){var e,n;if(t.a){n=null;do{e=t.a,t.a=null,n=cSt(e,n)}while(t.a);t.a=n}}function Mtt(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function Itt(t,e){var n,i;for(n=(i=e.c)+1;n<=e.f;n++)t.a[n]>t.a[i]&&(i=n);return i}function Ott(t,e){var n;return 0==(n=Adt(t.e.c,e.e.c))?Cft(t.e.d,e.e.d):n}function Ltt(t,e){return 0==e.e||0==t.e?nne:(OIt(),IDt(t,e))}function Ntt(t,e){if(!t)throw Fw(new jv(VDt("Enum constant undefined: %s",e)))}function Dtt(){Dtt=I,ase=new Te,ose=new _e,ise=new Ie,rse=new Oe,sse=new Le}function Ptt(){Ptt=I,wie=new $C("BY_SIZE",0),yie=new $C("BY_SIZE_AND_SHAPE",1)}function Btt(){Btt=I,Pae=new qC("EADES",0),Bae=new qC("FRUCHTERMAN_REINGOLD",1)}function jtt(){jtt=I,Tle=new TS("READING_DIRECTION",0),Cle=new TS("ROTATION",1)}function Rtt(){Rtt=I,_le=hlt((Wyt(),Cst(Hx(Ele,1),OXt,335,0,[mle,yle,xle,kle,vle])))}function $tt(){$tt=I,vye=hlt((Nyt(),Cst(Hx(xye,1),OXt,315,0,[mye,bye,wye,pye,yye])))}function Ftt(){Ftt=I,Aue=hlt((L_t(),Cst(Hx(Nue,1),OXt,363,0,[Eue,Cue,Sue,Tue,_ue])))}function ztt(){ztt=I,Ufe=hlt((_dt(),Cst(Hx(Xwe,1),OXt,163,0,[Hfe,Rfe,$fe,Ffe,zfe])))}function Htt(){Htt=I,sEe=hlt((OCt(),Cst(Hx(HEe,1),OXt,316,0,[nEe,iEe,oEe,rEe,aEe])))}function Utt(){Utt=I,hTe=hlt((iwt(),Cst(Hx(fTe,1),OXt,175,0,[uTe,cTe,oTe,lTe,sTe])))}function Gtt(){Gtt=I,$_e=hlt((VNt(),Cst(Hx(F_e,1),OXt,355,0,[P_e,D_e,j_e,B_e,R_e])))}function qtt(){qtt=I,zoe=hlt((mTt(),Cst(Hx(Goe,1),OXt,356,0,[Boe,joe,Roe,$oe,Foe])))}function Ktt(){Ktt=I,HSe=hlt(($ht(),Cst(Hx(USe,1),OXt,103,0,[FSe,$Se,RSe,jSe,zSe])))}function Ytt(){Ytt=I,UAe=hlt((rwt(),Cst(Hx(GAe,1),OXt,249,0,[FAe,HAe,RAe,$Ae,zAe])))}function Wtt(){Wtt=I,AMe=hlt((vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])))}function Xtt(t,e){var n;return(n=$z(PY(t.a,e),134))||(n=new Zt,YW(t.a,e,n)),n}function Vtt(t){var e;return!!(e=$z(yTt(t,(uWt(),Phe)),305))&&e.a==t}function Qtt(t){var e;return!!(e=$z(yTt(t,(uWt(),Phe)),305))&&e.i==t}function Ztt(t,e){return mW(e),Dq(t),!!t.d.Ob()&&(e.td(t.d.Pb()),!0)}function Jtt(t){return Wlt(t,PWt)>0?PWt:Wlt(t,RXt)<0?RXt:dG(t)}function tet(t){return t<3?(hit(t,AXt),t+1):t<MXt?CZ(t/.75+1):PWt}function eet(t,e){var n;return null==t.i&&HFt(t),n=t.i,e>=0&&e<n.length?n[e]:null}function net(t,e,n){var i;if(null==e)throw Fw(new gy);return i=UZ(t,e),e4(t,e,n),i}function iet(t){return t.a>=-.01&&t.a<=lZt&&(t.a=0),t.b>=-.01&&t.b<=lZt&&(t.b=0),t}function ret(t,e){return e==(i$(),i$(),_ne)?t.toLocaleLowerCase():t.toLowerCase()}function aet(t){return(2&t.i?"interface ":1&t.i?"":"class ")+(xB(t),t.o)}function oet(t){var e;e=new Im,u7((!t.q&&(t.q=new tK(YOe,t,11,10)),t.q),e)}function set(t,e){var n;return n=e>0?e-1:e,Ik(Ok($nt(OH(new qm,n),t.n),t.j),t.k)}function cet(t,e,n,i){t.j=-1,HIt(t,kSt(t,e,n),(QT(),$z(e,66).Mj().Ok(i)))}function uet(t){this.g=t,this.f=new Lw,this.a=i.Math.min(this.g.c.c,this.g.d.c)}function het(t){this.b=new Lw,this.a=new Lw,this.c=new Lw,this.d=new Lw,this.e=t}function fet(t,e){this.a=new Nw,this.e=new Nw,this.b=(Elt(),oye),this.c=t,this.b=e}function det(t,e,n){Lj.call(this),Det(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function get(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(nv(),qte)}function pet(t){if(t<0)throw Fw(new jv("Illegal Capacity: "+t));this.g=this.ri(t)}function bet(t,e){if(0>t||t>e)throw Fw(new kx("fromIndex: 0, toIndex: "+t+uQt+e))}function wet(t){var e;if(t.a==t.b.a)throw Fw(new yy);return e=t.a,t.c=e,t.a=t.a.e,e}function yet(t){var e;_P(!!t.c),e=t.c.a,Iet(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function met(t,e){var n;return Xft(t),n=new bV(t,t.a.rd(),4|t.a.qd(),e),new PU(t,n)}function vet(t,e){var n,i;return(n=$z(hht(t.d,e),14))?(i=e,t.e.pc(i,n)):null}function xet(t,e){var n;for(n=t.Kc();n.Ob();)uct($z(n.Pb(),70),(uWt(),afe),e)}function ket(t){var e;return(e=Hv(_B(yTt(t,(zYt(),rbe)))))<0&&uct(t,rbe,e=0),e}function _et(t,e,n){var r;$xt(n,r=i.Math.max(0,t.b/2-.5),1),Kz(e,new eS(n,r))}function Eet(t,e,n){return CZ(FH(t.a.e[$z(e.a,10).p]-t.a.e[$z(n.a,10).p]))}function Tet(t,e,n,i,r,a){var o;EJ(o=K5(i),r),_J(o,a),QMt(t.a,i,new O$(o,e,n.f))}function Cet(t,e){var n;if(!(n=NDt(t.Tg(),e)))throw Fw(new jv(i6t+e+o6t));return n}function Set(t,e){var n;for(n=t;VZ(n);)if((n=VZ(n))==e)return!0;return!1}function Aet(t,e){var n,i,r;for(i=e.a.cd(),n=$z(e.a.dd(),14).gc(),r=0;r<n;r++)t.td(i)}function Met(t,e){var n,i,r,a;for(mW(e),r=0,a=(i=t.c).length;r<a;++r)n=i[r],e.td(n)}function Iet(t,e){var n;return n=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--t.b,n}function Oet(t,e){return!(!e||t.b[e.g]!=e||(IY(t.b,e.g,null),--t.c,0))}function Let(t,e){return!!Zrt(t,e,dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))))}function Net(t,e){OR($z(yTt($z(t.e,10),(zYt(),twe)),98))&&(EV(),wL($z(t.e,10).j,e))}function Det(t){t.b=(V7(),Vie),t.f=(H9(),ire),t.d=(hit(2,IXt),new V6(2)),t.e=new Hk}function Pet(){Pet=I,Uie=new zC("BEGIN",0),Gie=new zC(eZt,1),qie=new zC("END",2)}function Bet(){Bet=I,GSe=new jA(eZt,0),qSe=new jA("HEAD",1),KSe=new jA("TAIL",2)}function jet(){return uOt(),Cst(Hx(iOe,1),OXt,237,0,[eOe,ZIe,JIe,QIe,tOe,XIe,WIe,VIe])}function Ret(){return CSt(),Cst(Hx(ETe,1),OXt,277,0,[vTe,dTe,wTe,mTe,gTe,pTe,bTe,yTe])}function $et(){return vBt(),Cst(Hx(Xue,1),OXt,270,0,[Fue,Uue,$ue,Kue,Hue,zue,que,Gue])}function Fet(){return cDt(),Cst(Hx(Oye,1),OXt,260,0,[Aye,_ye,Cye,Eye,Tye,kye,Sye,Mye])}function zet(){zet=I,QAe=hlt((X_t(),Cst(Hx(ZAe,1),OXt,98,0,[VAe,XAe,WAe,qAe,YAe,KAe])))}function Het(){Het=I,Xie=(Pet(),Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length,Wie=Xie}function Uet(t){this.b=(yY(t),new JR(t)),this.a=new Lw,this.d=new Lw,this.e=new Hk}function Get(t){var e;return(e=i.Math.sqrt(t.a*t.a+t.b*t.b))>0&&(t.a/=e,t.b/=e),t}function qet(t){var e;return t.w?t.w:((e=Y1(t))&&!e.kh()&&(t.w=e),e)}function Ket(t){var e;return null==t?null:WEt(e=$z(t,190),e.length)}function Yet(t,e){if(null==t.g||e>=t.i)throw Fw(new OI(e,t.i));return t.li(e,t.g[e])}function Wet(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)srt(t.b,e),e=Eft(e);srt(t.b,e)}function Xet(t){var e;for(e=0;e<t.c.length;e++)(l1(e,t.c.length),$z(t.c[e],11)).p=e}function Vet(t,e,n){var i,r,a;for(r=e[n],i=0;i<r.length;i++)a=r[i],t.e[a.c.p][a.p]=i}function Qet(t,e){var n,i,r,a;for(r=0,a=(i=t.d).length;r<a;++r)n=i[r],lN(t.g,n).a=e}function Zet(t,e){var n;for(n=cwt(t,0);n.b!=n.d.c;)Gj($z(h3(n),8),e);return t}function Jet(t,e){return qj($L($z(PY(t.g,e),8)),jL($z(PY(t.f,e),460).b))}function tnt(t){var e;return p2(t.e,t),TP(t.b),t.c=t.a,e=$z(t.a.Pb(),42),t.b=gst(t),e}function ent(t){var e;return VH(null==t||Array.isArray(t)&&!((e=btt(t))>=14&&e<=16)),t}function nnt(t,e,n){var i=function(){return t.apply(i,arguments)};return e.apply(i,n),i}function int(t,e,n){var i,r;i=e;do{r=Hv(t.p[i.p])+n,t.p[i.p]=r,i=t.a[i.p]}while(i!=e)}function rnt(t,e){var n,i;i=t.a,n=Xht(t,e,null),i!=e&&!t.e&&(n=aqt(t,e,n)),n&&n.Fi()}function ant(t,e){return cL(),iit(jXt),i.Math.abs(t-e)<=jXt||t==e||isNaN(t)&&isNaN(e)}function ont(t,e){return cL(),iit(jXt),i.Math.abs(t-e)<=jXt||t==e||isNaN(t)&&isNaN(e)}function snt(t,e){return RTt(),xL(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}function cnt(t,e){return Qk(Qrt(t,e,dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15)))))}function unt(){unt=I,Mse=hlt((oCt(),Cst(Hx(Ise,1),OXt,267,0,[Sse,Cse,Ese,Ase,Tse,_se])))}function lnt(){lnt=I,JTe=hlt((d_t(),Cst(Hx(BSe,1),OXt,291,0,[ZTe,QTe,VTe,WTe,YTe,XTe])))}function hnt(){hnt=I,NTe=hlt((dyt(),Cst(Hx(KTe,1),OXt,248,0,[STe,ITe,OTe,LTe,ATe,MTe])))}function fnt(){fnt=I,nle=hlt((OSt(),Cst(Hx(ile,1),OXt,227,0,[Zue,tle,Que,Jue,ele,Vue])))}function dnt(){dnt=I,ohe=hlt((QTt(),Cst(Hx(she,1),OXt,275,0,[rhe,ehe,ahe,ihe,nhe,the])))}function gnt(){gnt=I,Zle=hlt((Fkt(),Cst(Hx(Jle,1),OXt,274,0,[Xle,Wle,Qle,Yle,Vle,Kle])))}function pnt(){pnt=I,nye=hlt((_Et(),Cst(Hx(iye,1),OXt,313,0,[tye,Zwe,Vwe,Qwe,eye,Jwe])))}function bnt(){bnt=I,Fle=hlt((pCt(),Cst(Hx(zle,1),OXt,276,0,[Ple,Dle,jle,Ble,$le,Rle])))}function wnt(){wnt=I,Vve=hlt((PSt(),Cst(Hx(Pxe,1),OXt,327,0,[Xve,qve,Yve,Kve,Wve,Gve])))}function ynt(){ynt=I,aMe=hlt((hMt(),Cst(Hx(oMe,1),OXt,273,0,[iMe,eMe,nMe,tMe,JAe,rMe])))}function mnt(){mnt=I,sAe=hlt((JEt(),Cst(Hx(pAe,1),OXt,312,0,[aAe,iAe,oAe,eAe,rAe,nAe])))}function vnt(){return JOt(),Cst(Hx(jAe,1),OXt,93,0,[AAe,SAe,IAe,PAe,DAe,NAe,OAe,LAe,MAe])}function xnt(t,e){var n;n=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,0,n,t.a))}function knt(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,1,n,t.b))}function _nt(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,3,n,t.b))}function Ent(t,e){var n;n=t.f,t.f=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,3,n,t.f))}function Tnt(t,e){var n;n=t.g,t.g=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,4,n,t.g))}function Cnt(t,e){var n;n=t.i,t.i=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,5,n,t.i))}function Snt(t,e){var n;n=t.j,t.j=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,6,n,t.j))}function Ant(t,e){var n;n=t.j,t.j=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,1,n,t.j))}function Mnt(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,4,n,t.c))}function Int(t,e){var n;n=t.k,t.k=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,2,n,t.k))}function Ont(t,e){var n;n=t.d,t.d=e,4&t.Db&&!(1&t.Db)&&fot(t,new l4(t,2,n,t.d))}function Lnt(t,e){var n;n=t.s,t.s=e,4&t.Db&&!(1&t.Db)&&fot(t,new l4(t,4,n,t.s))}function Nnt(t,e){var n;n=t.t,t.t=e,4&t.Db&&!(1&t.Db)&&fot(t,new l4(t,5,n,t.t))}function Dnt(t,e){var n;n=t.F,t.F=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,5,n,e))}function Pnt(t,e){var n;return(n=$z(PY((ZT(),bOe),t),55))?n.xj(e):N8(Ite,zWt,1,e,5,1)}function Bnt(t,e){var n;return e in t.a&&(n=UZ(t,e).he())?n.a:null}function jnt(t,e){var n,i;return Jk(),i=new cc,e&&ADt(i,e),Dit(n=i,t),n}function Rnt(t,e,n){if(Dut(t,n),!t.Bk()&&null!=n&&!t.wj(n))throw Fw(new ly);return n}function $nt(t,e){return t.n=e,t.n?(t.f=new Lw,t.e=new Lw):(t.f=null,t.e=null),t}function Fnt(t,e,n,i,r,a){var o;return Xnt(n,o=wY(t,e)),o.i=r?8:0,o.f=i,o.e=r,o.g=a,o}function znt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=t,this.a=n}function Hnt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=t,this.a=n}function Unt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=t,this.a=n}function Gnt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=t,this.a=n}function qnt(t,e,n,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=t,this.a=n}function Knt(t,e){var n,i,r,a;for(r=0,a=(i=e).length;r<a;++r)n=i[r],Y7(t.a,n);return t}function Ynt(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)yY(e[n]);return new MI(t)}function Wnt(t){var e=/function(?:\s+([\w$]+))?\s*\(/.exec(t);return e&&e[1]||GXt}function Xnt(t,e){if(t){e.n=t;var n=GZ(e);if(!n)return void(TWt[t]=[e]);n.gm=e}}function Vnt(t,e,n){var r;return r=t.length,RAt(t,0,e,0,i.Math.min(n,r),!0),e}function Qnt(t,e,n){var i,r;for(r=e.Kc();r.Ob();)i=$z(r.Pb(),79),kK(t,$z(n.Kb(i),33))}function Znt(){X_();for(var t=CWt,e=0;e<arguments.length;e++)t.push(arguments[e])}function Jnt(t,e){var n,i,r;for(i=0,r=(n=e).length;i<r;++i)n5(t,n[i],t.c.b,t.c)}function tit(t,e){t.b=i.Math.max(t.b,e.d),t.e+=e.r+(0==t.a.c.length?0:t.c),Kz(t.a,e)}function eit(t){_P(t.c>=0),ibt(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function nit(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=mlt(t.f)),t.c).e}function iit(t){if(!(t>=0))throw Fw(new jv("tolerance ("+t+") must be >= 0"));return t}function rit(){return iTe||vut(iTe=new Mjt,Cst(Hx(Aie,1),zWt,130,0,[new Oh])),iTe}function ait(){ait=I,Uye=new US(uZt,0),zye=new US("INPUT",1),Hye=new US("OUTPUT",2)}function oit(){oit=I,dle=new _S("ARD",0),ple=new _S("MSD",1),gle=new _S("MANUAL",2)}function sit(){sit=I,Mme=new XS("BARYCENTER",0),Ime=new XS(k1t,1),Ome=new XS(_1t,2)}function cit(t,e){var n;if(n=t.gc(),e<0||e>n)throw Fw(new Jj(e,n));return new PR(t,e)}function uit(t,e){var n;return iN(e,42)?t.c.Mc(e):(n=ipt(t,e),Ypt(t,e),n)}function lit(t,e,n){return Alt(t,e),Nrt(t,n),Lnt(t,0),Nnt(t,1),Jht(t,!0),Vht(t,!0),t}function hit(t,e){if(t<0)throw Fw(new jv(e+" cannot be negative but was: "+t));return t}function fit(t,e){var n,i;for(n=0,i=t.gc();n<i;++n)if(iX(e,t.Xb(n)))return n;return-1}function dit(t){var e;for(e=t.c.Cc().Kc();e.Ob();)$z(e.Pb(),14).$b();t.c.$b(),t.d=0}function git(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)WK(e=n[i],e.length,null)}function pit(t){var e,n;if(0==t)return 32;for(n=0,e=1;!(e&t);e<<=1)++n;return n}function bit(t){var e;for(e=new Kd(evt(t));e.a<e.c.c.length;)$z(Z1(e),680).Gf()}function wit(t){bT(),this.g=new Nw,this.f=new Nw,this.b=new Nw,this.c=new pZ,this.i=t}function yit(){this.f=new Hk,this.d=new fm,this.c=new Hk,this.a=new Lw,this.b=new Lw}function mit(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=null,this.c=new lR(this,e,n,i)}function vit(t,e,n,i,r){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function xit(){AN.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=v6t}function kit(){return JRt(),Cst(Hx(QMe,1),OXt,259,0,[UMe,qMe,HMe,KMe,YMe,XMe,WMe,GMe,zMe])}function _it(){return tjt(),Cst(Hx($ie,1),OXt,250,0,[jie,Lie,Nie,Oie,Pie,Bie,Die,Iie,Mie])}function Eit(){Eit=I,Mee=Cst(Hx(ADe,1),uVt,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function Tit(){Tit=I,mme=dU(dU(dU(new $2,(mTt(),Boe),(hWt(),rce)),joe,Mce),Roe,Ace)}function Cit(){Cit=I,vme=dU(dU(dU(new $2,(mTt(),Boe),(hWt(),rce)),joe,Mce),Roe,Ace)}function Sit(){Sit=I,_me=dU(dU(dU(new $2,(mTt(),Boe),(hWt(),rce)),joe,Mce),Roe,Ace)}function Ait(){Ait=I,Cme=KG(dU(dU(new $2,(mTt(),Roe),(hWt(),Lce)),$oe,kce),Foe,Oce)}function Mit(){Mit=I,ule=new kS("LAYER_SWEEP",0),cle=new kS(F1t,1),lle=new kS(XJt,2)}function Iit(t,e){var n,i;return n=t.c,(i=e.e[t.p])>0?$z(NU(n.a,i-1),10):null}function Oit(t,e){var n;n=t.k,t.k=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,2,n,t.k))}function Lit(t,e){var n;n=t.f,t.f=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,8,n,t.f))}function Nit(t,e){var n;n=t.i,t.i=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,7,n,t.i))}function Dit(t,e){var n;n=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,8,n,t.a))}function Pit(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,0,n,t.b))}function Bit(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,0,n,t.b))}function jit(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,1,n,t.c))}function Rit(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,1,n,t.c))}function $it(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,4,n,t.c))}function Fit(t,e){var n;n=t.d,t.d=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,1,n,t.d))}function zit(t,e){var n;n=t.D,t.D=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,2,n,t.D))}function Hit(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&0!=t.g&&Hit(t.i,e/t.r*t.i.d))}function Uit(t,e,n){var i;t.b=e,t.a=n,i=512&~t.a?new Bl:new Rm,t.c=EBt(i,t.b,t.a)}function Git(t,e){return OPt(t.e,e)?(QT(),ctt(e)?new lU(e,t):new NM(e,t)):new BM(e,t)}function qit(t,e){return Vk(Zrt(t.a,e,dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15)))))}function Kit(t,e,n){return N9(t,new ug(e),new ot,new lg(n),Cst(Hx(Zne,1),OXt,132,0,[]))}function Yit(t){return 0>t?new YE:new IB(null,new w5(t+1,t))}function Wit(t,e){var n;return EV(),n=new qE(1),qM(t)?wJ(n,t,e):xAt(n.f,t,e),new qd(n)}function Xit(t,e){var n,i;return(n=t.o+t.p)<(i=e.o+e.p)?-1:n==i?0:1}function Vit(t){var e;return iN(e=yTt(t,(uWt(),dfe)),160)?ygt($z(e,160)):null}function Qit(t){var e;return(t=i.Math.max(t,2))>(e=vct(t))?(e<<=1)>0?e:MXt:e}function Zit(t){switch(aD(3!=t.e),t.e){case 2:return!1;case 0:return!0}return j5(t)}function Jit(t,e){var n;return!!iN(e,8)&&(n=$z(e,8),t.a==n.a&&t.b==n.b)}function trt(t,e,n){var i,r;return r=e>>5,i=31&e,t0(vq(t.n[n][r],dG(yq(i,1))),3)}function ert(t,e){var n,i;for(i=e.vc().Kc();i.Ob();)wkt(t,(n=$z(i.Pb(),42)).cd(),n.dd())}function nrt(t,e){var n;n=new ne,$z(e.b,65),$z(e.b,65),$z(e.b,65),Met(e.a,new kz(t,n,e))}function irt(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,21,n,t.b))}function rrt(t,e){var n;n=t.d,t.d=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,11,n,t.d))}function art(t,e){var n;n=t.j,t.j=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,13,n,t.j))}function ort(t,e,n){var i,r,a;for(a=t.a.length-1,r=t.b,i=0;i<n;r=r+1&a,++i)IY(e,i,t.a[r])}function srt(t,e){var n;return mW(e),n=e.g,!t.b[n]&&(IY(t.b,n,e),++t.c,!0)}function crt(t,e){var n;return!((n=null==e?-1:x9(t.b,e,0))<0||(urt(t,n),0))}function urt(t,e){var n;n=s6(t.b,t.b.c.length-1),e<t.b.c.length&&(i5(t.b,e,n),jAt(t,e))}function lrt(t,e){0==(m5(),qne?null:e.c).length&&UB(e,new Y),wJ(t.a,qne?null:e.c,e)}function hrt(t,e){MEt(e,"Hierarchical port constraint processing",1),fwt(t),VYt(t),zCt(e)}function frt(t,e){var n,i;for(i=e.Kc();i.Ob();)n=$z(i.Pb(),266),t.b=!0,kK(t.e,n),n.b=t}function drt(t,e){var n,i;return n=1-e,i=t.a[n],t.a[n]=i.a[e],i.a[e]=t,t.b=!0,i.b=!1,i}function grt(t,e){var n,i;return n=$z(yTt(t,(zYt(),swe)),8),i=$z(yTt(e,swe),8),Cft(n.b,i.b)}function prt(t){PG.call(this),this.b=Hv(_B(yTt(t,(zYt(),ywe)))),this.a=$z(yTt(t,Qpe),218)}function brt(t,e,n){H2.call(this,t,e,n),this.a=new Nw,this.b=new Nw,this.d=new Kp(this)}function wrt(t){this.e=t,this.d=new h_(tet(gq(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function yrt(t){this.b=t,this.a=N8(ADe,uVt,25,t+1,15,1),this.c=N8(ADe,uVt,25,t,15,1),this.d=0}function mrt(t,e,n){var i;return xPt(t,e,i=new Lw,n,!0,!0),t.b=new yrt(i.c.length),i}function vrt(t,e){var n;return(n=$z(PY(t.c,e),458))||((n=new im).c=e,YW(t.c,n.c,n)),n}function xrt(t,e){var n=t.a,i=0;for(var r in n)n.hasOwnProperty(r)&&(e[i++]=r);return e}function krt(t){return null==t.b?(XT(),XT(),LLe):t.Lk()?t.Kk():t.Jk()}function _rt(t){var e,n;for(n=new MN(t);n.e!=n.i.gc();)Cnt(e=$z(vwt(n),33),0),Snt(e,0)}function Ert(){Ert=I,soe=new aw(MJt),coe=new aw(IJt),ooe=new aw(OJt),aoe=new aw(LJt)}function Trt(){Trt=I,Hse=new QC("TO_INTERNAL_LTR",0),zse=new QC("TO_INPUT_DIRECTION",1)}function Crt(){Crt=I,Xxe=new dA("P1_NODE_PLACEMENT",0),Vxe=new dA("P2_EDGE_ROUTING",1)}function Srt(){Srt=I,Bue=new mS("START",0),Pue=new mS("MIDDLE",1),Due=new mS("END",2)}function Art(){Art=I,Jce=new ej("edgelabelcenterednessanalysis.includelabel",(cD(),wee))}function Mrt(t,e){VE(MX(new PU(null,new f1(new Cd(t.b),1)),new VA(t,e)),new ZA(t,e))}function Irt(){this.c=new S_(0),this.b=new S_(F3t),this.d=new S_($3t),this.a=new S_(QZt)}function Ort(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Gf(e=$z(n.Pb(),214),new zTt(e.e))}function Lrt(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Uf(e=$z(n.Pb(),214),new Yq(e.f))}function Nrt(t,e){var n;n=t.zb,t.zb=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,1,n,t.zb))}function Drt(t,e){var n;n=t.xb,t.xb=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,3,n,t.xb))}function Prt(t,e){var n;n=t.yb,t.yb=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,2,n,t.yb))}function Brt(t,e){var n;(n=new Am).n=e,u7((!t.s&&(t.s=new tK(jOe,t,21,17)),t.s),n)}function jrt(t,e){var n;(n=new pB).n=e,u7((!t.s&&(t.s=new tK(jOe,t,21,17)),t.s),n)}function Rrt(t,e){var n,i;for(U7(n=t.Pc(),0,n.length,e),i=0;i<n.length;i++)t._c(i,n[i])}function $rt(t,e){var n,i,r;for(mW(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),n|=t.Fc(i);return n}function Frt(t){var e,n,i;for(e=0,i=t.Kc();i.Ob();)e=~~(e+=null!=(n=i.Pb())?Jct(n):0);return e}function zrt(t){var e;return 0==t?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+htt(t))}function Hrt(t,e){var n;return iN(e,14)?(n=$z(e,14),t.Gc(n)):utt(t,$z(yY(e),20).Kc())}function Urt(t,e,n){fet.call(this,e,n),this.d=N8(kse,a1t,10,t.a.c.length,0,1),Xbt(t.a,this.d)}function Grt(t){t.a=null,t.e=null,t.b.c=N8(Ite,zWt,1,0,5,1),t.f.c=N8(Ite,zWt,1,0,5,1),t.c=null}function qrt(t,e){e?null==t.B&&(t.B=t.D,t.D=null):null!=t.B&&(t.D=t.B,t.B=null)}function Krt(t,e){return Hv(_B(ID(Oht(IX(new PU(null,new f1(t.c.b,16)),new Np(t)),e))))}function Yrt(t,e){return Hv(_B(ID(Oht(IX(new PU(null,new f1(t.c.b,16)),new Lp(t)),e))))}function Wrt(t,e){MEt(e,v1t,1),VE(ftt(new PU(null,new f1(t.b,16)),new Ze),new Je),zCt(e)}function Xrt(t,e){var n,i;return n=$z(ZOt(t,(qvt(),Oke)),19),i=$z(ZOt(e,Oke),19),xL(n.a,i.a)}function Vrt(t,e,n){var i,r;for(r=cwt(t,0);r.b!=r.d.c;)(i=$z(h3(r),8)).a+=e,i.b+=n;return t}function Qrt(t,e,n){var i;for(i=t.b[n&t.f];i;i=i.b)if(n==i.a&&fW(e,i.g))return i;return null}function Zrt(t,e,n){var i;for(i=t.c[n&t.f];i;i=i.d)if(n==i.f&&fW(e,i.i))return i;return null}function Jrt(t,e,n){var i,r,a;for(i=0,r=0;r<n;r++)a=e[r],t[r]=a<<1|i,i=a>>>31;0!=i&&(t[n]=i)}function tat(t,e){var n,i;for(EV(),i=new Lw,n=0;n<t;++n)i.c[i.c.length]=e;return new Ix(i)}function eat(t){var e;return WM((e=k2(t)).a,0)?(cT(),cT(),Tne):(cT(),new yP(e.b))}function nat(t){var e;return WM((e=k2(t)).a,0)?(cT(),cT(),Tne):(cT(),new yP(e.c))}function iat(t){var e;return WM((e=x2(t)).a,0)?(uT(),uT(),Cne):(uT(),new mP(e.b))}function rat(t){return t.b.c.i.k==(oCt(),Ese)?$z(yTt(t.b.c.i,(uWt(),dfe)),11):t.b.c}function aat(t){return t.b.d.i.k==(oCt(),Ese)?$z(yTt(t.b.d.i,(uWt(),dfe)),11):t.b.d}function oat(t,e,n,i,r,a,o,s,c,u,l,h,f){return fAt(t,e,n,i,r,a,o,s,c,u,l,h,f),Uft(t,!1),t}function sat(t,e,n,i,r,a,o){gE.call(this,t,e),this.d=n,this.e=i,this.c=r,this.b=a,this.a=a6(o)}function cat(t,e){typeof window===IWt&&typeof window.$gwt===IWt&&(window.$gwt[t]=e)}function uat(t,e){return Ist(),t==Zoe&&e==ese||t==ese&&e==Zoe||t==tse&&e==Joe||t==Joe&&e==tse}function lat(t,e){return Ist(),t==Zoe&&e==Joe||t==Zoe&&e==tse||t==ese&&e==tse||t==ese&&e==Joe}function hat(t,e){return cL(),iit(lZt),i.Math.abs(0-e)<=lZt||0==e||isNaN(0)&&isNaN(e)?0:t/e}function fat(){return fBt(),Cst(Hx(mhe,1),OXt,256,0,[uhe,hhe,fhe,dhe,ghe,phe,whe,che,lhe,bhe])}function dat(){dat=I,ELe=new Sm,CLe=Cst(Hx(jOe,1),N7t,170,0,[]),TLe=Cst(Hx(YOe,1),D7t,59,0,[])}function gat(){gat=I,cme=new YS("NO",0),ome=new YS("GREEDY",1),sme=new YS("LOOK_BACK",2)}function pat(){pat=I,Pse=new ze,Nse=new Fe,Dse=new He,Lse=new Ue,Bse=new Ge,jse=new qe}function bat(t){var e,n;for(n=0,e=new Kd(t.b);e.a<e.c.c.length;)$z(Z1(e),29).p=n,++n}function wat(t,e){var n;return OMt(new NA((n=REt(t)).c,n.d),new NA(n.b,n.a),t.rf(),e,t.Hf())}function yat(t,e){var n;return t.b?null:(n=set(t,t.g),DH(t.a,n),n.i=t,t.d=e,n)}function mat(t,e,n){MEt(n,"DFS Treeifying phase",1),xpt(t,e),rPt(t,e),t.a=null,t.b=null,zCt(n)}function vat(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new Lw,qAt(this),EV(),wL(this.a,null)}function xat(t){this.i=t.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),t.Qc(this.g))}function kat(t,e){_H.call(this,qLe,t,e),this.b=this,this.a=aPt(t.Tg(),eet(this.e.Tg(),this.c))}function _at(t,e){var n,i;for(mW(e),i=e.vc().Kc();i.Ob();)n=$z(i.Pb(),42),t.zc(n.cd(),n.dd())}function Eat(t,e,n){var i;for(i=n.Kc();i.Ob();)if(!H3(t,e,i.Pb()))return!1;return!0}function Tat(t,e,n,i,r){var a;return n&&(a=Igt(e.Tg(),t.c),r=n.gh(e,-1-(-1==a?i:a),null,r)),r}function Cat(t,e,n,i,r){var a;return n&&(a=Igt(e.Tg(),t.c),r=n.ih(e,-1-(-1==a?i:a),null,r)),r}function Sat(t){var e;if(-2==t.b){if(0==t.e)e=-1;else for(e=0;0==t.a[e];e++);t.b=e}return t.b}function Aat(t){switch(t.g){case 2:return vKt(),SMe;case 4:return vKt(),sMe;default:return t}}function Mat(t){switch(t.g){case 1:return vKt(),TMe;case 3:return vKt(),cMe;default:return t}}function Iat(t){var e,n,i;return t.j==(vKt(),cMe)&&(n=ED(e=qIt(t),sMe),(i=ED(e,SMe))||i&&n)}function Oat(t){var e;return new XR(e=$z(t.e&&t.e(),9),$z(YK(e,e.length),9),e.length)}function Lat(t,e){MEt(e,v1t,1),tgt(sT(new Tg((gT(),new FX(t,!1,!1,new $e))))),zCt(e)}function Nat(t,e){return cD(),qM(t)?u6(t,EB(e)):GM(t)?kq(t,_B(e)):UM(t)?xq(t,kB(e)):t.wd(e)}function Dat(t,e){e.q=t,t.d=i.Math.max(t.d,e.r),t.b+=e.d+(0==t.a.c.length?0:t.c),Kz(t.a,e)}function Pat(t,e){var n,i,r,a;return r=t.c,n=t.c+t.b,a=t.d,i=t.d+t.a,e.a>r&&e.a<n&&e.b>a&&e.b<i}function Bat(t,e,n,i){iN(t.Cb,179)&&($z(t.Cb,179).tb=null),Nrt(t,n),e&&RMt(t,e),i&&t.xk(!0)}function jat(t,e){var n;zV(n=$z(e,183),"x",t.i),zV(n,"y",t.j),zV(n,S6t,t.g),zV(n,C6t,t.f)}function Rat(){Rat=I,Sme=sbt(vI(dU(dU(new $2,(mTt(),Roe),(hWt(),Lce)),$oe,kce),Foe),Oce)}function $at(){$at=I,Dme=sbt(vI(dU(dU(new $2,(mTt(),Roe),(hWt(),Lce)),$oe,kce),Foe),Oce)}function Fat(){Fat=I,Kke=new yA(XJt,0),Yke=new yA("POLAR_COORDINATE",1),qke=new yA("ID",2)}function zat(){zat=I,Kye=new GS("EQUALLY",0),Yye=new GS(yZt,1),Wye=new GS("NORTH_SOUTH",2)}function Hat(){Hat=I,Iye=hlt((cDt(),Cst(Hx(Oye,1),OXt,260,0,[Aye,_ye,Cye,Eye,Tye,kye,Sye,Mye])))}function Uat(){Uat=I,Yue=hlt((vBt(),Cst(Hx(Xue,1),OXt,270,0,[Fue,Uue,$ue,Kue,Hue,zue,que,Gue])))}function Gat(){Gat=I,xTe=hlt((CSt(),Cst(Hx(ETe,1),OXt,277,0,[vTe,dTe,wTe,mTe,gTe,pTe,bTe,yTe])))}function qat(){qat=I,nOe=hlt((uOt(),Cst(Hx(iOe,1),OXt,237,0,[eOe,ZIe,JIe,QIe,tOe,XIe,WIe,VIe])))}function Kat(){Kat=I,Wre=new ej("debugSVG",(cD(),!1)),Xre=new ej("overlapsExisted",!0)}function Yat(t,e){return N9(new og(t),new sg(e),new cg(e),new et,Cst(Hx(Zne,1),OXt,132,0,[]))}function Wat(){var t;return zne||(zne=new By,XO(t=new y5(""),(lT(),Fne)),lrt(zne,t)),zne}function Xat(t,e){for(yY(e);t.Ob();)if(!Xot($z(t.Pb(),10)))return!1;return!0}function Vat(t,e){var n;return!!(n=Kjt(rit(),t))&&(Vwt(e,(cWt(),wSe),n),!0)}function Qat(t,e){var n;for(n=0;n<e.j.c.length;n++)$z(D9(t,n),21).Gc($z(D9(e,n),14));return t}function Zat(t,e){var n,i;for(i=new Kd(e.b);i.a<i.c.c.length;)n=$z(Z1(i),29),t.a[n.p]=XTt(n)}function Jat(t,e){var n,i;for(mW(e),i=t.vc().Kc();i.Ob();)n=$z(i.Pb(),42),e.Od(n.cd(),n.dd())}function tot(t,e){iN(e,83)?($z(t.c,76).Xj(),ert(t,$z(e,83))):$z(t.c,76).Wb(e)}function eot(t){return iN(t,152)?o6($z(t,152)):iN(t,131)?$z(t,131).a:iN(t,54)?new uv(t):new CE(t)}function not(t,e){return e<t.b.gc()?$z(t.b.Xb(e),10):e==t.b.gc()?t.a:$z(NU(t.e,e-t.b.gc()-1),10)}function iot(t,e){t.a=idt(t.a,1),t.c=i.Math.min(t.c,e),t.b=i.Math.max(t.b,e),t.d=idt(t.d,e)}function rot(t,e){MEt(e,"Edge and layer constraint edge reversal",1),$qt(Ljt(t)),zCt(e)}function aot(t){var e;null==t.d?(++t.e,t.f=0,iht(null)):(++t.e,e=t.d,t.d=null,t.f=0,iht(e))}function oot(t){var e;return 0==(e=t.h)?t.l+t.m*AVt:e==CVt?t.l+t.m*AVt-MVt:t}function sot(t){return zB(),t.A.Hc((ypt(),PMe))&&!t.B.Hc((JRt(),qMe))?Jgt(t):null}function cot(t){if(mW(t),0==t.length)throw Fw(new _x("Zero length BigInteger"));nRt(this,t)}function uot(t){if(!t)throw Fw(new Rv("no calls to next() since the last call to remove()"))}function lot(t){return OVt<t&&t<MVt?t<0?i.Math.ceil(t):i.Math.floor(t):oot(pDt(t))}function hot(t,e){var n,i,r;for(n=t.c.Ee(),r=e.Kc();r.Ob();)i=r.Pb(),t.a.Od(n,i);return t.b.Kb(n)}function fot(t,e){var n,i,r;if(null!=(n=t.Jg())&&t.Mg())for(i=0,r=n.length;i<r;++i)n[i].ui(e)}function dot(t,e){var n,i;for(i=bW(n=t).e;i;){if((n=i)==e)return!0;i=bW(n).e}return!1}function got(t,e,n){var i,r;return(i=t.a.f[e.p])<(r=t.a.f[n.p])?-1:i==r?0:1}function pot(t,e,n){var i,r;return r=$z(GR(t.d,e),19),i=$z(GR(t.b,n),19),r&&i?G6(t,r.a,i.a):null}function bot(t,e){var n,i;for(i=new MN(t);i.e!=i.i.gc();)EO(n=$z(vwt(i),33),n.i+e.b,n.j+e.d)}function wot(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Z1(i),70),Kz(t.d,n),jTt(t,n)}function yot(t,e){var n,i;i=new Lw,n=e;do{i.c[i.c.length]=n,n=$z(PY(t.k,n),17)}while(n);return i}function mot(t,e){var n;return t.Db&e?-1==(n=Bmt(t,e))?t.Eb:ent(t.Eb)[n]:null}function vot(t,e){var n;return(n=new Bh).G=e,!t.rb&&(t.rb=new Vq(t,$Oe,t)),u7(t.rb,n),n}function xot(t,e){var n;return(n=new xy).G=e,!t.rb&&(t.rb=new Vq(t,$Oe,t)),u7(t.rb,n),n}function kot(t,e){switch(e){case 1:return!!t.n&&0!=t.n.i;case 2:return null!=t.k}return w0(t,e)}function _ot(t){switch(t.a.g){case 1:return new xM;case 3:return new uvt;default:return new Ch}}function Eot(t){var e;if(t.g>1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw Fw(new yy)}function Tot(t){var e;return rL(),aC(sve,t)||((e=new so).a=t,fj(sve,t,e)),$z(oX(sve,t),635)}function Cot(t){var e,n,i;return n=0,(i=t)<0&&(i+=MVt,n=CVt),e=CZ(i/AVt),_L(CZ(i-e*AVt),e,n)}function Sot(t){var e,n,i;for(i=0,n=new WE(t.a);n.a<n.c.a.length;)e=a4(n),t.b.Hc(e)&&++i;return i}function Aot(t){var e,n,i;for(e=1,i=t.Kc();i.Ob();)e=~~(e=31*e+(null==(n=i.Pb())?0:Jct(n)));return e}function Mot(t,e){var n;this.c=t,pmt(t,n=new Lw,e,t.b,null,!1,null,!1),this.a=new _2(n,0)}function Iot(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(QT(),$z(t,66).Oj()),this.k=aPt(e.e.Tg(),t)}function Oot(t,e,n){this.b=(mW(t),t),this.d=(mW(e),e),this.e=(mW(n),n),this.c=this.d+""+this.e}function Lot(){this.a=$z(ywt((ljt(),zae)),19).a,this.c=Hv(_B(ywt(ioe))),this.b=Hv(_B(ywt(Jae)))}function Not(){Not=I,BAe=hlt((JOt(),Cst(Hx(jAe,1),OXt,93,0,[AAe,SAe,IAe,PAe,DAe,NAe,OAe,LAe,MAe])))}function Dot(){Dot=I,Rie=hlt((tjt(),Cst(Hx($ie,1),OXt,250,0,[jie,Lie,Nie,Oie,Pie,Bie,Die,Iie,Mie])))}function Pot(){Pot=I,Bre=new GC("UP",0),Nre=new GC(bZt,1),Dre=new GC(rZt,2),Pre=new GC(aZt,3)}function Bot(){Bot=I,sJ(),yxe=new II(K3t,mxe=Bxe),$0(),bxe=new II(Y3t,wxe=zxe)}function jot(){jot=I,xhe=new LS("ONE_SIDED",0),khe=new LS("TWO_SIDED",1),vhe=new LS("OFF",2)}function Rot(t){t.r=new Py,t.w=new Py,t.t=new Lw,t.i=new Lw,t.d=new Py,t.a=new hO,t.c=new Nw}function $ot(t){this.n=new Lw,this.e=new XE,this.j=new XE,this.k=new Lw,this.f=new Lw,this.p=t}function Fot(t,e){t.c&&(QRt(t,e,!0),VE(new PU(null,new f1(e,16)),new zp(t))),QRt(t,e,!1)}function zot(t,e,n){return t==(sit(),Ome)?new Sa:0!=zLt(e,1)?new Pk(n.length):new Dk(n.length)}function Hot(t,e){var n;return e&&((n=e.Ve()).dc()||(t.q?_at(t.q,n):t.q=new wI(n))),t}function Uot(t,e){var n;return void 0===(n=t.a.get(e))?++t.d:(wj(t.a,e),--t.c,oQ(t.b)),n}function Got(t,e){var n;return 0==(n=e.p-t.p)?Cft(t.f.a*t.f.b,e.f.a*e.f.b):n}function qot(t,e){var n,i;return(n=t.f.c.length)<(i=e.f.c.length)?-1:n==i?0:1}function Kot(t){return 0!=t.b.c.length&&$z(NU(t.b,0),70).a?$z(NU(t.b,0),70).a:tV(t)}function Yot(t){var e;if(t){if((e=t).dc())throw Fw(new yy);return e.Xb(e.gc()-1)}return a1(t.Kc())}function Wot(t){var e;return Wlt(t,0)<0&&(t=aH(t)),64-(0!=(e=dG(mq(t,32)))?ZMt(e):ZMt(dG(t))+32)}function Xot(t){var e;return e=$z(yTt(t,(uWt(),Whe)),61),t.k==(oCt(),Ese)&&(e==(vKt(),SMe)||e==sMe)}function Vot(t,e,n){var i,r;(r=$z(yTt(t,(zYt(),bbe)),74))&&(Yut(i=new mm,0,r),Zet(i,n),$rt(e,i))}function Qot(t,e,n){var i,r,a,o;i=(o=bW(t)).d,r=o.c,a=t.n,e&&(a.a=a.a-i.b-r.a),n&&(a.b=a.b-i.d-r.b)}function Zot(t,e){var n,i;return(n=t.j)!=(i=e.j)?n.g-i.g:t.p==e.p?0:n==(vKt(),cMe)?t.p-e.p:e.p-t.p}function Jot(t){var e,n;for(CKt(t),n=new Kd(t.d);n.a<n.c.c.length;)(e=$z(Z1(n),101)).i&&KCt(e)}function tst(t,e,n,i,r){IY(t.c[e.g],n.g,i),IY(t.c[n.g],e.g,i),IY(t.b[e.g],n.g,r),IY(t.b[n.g],e.g,r)}function est(t,e,n,i){$z(n.b,65),$z(n.b,65),$z(i.b,65),$z(i.b,65),$z(i.b,65),Met(i.a,new xz(t,e,i))}function nst(t,e){t.d==($ht(),RSe)||t.d==zSe?$z(e.a,57).c.Fc($z(e.b,57)):$z(e.b,57).c.Fc($z(e.a,57))}function ist(t,e,n,i){return 1==n?(!t.n&&(t.n=new tK(HIe,t,1,7)),Rwt(t.n,e,i)):eCt(t,e,n,i)}function rst(t,e){var n;return Nrt(n=new Hc,e),u7((!t.A&&(t.A=new LN(SLe,t,7)),t.A),n),n}function ast(t,e,n){var i,r;return r=L2(e,I6t),bkt((i=new rM(t,n)).a,i.b,r),r}function ost(t){var e;return(!t.a||!(1&t.Bb)&&t.a.kh())&&iN(e=Axt(t),148)&&(t.a=$z(e,148)),t.a}function sst(t,e){var n,i;for(mW(e),i=e.Kc();i.Ob();)if(n=i.Pb(),!t.Hc(n))return!1;return!0}function cst(t,e){var n,i,r;return n=t.l+e.l,i=t.m+e.m+(n>>22),r=t.h+e.h+(i>>22),_L(n&TVt,i&TVt,r&CVt)}function ust(t,e){var n,i,r;return n=t.l-e.l,i=t.m-e.m+(n>>22),r=t.h-e.h+(i>>22),_L(n&TVt,i&TVt,r&CVt)}function lst(t){var e;return t<128?(!(e=(_U(),Eee)[t])&&(e=Eee[t]=new Od(t)),e):new Od(t)}function hst(t){var e;return iN(t,78)?t:((e=t&&t.__java$exception)||oy(e=new xlt(t)),e)}function fst(t){if(iN(t,186))return $z(t,118);if(t)return null;throw Fw(new Fv(e8t))}function dst(t,e){if(null==e)return!1;for(;t.a!=t.b;)if(Nht(e,Rlt(t)))return!0;return!1}function gst(t){return!!t.a.Ob()||t.a==t.d&&(t.a=new E2(t.e.f),t.a.Ob())}function pst(t,e){var n;return 0!=(n=e.Pc()).length&&(Jz(t.c,t.c.length,n),!0)}function bst(t,e,n){var i,r;for(r=e.vc().Kc();r.Ob();)i=$z(r.Pb(),42),t.yc(i.cd(),i.dd(),n);return t}function wst(t,e){var n;for(n=new Kd(t.b);n.a<n.c.c.length;)uct($z(Z1(n),70),(uWt(),afe),e)}function yst(t,e,n){var i,r;for(r=new Kd(t.b);r.a<r.c.c.length;)EO(i=$z(Z1(r),33),i.i+e,i.j+n)}function mst(t,e){if(!t)throw Fw(new jv(Ojt("value already present: %s",Cst(Hx(Ite,1),zWt,1,5,[e]))))}function vst(t,e){return!(!t||!e||t==e)&&Rpt(t.d.c,e.d.c+e.d.b)&&Rpt(e.d.c,t.d.c+t.d.b)}function xst(){return m5(),qne?new y5(null):$It(Wat(),"com.google.common.base.Strings")}function kst(t,e){var n;return n=sP(e.a.gc()),VE(met(new PU(null,new f1(e,1)),t.i),new LA(t,n)),n}function _st(t){var e;return Nrt(e=new Hc,"T"),u7((!t.d&&(t.d=new LN(SLe,t,11)),t.d),e),e}function Est(t){var e,n,i,r;for(e=1,n=0,r=t.gc();n<r;++n)e=31*e+(null==(i=t.ki(n))?0:Jct(i));return e}function Tst(t,e,n,i){var r;return f2(e,t.e.Hd().gc()),f2(n,t.c.Hd().gc()),r=t.a[e][n],IY(t.a[e],n,i),r}function Cst(t,e,n,i,r){return r.gm=t,r.hm=e,r.im=M,r.__elementTypeId$=n,r.__elementTypeCategory$=i,r}function Sst(t,e,n,r,a){return xBt(),i.Math.min(GGt(t,e,n,r,a),GGt(n,r,t,e,zP(new NA(a.a,a.b))))}function Ast(){Ast=I,aue=new JC(XJt,0),iue=new JC(S1t,1),rue=new JC(A1t,2),nue=new JC("BOTH",3)}function Mst(){Mst=I,wue=new wS(eZt,0),yue=new wS(rZt,1),mue=new wS(aZt,2),vue=new wS("TOP",3)}function Ist(){Ist=I,Zoe=new WC("Q1",0),ese=new WC("Q4",1),Joe=new WC("Q2",2),tse=new WC("Q3",3)}function Ost(){Ost=I,fme=new WS("OFF",0),dme=new WS("SINGLE_EDGE",1),hme=new WS("MULTI_EDGE",2)}function Lst(){Lst=I,YEe=new EA("MINIMUM_SPANNING_TREE",0),KEe=new EA("MAXIMUM_SPANNING_TREE",1)}function Nst(){Nst=I,QEe=new us,VEe=new ss}function Dst(t){var e,n;for(e=new XE,n=cwt(t.d,0);n.b!=n.d.c;)DH(e,$z(h3(n),188).c);return e}function Pst(t){var e,n;for(n=new Lw,e=t.Kc();e.Ob();)pst(n,dBt($z(e.Pb(),33)));return n}function Bst(t){var e;tzt(t,!0),e=WXt,OP(t,(zYt(),uwe))&&(e+=$z(yTt(t,uwe),19).a),uct(t,uwe,nft(e))}function jst(t,e,n){var i;IK(t.a),Met(n.i,new vb(t)),vbt(t,i=new CL($z(PY(t.a,e.b),65)),e),n.f=i}function Rst(t,e){var n,i;return n=t.c,(i=e.e[t.p])<n.a.c.length-1?$z(NU(n.a,i+1),10):null}function $st(t,e){var n,i;for(KV(e,"predicate"),i=0;t.Ob();i++)if(n=t.Pb(),e.Lb(n))return i;return-1}function Fst(t,e){var n,i;if(i=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)i=e0(i,yq(1,n));return i}function zst(t){var e,n,i;for(EV(),i=0,n=t.Kc();n.Ob();)i+=null!=(e=n.Pb())?Jct(e):0,i|=0;return i}function Hst(t){var e;return Jk(),e=new oc,t&&u7((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a),e),e}function Ust(t){var e;return(e=new w).a=t,e.b=mct(t),e.c=N8(zee,cXt,2,2,6,1),e.c[0]=zrt(t),e.c[1]=zrt(t),e}function Gst(t,e){if(0===e)return!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),void t.o.c.$b();ySt(t,e)}function qst(t,e,n){switch(n.g){case 2:t.b=e;break;case 1:t.c=e;break;case 4:t.d=e;break;case 3:t.a=e}}function Kst(t){switch(t.g){case 1:return kAe;case 2:return xAe;case 3:return _Ae;default:return EAe}}function Yst(t){switch($z(yTt(t,(zYt(),mbe)),163).g){case 2:case 4:return!0;default:return!1}}function Wst(){Wst=I,yhe=hlt((fBt(),Cst(Hx(mhe,1),OXt,256,0,[uhe,hhe,fhe,dhe,ghe,phe,whe,che,lhe,bhe])))}function Xst(){Xst=I,VMe=hlt((JRt(),Cst(Hx(QMe,1),OXt,259,0,[UMe,qMe,HMe,KMe,YMe,XMe,WMe,GMe,zMe])))}function Vst(){Vst=I,qxe=dU(sbt(sbt(RT(dU(new $2,(Gvt(),jve),(PSt(),Xve)),Rve),Kve),Yve),$ve,Wve)}function Qst(){Qst=I,Ile=new CS(XJt,0),Mle=new CS("INCOMING_ONLY",1),Ole=new CS("OUTGOING_ONLY",2)}function Zst(){Zst=I,lee={boolean:GE,number:Cv,string:Sv,object:_At,function:_At,undefined:Kw}}function Jst(t,e){bH(t>=0,"Negative initial capacity"),bH(e>=0,"Non-positive load factor"),IK(this)}function tct(t,e,n){return!(t>=128)&&VM(t<64?t0(yq(1,t),n):t0(yq(1,t-64),e),0)}function ect(t,e){return!(!t||!e||t==e)&&Adt(t.b.c,e.b.c+e.b.b)<0&&Adt(e.b.c,t.b.c+t.b.b)<0}function nct(t){var e,n,i;return n=t.n,i=t.o,e=t.d,new GX(n.a-e.b,n.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function ict(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)Tct(t,e=n[i],(vKt(),TMe)),Tct(t,e,cMe)}function rct(t){var e,n;for(null==t.j&&(t.j=(TQ(),Akt(eee.ce(t)))),e=0,n=t.j.length;e<n;++e);}function act(t){var e,n;return _L(e=1+~t.l&TVt,n=~t.m+(0==e?1:0)&TVt,~t.h+(0==e&&0==n?1:0)&CVt)}function oct(t,e){return _Ft($z($z(PY(t.g,e.a),46).a,65),$z($z(PY(t.g,e.b),46).a,65))}function sct(t,e,n){var i;if(e>(i=t.gc()))throw Fw(new Jj(e,i));return t.hi()&&(n=ZZ(t,n)),t.Vh(e,n)}function cct(t,e,n){return null==n?(!t.q&&(t.q=new Nw),b6(t.q,e)):(!t.q&&(t.q=new Nw),YW(t.q,e,n)),t}function uct(t,e,n){return null==n?(!t.q&&(t.q=new Nw),b6(t.q,e)):(!t.q&&(t.q=new Nw),YW(t.q,e,n)),t}function lct(t){var e,n;return Hot(n=new y6,t),uct(n,(Ert(),soe),t),ezt(t,n,e=new Nw),Tqt(t,n,e),n}function hct(t){var e,n,i;for(xBt(),n=N8(TTe,cXt,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,n[e]=hmt(i,t);return n}function fct(t,e){var n,i,r;for(n=!1,i=t.a[e].length,r=0;r<i-1;r++)n|=Cpt(t,e,r,r+1);return n}function dct(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)wmt(t,a,o)||$jt(t,a,o,!0,!1)}function gct(t,e){this.b=t,LI.call(this,($z(Yet(WV((WY(),ZOe).o),10),18),e.i),e.g),this.a=(dat(),CLe)}function pct(t,e){this.c=t,this.d=e,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function bct(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function wct(t,e,n){this.q=new i.Date,this.q.setFullYear(t+cVt,e,n),this.q.setHours(0,0,0,0),hzt(this,0)}function yct(){yct=I,Nye=new zS(XJt,0),Lye=new zS("NODES_AND_EDGES",1),Dye=new zS("PREFER_EDGES",2)}function mct(t){var e;return 0==t?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+htt(t))}function vct(t){var e;if(t<0)return RXt;if(0==t)return 0;for(e=MXt;!(e&t);e>>=1);return e}function xct(t){var e,n;return 32==(n=ZMt(t.h))?32==(e=ZMt(t.m))?ZMt(t.l)+32:e+20-10:n-12}function kct(t){var e;return null==(e=t.a[t.b])?null:(IY(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function _ct(t){var e,n;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,n=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||n}function Ect(t,e,n){var i,r;return i=new F8(e,n),r=new U,t.b=YPt(t,t.b,i,r),r.b||++t.c,t.b.b=!1,r.d}function Tct(t,e,n){var i,r,a;for(a=0,r=Lht(e,n).Kc();r.Ob();)i=$z(r.Pb(),11),YW(t.c,i,nft(a++))}function Cct(t){var e,n;for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Z1(n),81)).g.c=-e.g.c-e.g.b;vDt(t)}function Sct(t){var e,n;for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Z1(n),57)).d.c=-e.d.c-e.d.b;mDt(t)}function Act(t){var e;return(!t.c||!(1&t.Bb)&&64&t.c.Db)&&iN(e=Axt(t),88)&&(t.c=$z(e,26)),t.c}function Mct(t){var e,n,i;e=1+~t.l&TVt,n=~t.m+(0==e?1:0)&TVt,i=~t.h+(0==e&&0==n?1:0)&CVt,t.l=e,t.m=n,t.h=i}function Ict(t){var e,n,i,r,a;for(e=new Hk,r=0,a=(i=t).length;r<a;++r)n=i[r],e.a+=n.a,e.b+=n.b;return e}function Oct(t,e){var n,i,r,a,o;for(EV(),o=!1,r=0,a=(i=e).length;r<a;++r)n=i[r],o|=t.Fc(n);return o}function Lct(t){var e,n;for(xBt(),n=-17976931348623157e292,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function Nct(t,e,n){var i;return xPt(t,e,i=new Lw,(vKt(),sMe),!0,!1),xPt(t,n,i,SMe,!1,!1),i}function Dct(t,e,n){var i,r;return r=L2(e,"labels"),KOt((i=new gM(t,n)).a,i.b,r),r}function Pct(t,e,n,i){var r;return(r=yLt(t,e,n,i))||!(r=aft(t,n,i))||$Ut(t,e,r)?r:null}function Bct(t,e,n,i){var r;return(r=mLt(t,e,n,i))||!(r=oft(t,n,i))||$Ut(t,e,r)?r:null}function jct(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!$z(DU(t.a,n),169).Lb(e))return!1;return!0}function Rct(t,e,n){if(yY(e),n.Ob())for(sI(e,CY(n.Pb()));n.Ob();)sI(e,t.a),sI(e,CY(n.Pb()));return e}function $ct(t){var e,n,i;for(EV(),i=1,n=t.Kc();n.Ob();)i=31*i+(null!=(e=n.Pb())?Jct(e):0),i|=0;return i}function Fct(t,e,n,i,r){var a;return a=xOt(t,e),n&&Mct(a),r&&(t=Tmt(t,e),hee=i?act(t):_L(t.l,t.m,t.h)),a}function zct(t,e){var n;try{e.Vd()}catch(i){if(!iN(i=hst(i),78))throw Fw(i);n=i,t.c[t.c.length]=n}}function Hct(t,e,n){var i,r;return iN(e,144)&&n?(i=$z(e,144),r=n,t.a[i.b][r.b]+t.a[r.b][i.b]):0}function Uct(t,e){switch(e){case 7:return!!t.e&&0!=t.e.i;case 8:return!!t.d&&0!=t.d.i}return lgt(t,e)}function Gct(t,e){switch(e.g){case 0:iN(t.b,631)||(t.b=new Lot);break;case 1:iN(t.b,632)||(t.b=new uH)}}function qct(t,e){for(;null!=t.g||t.c?null==t.g||0!=t.i&&$z(t.g[t.i-1],47).Ob():JZ(t);)bM(e,aNt(t))}function Kct(t,e,n){t.g=ISt(t,e,(vKt(),sMe),t.b),t.d=ISt(t,n,sMe,t.b),0!=t.g.c&&0!=t.d.c&>t(t)}function Yct(t,e,n){t.g=ISt(t,e,(vKt(),SMe),t.j),t.d=ISt(t,n,SMe,t.j),0!=t.g.c&&0!=t.d.c&>t(t)}function Wct(t,e,n){return!v_(MX(new PU(null,new f1(t.c,16)),new rg(new QA(e,n)))).sd((dT(),Jne))}function Xct(t){var e;return xW(t),e=new ct,t.a.sd(e)?(CN(),new bv(mW(e.a))):(CN(),CN(),Ene)}function Vct(t){var e;return!(t.b<=0)&&((e=HI("MLydhHmsSDkK",VEt(uX(t.c,0))))>1||e>=0&&t.b<3)}function Qct(t){var e,n;for(e=new mm,n=cwt(t,0);n.b!=n.d.c;)BP(e,0,new fO($z(h3(n),8)));return e}function Zct(t){var e;for(e=new Kd(t.a.b);e.a<e.c.c.length;)$z(Z1(e),81).f.$b();mv(t.b,t),FDt(t)}function Jct(t){return qM(t)?wyt(t):GM(t)?YI(t):UM(t)?(mW(t),t?1231:1237):eq(t)?t.Hb():MG(t)?TD(t):JV(t)}function tut(t){return qM(t)?zee:GM(t)?Cee:UM(t)?vee:eq(t)||MG(t)?t.gm:t.gm||Array.isArray(t)&&Hx(Jte,1)||Jte}function eut(t){if(0===t.g)return new os;throw Fw(new jv(N4t+(null!=t.f?t.f:""+t.g)))}function nut(t){if(0===t.g)return new rs;throw Fw(new jv(N4t+(null!=t.f?t.f:""+t.g)))}function iut(t,e,n){if(0===e)return!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),void tot(t.o,n);mAt(t,e,n)}function rut(t,e,n){this.g=t,this.e=new Hk,this.f=new Hk,this.d=new XE,this.b=new XE,this.a=e,this.c=n}function aut(t,e,n,i){this.b=new Lw,this.n=new Lw,this.i=i,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0}function out(t){this.e=t,this.d=new p4(this.e.g),this.a=this.d,this.b=gst(this),this.$modCount=t.$modCount}function sut(t){for(;!t.d||!t.d.Ob();){if(!t.b||Kv(t.b))return null;t.d=$z(dK(t.b),47)}return t.d}function cut(t){return Kz(t.c,(Nst(),QEe)),ont(t.a,Hv(_B(ywt((Bgt(),Ywe)))))?new Gs:new Cb(t)}function uut(t){switch(t.g){case 1:return $3t;default:case 2:return 0;case 3:return QZt;case 4:return F3t}}function lut(){var t;return dWt(),EDe||(t=tP(ZKt("M",!0)),t=gG(ZKt("M",!1),t),EDe=t)}function hut(t,e){var n,i,r;for(r=t.b;r;){if(0==(n=t.a.ue(e,r.d)))return r;i=n<0?0:1,r=r.a[i]}return null}function fut(t,e,n){var i,r;cD(),i=!!kI(n),(r=$z(e.xc(i),15))||(r=new Lw,e.zc(i,r)),r.Fc(n)}function dut(t,e){var n,i;return(n=$z(ZOt(t,(YLt(),d_e)),19).a)==(i=$z(ZOt(e,d_e),19).a)||n<i?-1:n>i?1:0}function gut(t,e){return!!fDt(t,e)&&(QMt(t.b,$z(yTt(e,(uWt(),qhe)),21),e),DH(t.a,e),!0)}function put(t){var e,n;(e=$z(yTt(t,(uWt(),xfe)),10))&&(y9((n=e.c).a,e),0==n.a.c.length&&y9(bW(e).b,n))}function but(t){return qne?N8(Hne,gQt,572,0,0,1):$z(Xbt(t.a,N8(Hne,gQt,572,t.a.c.length,0,1)),842)}function wut(t,e,n,i){return ZW(),new cv(Cst(Hx(zte,1),vXt,42,0,[(Gyt(t,e),new bE(t,e)),(Gyt(n,i),new bE(n,i))]))}function yut(t,e,n){var i;return lit(i=new Im,e,n),u7((!t.q&&(t.q=new tK(YOe,t,11,10)),t.q),i),i}function mut(t){var e,n,i,r;for(n=(r=uC(MIe,t)).length,i=N8(zee,cXt,2,n,6,1),e=0;e<n;++e)i[e]=r[e];return i}function vut(t,e){var n,i,r,a,o;for(r=0,a=(i=e).length;r<a;++r)n=i[r],o=new GY(t),n.Qe(o),Nzt(o);IK(t.f)}function xut(t,e){var n;return e===t||!!iN(e,224)&&(n=$z(e,224),Nht(t.Zb(),n.Zb()))}function kut(t,e){var n;2*e+1>=t.b.c.length||(kut(t,2*e+1),(n=2*e+2)<t.b.c.length&&kut(t,n),jAt(t,e))}function _ut(t,e,n){var i,r;this.g=t,this.c=e,this.a=this,this.d=this,r=Qit(n),i=N8(Xte,SXt,330,r,0,1),this.b=i}function Eut(t,e,n){var i;for(i=n-1;i>=0&&t[i]===e[i];i--);return i<0?0:sC(t0(t[i],qVt),t0(e[i],qVt))?-1:1}function Tut(t,e){var n,i;for(i=cwt(t,0);i.b!=i.d.c;)(n=$z(h3(i),214)).e.length>0&&(e.td(n),n.i&&bft(n))}function Cut(t,e){var n,i;return i=$z(mot(t.a,4),126),n=N8(fOe,n7t,415,e,0,1),null!=i&&aHt(i,0,n,0,i.length),n}function Sut(t,e){var n;return n=new ijt(!!(256&t.f),t.i,t.a,t.d,!!(16&t.f),t.j,t.g,e),null!=t.e||(n.c=t),n}function Aut(t,e){var n;for(n=t.Zb().Cc().Kc();n.Ob();)if($z(n.Pb(),14).Hc(e))return!0;return!1}function Mut(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)if(wmt(t,a,o))return!0;return!1}function Iut(t,e,n){var i,r,a,o;for(mW(n),o=!1,a=t.Zc(e),r=n.Kc();r.Ob();)i=r.Pb(),a.Rb(i),o=!0;return o}function Out(t,e){var n;return t===e||!!iN(e,83)&&(n=$z(e,83),GCt(lq(t),n.vc()))}function Lut(t,e,n){var i,r;for(r=n.Kc();r.Ob();)if(i=$z(r.Pb(),42),t.re(e,i.dd()))return!0;return!1}function Nut(t,e,n){return t.d[e.p][n.p]||(nyt(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function Dut(t,e){if(!t.ai()&&null==e)throw Fw(new jv("The 'no null' constraint is violated"));return e}function Put(t,e){null==t.D&&null!=t.B&&(t.D=t.B,t.B=null),zit(t,null==e?null:(mW(e),e)),t.C&&t.yk(null)}function But(t,e){return!(!t||t==e||!OP(e,(uWt(),nfe)))&&$z(yTt(e,(uWt(),nfe)),10)!=t}function jut(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.pl()}}function Rut(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t.ql()}}function $ut(t){jZ.call(this,"The given string does not match the expected format for individual spacings.",t)}function Fut(){Fut=I,oIe=new iM("ELK",0),sIe=new iM("JSON",1),aIe=new iM("DOT",2),cIe=new iM("SVG",3)}function zut(){zut=I,cke=new bA(XJt,0),uke=new bA("RADIAL_COMPACTION",1),lke=new bA("WEDGE_COMPACTION",2)}function Hut(){Hut=I,Wne=new pC("CONCURRENT",0),Xne=new pC("IDENTITY_FINISH",1),Vne=new pC("UNORDERED",2)}function Uut(){Uut=I,fT(),oae=new II(FZt,sae=iae),aae=new aw(zZt),cae=new aw(HZt),uae=new aw(UZt)}function Gut(){Gut=I,lue=new ki,hue=new _i,uue=new Ei,cue=new Ti,mW(new Ci),sue=new B}function qut(){qut=I,eme=new KS("CONSERVATIVE",0),nme=new KS("CONSERVATIVE_SOFT",1),ime=new KS("SLOPPY",2)}function Kut(){Kut=I,dAe=new KO(15),fAe=new qO((cWt(),qCe),dAe),gAe=gSe,cAe=rCe,uAe=BCe,hAe=$Ce,lAe=RCe}function Yut(t,e,n){var i,r;for(i=new XE,r=cwt(n,0);r.b!=r.d.c;)DH(i,new fO($z(h3(r),8)));Iut(t,e,i)}function Wut(t){var e,n,i;for(e=0,i=N8(TTe,cXt,8,t.b,0,1),n=cwt(t,0);n.b!=n.d.c;)i[e++]=$z(h3(n),8);return i}function Xut(t){var e;return!t.a&&(t.a=new tK(qOe,t,9,5)),0!=(e=t.a).i?FT($z(Yet(e,0),678)):null}function Vut(t,e){var n;return n=idt(t,e),sC(n0(t,e),0)|XM(n0(t,n),0)?n:idt(fXt,n0(vq(n,63),1))}function Qut(t,e){var n;n=null!=ywt((Bgt(),Ywe))&&null!=e.wg()?Hv(_B(e.wg()))/Hv(_B(ywt(Ywe))):1,YW(t.b,e,n)}function Zut(t,e){var n,i;return(n=$z(t.d.Bc(e),14))?((i=t.e.hc()).Gc(n),t.e.d-=n.gc(),n.$b(),i):null}function Jut(t,e){var n,i;if(0!=(i=t.c[e]))for(t.c[e]=0,t.d-=i,n=e+1;n<t.a.length;)t.a[n]-=i,n+=n&-n}function tlt(t){var e;if((e=t.a.c.length)>0)return Bq(e-1,t.a.c.length),s6(t.a,e-1);throw Fw(new wy)}function elt(t,e,n){if(e<0)throw Fw(new Mv(J4t+e));e<t.j.c.length?i5(t.j,e,n):(g3(t,e),Kz(t.j,n))}function nlt(t,e,n){if(t>e)throw Fw(new jv(yQt+t+mQt+e));if(t<0||e>n)throw Fw(new kx(yQt+t+vQt+e+uQt+n))}function ilt(t){if(!(t.a&&8&t.a.i))throw Fw(new Rv("Enumeration class expected for layout option "+t.f))}function rlt(t){var e;++t.j,0==t.i?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.ri(t.i),aHt(e,0,t.g,0,t.i))}function alt(t,e){var n,i;for(n=t.a.length-1,t.c=t.c-1&n;e!=t.c;)i=e+1&n,IY(t.a,e,t.a[i]),e=i;IY(t.a,t.c,null)}function olt(t,e){var n,i;for(n=t.a.length-1;e!=t.b;)i=e-1&n,IY(t.a,e,t.a[i]),e=i;IY(t.a,t.b,null),t.b=t.b+1&n}function slt(t,e,n){var i;return OJ(e,t.c.length),0!=(i=n.Pc()).length&&(Jz(t.c,e,i),!0)}function clt(t){var e,n;if(null==t)return null;for(e=0,n=t.length;e<n;e++)if(!TH(t[e]))return t[e];return null}function ult(t,e,n){var i,r,a,o;for(a=0,o=(r=n).length;a<o;++a)if(i=r[a],t.b.re(e,i.cd()))return i;return null}function llt(t){var e,n,i,r,a;for(a=1,i=0,r=(n=t).length;i<r;++i)a=31*a+(null!=(e=n[i])?Jct(e):0),a|=0;return a}function hlt(t){var e,n,i,r,a;for(e={},r=0,a=(i=t).length;r<a;++r)e[":"+(null!=(n=i[r]).f?n.f:""+n.g)]=n;return e}function flt(t){var e;for(yY(t),C$(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&gOt(t);e++)G5(t);return e}function dlt(t){var e,n,i;for(i=0,n=new oq(QN(t.a.Kc(),new l));gOt(n);)(e=$z(G5(n),17)).c.i==e.d.i||++i;return i}function glt(t,e){var n,i,r;for(n=t,r=0;;){if(n==e)return r;if(!(i=n.e))throw Fw(new fy);n=bW(i),++r}}function plt(t,e){var n,i,r;for(r=e-t.f,i=new Kd(t.d);i.a<i.c.c.length;)vpt(n=$z(Z1(i),443),n.e,n.f+r);t.f=e}function blt(t,e,n){return i.Math.abs(e-t)<R3t||i.Math.abs(n-t)<R3t||(e-t>R3t?t-n>R3t:n-t>R3t)}function wlt(t,e){return!t||e&&!t.j||iN(t,124)&&0==$z(t,124).a.b?0:t.Re()}function ylt(t,e){return!t||e&&!t.k||iN(t,124)&&0==$z(t,124).a.a?0:t.Se()}function mlt(t){return MBt(),t<0?-1!=t?new Bwt(-1,-t):Qee:t<=10?Jee[CZ(t)]:new Bwt(1,t)}function vlt(t){throw Zst(),Fw(new gv("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function xlt(t){cx(),YL(this),vV(this),this.e=t,SPt(this,t),this.g=null==t?GWt:Fdt(t),this.a="",this.b=t,this.a=""}function klt(){this.a=new es,this.f=new db(this),this.b=new gb(this),this.i=new pb(this),this.e=new bb(this)}function _lt(){iv.call(this,new z8(tet(16))),hit(2,sXt),this.b=2,this.a=new FW(null,null,0,null),ey(this.a,this.a)}function Elt(){Elt=I,rye=new BS("DUMMY_NODE_OVER",0),aye=new BS("DUMMY_NODE_UNDER",1),oye=new BS("EQUAL",2)}function Tlt(){Tlt=I,qoe=FZ(Cst(Hx(USe,1),OXt,103,0,[($ht(),RSe),$Se])),Koe=FZ(Cst(Hx(USe,1),OXt,103,0,[zSe,jSe]))}function Clt(t){return(vKt(),mMe).Hc(t.j)?Hv(_B(yTt(t,(uWt(),Ofe)))):Ict(Cst(Hx(TTe,1),cXt,8,0,[t.i.n,t.n,t.a])).b}function Slt(t){var e,n;for(e=t.b.a.a.ec().Kc();e.Ob();)n=new XLt($z(e.Pb(),561),t.e,t.f),Kz(t.g,n)}function Alt(t,e){var n,i;n=t.nk(e,null),i=null,e&&(e_(),rnt(i=new Bw,t.r)),(n=zEt(t,i,n))&&n.Fi()}function Mlt(t,e){var n,i;for(i=0!=zLt(t.d,1),n=!0;n;)n=!1,n=e.c.Tf(e.e,i),n|=PDt(t,e,i,!1),i=!i;Ort(t)}function Ilt(t,e){var n,i,r;return i=!1,n=e.q.d,e.d<t.b&&(r=gDt(e.q,t.b),e.q.d>r&&(a_t(e.q,r),i=n!=e.q.d)),i}function Olt(t,e){var n,r,a,o,s;return o=e.i,s=e.j,r=o-(n=t.f).i,a=s-n.j,i.Math.sqrt(r*r+a*a)}function Llt(t,e){var n;return(n=Vpt(t))||(BHt(),u7((n=new Cw(VSt(e))).Vk(),t)),n}function Nlt(t,e){var n,i;return(n=$z(t.c.Bc(e),14))?((i=t.hc()).Gc(n),t.d-=n.gc(),n.$b(),t.mc(i)):t.jc()}function Dlt(t,e){var n;for(n=0;n<e.length;n++)if(t==(h1(n,e.length),e.charCodeAt(n)))return!0;return!1}function Plt(t,e){var n;for(n=0;n<e.length;n++)if(t==(h1(n,e.length),e.charCodeAt(n)))return!0;return!1}function Blt(t){var e,n;if(null==t)return!1;for(e=0,n=t.length;e<n;e++)if(!TH(t[e]))return!1;return!0}function jlt(t){var e;if(0!=t.c)return t.c;for(e=0;e<t.a.length;e++)t.c=33*t.c+(-1&t.a[e]);return t.c=t.c*t.e,t.c}function Rlt(t){var e;return TP(t.a!=t.b),e=t.d.a[t.a],xP(t.b==t.d.c&&null!=e),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function $lt(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw Fw(new yy);return e=t.a,t.a+=t.c.c,++t.b,nft(e)}function Flt(t){var e;return e=new uet(t),e2(t.a,sse,new Vv(Cst(Hx(Voe,1),zWt,369,0,[e]))),e.d&&Kz(e.f,e.d),e.f}function zlt(t){var e;return Hot(e=new AL(t.a),t),uct(e,(uWt(),dfe),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function Hlt(t,e,n,i){var r,a;for(a=t.Kc();a.Ob();)(r=$z(a.Pb(),70)).n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+n}function Ult(t,e,n){var i;for(i=e.a.a.ec().Kc();i.Ob();)if(iQ(t,$z(i.Pb(),57),n))return!0;return!1}function Glt(t){var e,n;for(n=new Kd(t.r);n.a<n.c.c.length;)if(e=$z(Z1(n),10),t.n[e.p]<=0)return e;return null}function qlt(t){var e,n;for(n=new Py,e=new Kd(t);e.a<e.c.c.length;)$rt(n,gBt($z(Z1(e),33)));return n}function Klt(t){var e;return e=mO(Cme),$z(yTt(t,(uWt(),Qhe)),21).Hc((fBt(),ghe))&&dU(e,(mTt(),Roe),(hWt(),Fce)),e}function Ylt(t,e,n){var i;i=new EIt(t,e),QMt(t.r,e.Hf(),i),n&&!Fq(t.u)&&(i.c=new yZ(t.d),Met(e.wf(),new Cg(i)))}function Wlt(t,e){var n;return VI(t)&&VI(e)&&(n=t-e,!isNaN(n))?n:jxt(VI(t)?Cot(t):t,VI(e)?Cot(e):e)}function Xlt(t,e){return e<t.length&&(h1(e,t.length),63!=t.charCodeAt(e))&&(h1(e,t.length),35!=t.charCodeAt(e))}function Vlt(t,e,n,i){var r,a;t.a=e,a=i?0:1,t.f=(r=new ZCt(t.c,t.a,n,a),new ojt(n,t.a,r,t.e,t.b,t.c==(sit(),Ime)))}function Qlt(t,e,n){var i,r;return r=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,1,r,e),n?n.Ei(i):n=i),n}function Zlt(t,e,n){var i,r;return r=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,3,r,e),n?n.Ei(i):n=i),n}function Jlt(t,e,n){var i,r;return r=t.f,t.f=e,4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,0,r,e),n?n.Ei(i):n=i),n}function tht(t,e){var n,i,r,a;return(a=vAt((i=e,(r=t?Vpt(t):null)&&r.Xk(),i)))==e&&(n=Vpt(t))&&n.Xk(),a}function eht(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function nht(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function iht(t){var e,n;if(null!=t)for(n=0;n<t.length;++n)(e=t[n])&&($z(e.g,367),e.i)}function rht(t){var e,n,r;for(r=0,n=new Kd(t.a);n.a<n.c.c.length;)e=$z(Z1(n),187),r=i.Math.max(r,e.g);return r}function aht(t){var e,n,i;for(i=new Kd(t.b);i.a<i.c.c.length;)(e=(n=$z(Z1(i),214)).c.Rf()?n.f:n.a)&&dUt(e,n.j)}function oht(){oht=I,wAe=new FA("INHERIT",0),bAe=new FA("INCLUDE_CHILDREN",1),yAe=new FA("SEPARATE_CHILDREN",2)}function sht(t,e){switch(e){case 1:return!t.n&&(t.n=new tK(HIe,t,1,7)),void cUt(t.n);case 2:return void Oit(t,null)}Gst(t,e)}function cht(t){switch(t.gc()){case 0:return $te;case 1:return new TU(yY(t.Xb(0)));default:return new EQ(t)}}function uht(t){switch(s$(),t.gc()){case 0:return YY(),Wte;case 1:return new yx(t.Kc().Pb());default:return new bC(t)}}function lht(t){switch(s$(),t.c){case 0:return YY(),Wte;case 1:return new yx(QAt(new WE(t)));default:return new sv(t)}}function hht(t,e){yY(t);try{return t.xc(e)}catch(n){if(iN(n=hst(n),205)||iN(n,173))return null;throw Fw(n)}}function fht(t,e){yY(t);try{return t.Bc(e)}catch(n){if(iN(n=hst(n),205)||iN(n,173))return null;throw Fw(n)}}function dht(t,e){yY(t);try{return t.Hc(e)}catch(n){if(iN(n=hst(n),205)||iN(n,173))return!1;throw Fw(n)}}function ght(t,e){yY(t);try{return t.Mc(e)}catch(n){if(iN(n=hst(n),205)||iN(n,173))return!1;throw Fw(n)}}function pht(t,e){yY(t);try{return t._b(e)}catch(n){if(iN(n=hst(n),205)||iN(n,173))return!1;throw Fw(n)}}function bht(t,e){t.a.c.length>0&&gut($z(NU(t.a,t.a.c.length-1),570),e)||Kz(t.a,new p5(e))}function wht(t){var e,n;H$(),e=t.d.c-t.e.c,Met((n=$z(t.g,145)).b,new vp(e)),Met(n.c,new xp(e)),t5(n.i,new kp(e))}function yht(t){var e;return(e=new Cx).a+="VerticalSegment ",aI(e,t.e),e.a+=" ",oI(e,VN(new wx,new Kd(t.k))),e.a}function mht(t){var e;return(e=$z(ltt(t.c.c,""),229))||(e=new GJ(vk(mk(new ys,""),"Other")),Qbt(t.c.c,"",e)),e}function vht(t){var e;return 64&t.Db?CLt(t):((e=new uD(CLt(t))).a+=" (name: ",iI(e,t.zb),e.a+=")",e.a)}function xht(t,e,n){var i,r;return r=t.sb,t.sb=e,4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,4,r,e),n?n.Ei(i):n=i),n}function kht(t,e){var n,i;for(n=0,i=adt(t,e).Kc();i.Ob();)n+=null!=yTt($z(i.Pb(),11),(uWt(),xfe))?1:0;return n}function _ht(t,e,n){var i,r,a;for(i=0,a=cwt(t,0);a.b!=a.d.c&&!((r=Hv(_B(h3(a))))>n);)r>=e&&++i;return i}function Eht(t,e,n){var i;return i=new L9(t.e,3,13,null,e.c||(pWt(),uLe),oyt(t,e),!1),n?n.Ei(i):n=i,n}function Tht(t,e,n){var i;return i=new L9(t.e,4,13,e.c||(pWt(),uLe),null,oyt(t,e),!1),n?n.Ei(i):n=i,n}function Cht(t,e,n){var i,r;return r=t.r,t.r=e,4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,8,r,t.r),n?n.Ei(i):n=i),n}function Sht(t,e){var n,i;return!(i=(n=$z(e,676)).vk())&&n.wk(i=iN(e,88)?new IM(t,$z(e,26)):new j0(t,$z(e,148))),i}function Aht(t,e,n){var i;t.qi(t.i+1),i=t.oi(e,n),e!=t.i&&aHt(t.g,e,t.g,e+1,t.i-e),IY(t.g,e,i),++t.i,t.bi(e,n),t.ci()}function Mht(t,e){var n;return e.a&&(n=e.a.a.length,t.a?oI(t.a,t.b):t.a=new lD(t.d),H0(t.a,e.a,e.d.length,n)),t}function Iht(t,e){var n,i,r;if(e.vi(t.a),null!=(r=$z(mot(t.a,8),1936)))for(n=0,i=r.length;n<i;++n)null.jm()}function Oht(t,e){var n;return n=new ct,t.a.sd(n)?(CN(),new bv(mW(k9(t,n.a,e)))):(xW(t),CN(),CN(),Ene)}function Lht(t,e){switch(e.g){case 2:case 1:return adt(t,e);case 3:case 4:return eot(adt(t,e))}return EV(),EV(),cne}function Nht(t,e){return qM(t)?wR(t,e):GM(t)?bR(t,e):UM(t)?(mW(t),HM(t)===HM(e)):eq(t)?t.Fb(e):MG(t)?RI(t,e):b0(t,e)}function Dht(t){return t?1&t.i?t==MDe?vee:t==ADe?Iee:t==NDe?See:t==LDe?Cee:t==IDe?Bee:t==DDe?Ree:t==ODe?kee:Tee:t:null}function Pht(t,e,n,i,r){0==e||0==i||(1==e?r[i]=gyt(r,n,i,t[0]):1==i?r[e]=gyt(r,t,e,n[0]):VIt(t,n,r,e,i))}function Bht(t,e){var n;0!=t.c.length&&(cO(n=$z(Xbt(t,N8(kse,a1t,10,t.c.length,0,1)),193),new In),eIt(n,e))}function jht(t,e){var n;0!=t.c.length&&(cO(n=$z(Xbt(t,N8(kse,a1t,10,t.c.length,0,1)),193),new On),eIt(n,e))}function Rht(t,e,n,i){switch(e){case 1:return!t.n&&(t.n=new tK(HIe,t,1,7)),t.n;case 2:return t.k}return kvt(t,e,n,i)}function $ht(){$ht=I,FSe=new BA(uZt,0),$Se=new BA(aZt,1),RSe=new BA(rZt,2),jSe=new BA(bZt,3),zSe=new BA("UP",4)}function Fht(){Fht=I,dse=new XC(XJt,0),fse=new XC("INSIDE_PORT_SIDE_GROUPS",1),hse=new XC("FORCE_MODEL_ORDER",2)}function zht(t,e,n){if(t<0||e>n)throw Fw(new Mv(yQt+t+vQt+e+", size: "+n));if(t>e)throw Fw(new jv(yQt+t+mQt+e))}function Hht(t,e,n){if(e<0)rMt(t,n);else{if(!n.Ij())throw Fw(new jv(i6t+n.ne()+r6t));$z(n,66).Nj().Vj(t,t.yh(),e)}}function Uht(t,e,n,i,r,a,o,s){var c;for(c=n;a<o;)c>=i||e<n&&s.ue(t[e],t[c])<=0?IY(r,a++,t[e++]):IY(r,a++,t[c++])}function Ght(t,e,n,i,r,a){this.e=new Lw,this.f=(ait(),Uye),Kz(this.e,t),this.d=e,this.a=n,this.b=i,this.f=r,this.c=a}function qht(t,e){var n,i;for(i=new MN(t);i.e!=i.i.gc();)if(n=$z(vwt(i),26),HM(e)===HM(n))return!0;return!1}function Kht(t){var e,n,i,r;for(gWt(),i=0,r=(n=twt()).length;i<r;++i)if(-1!=x9((e=n[i]).a,t,0))return e;return Are}function Yht(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function Wht(t){var e;return 64&t.Db?CLt(t):((e=new uD(CLt(t))).a+=" (source: ",iI(e,t.d),e.a+=")",e.a)}function Xht(t,e,n){var i,r;return r=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,5,r,t.a),n?j_t(n,i):n=i),n}function Vht(t,e){var n;n=!!(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,2,n,e))}function Qht(t,e){var n;n=!!(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,8,n,e))}function Zht(t,e){var n;n=!!(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,8,n,e))}function Jht(t,e){var n;n=!!(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,3,n,e))}function tft(t,e){var n;n=!!(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,9,n,e))}function eft(t,e){var n;return-1==t.b&&t.a&&(n=t.a.Gj(),t.b=n?t.c.Xg(t.a.aj(),n):Igt(t.c.Tg(),t.a)),t.c.Og(t.b,e)}function nft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(JH(),Aee)[e])&&(n=Aee[e]=new Nd(t)),n):new Nd(t)}function ift(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(kU(),jee)[e])&&(n=jee[e]=new Pd(t)),n):new Pd(t)}function rft(t){var e;return t.k==(oCt(),Ese)&&((e=$z(yTt(t,(uWt(),Whe)),61))==(vKt(),cMe)||e==TMe)}function aft(t,e,n){var i,r;return(r=OLt(t.b,e))&&(i=$z(NHt(R9(t,r),""),26))?yLt(t,i,e,n):null}function oft(t,e,n){var i,r;return(r=OLt(t.b,e))&&(i=$z(NHt(R9(t,r),""),26))?mLt(t,i,e,n):null}function sft(t,e){var n,i;for(i=new MN(t);i.e!=i.i.gc();)if(n=$z(vwt(i),138),HM(e)===HM(n))return!0;return!1}function cft(t,e,n){var i;if(e>(i=t.gc()))throw Fw(new Jj(e,i));if(t.hi()&&t.Hc(n))throw Fw(new jv(a8t));t.Xh(e,n)}function uft(t,e){var n;if(null==(n=cnt(t.i,e)))throw Fw(new tx("Node did not exist in input."));return jat(e,n),null}function lft(t,e){var n;if(iN(n=NDt(t,e),322))return $z(n,34);throw Fw(new jv(i6t+e+"' is not a valid attribute"))}function hft(t,e,n){var i,r;for(r=iN(e,99)&&$z(e,18).Bb&FVt?new NI(e,t):new Iot(e,t),i=0;i<n;++i)ryt(r);return r}function fft(t){var e,n,i;for(i=0,n=t.length,e=0;e<n;e++)32==t[e]||13==t[e]||10==t[e]||9==t[e]||(t[i++]=t[e]);return i}function dft(t){var e,n,i;for(e=new Lw,i=new Kd(t.b);i.a<i.c.c.length;)n=$z(Z1(i),594),pst(e,$z(n.jf(),14));return e}function gft(t){var e,n;for(n=$z(yTt(t,(HUt(),lxe)),15).Kc();n.Ob();)DH((e=$z(n.Pb(),188)).b.d,e),DH(e.c.b,e)}function pft(t){switch($z(yTt(t,(uWt(),efe)),303).g){case 1:uct(t,efe,(U9(),The));break;case 2:uct(t,efe,(U9(),She))}}function bft(t){var e;t.g&&(DPt((e=t.c.Rf()?t.f:t.a).a,t.o,!0),DPt(e.a,t.o,!1),uct(t.o,(zYt(),twe),(X_t(),qAe)))}function wft(t){var e;if(!t.a)throw Fw(new Rv("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,NV(t,e),LV(t,e)}function yft(t){var e;return null==(e=t.a[t.c-1&t.a.length-1])?null:(t.c=t.c-1&t.a.length-1,IY(t.a,t.c,null),e)}function mft(t){var e,n;for(n=t.p.a.ec().Kc();n.Ob();)if((e=$z(n.Pb(),213)).f&&t.b[e.c]<-1e-10)return e;return null}function vft(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new GX(e.d,0,e.a,e.b);default:return null}}function xft(t){switch(t.g){case 2:return $Se;case 1:return RSe;case 4:return jSe;case 3:return zSe;default:return FSe}}function kft(t){switch(t.g){case 1:return SMe;case 2:return cMe;case 3:return sMe;case 4:return TMe;default:return CMe}}function _ft(t){switch(t.g){case 1:return TMe;case 2:return SMe;case 3:return cMe;case 4:return sMe;default:return CMe}}function Eft(t){switch(t.g){case 1:return sMe;case 2:return TMe;case 3:return SMe;case 4:return cMe;default:return CMe}}function Tft(t){switch(t){case 0:return new wm;case 1:return new pm;case 2:return new bm;default:throw Fw(new fy)}}function Cft(t,e){return t<e?-1:t>e?1:t==e?0==t?Cft(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function Sft(t,e){MEt(e,"Sort end labels",1),VE(MX(ftt(new PU(null,new f1(t.b,16)),new gn),new pn),new bn),zCt(e)}function Aft(t,e,n){var i,r;return t.ej()?(r=t.fj(),i=VMt(t,e,n),t.$i(t.Zi(7,nft(n),i,e,r)),i):VMt(t,e,n)}function Mft(t,e){var n,i,r;null==t.d?(++t.e,--t.f):(r=e.cd(),L6(t,i=((n=e.Sh())&PWt)%t.d.length,ILt(t,i,n,r)))}function Ift(t,e){var n;n=!!(t.Bb&v6t),e?t.Bb|=v6t:t.Bb&=-1025,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,10,n,e))}function Oft(t,e){var n;n=!!(t.Bb&RVt),e?t.Bb|=RVt:t.Bb&=-4097,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,12,n,e))}function Lft(t,e){var n;n=!!(t.Bb&_7t),e?t.Bb|=_7t:t.Bb&=-8193,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,15,n,e))}function Nft(t,e){var n;n=!!(t.Bb&E7t),e?t.Bb|=E7t:t.Bb&=-2049,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,11,n,e))}function Dft(t,e){var n;return 0!=(n=Cft(t.b.c,e.b.c))||0!=(n=Cft(t.a.a,e.a.a))?n:Cft(t.a.b,e.a.b)}function Pft(t,e){var n;if(null==(n=PY(t.k,e)))throw Fw(new tx("Port did not exist in input."));return jat(e,n),null}function Bft(t){var e,n;for(n=ULt(qet(t)).Kc();n.Ob();)if(N$t(t,e=EB(n.Pb())))return y4((GT(),DOe),e);return null}function jft(t,e){var n,i,r,a,o;for(o=aPt(t.e.Tg(),e),a=0,n=$z(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&++a;return a}function Rft(t,e,n){var i,r;return i=$z(e.We(t.a),35),r=$z(n.We(t.a),35),null!=i&&null!=r?Nat(i,r):null!=i?-1:null!=r?1:0}function $ft(t,e,n){var i;if(t.c)hTt(t.c,e,n);else for(i=new Kd(t.b);i.a<i.c.c.length;)$ft($z(Z1(i),157),e,n)}function Fft(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Z1(i),46),y9(t.b.b,n.b),aQ($z(n.a,189),$z(n.b,81))}function zft(t){var e,n;for(n=NY(new Cx,91),e=!0;t.Ob();)e||(n.a+=$Wt),e=!1,aI(n,t.Pb());return(n.a+="]",n).a}function Hft(t,e){var n;n=!!(t.Bb&uXt),e?t.Bb|=uXt:t.Bb&=-16385,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,16,n,e))}function Uft(t,e){var n;n=!!(t.Bb&u6t),e?t.Bb|=u6t:t.Bb&=-32769,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,18,n,e))}function Gft(t,e){var n;n=!!(t.Bb&u6t),e?t.Bb|=u6t:t.Bb&=-32769,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,18,n,e))}function qft(t,e){var n;n=!!(t.Bb&FVt),e?t.Bb|=FVt:t.Bb&=-65537,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,20,n,e))}function Kft(t){var e;return e=N8(SDe,YXt,25,2,15,1),t-=FVt,e[0]=(t>>10)+zVt&XXt,e[1]=56320+(1023&t)&XXt,Fpt(e,0,e.length)}function Yft(t){var e;return(e=$z(yTt(t,(zYt(),Gpe)),103))==($ht(),FSe)?Hv(_B(yTt(t,xpe)))>=1?$Se:jSe:e}function Wft(t){switch($z(yTt(t,(zYt(),Qpe)),218).g){case 1:return new ia;case 3:return new ca;default:return new na}}function Xft(t){if(t.c)Xft(t.c);else if(t.d)throw Fw(new Rv("Stream already terminated, can't be modified or used"))}function Vft(t){var e;return 64&t.Db?CLt(t):((e=new uD(CLt(t))).a+=" (identifier: ",iI(e,t.k),e.a+=")",e.a)}function Qft(t,e,n){var i;return Jk(),xnt(i=new ac,e),knt(i,n),t&&u7((!t.a&&(t.a=new IN(LIe,t,5)),t.a),i),i}function Zft(t,e,n,i){var r,a;return mW(i),mW(n),null==(a=null==(r=t.xc(e))?n:QE($z(r,15),$z(n,14)))?t.Bc(e):t.zc(e,a),a}function Jft(t){var e,n,i,r;return srt(n=new XR(e=$z(Yk((r=(i=t.gm).f)==Gte?i:r),9),$z(Ej(e,e.length),9),0),t),n}function tdt(t,e,n){var i,r;for(r=t.a.ec().Kc();r.Ob();)if(i=$z(r.Pb(),10),sst(n,$z(NU(e,i.p),14)))return i;return null}function edt(t,e,n){try{Rct(t,e,n)}catch(i){throw iN(i=hst(i),597)?Fw(new g5(i)):Fw(i)}return e}function ndt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t-e)&&n<MVt?n:oot(ust(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function idt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t+e)&&n<MVt?n:oot(cst(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function rdt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t*e)&&n<MVt?n:oot(lUt(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function adt(t,e){var n;return t.i||eMt(t),(n=$z(oX(t.g,e),46))?new s1(t.j,$z(n.a,19).a,$z(n.b,19).a):(EV(),EV(),cne)}function odt(t,e,n){var i;return i=t.a.get(e),t.a.set(e,void 0===n?null:n),void 0===i?(++t.c,oQ(t.b)):++t.d,i}function sdt(t,e,n){t.n=mU(IDe,[cXt,$Vt],[364,25],14,[n,CZ(i.Math.ceil(e/32))],2),t.o=e,t.p=n,t.j=e-1>>1,t.k=n-1>>1}function cdt(){var t,e,n;mEt(),n=One+++Date.now(),t=CZ(i.Math.floor(n*oQt))&cQt,e=CZ(n-t*sQt),this.a=1502^t,this.b=e^aQt}function udt(t){var e,n;for(e=new Lw,n=new Kd(t.j);n.a<n.c.c.length;)Kz(e,$z(Z1(n),11).b);return yY(e),new AI(e)}function ldt(t){var e,n;for(e=new Lw,n=new Kd(t.j);n.a<n.c.c.length;)Kz(e,$z(Z1(n),11).e);return yY(e),new AI(e)}function hdt(t){var e,n;for(e=new Lw,n=new Kd(t.j);n.a<n.c.c.length;)Kz(e,$z(Z1(n),11).g);return yY(e),new AI(e)}function fdt(t){var e,n;for(n=tLt(qet(dJ(t))).Kc();n.Ob();)if(N$t(t,e=EB(n.Pb())))return m4((qT(),UOe),e);return null}function ddt(t){var e,n;for(e=0,n=t.length;e<n;e++)if(null==t[e])throw Fw(new Fv("at index "+e));return new Vv(t)}function gdt(t,e){var n;if(iN(n=NDt(t.Tg(),e),99))return $z(n,18);throw Fw(new jv(i6t+e+"' is not a valid reference"))}function pdt(t){var e;return(e=fCt(t))>34028234663852886e22?BVt:e<-34028234663852886e22?jVt:e}function bdt(t){return t=((t=((t-=t>>1&1431655765)>>2&858993459)+(858993459&t))>>4)+t&252645135,t+=t>>8,63&(t+=t>>16)}function wdt(t){var e,n,i;for(e=new cj(t.Hd().gc()),i=0,n=O7(t.Hd().Kc());n.Ob();)vJ(e,n.Pb(),nft(i++));return NCt(e.a)}function ydt(t,e){var n,i,r;for(r=new Nw,i=e.vc().Kc();i.Ob();)YW(r,(n=$z(i.Pb(),42)).cd(),hot(t,$z(n.dd(),15)));return r}function mdt(t,e){0==t.n.c.length&&Kz(t.n,new PZ(t.s,t.t,t.i)),Kz(t.b,e),cmt($z(NU(t.n,t.n.c.length-1),211),e),FFt(t,e)}function vdt(t){return(t.c!=t.b.b||t.i!=t.g.b)&&(t.a.c=N8(Ite,zWt,1,0,5,1),pst(t.a,t.b),pst(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function xdt(t,e){var n,i;for(i=0,n=$z(e.Kb(t),20).Kc();n.Ob();)zv(kB(yTt($z(n.Pb(),17),(uWt(),Cfe))))||++i;return i}function kdt(t,e){var n,r;r=Hv(_B(ept(u2(e),(zYt(),ywe)))),$xt(e,n=i.Math.max(0,r/2-.5),1),Kz(t,new lS(e,n))}function _dt(){_dt=I,Hfe=new $S(XJt,0),Rfe=new $S("FIRST",1),$fe=new $S(S1t,2),Ffe=new $S("LAST",3),zfe=new $S(A1t,4)}function Edt(){Edt=I,ZSe=new RA(uZt,0),VSe=new RA("POLYLINE",1),XSe=new RA("ORTHOGONAL",2),QSe=new RA("SPLINES",3)}function Tdt(){Tdt=I,Zke=new mA("ASPECT_RATIO_DRIVEN",0),Jke=new mA("MAX_SCALE_DRIVEN",1),Qke=new mA("AREA_DRIVEN",2)}function Cdt(){Cdt=I,z_e=new xA("P1_STRUCTURE",0),H_e=new xA("P2_PROCESSING_ORDER",1),U_e=new xA("P3_EXECUTION",2)}function Sdt(){Sdt=I,eke=new gA("OVERLAP_REMOVAL",0),Jxe=new gA("COMPACTION",1),tke=new gA("GRAPH_SIZE_CALCULATION",2)}function Adt(t,e){return cL(),iit(jXt),i.Math.abs(t-e)<=jXt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:UI(isNaN(t),isNaN(e))}function Mdt(t,e){var n,i;for(n=cwt(t,0);n.b!=n.d.c;){if((i=Uv(_B(h3(n))))==e)return;if(i>e){G0(n);break}}ZK(n,e)}function Idt(t,e){var n,i,r,a,o;if(n=e.f,Qbt(t.c.d,n,e),null!=e.g)for(a=0,o=(r=e.g).length;a<o;++a)i=r[a],Qbt(t.c.e,i,e)}function Odt(t,e,n,i){var r,a,o;for(r=e+1;r<n;++r)for(a=r;a>e&&i.ue(t[a-1],t[a])>0;--a)o=t[a],IY(t,a,t[a-1]),IY(t,a-1,o)}function Ldt(t,e,n,i){if(e<0)_Nt(t,n,i);else{if(!n.Ij())throw Fw(new jv(i6t+n.ne()+r6t));$z(n,66).Nj().Tj(t,t.yh(),e,i)}}function Ndt(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw Fw(new jv("Node "+e+" not part of edge "+t))}function Ddt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Pdt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Bdt(t,e,n,i){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return Rht(t,e,n,i)}function jdt(t){return t.k==(oCt(),Sse)&&o5(new PU(null,new UK(new oq(QN(hdt(t).a.Kc(),new l)))),new Ur)}function Rdt(t){return null==t.e?t:(!t.c&&(t.c=new ijt(!!(256&t.f),t.i,t.a,t.d,!!(16&t.f),t.j,t.g,null)),t.c)}function $dt(t,e){return t.h==SVt&&0==t.m&&0==t.l?(e&&(hee=_L(0,0,0)),KI((q9(),gee))):(e&&(hee=_L(t.l,t.m,t.h)),_L(0,0,0))}function Fdt(t){return Array.isArray(t)&&t.im===M?Zk(tut(t))+"@"+(Jct(t)>>>0).toString(16):t.toString()}function zdt(t){var e;this.a=new XR(e=$z(t.e&&t.e(),9),$z(Ej(e,e.length),9),0),this.b=N8(Ite,zWt,1,this.a.a.length,5,1)}function Hdt(t){var e,n,i;for(this.a=new uO,i=new Kd(t);i.a<i.c.c.length;)n=$z(Z1(i),14),frt(e=new cG,n),kK(this.a,e)}function Udt(t){var e,n;for(zB(),e=t.o.b,n=$z($z(c6(t.r,(vKt(),TMe)),21),84).Kc();n.Ob();)$z(n.Pb(),111).e.b+=e}function Gdt(t){var e;if(t.b){if(Gdt(t.b),t.b.d!=t.c)throw Fw(new by)}else t.d.dc()&&(e=$z(t.f.c.xc(t.e),14))&&(t.d=e)}function qdt(t){var e;return null==t||(e=t.length)>0&&(h1(e-1,t.length),58==t.charCodeAt(e-1))&&!Kdt(t,IOe,OOe)}function Kdt(t,e,n){var i,r;for(i=0,r=t.length;i<r;i++)if(tct((h1(i,t.length),t.charCodeAt(i)),e,n))return!0;return!1}function Ydt(t,e){var n,i;for(i=t.e.a.ec().Kc();i.Ob();)if(tCt(e,(n=$z(i.Pb(),266)).d)||AAt(e,n.d))return!0;return!1}function Wdt(t,e){var n,i,r;for(r=(i=zjt(t,e))[i.length-1]/2,n=0;n<i.length;n++)if(i[n]>=r)return e.c+n;return e.c+e.b.gc()}function Xdt(t,e){var n,i,r,a;for(dB(),r=e,U7(i=F7(t),0,i.length,r),n=0;n<i.length;n++)n!=(a=pxt(t,i[n],n))&&Aft(t,n,a)}function Vdt(t,e){var n,i,r,a,o,s;for(i=0,n=0,o=0,s=(a=e).length;o<s;++o)(r=a[o])>0&&(i+=r,++n);return n>1&&(i+=t.d*(n-1)),i}function Qdt(t){var e,n,i;for((i=new Ex).a+="[",e=0,n=t.gc();e<n;)iI(i,mD(t.ki(e))),++e<n&&(i.a+=$Wt);return i.a+="]",i.a}function Zdt(t){var e,n,i;return i=IEt(t),!K_(t.c)&&(net(i,"knownLayouters",n=new Cf),e=new nw(n),t5(t.c,e)),i}function Jdt(t,e){var n,i;for(mW(e),n=!1,i=new Kd(t);i.a<i.c.c.length;)mgt(e,Z1(i),!1)&&(MK(i),n=!0);return n}function tgt(t){var e,n;for(n=Hv(_B(t.a.We((cWt(),ASe)))),e=new Kd(t.a.xf());e.a<e.c.c.length;)WKt(t,$z(Z1(e),680),n)}function egt(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Z1(i),46),Kz(t.b.b,$z(n.b,81)),g2($z(n.a,189),$z(n.b,81))}function ngt(t,e,n){var i,r;for(i=(r=t.a.b).c.length;i<n;i++)mG(r,0,new FY(t.a));TJ(e,$z(NU(r,r.c.length-n),29)),t.b[e.p]=n}function igt(t,e,n){var i;!(i=n)&&(i=OH(new qm,0)),MEt(i,HJt,2),yyt(t.b,e,yat(i,1)),jUt(t,e,yat(i,1)),HKt(e,yat(i,1)),zCt(i)}function rgt(t,e,n,i,r){$J(),qDt(rT(iT(nT(aT(new Fy,0),r.d.e-t),e),r.d)),qDt(rT(iT(nT(aT(new Fy,0),n-r.a.e),r.a),i))}function agt(t,e,n,i,r,a){this.a=t,this.c=e,this.b=n,this.f=i,this.d=r,this.e=a,this.c>0&&this.b>0&&XU(this.c,this.b,this.a)}function ogt(t){Bgt(),this.c=a6(Cst(Hx(nTe,1),zWt,831,0,[Kwe])),this.b=new Nw,this.a=t,YW(this.b,Ywe,1),Met(Wwe,new Tb(this))}function sgt(t,e){var n;return t.d?cK(t.b,e)?$z(PY(t.b,e),51):(n=e.Kf(),YW(t.b,e,n),n):e.Kf()}function cgt(t,e){var n;return HM(t)===HM(e)||!!iN(e,91)&&(n=$z(e,91),t.e==n.e&&t.d==n.d&&x4(t,n.a))}function ugt(t){switch(vKt(),t.g){case 4:return cMe;case 1:return sMe;case 3:return TMe;case 2:return SMe;default:return CMe}}function lgt(t,e){switch(e){case 3:return 0!=t.f;case 4:return 0!=t.g;case 5:return 0!=t.i;case 6:return 0!=t.j}return kot(t,e)}function hgt(t){switch(t.g){case 0:return new qo;case 1:return new Ko;default:throw Fw(new jv(r4t+(null!=t.f?t.f:""+t.g)))}}function fgt(t){switch(t.g){case 0:return new Go;case 1:return new Yo;default:throw Fw(new jv(E1t+(null!=t.f?t.f:""+t.g)))}}function dgt(t){switch(t.g){case 0:return new Ym;case 1:return new ym;default:throw Fw(new jv(N4t+(null!=t.f?t.f:""+t.g)))}}function ggt(t){switch(t.g){case 1:return new Ro;case 2:return new gB;default:throw Fw(new jv(r4t+(null!=t.f?t.f:""+t.g)))}}function pgt(t){var e,n;if(t.b)return t.b;for(n=qne?null:t.d;n;){if(e=qne?null:n.b)return e;n=qne?null:n.d}return lT(),Fne}function bgt(t){var e,n;return 0==t.e?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&Sat(t)==t.d-1&&(--n,n|=0),e-=ZMt(n))}function wgt(t){var e,n,i;return t<ene.length?ene[t]:(e=31&t,(i=N8(ADe,uVt,25,1+(n=t>>5),15,1))[n]=1<<e,new lK(1,n+1,i))}function ygt(t){var e,n,i;return(n=t.zg())?iN(e=t.Ug(),160)&&null!=(i=ygt($z(e,160)))?i+"."+n:n:null}function mgt(t,e,n){var i,r;for(r=t.Kc();r.Ob();)if(i=r.Pb(),HM(e)===HM(i)||null!=e&&Nht(e,i))return n&&r.Qb(),!0;return!1}function vgt(t,e,n){var i,r;if(++t.j,n.dc())return!1;for(r=n.Kc();r.Ob();)i=r.Pb(),t.Hi(e,t.oi(e,i)),++e;return!0}function xgt(t,e,n,i){var r,a;if((a=n-e)<3)for(;a<3;)t*=10,++a;else{for(r=1;a>3;)r*=10,--a;t=(t+(r>>1))/r|0}return i.i=t,!0}function kgt(t){return Tlt(),cD(),!!(Pdt($z(t.a,81).j,$z(t.b,103))||0!=$z(t.a,81).d.e&&Pdt($z(t.a,81).j,$z(t.b,103)))}function _gt(t){N7(),$z(t.We((cWt(),zCe)),174).Hc((JRt(),WMe))&&($z(t.We(uSe),174).Fc((hMt(),rMe)),$z(t.We(zCe),174).Mc(WMe))}function Egt(t,e){var n;if(e){for(n=0;n<t.i;++n)if($z(t.g[n],366).Di(e))return!1;return u7(t,e)}return!1}function Tgt(t){var e,n,i;for(e=new Cf,i=new zd(t.b.Kc());i.b.Ob();)n=WCt($z(i.b.Pb(),686)),KK(e,e.a.length,n);return e.a}function Cgt(t){var e;return!t.c&&(t.c=new Nt),wL(t.d,new Pt),VRt(t),e=hBt(t),VE(new PU(null,new f1(t.d,16)),new Sg(t)),e}function Sgt(t){var e;return 64&t.Db?vht(t):((e=new uD(vht(t))).a+=" (instanceClassName: ",iI(e,t.D),e.a+=")",e.a)}function Agt(t,e){var n,i;e&&(n=Bnt(e,"x"),_nt(new Qb(t).a,(mW(n),n)),i=Bnt(e,"y"),Mnt(new Zb(t).a,(mW(i),i)))}function Mgt(t,e){var n,i;e&&(n=Bnt(e,"x"),Ant(new Yb(t).a,(mW(n),n)),i=Bnt(e,"y"),Int(new Xb(t).a,(mW(i),i)))}function Igt(t,e){var n,i,r;if(null==t.i&&HFt(t),n=t.i,-1!=(i=e.aj()))for(r=n.length;i<r;++i)if(n[i]==e)return i;return-1}function Ogt(t){var e,n,i,r;for(n=$z(t.g,674),i=t.i-1;i>=0;--i)for(e=n[i],r=0;r<i;++r)if(wFt(t,e,n[r])){Lvt(t,i);break}}function Lgt(t){var e=t.e;function n(t){return t&&0!=t.length?"\t"+t.join("\n\t"):""}return e&&(e.stack||n(t[qXt]))}function Ngt(t){var e;switch(KY(),(e=t.Pc()).length){case 0:return $te;case 1:return new TU(yY(e[0]));default:return new EQ(ddt(e))}}function Dgt(t,e){switch(e.g){case 1:return Bz(t.j,(pat(),Nse));case 2:return Bz(t.j,(pat(),Pse));default:return EV(),EV(),cne}}function Pgt(t,e){switch(e){case 3:return void Ent(t,0);case 4:return void Tnt(t,0);case 5:return void Cnt(t,0);case 6:return void Snt(t,0)}sht(t,e)}function Bgt(){Bgt=I,MT(),zYt(),Ywe=Awe,Wwe=a6(Cst(Hx(aTe,1),v3t,146,0,[wwe,ywe,vwe,xwe,Ewe,Twe,Cwe,Swe,Iwe,Lwe,mwe,kwe,Mwe]))}function jgt(t){var e,n;e=t.d==(OSt(),Que),n=O_t(t),uct(t.a,(zYt(),mpe),e&&!n||!e&&n?(dyt(),OTe):(dyt(),ITe))}function Rgt(t,e){var n;return(n=$z(T4(t,w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15)).Qc(lH(n.gc()))}function $gt(){$gt=I,eIe=new XA("SIMPLE",0),ZMe=new XA("GROUP_DEC",1),tIe=new XA("GROUP_MIXED",2),JMe=new XA("GROUP_INC",3)}function Fgt(){Fgt=I,HLe=new Lc,PLe=new Nc,BLe=new Dc,jLe=new Pc,RLe=new Bc,$Le=new jc,FLe=new Rc,zLe=new $c,ULe=new Fc}function zgt(t,e,n){Het(),sm.call(this),this.a=mU(Hie,[cXt,iZt],[595,212],0,[Xie,Wie],2),this.c=new hO,this.g=t,this.f=e,this.d=n}function Hgt(t,e){this.n=mU(IDe,[cXt,$Vt],[364,25],14,[e,CZ(i.Math.ceil(t/32))],2),this.o=t,this.p=e,this.j=t-1>>1,this.k=e-1>>1}function Ugt(t,e){MEt(e,"End label post-processing",1),VE(MX(ftt(new PU(null,new f1(t.b,16)),new on),new sn),new cn),zCt(e)}function Ggt(t,e,n){var i;return i=Hv(t.p[e.i.p])+Hv(t.d[e.i.p])+e.n.b+e.a.b,Hv(t.p[n.i.p])+Hv(t.d[n.i.p])+n.n.b+n.a.b-i}function qgt(t,e,n){var i,r;for(i=t0(n,qVt),r=0;0!=Wlt(i,0)&&r<e;r++)i=idt(i,t0(t[r],qVt)),t[r]=dG(i),i=mq(i,32);return dG(i)}function Kgt(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)h1(n,t.length),(e=t.charCodeAt(n))<64&&(r=e0(r,yq(1,e)));return r}function Ygt(t){var e;return null==t?null:new IO((e=$zt(t,!0)).length>0&&(h1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Wgt(t){var e;return null==t?null:new IO((e=$zt(t,!0)).length>0&&(h1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Xgt(t,e){return t.i>0&&(e.length<t.i&&(e=Pnt(tut(e).c,t.i)),aHt(t.g,0,e,0,t.i)),e.length>t.i&&IY(e,t.i,null),e}function Vgt(t,e,n){var i,r,a;return t.ej()?(i=t.i,a=t.fj(),Aht(t,i,e),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):Aht(t,t.i,e),n}function Qgt(t,e,n){var i,r;return i=new L9(t.e,4,10,iN(r=e.c,88)?$z(r,26):(pWt(),fLe),null,oyt(t,e),!1),n?n.Ei(i):n=i,n}function Zgt(t,e,n){var i,r;return i=new L9(t.e,3,10,null,iN(r=e.c,88)?$z(r,26):(pWt(),fLe),oyt(t,e),!1),n?n.Ei(i):n=i,n}function Jgt(t){var e;return zB(),e=new fO($z(t.e.We((cWt(),$Ce)),8)),t.B.Hc((JRt(),UMe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function tpt(t){return fyt(),(t.q?t.q:(EV(),EV(),une))._b((zYt(),Pbe))?$z(yTt(t,Pbe),197):$z(yTt(bW(t),Bbe),197)}function ept(t,e){var n,i;return i=null,OP(t,(zYt(),_we))&&(n=$z(yTt(t,_we),94)).Xe(e)&&(i=n.We(e)),null==i&&(i=yTt(bW(t),e)),i}function npt(t,e){var n,i,r;return!!iN(e,42)&&(i=(n=$z(e,42)).cd(),fW(r=hht(t.Rc(),i),n.dd())&&(null!=r||t.Rc()._b(i)))}function ipt(t,e){var n;return t.f>0&&(t.qj(),-1!=ILt(t,((n=null==e?0:Jct(e))&PWt)%t.d.length,n,e))}function rpt(t,e){var n,i;return t.f>0&&(t.qj(),n=aIt(t,((i=null==e?0:Jct(e))&PWt)%t.d.length,i,e))?n.dd():null}function apt(t,e){var n,i,r,a;for(a=aPt(t.e.Tg(),e),n=$z(t.g,119),r=0;r<t.i;++r)if(i=n[r],a.rl(i.ak()))return!1;return!0}function opt(t){if(null==t.b){for(;t.a.Ob();)if(t.b=t.a.Pb(),!$z(t.b,49).Zg())return!0;return t.b=null,!1}return!0}function spt(t,e){t.mj();try{t.d.Vc(t.e++,e),t.f=t.d.j,t.g=-1}catch(n){throw iN(n=hst(n),73)?Fw(new by):Fw(n)}}function cpt(t,e){var n,i;return sL(),i=null,e==(n=uj((ux(),ux(),iee)))&&(i=$z(EZ(nee,t),615)),i||(i=new UY(t),e==n&&wJ(nee,t,i)),i}function upt(t,e){var n,r;t.a=idt(t.a,1),t.c=i.Math.min(t.c,e),t.b=i.Math.max(t.b,e),t.d+=e,n=e-t.f,r=t.e+n,t.f=r-t.e-n,t.e=r}function lpt(t,e){var n;t.c=e,t.a=bgt(e),t.a<54&&(t.f=(n=e.d>1?e0(yq(e.a[1],32),t0(e.a[0],qVt)):t0(e.a[0],qVt),v2(rdt(e.e,n))))}function hpt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t%e)&&n<MVt?n:oot((IUt(VI(t)?Cot(t):t,VI(e)?Cot(e):e,!0),hee))}function fpt(t,e){var n;Pqt(e),(n=$z(yTt(t,(zYt(),Vpe)),276))&&uct(t,Vpe,Ivt(n)),ZD(t.c),ZD(t.f),Y6(t.d),Y6($z(yTt(t,Mbe),207))}function dpt(t){this.e=N8(ADe,uVt,25,t.length,15,1),this.c=N8(MDe,ZQt,25,t.length,16,1),this.b=N8(MDe,ZQt,25,t.length,16,1),this.f=0}function gpt(t){var e,n;for(t.j=N8(LDe,HVt,25,t.p.c.length,15,1),n=new Kd(t.p);n.a<n.c.c.length;)e=$z(Z1(n),10),t.j[e.p]=e.o.b/t.i}function ppt(t){var e;0!=t.c&&(1==(e=$z(NU(t.a,t.b),287)).b?(++t.b,t.b<t.a.c.length&&kd($z(NU(t.a,t.b),287))):--e.b,--t.c)}function bpt(t){var e;e=t.a;do{(e=$z(G5(new oq(QN(hdt(e).a.Kc(),new l))),17).d.i).k==(oCt(),Cse)&&Kz(t.e,e)}while(e.k==(oCt(),Cse))}function wpt(){wpt=I,OMe=new KO(15),IMe=new qO((cWt(),qCe),OMe),NMe=new qO(OSe,15),LMe=new qO(bSe,nft(0)),MMe=new qO(iCe,gJt)}function ypt(){ypt=I,jMe=new YA("PORTS",0),RMe=new YA("PORT_LABELS",1),BMe=new YA("NODE_LABELS",2),PMe=new YA("MINIMUM_SIZE",3)}function mpt(t,e){var n,i;for(i=e.length,n=0;n<i;n+=2)VPt(t,(h1(n,e.length),e.charCodeAt(n)),(h1(n+1,e.length),e.charCodeAt(n+1)))}function vpt(t,e,n){var i,r,a,o;for(a=e-t.e,o=n-t.f,r=new Kd(t.a);r.a<r.c.c.length;)_yt(i=$z(Z1(r),187),i.s+a,i.t+o);t.e=e,t.f=n}function xpt(t,e){var n,i,r;for(r=e.b.b,t.a=new XE,t.b=N8(ADe,uVt,25,r,15,1),n=0,i=cwt(e.b,0);i.b!=i.d.c;)$z(h3(i),86).g=n++}function kpt(t,e){var n,i,r,a;return n=e>>5,e&=31,r=t.d+n+(0==e?0:1),DEt(i=N8(ADe,uVt,25,r,15,1),t.a,n,e),q0(a=new lK(t.e,r,i)),a}function _pt(t,e,n){var i,r;i=$z(EZ(tDe,e),117),r=$z(EZ(eDe,e),117),n?(wJ(tDe,t,i),wJ(eDe,t,r)):(wJ(eDe,t,i),wJ(tDe,t,r))}function Ept(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i>=0?a=a.a[1]:(r=a,a=a.a[0])}return r}function Tpt(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i<=0?a=a.a[0]:(r=a,a=a.a[1])}return r}function Cpt(t,e,n,i){var r,a,o;return r=!1,LGt(t.f,n,i)&&(Dbt(t.f,t.a[e][n],t.a[e][i]),o=(a=t.a[e])[i],a[i]=a[n],a[n]=o,r=!0),r}function Spt(t,e,n,i,r){var a,o,s;for(o=r;e.b!=e.c;)a=$z(dK(e),10),s=$z(adt(a,i).Xb(0),11),t.d[s.p]=o++,n.c[n.c.length]=s;return o}function Apt(t,e,n){var r,a,o,s,c;return s=t.k,c=e.k,a=_B(ept(t,r=n[s.g][c.g])),o=_B(ept(e,r)),i.Math.max((mW(a),a),(mW(o),o))}function Mpt(t,e,n){var i,r,a,o;for(i=n/t.c.length,r=0,o=new Kd(t);o.a<o.c.c.length;)plt(a=$z(Z1(o),200),a.f+i*r),akt(a,e,i),++r}function Ipt(t,e,n){var i,r,a;for(r=$z(PY(t.b,n),177),i=0,a=new Kd(e.j);a.a<a.c.c.length;)r[$z(Z1(a),113).d.p]&&++i;return i}function Opt(t){var e,n;return null!=(e=$z(mot(t.a,4),126))?(aHt(e,0,n=N8(fOe,n7t,415,e.length,0,1),0,e.length),n):hOe}function Lpt(){var t;return 0!=ree&&(t=l5())-aee>2e3&&(aee=t,oee=i.setTimeout(W_,10)),0==ree++&&(Att((sx(),tee)),!0)}function Npt(t,e){var n;for(n=new oq(QN(hdt(t).a.Kc(),new l));gOt(n);)if($z(G5(n),17).d.i.c==e)return!1;return!0}function Dpt(t,e){var n;if(iN(e,245)){n=$z(e,245);try{return 0==t.vd(n)}catch(i){if(!iN(i=hst(i),205))throw Fw(i)}}return!1}function Ppt(){return Error.stackTraceLimit>0?(i.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Bpt(t,e){return cL(),cL(),iit(jXt),(i.Math.abs(t-e)<=jXt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:UI(isNaN(t),isNaN(e)))>0}function jpt(t,e){return cL(),cL(),iit(jXt),(i.Math.abs(t-e)<=jXt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:UI(isNaN(t),isNaN(e)))<0}function Rpt(t,e){return cL(),cL(),iit(jXt),(i.Math.abs(t-e)<=jXt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:UI(isNaN(t),isNaN(e)))<=0}function $pt(t,e){for(var n=0;!e[n]||""==e[n];)n++;for(var i=e[n++];n<e.length;n++)!e[n]||""==e[n]||(i+=t+e[n]);return i}function Fpt(t,e,n){var r,a,o,s;for(j8(e,o=e+n,t.length),s="",a=e;a<o;)r=i.Math.min(a+1e4,o),s+=KW(t.slice(a,r)),a=r;return s}function zpt(t){var e,n,i,r;if(null==t)return null;for(r=new Lw,n=0,i=(e=mut(t)).length;n<i;++n)Kz(r,$zt(e[n],!0));return r}function Hpt(t){var e,n,i,r;if(null==t)return null;for(r=new Lw,n=0,i=(e=mut(t)).length;n<i;++n)Kz(r,$zt(e[n],!0));return r}function Upt(t){var e,n,i,r;if(null==t)return null;for(r=new Lw,n=0,i=(e=mut(t)).length;n<i;++n)Kz(r,$zt(e[n],!0));return r}function Gpt(t,e){var n,i,r;if(t.c)Tnt(t.c,e);else for(n=e-eG(t),r=new Kd(t.d);r.a<r.c.c.length;)Gpt(i=$z(Z1(r),157),eG(i)+n)}function qpt(t,e){var n,i,r;if(t.c)Ent(t.c,e);else for(n=e-tG(t),r=new Kd(t.a);r.a<r.c.c.length;)qpt(i=$z(Z1(r),157),tG(i)+n)}function Kpt(t,e){var n,i,r;for(i=new V6(e.gc()),n=e.Kc();n.Ob();)(r=t$t(t,$z(n.Pb(),56)))&&(i.c[i.c.length]=r);return i}function Ypt(t,e){var n,i;return t.qj(),(n=aIt(t,((i=null==e?0:Jct(e))&PWt)%t.d.length,i,e))?(uit(t,n),n.dd()):null}function Wpt(t){var e,n;for(n=oSt(t),e=null;2==t.c;)XYt(t),e||(dWt(),dWt(),tUt(e=new nL(2),n),n=e),n.$l(oSt(t));return n}function Xpt(t){if(!(H6t in t.a))throw Fw(new tx("Every element must have an id."));return vMt(UZ(t,H6t))}function Vpt(t){var e,n,i;if(!(i=t.Zg()))for(e=0,n=t.eh();n;n=n.eh()){if(++e>UVt)return n.fh();if((i=n.Zg())||n==t)break}return i}function Qpt(t){return cJ(),iN(t,156)?$z(PY(sOe,yne),288).vg(t):cK(sOe,tut(t))?$z(PY(sOe,tut(t)),288).vg(t):null}function Zpt(t){if(ybt(a5t,t))return cD(),yee;if(ybt(o5t,t))return cD(),wee;throw Fw(new jv("Expecting true or false"))}function Jpt(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw Fw(new jv("Input edge is not connected to the input port."))}function tbt(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*Eut(t.a,e.a,t.d)}function ebt(t){return t>=48&&t<48+i.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function nbt(t,e){var n;return HM(e)===HM(t)||!(!iN(e,21)||(n=$z(e,21),n.gc()!=t.gc()))&&t.Ic(n)}function ibt(t,e){var n,i,r;return i=t.a.length-1,n=e-t.b&i,r=t.c-e&i,xP(n<(t.c-t.b&i)),n>=r?(alt(t,e),-1):(olt(t,e),1)}function rbt(t,e){var n,i;for(h1(e,t.length),n=t.charCodeAt(e),i=e+1;i<t.length&&(h1(i,t.length),t.charCodeAt(i)==n);)++i;return i-e}function abt(t){switch(t.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function obt(t,e){var n,i=t.a;e=String(e),i.hasOwnProperty(e)&&(n=i[e]);var r=(Zst(),lee)[typeof n];return r?r(n):vlt(typeof n)}function sbt(t,e){if(t.a<0)throw Fw(new Rv("Did not call before(...) or after(...) before calling add(...)."));return KD(t,t.a,e),t}function cbt(t,e,n,i){var r;0!=e.c.length&&(r=ENt(n,i),VE(met(new PU(null,new f1(oMt(e),1)),new _o),new qX(t,n,r,i)))}function ubt(t,e,n){var i;t.Db&e?null==n?YIt(t,e):-1==(i=Bmt(t,e))?t.Eb=n:IY(ent(t.Eb),i,n):null!=n&&yPt(t,e,n)}function lbt(t){var e;return 32&t.Db||0!=(e=hY($z(mot(t,16),26)||t.zh())-hY(t.zh()))&&ubt(t,32,N8(Ite,zWt,1,e,5,1)),t}function hbt(t){var e;return t.b||qk(t,!(e=Zj(t.e,t.a))||!wR(o5t,rpt((!e.b&&(e.b=new VP((pWt(),yLe),GLe,e)),e.b),"qualified"))),t.c}function fbt(t,e,n){var i,r;return((r=(i=$z(Yet(F9(t.a),e),87)).c||(pWt(),uLe)).kh()?tht(t.b,$z(r,49)):r)==n?hFt(i):rnt(i,n),r}function dbt(t,e){(e||null==console.groupCollapsed?console.group??console.log:console.groupCollapsed).call(console,t)}function gbt(t,e,n,i){$z(n.b,65),$z(n.b,65),$z(i.b,65),$z(i.b,65).c.b,B8(i,e,t)}function pbt(t){var e,n;for(e=new Kd(t.g);e.a<e.c.c.length;)$z(Z1(e),562);Gqt(n=new mPt(t.g,Hv(t.a),t.c)),t.g=n.b,t.d=n.a}function bbt(t,e,n){e.b=i.Math.max(e.b,-n.a),e.c=i.Math.max(e.c,n.a-t.a),e.d=i.Math.max(e.d,-n.b),e.a=i.Math.max(e.a,n.b-t.b)}function wbt(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:Jct(t)-Jct(e)}function ybt(t,e){return mW(t),null!=e&&(!!wR(t,e)||t.length==e.length&&wR(t.toLowerCase(),e.toLowerCase()))}function mbt(t,e){var n,i,r,a;for(i=0,r=e.gc();i<r;++i)iN(n=e.il(i),99)&&$z(n,18).Bb&u6t&&null!=(a=e.jl(i))&&t$t(t,$z(a,56))}function vbt(t,e,n){var i,r,a;for(a=new Kd(n.a);a.a<a.c.c.length;)r=$z(Z1(a),221),i=new CL($z(PY(t.a,r.b),65)),Kz(e.a,i),vbt(t,i,r)}function xbt(t){var e,n;return Wlt(t,-129)>0&&Wlt(t,128)<0?(e=dG(t)+128,!(n=(xU(),Oee)[e])&&(n=Oee[e]=new Dd(t)),n):new Dd(t)}function kbt(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),t8t)))?i:e.ne()}function _bt(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),t8t)))?i:e.ne()}function Ebt(t,e){var n,i;for(zJ(),i=new oq(QN(udt(t).a.Kc(),new l));gOt(i);)if((n=$z(G5(i),17)).d.i==e||n.c.i==e)return n;return null}function Tbt(t,e,n){this.c=t,this.f=new Lw,this.e=new Hk,this.j=new EU,this.n=new EU,this.b=e,this.g=new GX(e.c,e.d,e.b,e.a),this.a=n}function Cbt(t){var e,n,i,r;for(this.a=new uO,this.d=new Py,this.e=0,i=0,r=(n=t).length;i<r;++i)e=n[i],!this.f&&(this.f=e),g2(this,e)}function Sbt(t){MBt(),0==t.length?(this.e=0,this.d=1,this.a=Cst(Hx(ADe,1),uVt,25,15,[0])):(this.e=1,this.d=t.length,this.a=t,q0(this))}function Abt(t,e,n){sm.call(this),this.a=N8(Hie,iZt,212,(Pet(),Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length,0,1),this.b=t,this.d=e,this.c=n}function Mbt(t){this.d=new Lw,this.e=new b4,this.c=N8(ADe,uVt,25,(vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length,15,1),this.b=t}function Ibt(t){var e,n,i,r;for(uct(r=$z(yTt(t,(uWt(),dfe)),11),Ofe,t.i.n.b),n=0,i=(e=Q0(t.e)).length;n<i;++n)_J(e[n],r)}function Obt(t){var e,n,i,r;for(uct(e=$z(yTt(t,(uWt(),dfe)),11),Ofe,t.i.n.b),i=0,r=(n=Q0(t.g)).length;i<r;++i)EJ(n[i],e)}function Lbt(t){var e,n;return!!OP(t.d.i,(zYt(),Kbe))&&(e=$z(yTt(t.c.i,Kbe),19),n=$z(yTt(t.d.i,Kbe),19),xL(e.a,n.a)>0)}function Nbt(t){var e;HM(ZOt(t,(cWt(),xCe)))===HM((oht(),wAe))&&(VZ(t)?(e=$z(ZOt(VZ(t),xCe),334),Vwt(t,xCe,e)):Vwt(t,xCe,yAe))}function Dbt(t,e,n){var i,r;lTt(t.e,e,n,(vKt(),SMe)),lTt(t.i,e,n,sMe),t.a&&(r=$z(yTt(e,(uWt(),dfe)),11),i=$z(yTt(n,dfe),11),m0(t.g,r,i))}function Pbt(t,e,n){var i,r,a;i=e.c.p,a=e.p,t.b[i][a]=new DQ(t,e),n&&(t.a[i][a]=new $p(e),(r=$z(yTt(e,(uWt(),nfe)),10))&&QMt(t.d,r,e))}function Bbt(t,e){var n,i,r;if(Kz(Eae,t),e.Fc(t),n=$z(PY(_ae,t),21))for(r=n.Kc();r.Ob();)i=$z(r.Pb(),33),-1!=x9(Eae,i,0)||Bbt(i,e)}function jbt(t,e,n){var i;(Une?(pgt(t),1):Gne||Yne?(lT(),1):Kne&&(lT(),0))&&((i=new e$(e)).b=n,aCt(t,i))}function Rbt(t,e){var n;n=!t.A.Hc((ypt(),RMe))||t.q==(X_t(),KAe),t.u.Hc((hMt(),eMe))?n?NKt(t,e):aKt(t,e):t.u.Hc(iMe)&&(n?Iqt(t,e):QKt(t,e))}function $bt(t,e){var n,i;++t.j,null!=e&&sIt(e,n=iN(i=t.a.Cb,97)?$z(i,97).Jg():null)?ubt(t.a,4,n):ubt(t.a,4,$z(e,126))}function Fbt(t,e,n){return new GX(i.Math.min(t.a,e.a)-n/2,i.Math.min(t.b,e.b)-n/2,i.Math.abs(t.a-e.a)+n,i.Math.abs(t.b-e.b)+n)}function zbt(t,e){var n,i;return 0!=(n=xL(t.a.c.p,e.a.c.p))?n:0!=(i=xL(t.a.d.i.p,e.a.d.i.p))?i:xL(e.a.d.p,t.a.d.p)}function Hbt(t,e,n){var i,r,a,o;return(a=e.j)!=(o=n.j)?a.g-o.g:(i=t.f[e.p],r=t.f[n.p],0==i&&0==r?0:0==i?-1:0==r?1:Cft(i,r))}function Ubt(t,e,n){var i;if(!n[e.d])for(n[e.d]=!0,i=new Kd(vdt(e));i.a<i.c.c.length;)Ubt(t,Ndt($z(Z1(i),213),e),n)}function Gbt(t,e,n){var i;switch(i=n[t.g][e],t.g){case 1:case 3:return new NA(0,i);case 2:case 4:return new NA(i,0);default:return null}}function qbt(t,e,n){var i;i=$z(sZ(e.f),209);try{i.Ze(t,n),EW(e.f,i)}catch(r){throw iN(r=hst(r),102),Fw(r)}}function Kbt(t,e,n){var i,r,a,o;return i=null,(a=bGt(rit(),e))&&(r=null,null!=(o=ZUt(a,n))&&(r=t.Ye(a,o)),i=r),i}function Ybt(t,e,n,i){var r;return r=new L9(t.e,1,13,e.c||(pWt(),uLe),n.c||(pWt(),uLe),oyt(t,e),!1),i?i.Ei(r):i=r,i}function Wbt(t,e,n,i){var r;if(e>=(r=t.length))return r;for(e=e>0?e:0;e<r&&!tct((h1(e,t.length),t.charCodeAt(e)),n,i);e++);return e}function Xbt(t,e){var n,i;for(i=t.c.length,e.length<i&&(e=zx(new Array(i),e)),n=0;n<i;++n)IY(e,n,t.c[n]);return e.length>i&&IY(e,i,null),e}function Vbt(t,e){var n,i;for(i=t.a.length,e.length<i&&(e=zx(new Array(i),e)),n=0;n<i;++n)IY(e,n,t.a[n]);return e.length>i&&IY(e,i,null),e}function Qbt(t,e,n){var i,r,a;return(r=$z(PY(t.e,e),387))?(a=pj(r,n),aN(t,r),a):(i=new Zz(t,e,n),YW(t.e,e,i),mZ(i),null)}function Zbt(t){var e;if(null==t)return null;if(null==(e=LLt($zt(t,!0))))throw Fw(new ex("Invalid hexBinary value: '"+t+"'"));return e}function Jbt(t){return MBt(),Wlt(t,0)<0?0!=Wlt(t,-1)?new w_t(-1,v9(t)):Qee:Wlt(t,10)<=0?Jee[dG(t)]:new w_t(1,t)}function twt(){return gWt(),Cst(Hx(Lre,1),OXt,159,0,[Cre,Tre,Sre,wre,bre,yre,xre,vre,mre,Ere,_re,kre,gre,dre,pre,hre,lre,fre,cre,sre,ure,Are])}function ewt(t){var e;this.d=new Lw,this.j=new Hk,this.g=new Hk,e=t.g.b,this.f=$z(yTt(bW(e),(zYt(),Gpe)),103),this.e=Hv(_B(pwt(e,Ewe)))}function nwt(t){this.b=new Lw,this.e=new Lw,this.d=t,this.a=!v_(MX(new PU(null,new UK(new w6(t.b))),new rg(new Gr))).sd((dT(),Jne))}function iwt(){iwt=I,uTe=new MA("PARENTS",0),cTe=new MA("NODES",1),oTe=new MA("EDGES",2),lTe=new MA("PORTS",3),sTe=new MA("LABELS",4)}function rwt(){rwt=I,FAe=new UA("DISTRIBUTED",0),HAe=new UA("JUSTIFIED",1),RAe=new UA("BEGIN",2),$Ae=new UA(eZt,3),zAe=new UA("END",4)}function awt(t){switch(t.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}function owt(t){switch(t.g){case 1:return $ht(),zSe;case 4:return $ht(),RSe;case 2:return $ht(),$Se;case 3:return $ht(),jSe}return $ht(),FSe}function swt(t,e,n){var i;switch((i=n.q.getFullYear()-cVt+cVt)<0&&(i=-i),e){case 1:t.a+=i;break;case 2:xtt(t,i%100,2);break;default:xtt(t,i,e)}}function cwt(t,e){var n,i;if(OJ(e,t.b),e>=t.b>>1)for(i=t.c,n=t.b;n>e;--n)i=i.b;else for(i=t.a.a,n=0;n<e;++n)i=i.a;return new QR(t,e,i)}function uwt(){uwt=I,gie=new RC("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),die=new RC("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function lwt(t){var e,n,i;for(wL(n=oAt(t),$se),(i=t.d).c=N8(Ite,zWt,1,0,5,1),e=new Kd(n);e.a<e.c.c.length;)pst(i,$z(Z1(e),456).b)}function hwt(t){var e,n;for(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),e=(n=t.o).c.Kc();e.e!=e.i.gc();)$z(e.nj(),42).dd();return M8(n)}function fwt(t){var e;OR($z(yTt(t,(zYt(),twe)),98))&&(lIt((l1(0,(e=t.b).c.length),$z(e.c[0],29))),lIt($z(NU(e,e.c.length-1),29)))}function dwt(t,e){var n,r,a,o;for(n=0,a=new Kd(e.a);a.a<a.c.c.length;)o=(r=$z(Z1(a),10)).o.a+r.d.c+r.d.b+t.j,n=i.Math.max(n,o);return n}function gwt(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)h1(n,t.length),(e=t.charCodeAt(n))>=64&&e<128&&(r=e0(r,yq(1,e-64)));return r}function pwt(t,e){var n,i;return i=null,OP(t,(cWt(),CSe))&&(n=$z(yTt(t,CSe),94)).Xe(e)&&(i=n.We(e)),null==i&&bW(t)&&(i=yTt(bW(t),e)),i}function bwt(t,e){var n,i,r;(i=(r=e.d.i).k)!=(oCt(),Sse)&&i!=_se&&gOt(n=new oq(QN(hdt(r).a.Kc(),new l)))&&YW(t.k,e,$z(G5(n),17))}function wwt(t,e){var n,i,r;return i=eet(t.Tg(),e),(n=e-t.Ah())<0?(r=t.Yg(i))>=0?t.lh(r):HMt(t,i):n<0?HMt(t,i):$z(i,66).Nj().Sj(t,t.yh(),n)}function ywt(t){var e;if(iN(t.a,4)){if(null==(e=Qpt(t.a)))throw Fw(new Rv(s5t+t.b+"'. "+i5t+(xB(lOe),lOe.k)+r5t));return e}return t.a}function mwt(t){var e;if(null==t)return null;if(null==(e=qKt($zt(t,!0))))throw Fw(new ex("Invalid base64Binary value: '"+t+"'"));return e}function vwt(t){var e;try{return e=t.i.Xb(t.e),t.mj(),t.g=t.e++,e}catch(n){throw iN(n=hst(n),73)?(t.mj(),Fw(new yy)):Fw(n)}}function xwt(t){var e;try{return e=t.c.ki(t.e),t.mj(),t.g=t.e++,e}catch(n){throw iN(n=hst(n),73)?(t.mj(),Fw(new yy)):Fw(n)}}function kwt(){kwt=I,cWt(),xae=kSe,pae=yCe,lae=iCe,bae=qCe,Rxt(),mae=_ie,yae=xie,vae=Tie,wae=vie,Uut(),fae=oae,hae=aae,dae=cae,gae=uae}function _wt(t){switch(vT(),this.c=new Lw,this.d=t,t.g){case 0:case 2:this.a=WW(cse),this.b=BVt;break;case 3:case 1:this.a=cse,this.b=jVt}}function Ewt(t,e,n){var i;if(t.c)Cnt(t.c,t.c.i+e),Snt(t.c,t.c.j+n);else for(i=new Kd(t.b);i.a<i.c.c.length;)Ewt($z(Z1(i),157),e,n)}function Twt(t,e){var n,i;if(t.j.length!=e.j.length)return!1;for(n=0,i=t.j.length;n<i;n++)if(!wR(t.j[n],e.j[n]))return!1;return!0}function Cwt(t,e,n){var i;e.a.length>0&&(Kz(t.b,new Yz(e.a,n)),0<(i=e.a.length)?e.a=e.a.substr(0,0):0>i&&(e.a+=nN(N8(SDe,YXt,25,-i,15,1))))}function Swt(t,e){var n,i,r;for(n=t.o,r=$z($z(c6(t.r,e),21),84).Kc();r.Ob();)(i=$z(r.Pb(),111)).e.a=gvt(i,n.a),i.e.b=n.b*Hv(_B(i.b.We(Ore)))}function Awt(t,e){var n,i,r,a;return r=t.k,n=Hv(_B(yTt(t,(uWt(),kfe)))),a=e.k,i=Hv(_B(yTt(e,kfe))),a!=(oCt(),Ese)?-1:r!=Ese?1:n==i?0:n<i?-1:1}function Mwt(t,e){var n,i;return n=$z($z(PY(t.g,e.a),46).a,65),i=$z($z(PY(t.g,e.b),46).a,65),K8(e.a,e.b)-K8(e.a,jL(n.b))-K8(e.b,jL(i.b))}function Iwt(t,e){var n;return n=$z(yTt(t,(zYt(),bbe)),74),JL(e,bse)?n?yV(n):(n=new mm,uct(t,bbe,n)):n&&uct(t,bbe,null),n}function Owt(t){var e;return(e=new Cx).a+="n",t.k!=(oCt(),Sse)&&oI(oI((e.a+="(",e),dP(t.k).toLowerCase()),")"),oI((e.a+="_",e),pvt(t)),e.a}function Lwt(t,e){MEt(e,"Self-Loop post-processing",1),VE(MX(MX(ftt(new PU(null,new f1(t.b,16)),new Pi),new Bi),new ji),new Ri),zCt(e)}function Nwt(t,e,n,i){var r;return n>=0?t.hh(e,n,i):(t.eh()&&(i=(r=t.Vg())>=0?t.Qg(i):t.eh().ih(t,-1-r,null,i)),t.Sg(e,n,i))}function Dwt(t,e){switch(e){case 7:return!t.e&&(t.e=new cR(BIe,t,7,4)),void cUt(t.e);case 8:return!t.d&&(t.d=new cR(BIe,t,8,5)),void cUt(t.d)}Pgt(t,e)}function Pwt(t,e){var n;n=t.Zc(e);try{return n.Pb()}catch(i){throw iN(i=hst(i),109)?Fw(new Mv("Can't get element "+e)):Fw(i)}}function Bwt(t,e){this.e=t,e<KVt?(this.d=1,this.a=Cst(Hx(ADe,1),uVt,25,15,[0|e])):(this.d=2,this.a=Cst(Hx(ADe,1),uVt,25,15,[e%KVt|0,e/KVt|0]))}function jwt(t,e){var n,i,r,a;for(EV(),n=t,a=e,iN(t,21)&&!iN(e,21)&&(n=e,a=t),r=n.Kc();r.Ob();)if(i=r.Pb(),a.Hc(i))return!1;return!0}function Rwt(t,e,n){var i,r,a,o;return-1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=Lvt(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):Lvt(t,i)),n}function $wt(t,e,n){var i,r,a,o;return-1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=fU(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):fU(t,i)),n}function Fwt(t,e){var n;switch(n=$z(oX(t.b,e),124).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t)}t.C&&(n.b=t.C.b,n.c=t.C.c)}function zwt(){zwt=I,Fre=new jC(yZt,0),$re=new jC(mZt,1),zre=new jC(vZt,2),Hre=new jC(xZt,3),Fre.a=!1,$re.a=!0,zre.a=!1,Hre.a=!0}function Hwt(){Hwt=I,Zre=new BC(yZt,0),Qre=new BC(mZt,1),Jre=new BC(vZt,2),tae=new BC(xZt,3),Zre.a=!1,Qre.a=!0,Jre.a=!1,tae.a=!0}function Uwt(t){var e;e=t.a;do{(e=$z(G5(new oq(QN(ldt(e).a.Kc(),new l))),17).c.i).k==(oCt(),Cse)&&t.b.Fc(e)}while(e.k==(oCt(),Cse));t.b=eot(t.b)}function Gwt(t){var e,n,i;for(i=t.c.a,t.p=(yY(i),new JR(i)),n=new Kd(i);n.a<n.c.c.length;)(e=$z(Z1(n),10)).p=uAt(e).a;EV(),wL(t.p,new Ia)}function qwt(t){var e,n,i;if(n=0,0==(i=dBt(t)).c.length)return 1;for(e=new Kd(i);e.a<e.c.c.length;)n+=qwt($z(Z1(e),33));return n}function Kwt(t,e){var n,i,r;for(r=0,i=$z($z(c6(t.r,e),21),84).Kc();i.Ob();)r+=(n=$z(i.Pb(),111)).d.b+n.b.rf().a+n.d.c,i.Ob()&&(r+=t.w);return r}function Ywt(t,e){var n,i,r;for(r=0,i=$z($z(c6(t.r,e),21),84).Kc();i.Ob();)r+=(n=$z(i.Pb(),111)).d.d+n.b.rf().b+n.d.a,i.Ob()&&(r+=t.w);return r}function Wwt(t,e,n,i){if(e.a<i.a)return!0;if(e.a==i.a){if(e.b<i.b)return!0;if(e.b==i.b&&t.b>n.b)return!0}return!1}function Xwt(t,e){return qM(t)?!!MWt[e]:t.hm?!!t.hm[e]:GM(t)?!!AWt[e]:!!UM(t)&&!!SWt[e]}function Vwt(t,e,n){return null==n?(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),Ypt(t.o,e)):(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),wkt(t.o,e,n)),t}function Qwt(t,e,n,i){var r;(r=Kht(e.Xe((cWt(),DCe))?$z(e.We(DCe),21):t.j))!=(gWt(),Are)&&(n&&!abt(r)||qCt(NLt(t,r,i),e))}function Zwt(t,e,n,i){var r,a,o;return a=eet(t.Tg(),e),(r=e-t.Ah())<0?(o=t.Yg(a))>=0?t._g(o,n,!0):rIt(t,a,n):$z(a,66).Nj().Pj(t,t.yh(),r,n,i)}function Jwt(t,e,n,i){var r,a;n.mh(e)&&(QT(),ctt(e)?mbt(t,$z(n.ah(e),153)):(r=(a=e)?$z(i,49).xh(a):null)&&jw(n.ah(e),r))}function tyt(t){switch(t.g){case 1:return Pot(),Bre;case 3:return Pot(),Nre;case 2:return Pot(),Pre;case 4:return Pot(),Dre;default:return null}}function eyt(t){switch(typeof t){case NWt:return wyt(t);case LWt:return CZ(t);case OWt:return cD(),t?1231:1237;default:return null==t?0:TD(t)}}function nyt(t,e,n){if(t.e)switch(t.b){case 1:$V(t.c,e,n);break;case 0:FV(t.c,e,n)}else J3(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}function iyt(t){var e,n;if(null==t)return null;for(n=N8(kse,cXt,193,t.length,0,2),e=0;e<n.length;e++)n[e]=$z(H7(t[e],t[e].length),193);return n}function ryt(t){var e;if(jut(t))return wq(t),t.Lk()&&(e=$Mt(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw Fw(new yy)}function ayt(t,e){var n,i,r,a;return(a=t.o)<(n=t.p)?a*=a:n*=n,i=a+n,(a=e.o)<(n=e.p)?a*=a:n*=n,i<(r=a+n)?-1:i==r?0:1}function oyt(t,e){var n,i;if((i=Yvt(t,e))>=0)return i;if(t.Fk())for(n=0;n<t.i;++n)if(HM(t.Gk($z(t.g[n],56)))===HM(e))return n;return-1}function syt(t,e,n){var i,r;if(e>=(r=t.gc()))throw Fw(new Jj(e,r));if(t.hi()&&(i=t.Xc(n))>=0&&i!=e)throw Fw(new jv(a8t));return t.mi(e,n)}function cyt(t,e){if(this.a=$z(yY(t),245),this.b=$z(yY(e),245),t.vd(e)>0||t==(tv(),jte)||e==(Jm(),Rte))throw Fw(new jv("Invalid range: "+$3(t,e)))}function uyt(t){var e,n;for(this.b=new Lw,this.c=t,this.a=!1,n=new Kd(t.a);n.a<n.c.c.length;)e=$z(Z1(n),10),this.a=this.a|e.k==(oCt(),Sse)}function lyt(t,e){var n,i,r;for(n=MD(new zy,t),r=new Kd(e);r.a<r.c.c.length;)i=$z(Z1(r),121),qDt(rT(iT(aT(nT(new Fy,0),0),n),i));return n}function hyt(t,e,n){var i,r,a;for(r=new oq(QN((e?ldt(t):hdt(t)).a.Kc(),new l));gOt(r);)i=$z(G5(r),17),(a=e?i.c.i:i.d.i).k==(oCt(),Tse)&&TJ(a,n)}function fyt(){fyt=I,hye=new jS(XJt,0),fye=new jS("PORT_POSITION",1),lye=new jS("NODE_SIZE_WHERE_SPACE_PERMITS",2),uye=new jS("NODE_SIZE",3)}function dyt(){dyt=I,STe=new DA("AUTOMATIC",0),ITe=new DA(rZt,1),OTe=new DA(aZt,2),LTe=new DA("TOP",3),ATe=new DA(sZt,4),MTe=new DA(eZt,5)}function gyt(t,e,n,i){var r,a;for(OIt(),r=0,a=0;a<n;a++)r=idt(rdt(t0(e[a],qVt),t0(i,qVt)),t0(dG(r),qVt)),t[a]=dG(r),r=vq(r,32);return dG(r)}function pyt(t,e,n){var r,a;for(a=0,r=0;r<Wie;r++)a=i.Math.max(a,wlt(t.a[e.g][r],n));return e==(Pet(),Gie)&&t.b&&(a=i.Math.max(a,t.b.b)),a}function byt(t,e){var n,i;if(kP(e>0),(e&-e)==e)return CZ(e*zLt(t,31)*4.656612873077393e-10);do{i=(n=zLt(t,31))%e}while(n-i+(e-1)<0);return CZ(i)}function wyt(t){var e,n,i;return n$(),null!=(i=nie[n=":"+t])?CZ((mW(i),i)):(e=null==(i=eie[n])?QDt(t):CZ((mW(i),i)),SV(),nie[n]=e,e)}function yyt(t,e,n){MEt(n,"Compound graph preprocessor",1),t.a=new pZ,Nqt(t,e,null),UHt(t,e),tDt(t),uct(e,(uWt(),Fhe),t.a),t.a=null,IK(t.b),zCt(n)}function myt(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}function vyt(t){var e,n,i;for(i=$z(c6(t.a,(L_t(),Cue)),15).Kc();i.Ob();)eY(t,n=$z(i.Pb(),101),(e=zvt(n))[0],(Srt(),Due),0),eY(t,n,e[1],Bue,1)}function xyt(t){var e,n,i;for(i=$z(c6(t.a,(L_t(),Sue)),15).Kc();i.Ob();)eY(t,n=$z(i.Pb(),101),(e=zvt(n))[0],(Srt(),Due),0),eY(t,n,e[1],Bue,1)}function kyt(t){switch(t.g){case 0:return null;case 1:return new Irt;case 2:return new Vm;default:throw Fw(new jv(r4t+(null!=t.f?t.f:""+t.g)))}}function _yt(t,e,n){var i,r;for(yst(t,e-t.s,n-t.t),r=new Kd(t.n);r.a<r.c.c.length;)nd(i=$z(Z1(r),211),i.e+e-t.s),id(i,i.f+n-t.t);t.s=e,t.t=n}function Eyt(t){var e,n,i,r;for(n=0,i=new Kd(t.a);i.a<i.c.c.length;)$z(Z1(i),121).d=n++;return r=null,(e=dCt(t)).c.length>1&&(r=lyt(t,e)),r}function Tyt(t){var e;return t.f&&t.f.kh()&&(e=$z(t.f,49),t.f=$z(tht(t,e),82),t.f!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,9,8,e,t.f))),t.f}function Cyt(t){var e;return t.i&&t.i.kh()&&(e=$z(t.i,49),t.i=$z(tht(t,e),82),t.i!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,9,7,e,t.i))),t.i}function Syt(t){var e;return t.b&&64&t.b.Db&&(e=t.b,t.b=$z(tht(t,e),18),t.b!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,9,21,e,t.b))),t.b}function Ayt(t,e){var n,i,r;null==t.d?(++t.e,++t.f):(i=e.Sh(),lDt(t,t.f+1),r=(i&PWt)%t.d.length,!(n=t.d[r])&&(n=t.d[r]=t.uj()),n.Fc(e),++t.f)}function Myt(t,e,n){var i;return!e.Kj()&&(-2!=e.Zj()?null==(i=e.zj())?null==n:Nht(i,n):e.Hj()==t.e.Tg()&&null==n)}function Iyt(){var t;hit(16,AXt),t=Qit(16),this.b=N8(Ute,SXt,317,t,0,1),this.c=N8(Ute,SXt,317,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function Oyt(t){Oj.call(this),this.k=(oCt(),Sse),this.j=(hit(6,IXt),new V6(6)),this.b=(hit(2,IXt),new V6(2)),this.d=new um,this.f=new fm,this.a=t}function Lyt(t){var e,n;t.c.length<=1||(gSt(t,$z((e=kBt(t,(vKt(),TMe))).a,19).a,$z(e.b,19).a),gSt(t,$z((n=kBt(t,SMe)).a,19).a,$z(n.b,19).a))}function Nyt(){Nyt=I,mye=new RS("SIMPLE",0),bye=new RS(F1t,1),wye=new RS("LINEAR_SEGMENTS",2),pye=new RS("BRANDES_KOEPF",3),yye=new RS(x3t,4)}function Dyt(t,e,n){OR($z(yTt(e,(zYt(),twe)),98))||(K9(t,e,PCt(e,n)),K9(t,e,PCt(e,(vKt(),TMe))),K9(t,e,PCt(e,cMe)),EV(),wL(e.j,new jp(t)))}function Pyt(t,e,n,i){var r;for(r=$z(c6(i?t.a:t.b,e),21).Kc();r.Ob();)if(RBt(t,n,$z(r.Pb(),33)))return!0;return!1}function Byt(t){var e,n;for(n=new MN(t);n.e!=n.i.gc();)if((e=$z(vwt(n),87)).e||0!=(!e.d&&(e.d=new IN(KOe,e,1)),e.d).i)return!0;return!1}function jyt(t){var e,n;for(n=new MN(t);n.e!=n.i.gc();)if((e=$z(vwt(n),87)).e||0!=(!e.d&&(e.d=new IN(KOe,e,1)),e.d).i)return!0;return!1}function Ryt(t){var e,n;for(e=0,n=new Kd(t.c.a);n.a<n.c.c.length;)e+=R3(new oq(QN(hdt($z(Z1(n),10)).a.Kc(),new l)));return e/t.c.a.c.length}function $yt(t){var e,n;for(t.c||GUt(t),n=new mm,Z1(e=new Kd(t.a));e.a<e.c.c.length;)DH(n,$z(Z1(e),407).a);return TP(0!=n.b),Iet(n,n.c.b),n}function Fyt(){Fyt=I,fjt(),zEe=PEe,$Ee=new KO(8),new qO((cWt(),qCe),$Ee),new qO(OSe,8),FEe=NEe,jEe=_Ee,REe=EEe,BEe=new qO(lCe,(cD(),!1))}function zyt(t,e,n,i){switch(e){case 7:return!t.e&&(t.e=new cR(BIe,t,7,4)),t.e;case 8:return!t.d&&(t.d=new cR(BIe,t,8,5)),t.d}return Bdt(t,e,n,i)}function Hyt(t){var e;return t.a&&t.a.kh()&&(e=$z(t.a,49),t.a=$z(tht(t,e),138),t.a!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,9,5,e,t.a))),t.a}function Uyt(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function Gyt(t,e){if(null==t)throw Fw(new Fv("null key in entry: null="+e));if(null==e)throw Fw(new Fv("null value in entry: "+t+"=null"))}function qyt(t,e){for(var n,i;t.Ob();)if(!(e.Ob()&&(n=t.Pb(),i=e.Pb(),HM(n)===HM(i)||null!=n&&Nht(n,i))))return!1;return!e.Ob()}function Kyt(t,e){var n;return n=Cst(Hx(LDe,1),HVt,25,15,[wlt(t.a[0],e),wlt(t.a[1],e),wlt(t.a[2],e)]),t.d&&(n[0]=i.Math.max(n[0],n[2]),n[2]=n[0]),n}function Yyt(t,e){var n;return n=Cst(Hx(LDe,1),HVt,25,15,[ylt(t.a[0],e),ylt(t.a[1],e),ylt(t.a[2],e)]),t.d&&(n[0]=i.Math.max(n[0],n[2]),n[2]=n[0]),n}function Wyt(){Wyt=I,mle=new ES("GREEDY",0),yle=new ES(z1t,1),xle=new ES(F1t,2),kle=new ES("MODEL_ORDER",3),vle=new ES("GREEDY_MODEL_ORDER",4)}function Xyt(t,e){var n,i,r;for(t.b[e.g]=1,i=cwt(e.d,0);i.b!=i.d.c;)r=(n=$z(h3(i),188)).c,1==t.b[r.g]?DH(t.a,n):2==t.b[r.g]?t.b[r.g]=1:Xyt(t,r)}function Vyt(t,e){var n,i,r;for(r=new V6(e.gc()),i=e.Kc();i.Ob();)(n=$z(i.Pb(),286)).c==n.f?uSt(t,n,n.c):iSt(t,n)||(r.c[r.c.length]=n);return r}function Qyt(t,e,n){var i,r,a,o;for(o=t.r+e,t.r+=e,t.d+=n,i=n/t.n.c.length,r=0,a=new Kd(t.n);a.a<a.c.c.length;)dLt($z(Z1(a),211),o,i,r),++r}function Zyt(t){var e,n;for(wv(t.b.a),t.a=N8(cie,zWt,57,t.c.c.a.b.c.length,0,1),e=0,n=new Kd(t.c.c.a.b);n.a<n.c.c.length;)$z(Z1(n),57).f=e++}function Jyt(t){var e,n;for(wv(t.b.a),t.a=N8(Yoe,zWt,81,t.c.a.a.b.c.length,0,1),e=0,n=new Kd(t.c.a.a.b);n.a<n.c.c.length;)$z(Z1(n),81).i=e++}function tmt(t,e,n){MEt(n,"Shrinking tree compaction",1),zv(kB(yTt(e,(Kat(),Wre))))?(nrt(t,e.f),att(e.f,e.c)):att(e.f,e.c),zCt(n)}function emt(t){var e;if(e=flt(t),!gOt(t))throw Fw(new Mv("position (0) must be less than the number of elements that remained ("+e+")"));return G5(t)}function nmt(t,e,n){try{return wmt(t,e+t.j,n+t.k)}catch(i){throw iN(i=hst(i),73)?Fw(new Mv(i.g+SZt+e+$Wt+n+").")):Fw(i)}}function imt(t,e,n){try{return ymt(t,e+t.j,n+t.k)}catch(i){throw iN(i=hst(i),73)?Fw(new Mv(i.g+SZt+e+$Wt+n+").")):Fw(i)}}function rmt(t,e,n){try{return mmt(t,e+t.j,n+t.k)}catch(i){throw iN(i=hst(i),73)?Fw(new Mv(i.g+SZt+e+$Wt+n+").")):Fw(i)}}function amt(t){switch(t.g){case 1:return vKt(),SMe;case 4:return vKt(),cMe;case 3:return vKt(),sMe;case 2:return vKt(),TMe;default:return vKt(),CMe}}function omt(t,e,n){e.k==(oCt(),Sse)&&n.k==Cse&&(t.d=kht(e,(vKt(),TMe)),t.b=kht(e,cMe)),n.k==Sse&&e.k==Cse&&(t.d=kht(n,(vKt(),cMe)),t.b=kht(n,TMe))}function smt(t,e){var n,i;for(i=adt(t,e).Kc();i.Ob();)if(null!=yTt(n=$z(i.Pb(),11),(uWt(),xfe))||UD(new w6(n.b)))return!0;return!1}function cmt(t,e){return Cnt(e,t.e+t.d+(0==t.c.c.length?0:t.b)),Snt(e,t.f),t.a=i.Math.max(t.a,e.f),t.d+=e.g+(0==t.c.c.length?0:t.b),Kz(t.c,e),!0}function umt(t,e,n){var i,r,a,o;for(o=0,i=n/t.a.c.length,a=new Kd(t.a);a.a<a.c.c.length;)_yt(r=$z(Z1(a),187),r.s,r.t+o*i),Qyt(r,t.d-r.r+e,i),++o}function lmt(t){var e,n,i;for(n=new Kd(t.b);n.a<n.c.c.length;)for(e=0,i=new Kd($z(Z1(n),29).a);i.a<i.c.c.length;)$z(Z1(i),10).p=e++}function hmt(t,e){var n,i,r,a,o,s;for(r=e.length-1,o=0,s=0,i=0;i<=r;i++)a=e[i],n=bCt(r,i)*eht(1-t,r-i)*eht(t,i),o+=a.a*n,s+=a.b*n;return new NA(o,s)}function fmt(t,e){var n,i,r,a,o;for(n=e.gc(),t.qi(t.i+n),a=e.Kc(),o=t.i,t.i+=n,i=o;i<t.i;++i)r=a.Pb(),vN(t,i,t.oi(i,r)),t.bi(i,r),t.ci();return 0!=n}function dmt(t,e,n){var i,r,a;return t.ej()?(i=t.Vi(),a=t.fj(),++t.j,t.Hi(i,t.oi(i,e)),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):QB(t,t.Vi(),e),n}function gmt(t,e,n){var i,r,a;return(64&(a=iN(r=(i=$z(Yet(r4(t.a),e),87)).c,88)?$z(r,26):(pWt(),fLe)).Db?tht(t.b,a):a)==n?hFt(i):rnt(i,n),a}function pmt(t,e,n,i,r,a,o,s){var c,u;i&&((c=i.a[0])&&pmt(t,e,n,c,r,a,o,s),Avt(t,n,i.d,r,a,o,s)&&e.Fc(i),(u=i.a[1])&&pmt(t,e,n,u,r,a,o,s))}function bmt(t,e){var n;return t.a||(n=N8(LDe,HVt,25,0,15,1),g_(t.b.a,new hg(n)),n.sort(nnt(E.prototype.te,E,[])),t.a=new jR(n,t.d)),B6(t.a,e)}function wmt(t,e,n){try{return WM(trt(t,e,n),1)}catch(i){throw iN(i=hst(i),320)?Fw(new Mv(EZt+t.o+"*"+t.p+TZt+e+$Wt+n+CZt)):Fw(i)}}function ymt(t,e,n){try{return WM(trt(t,e,n),0)}catch(i){throw iN(i=hst(i),320)?Fw(new Mv(EZt+t.o+"*"+t.p+TZt+e+$Wt+n+CZt)):Fw(i)}}function mmt(t,e,n){try{return WM(trt(t,e,n),2)}catch(i){throw iN(i=hst(i),320)?Fw(new Mv(EZt+t.o+"*"+t.p+TZt+e+$Wt+n+CZt)):Fw(i)}}function vmt(t,e){if(-1==t.g)throw Fw(new dy);t.mj();try{t.d._c(t.g,e),t.f=t.d.j}catch(n){throw iN(n=hst(n),73)?Fw(new by):Fw(n)}}function xmt(t,e,n){MEt(n,"Linear segments node placement",1),t.b=$z(yTt(e,(uWt(),Mfe)),304),WYt(t,e),wHt(t,e),XHt(t,e),uYt(t),t.a=null,t.b=null,zCt(n)}function kmt(t,e){var n,i,r,a;for(a=t.gc(),e.length<a&&(e=zx(new Array(a),e)),r=e,i=t.Kc(),n=0;n<a;++n)IY(r,n,i.Pb());return e.length>a&&IY(e,a,null),e}function _mt(t,e){var n,i;if(i=t.gc(),null==e){for(n=0;n<i;n++)if(null==t.Xb(n))return n}else for(n=0;n<i;n++)if(Nht(e,t.Xb(n)))return n;return-1}function Emt(t,e){var n,i,r;return n=e.cd(),r=e.dd(),i=t.xc(n),!(!(HM(r)===HM(i)||null!=r&&Nht(r,i))||null==i&&!t._b(n))}function Tmt(t,e){var n,i,r;return e<=22?(n=t.l&(1<<e)-1,i=r=0):e<=44?(n=t.l,i=t.m&(1<<e-22)-1,r=0):(n=t.l,i=t.m,r=t.h&(1<<e-44)-1),_L(n,i,r)}function Cmt(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}function Smt(t,e){var n,i;switch(i=e.c,n=e.a,t.b.g){case 0:n.d=t.e-i.a-i.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-i.a-i.d;break;case 3:n.c=t.e+i.d}}function Amt(t,e,n,i){var r,a;this.a=e,this.c=i,If(this,new NA(-(r=t.a).c,-r.d)),Gj(this.b,n),a=i/2,e.a?$P(this.b,0,a):$P(this.b,a,0),Kz(t.c,this)}function Mmt(){Mmt=I,Hke=new wA(XJt,0),Fke=new wA(H1t,1),zke=new wA("EDGE_LENGTH_BY_POSITION",2),$ke=new wA("CROSSING_MINIMIZATION_BY_POSITION",3)}function Imt(t,e){var n,i;if(n=$z(cnt(t.g,e),33))return n;if(i=$z(cnt(t.j,e),118))return i;throw Fw(new tx("Referenced shape does not exist: "+e))}function Omt(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Fw(new jv("Node 'one' must be either source or target of edge 'edge'."))}function Lmt(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw Fw(new jv("Node "+e+" is neither source nor target of edge "+t))}function Nmt(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),hK(t,e,(Mst(),vue),n);break;case 1:case 3:hK(t,e,(Mst(),wue),null)}}function Dmt(t,e,n,i,r,a){var o,s,c,u,l;for(o=nkt(e,n,a),s=n==(vKt(),cMe)||n==SMe?-1:1,u=t[n.g],l=0;l<u.length;l++)(c=u[l])>0&&(c+=r),u[l]=o,o+=s*(c+i)}function Pmt(t){var e,n,i;for(i=t.f,t.n=N8(LDe,HVt,25,i,15,1),t.d=N8(LDe,HVt,25,i,15,1),e=0;e<i;e++)n=$z(NU(t.c.b,e),29),t.n[e]=dwt(t,n),t.d[e]=WNt(t,n)}function Bmt(t,e){var n,i,r;for(r=0,i=2;i<e;i<<=1)t.Db&i&&++r;if(0==r){for(n=e<<=1;n<=128;n<<=1)if(t.Db&n)return 0;return-1}return r}function jmt(t,e){var n,i,r,a,o;for(o=aPt(t.e.Tg(),e),a=null,n=$z(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&(!a&&(a=new bc),u7(a,i));a&&aYt(t,a)}function Rmt(t){var e,n;if(!t)return null;if(t.dc())return"";for(n=new Ex,e=t.Kc();e.Ob();)iI(n,EB(e.Pb())),n.a+=" ";return BI(n,n.a.length-1)}function $mt(t,e,n){var i,r,a,o;for(rct(t),null==t.k&&(t.k=N8(Qte,cXt,78,0,0,1)),r=0,a=(i=t.k).length;r<a;++r)$mt(i[r]);(o=t.f)&&$mt(o)}function Fmt(t,e){var n,i=new Array(e);switch(t){case 14:case 15:n=0;break;case 16:n=!1;break;default:return i}for(var r=0;r<e;++r)i[r]=n;return i}function zmt(t){var e;for(e=new Kd(t.a.b);e.a<e.c.c.length;)$z(Z1(e),57).c.$b();Met(dO(t.d)?t.a.c:t.a.d,new _g(t)),t.c.Me(t),RPt(t)}function Hmt(t){var e,n,i;for(n=new Kd(t.e.c);n.a<n.c.c.length;){for(i=new Kd((e=$z(Z1(n),282)).b);i.a<i.c.c.length;)Rzt($z(Z1(i),447));FAt(e)}}function Umt(t){var e,n,r,a,o;for(r=0,o=0,a=0,n=new Kd(t.a);n.a<n.c.c.length;)e=$z(Z1(n),187),o=i.Math.max(o,e.r),r+=e.d+(a>0?t.c:0),++a;t.b=r,t.d=o}function Gmt(t,e){var n,r,a,o,s;for(r=0,a=0,n=0,s=new Kd(e);s.a<s.c.c.length;)o=$z(Z1(s),200),r=i.Math.max(r,o.e),a+=o.b+(n>0?t.g:0),++n;t.c=a,t.d=r}function qmt(t,e){var n;return n=Cst(Hx(LDe,1),HVt,25,15,[pyt(t,(Pet(),Uie),e),pyt(t,Gie,e),pyt(t,qie,e)]),t.f&&(n[0]=i.Math.max(n[0],n[2]),n[2]=n[0]),n}function Kmt(t,e,n){try{$jt(t,e+t.j,n+t.k,!1,!0)}catch(i){throw iN(i=hst(i),73)?Fw(new Mv(i.g+SZt+e+$Wt+n+").")):Fw(i)}}function Ymt(t,e,n){try{$jt(t,e+t.j,n+t.k,!0,!1)}catch(i){throw iN(i=hst(i),73)?Fw(new Mv(i.g+SZt+e+$Wt+n+").")):Fw(i)}}function Wmt(t){var e;OP(t,(zYt(),Ibe))&&((e=$z(yTt(t,Ibe),21)).Hc((JOt(),AAe))?(e.Mc(AAe),e.Fc(IAe)):e.Hc(IAe)&&(e.Mc(IAe),e.Fc(AAe)))}function Xmt(t){var e;OP(t,(zYt(),Ibe))&&((e=$z(yTt(t,Ibe),21)).Hc((JOt(),PAe))?(e.Mc(PAe),e.Fc(NAe)):e.Hc(NAe)&&(e.Mc(NAe),e.Fc(PAe)))}function Vmt(t,e,n){MEt(n,"Self-Loop ordering",1),VE(IX(MX(MX(ftt(new PU(null,new f1(e.b,16)),new Mi),new Ii),new Oi),new Li),new hp(t)),zCt(n)}function Qmt(t,e,n,i){var r,a;for(r=e;r<t.c.length;r++){if(l1(r,t.c.length),a=$z(t.c[r],11),!n.Mb(a))return r;i.c[i.c.length]=a}return t.c.length}function Zmt(t,e,n,i){var r,a,o;return null==t.a&&gCt(t,e),o=e.b.j.c.length,a=n.d.p,(r=i.d.p-1)<0&&(r=o-1),a<=r?t.a[r]-t.a[a]:t.a[o-1]-t.a[a]+t.a[r]}function Jmt(t){var e,n;if(!t.b)for(t.b=C2($z(t.f,33).Ag().i),n=new MN($z(t.f,33).Ag());n.e!=n.i.gc();)e=$z(vwt(n),137),Kz(t.b,new Pv(e));return t.b}function tvt(t){var e,n;if(!t.e)for(t.e=C2(yX($z(t.f,33)).i),n=new MN(yX($z(t.f,33)));n.e!=n.i.gc();)e=$z(vwt(n),118),Kz(t.e,new ow(e));return t.e}function evt(t){var e,n;if(!t.a)for(t.a=C2(XV($z(t.f,33)).i),n=new MN(XV($z(t.f,33)));n.e!=n.i.gc();)e=$z(vwt(n),33),Kz(t.a,new VD(t,e));return t.a}function nvt(t){var e;if(!t.C&&(null!=t.D||null!=t.B))if(e=fqt(t))t.yk(e);else try{t.yk(null)}catch(n){if(!iN(n=hst(n),60))throw Fw(n)}return t.C}function ivt(t){switch(t.q.g){case 5:vkt(t,(vKt(),cMe)),vkt(t,TMe);break;case 4:rGt(t,(vKt(),cMe)),rGt(t,TMe);break;default:$St(t,(vKt(),cMe)),$St(t,TMe)}}function rvt(t){switch(t.q.g){case 5:xkt(t,(vKt(),sMe)),xkt(t,SMe);break;case 4:aGt(t,(vKt(),sMe)),aGt(t,SMe);break;default:FSt(t,(vKt(),sMe)),FSt(t,SMe)}}function avt(t,e){var n,r,a;for(a=new Hk,r=t.Kc();r.Ob();)Zjt(n=$z(r.Pb(),37),a.a,0),a.a+=n.f.a+e,a.b=i.Math.max(a.b,n.f.b);return a.b>0&&(a.b+=e),a}function ovt(t,e){var n,r,a;for(a=new Hk,r=t.Kc();r.Ob();)Zjt(n=$z(r.Pb(),37),0,a.b),a.b+=n.f.b+e,a.a=i.Math.max(a.a,n.f.a);return a.a>0&&(a.a+=e),a}function svt(t){var e,n,r;for(r=PWt,n=new Kd(t.a);n.a<n.c.c.length;)OP(e=$z(Z1(n),10),(uWt(),ffe))&&(r=i.Math.min(r,$z(yTt(e,ffe),19).a));return r}function cvt(t,e){var n,i;if(0==e.length)return 0;for(n=QY(t.a,e[0],(vKt(),SMe)),n+=QY(t.a,e[e.length-1],sMe),i=0;i<e.length;i++)n+=HTt(t,i,e);return n}function uvt(){pPt(),this.c=new Lw,this.i=new Lw,this.e=new uO,this.f=new uO,this.g=new uO,this.j=new Lw,this.a=new Lw,this.b=new Nw,this.k=new Nw}function lvt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,5,zIe,e):(n=Syt($z(eet($z(mot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hvt(t){TQ();var e=t.e;if(e&&e.stack){var n=e.stack,i=e+"\n";return n.substring(0,i.length)==i&&(n=n.substring(i.length)),n.split("\n")}return[]}function fvt(t){var e;return Eit(),(e=Mee)[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[15&t]<<28}function dvt(t){var e,n,r;t.b==t.c&&(r=t.a.length,n=vct(i.Math.max(8,r))<<1,0!=t.b?(ort(t,e=Ej(t.a,n),r),t.a=e,t.b=0):Ty(t.a,n),t.c=r)}function gvt(t,e){var n;return(n=t.b).Xe((cWt(),rSe))?n.Hf()==(vKt(),SMe)?-n.rf().a-Hv(_B(n.We(rSe))):e+Hv(_B(n.We(rSe))):n.Hf()==(vKt(),SMe)?-n.rf().a:e}function pvt(t){return 0!=t.b.c.length&&$z(NU(t.b,0),70).a?$z(NU(t.b,0),70).a:tV(t)??""+(t.c?x9(t.c.a,t,0):-1)}function bvt(t){return 0!=t.f.c.length&&$z(NU(t.f,0),70).a?$z(NU(t.f,0),70).a:tV(t)??""+(t.i?x9(t.i.j,t,0):-1)}function wvt(t,e){var n,i;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(i=$z(t.Xb(n),128),n==t.gc()-1||!i.o)return new nM(nft(n),i);return null}function yvt(t,e,n){var i,r,a,o;for(a=t.c,i=n?t:e,r=(n?e:t).p+1;r<i.p;++r)if((o=$z(NU(a.a,r),10)).k!=(oCt(),_se)&&!Lxt(o))return!1;return!0}function mvt(t){var e,n,r,a,o;for(o=0,a=jVt,r=0,n=new Kd(t.a);n.a<n.c.c.length;)o+=(e=$z(Z1(n),187)).r+(r>0?t.c:0),a=i.Math.max(a,e.d),++r;t.e=o,t.b=a}function vvt(t){var e,n;if(!t.b)for(t.b=C2($z(t.f,118).Ag().i),n=new MN($z(t.f,118).Ag());n.e!=n.i.gc();)e=$z(vwt(n),137),Kz(t.b,new Pv(e));return t.b}function xvt(t,e){var n,i,r;if(e.dc())return dB(),dB(),gOe;for(n=new rj(t,e.gc()),r=new MN(t);r.e!=r.i.gc();)i=vwt(r),e.Hc(i)&&u7(n,i);return n}function kvt(t,e,n,i){return 0==e?i?(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),t.o):(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),M8(t.o)):Zwt(t,e,n,i)}function _vt(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)bP(Yet(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)bP(Yet(t.vb,e));rq((ASt(),VLe),t),t.Bb|=1}function Evt(t,e,n,i,r,a,o,s,c,u,l,h,f,d){return fAt(t,e,i,null,r,a,o,s,c,u,f,!0,d),Gft(t,l),iN(t.Cb,88)&&IAt(T5($z(t.Cb,88)),2),n&&irt(t,n),qft(t,h),t}function Tvt(t){var e;if(null==t)return null;e=0;try{e=h$t(t,RXt,PWt)&XXt}catch(n){if(!iN(n=hst(n),127))throw Fw(n);e=Y9(t)[0]}return lst(e)}function Cvt(t){var e;if(null==t)return null;e=0;try{e=h$t(t,RXt,PWt)&XXt}catch(n){if(!iN(n=hst(n),127))throw Fw(n);e=Y9(t)[0]}return lst(e)}function Svt(t,e){var n,i,r;return!((r=t.h-e.h)<0||(n=t.l-e.l,i=t.m-e.m+(n>>22),r+=i>>22,r<0)||(t.l=n&TVt,t.m=i&TVt,t.h=r&CVt,0))}function Avt(t,e,n,i,r,a,o){var s,c;return!(e.Ae()&&(c=t.a.ue(n,i),c<0||!r&&0==c)||e.Be()&&(s=t.a.ue(n,a),s>0||!o&&0==s))}function Mvt(t,e){if(Gut(),0!=t.j.g-e.j.g)return 0;switch(t.j.g){case 2:return xdt(e,hue)-xdt(t,hue);case 4:return xdt(t,lue)-xdt(e,lue)}return 0}function Ivt(t){switch(t.g){case 0:return Dle;case 1:return Ple;case 2:return Ble;case 3:return jle;case 4:return Rle;case 5:return $le;default:return null}}function Ovt(t,e,n){var i,r;return Alt(r=new Om,e),Nrt(r,n),u7((!t.c&&(t.c=new tK(WOe,t,12,10)),t.c),r),Lnt(i=r,0),Nnt(i,1),Jht(i,!0),Vht(i,!0),i}function Lvt(t,e){var n,i;if(e>=t.i)throw Fw(new OI(e,t.i));return++t.j,n=t.g[e],(i=t.i-e-1)>0&&aHt(t.g,e+1,t.g,e,i),IY(t.g,--t.i,null),t.fi(e,n),t.ci(),n}function Nvt(t,e){var n;return t.Db>>16==17?t.Cb.ih(t,21,FOe,e):(n=Syt($z(eet($z(mot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Dvt(t){var e,n,i;for(EV(),wL(t.c,t.a),i=new Kd(t.c);i.a<i.c.c.length;)for(n=Z1(i),e=new Kd(t.b);e.a<e.c.c.length;)$z(Z1(e),679).Ke(n)}function Pvt(t){var e,n,i;for(EV(),wL(t.c,t.a),i=new Kd(t.c);i.a<i.c.c.length;)for(n=Z1(i),e=new Kd(t.b);e.a<e.c.c.length;)$z(Z1(e),369).Ke(n)}function Bvt(t){var e,n,i,r,a;for(r=PWt,a=null,i=new Kd(t.d);i.a<i.c.c.length;)(n=$z(Z1(i),213)).d.j^n.e.j&&(e=n.e.e-n.d.e-n.a)<r&&(r=e,a=n);return a}function jvt(){jvt=I,doe=new II(NJt,(cD(),!1)),uoe=new II(DJt,100),z9(),loe=new II(PJt,hoe=Moe),foe=new II(BJt,hJt),goe=new II(jJt,nft(PWt))}function Rvt(t,e,n){var i,r,a,o,s,c;for(c=0,r=0,a=(i=t.a[e]).length;r<a;++r)for(s=Lht(i[r],n).Kc();s.Ob();)o=$z(s.Pb(),11),YW(t.f,o,nft(c++))}function $vt(t,e,n){var i,r;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);r.Ob();)QMt(t,e,vMt(dtt(n,$z(r.Pb(),19).a)))}function Fvt(t,e,n){var i,r;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);r.Ob();)QMt(t,e,vMt(dtt(n,$z(r.Pb(),19).a)))}function zvt(t){var e;return RTt(),U7(e=$z(kmt(gq(t.k),N8(DMe,VJt,61,2,0,1)),122),0,e.length,null),e[0]==(vKt(),cMe)&&e[1]==SMe&&(IY(e,0,SMe),IY(e,1,cMe)),e}function Hvt(t,e,n){var i,r,a;return a=cBt(t,r=KDt(t,e,n)),B7(t.b),m0(t,e,n),EV(),wL(r,new Yp(t)),i=cBt(t,r),B7(t.b),m0(t,n,e),new nM(nft(a),nft(i))}function Uvt(){Uvt=I,Gme=dU(new $2,(mTt(),Foe),(hWt(),gce)),qme=new ej("linearSegments.inputPrio",nft(0)),Kme=new ej("linearSegments.outputPrio",nft(0))}function Gvt(){Gvt=I,Bve=new uA("P1_TREEIFICATION",0),jve=new uA("P2_NODE_ORDERING",1),Rve=new uA("P3_NODE_PLACEMENT",2),$ve=new uA("P4_EDGE_ROUTING",3)}function qvt(){qvt=I,cWt(),Nke=gSe,Bke=OSe,Cke=BCe,Ske=$Ce,Ake=zCe,Tke=DCe,Mke=GCe,Lke=uSe,jOt(),_ke=fke,Eke=dke,Ike=pke,Oke=wke,Dke=yke,Pke=mke,jke=xke}function Kvt(){Kvt=I,EAe=new zA("UNKNOWN",0),xAe=new zA("ABOVE",1),kAe=new zA("BELOW",2),_Ae=new zA("INLINE",3),new ej("org.eclipse.elk.labelSide",EAe)}function Yvt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Nht(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if(HM(t.g[n])===HM(e))return n;return-1}function Wvt(t,e,n){var i,r;return e.c==(ait(),Hye)&&n.c==zye?-1:e.c==zye&&n.c==Hye?1:(i=glt(e.a,t.a),r=glt(n.a,t.a),e.c==Hye?r-i:i-r)}function Xvt(t,e,n){if(n&&(e<0||e>n.a.c.length))throw Fw(new jv("index must be >= 0 and <= layer node count"));t.c&&y9(t.c.a,t),t.c=n,n&&mG(n.a,e,t)}function Vvt(t,e){var n,i,r;for(i=new oq(QN(udt(t).a.Kc(),new l));gOt(i);)return n=$z(G5(i),17),new Fh(yY((r=$z(e.Kb(n),10)).n.b+r.o.b/2));return ev(),ev(),Mte}function Qvt(t,e){this.c=new Nw,this.a=t,this.b=e,this.d=$z(yTt(t,(uWt(),Mfe)),304),HM(yTt(t,(zYt(),Obe)))===HM((g9(),Hle))?this.e=new gm:this.e=new dm}function Zvt(t,e){var n,r,a;for(a=0,r=new Kd(t);r.a<r.c.c.length;)n=$z(Z1(r),33),a+=i.Math.pow(n.g*n.f-e,2);return i.Math.sqrt(a/(t.c.length-1))}function Jvt(t,e){var n,i;return i=null,t.Xe((cWt(),CSe))&&(n=$z(t.We(CSe),94)).Xe(e)&&(i=n.We(e)),null==i&&t.yf()&&(i=t.yf().We(e)),null==i&&(i=ywt(e)),i}function txt(t,e){var n,i;n=t.Zc(e);try{return i=n.Pb(),n.Qb(),i}catch(r){throw iN(r=hst(r),109)?Fw(new Mv("Can't remove element "+e)):Fw(r)}}function ext(t,e){var n,i,r;if(0==(n=Pzt(t,e,r=new wct((i=new ME).q.getFullYear()-cVt,i.q.getMonth(),i.q.getDate())))||n<e.length)throw Fw(new jv(e));return r}function nxt(t,e){var n,i,r;for(mW(e),kP(e!=t),r=t.b.c.length,i=e.Kc();i.Ob();)n=i.Pb(),Kz(t.b,mW(n));return r!=t.b.c.length&&(kut(t,0),!0)}function ixt(){ixt=I,cWt(),moe=CCe,new qO(dCe,(cD(),!0)),koe=BCe,_oe=$Ce,Eoe=zCe,xoe=DCe,Toe=GCe,Coe=uSe,jvt(),yoe=doe,boe=loe,woe=foe,voe=goe,poe=uoe}function rxt(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw Fw(new jv("'port' must be either the source port or target port of the edge."))}function axt(t,e,n){var i,r;switch(r=t.o,i=t.d,e.g){case 1:return-i.d-n;case 3:return r.b+i.a+n;case 2:return r.a+i.c+n;case 4:return-i.b-n;default:return 0}}function oxt(t,e,n,i){var r,a,o;for(TJ(e,$z(i.Xb(0),29)),o=i.bd(1,i.gc()),a=$z(n.Kb(e),20).Kc();a.Ob();)oxt(t,(r=$z(a.Pb(),17)).c.i==e?r.d.i:r.c.i,n,o)}function sxt(t){var e;return e=new Nw,OP(t,(uWt(),Dfe))?$z(yTt(t,Dfe),83):(VE(MX(new PU(null,new f1(t.j,16)),new er),new gp(e)),uct(t,Dfe,e),e)}function cxt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,6,BIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),yIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function uxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,1,NIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),vIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function lxt(t,e){var n;return t.Db>>16==9?t.Cb.ih(t,9,UIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),kIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hxt(t,e){var n;return t.Db>>16==5?t.Cb.ih(t,9,GOe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),oLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function fxt(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,0,RIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),JOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function dxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,6,zIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),pLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function gxt(){this.a=new dc,this.g=new Iyt,this.j=new Iyt,this.b=new Nw,this.d=new Iyt,this.i=new Iyt,this.k=new Nw,this.c=new Nw,this.e=new Nw,this.f=new Nw}function pxt(t,e,n){var i,r,a;for(n<0&&(n=0),a=t.i,r=n;r<a;r++)if(i=Yet(t,r),null==e){if(null==i)return r}else if(HM(e)===HM(i)||Nht(e,i))return r;return-1}function bxt(t,e){var n,i;return(n=e.Hh(t.a))?(i=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),x9t)),wR(k9t,i)?rq(t,qet(e.Hj())):i):null}function wxt(t,e){var n,i;if(e){if(e==t)return!0;for(n=0,i=$z(e,49).eh();i&&i!=e;i=i.eh()){if(++n>UVt)return wxt(t,i);if(i==t)return!0}}return!1}function yxt(t){switch(DD(),t.q.g){case 5:wMt(t,(vKt(),cMe)),wMt(t,TMe);break;case 4:GLt(t,(vKt(),cMe)),GLt(t,TMe);break;default:wKt(t,(vKt(),cMe)),wKt(t,TMe)}}function mxt(t){switch(DD(),t.q.g){case 5:TIt(t,(vKt(),sMe)),TIt(t,SMe);break;case 4:Swt(t,(vKt(),sMe)),Swt(t,SMe);break;default:yKt(t,(vKt(),sMe)),yKt(t,SMe)}}function vxt(t){var e,n;(e=$z(yTt(t,(ljt(),Zae)),19))?(n=e.a,uct(t,(Ert(),coe),0==n?new cdt:new C4(n))):uct(t,(Ert(),coe),new C4(1))}function xxt(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}function kxt(t,e){switch(t.g){case 0:return e==(_dt(),$fe)?iue:rue;case 1:return e==(_dt(),$fe)?iue:nue;case 2:return e==(_dt(),$fe)?nue:rue;default:return nue}}function _xt(t,e){var n,r,a;for(y9(t.a,e),t.e-=e.r+(0==t.a.c.length?0:t.c),a=J3t,r=new Kd(t.a);r.a<r.c.c.length;)n=$z(Z1(r),187),a=i.Math.max(a,n.d);t.b=a}function Ext(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,12,UIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),wIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Txt(t,e){var n;return t.Db>>16==11?t.Cb.ih(t,10,UIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),xIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Cxt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,11,FOe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),dLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Sxt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,12,YOe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),bLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Axt(t){var e;return!(1&t.Bb)&&t.r&&t.r.kh()&&(e=$z(t.r,49),t.r=$z(tht(t,e),138),t.r!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,9,8,e,t.r))),t.r}function Mxt(t,e,n){var r;return r=Cst(Hx(LDe,1),HVt,25,15,[nTt(t,(Pet(),Uie),e,n),nTt(t,Gie,e,n),nTt(t,qie,e,n)]),t.f&&(r[0]=i.Math.max(r[0],r[2]),r[2]=r[0]),r}function Ixt(t,e){var n,i,r;if(0!=(r=Vyt(t,e)).c.length)for(wL(r,new ei),n=r.c.length,i=0;i<n;i++)uSt(t,(l1(i,r.c.length),$z(r.c[i],286)),_Bt(t,r,i))}function Oxt(t){var e,n,i;for(i=$z(c6(t.a,(L_t(),_ue)),15).Kc();i.Ob();)for(e=gq((n=$z(i.Pb(),101)).k).Kc();e.Ob();)eY(t,n,$z(e.Pb(),61),(Srt(),Pue),1)}function Lxt(t){var e,n;if(t.k==(oCt(),Cse))for(n=new oq(QN(udt(t).a.Kc(),new l));gOt(n);)if(!h5(e=$z(G5(n),17))&&t.c==Ikt(e,t).c)return!0;return!1}function Nxt(t){var e,n;if(t.k==(oCt(),Cse))for(n=new oq(QN(udt(t).a.Kc(),new l));gOt(n);)if(!h5(e=$z(G5(n),17))&&e.c.i.c==e.d.i.c)return!0;return!1}function Dxt(t,e){var n,i;for(MEt(e,"Dull edge routing",1),i=cwt(t.b,0);i.b!=i.d.c;)for(n=cwt($z(h3(i),86).d,0);n.b!=n.d.c;)yV($z(h3(n),188).a)}function Pxt(t,e){var n,i,r;if(e)for(r=((n=new cq(e.a.length)).b-n.a)*n.c<0?(tC(),kDe):new qN(n);r.Ob();)(i=N2(e,$z(r.Pb(),19).a))&&MLt(t,i)}function Bxt(){var t;for(JT(),JYt((WY(),ZOe)),RYt(ZOe),_vt(ZOe),pWt(),ILe=uLe,t=new Kd(KLe);t.a<t.c.c.length;)aqt($z(Z1(t),241),uLe,null);return!0}function jxt(t,e){var n,i,r,a,o,s;return(o=t.h>>19)!=(s=e.h>>19)?s-o:(i=t.h)!=(a=e.h)?i-a:(n=t.m)!=(r=e.m)?n-r:t.l-e.l}function Rxt(){Rxt=I,tjt(),Tie=new II(qQt,Cie=Pie),Ptt(),_ie=new II(KQt,Eie=yie),uwt(),xie=new II(YQt,kie=gie),vie=new II(WQt,(cD(),!0))}function $xt(t,e,n){var i,r;i=e*n,iN(t.g,145)?(r=u3(t)).f.d?r.f.a||(t.d.a+=i+lZt):(t.d.d-=i+lZt,t.d.a+=i+lZt):iN(t.g,10)&&(t.d.d-=i,t.d.a+=2*i)}function Fxt(t,e,n){var r,a,o,s,c;for(a=t[n.g],c=new Kd(e.d);c.a<c.c.c.length;)(o=(s=$z(Z1(c),101)).i)&&o.i==n&&(a[r=s.d[n.g]]=i.Math.max(a[r],o.j.b))}function zxt(t,e){var n,r,a,o,s;for(r=0,a=0,n=0,s=new Kd(e.d);s.a<s.c.c.length;)Umt(o=$z(Z1(s),443)),r=i.Math.max(r,o.b),a+=o.d+(n>0?t.g:0),++n;e.b=r,e.e=a}function Hxt(t){var e,n,i;if(i=t.b,zE(t.i,i.length)){for(n=2*i.length,t.b=N8(Ute,SXt,317,n,0,1),t.c=N8(Ute,SXt,317,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)VAt(t,e,e);++t.g}}function Uxt(t,e,n,i){var r,a,o,s;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)s=o-e.k+i,wmt(e,r,o)?rmt(t,a,s)||Kmt(t,a,s):mmt(e,r,o)&&(nmt(t,a,s)||Ymt(t,a,s))}function Gxt(t,e,n){var i;(i=e.c.i).k==(oCt(),Cse)?(uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)),uct(t,ufe,$z(yTt(i,ufe),11))):(uct(t,(uWt(),cfe),e.c),uct(t,ufe,n.d))}function qxt(t,e,n){var r,a,o,s,c,u;return xBt(),s=e/2,o=n/2,c=1,u=1,(r=i.Math.abs(t.a))>s&&(c=s/r),(a=i.Math.abs(t.b))>o&&(u=o/a),mN(t,i.Math.min(c,u)),t}function Kxt(){var t,e;Hzt();try{if(e=$z(Kkt((KT(),HOe),m6t),2014))return e}catch(n){if(!iN(n=hst(n),102))throw Fw(n);t=n,aq((aL(),t))}return new sc}function Yxt(){var t,e;d9();try{if(e=$z(Kkt((KT(),HOe),T9t),2024))return e}catch(n){if(!iN(n=hst(n),102))throw Fw(n);t=n,aq((aL(),t))}return new Bu}function Wxt(){var t,e;Hzt();try{if(e=$z(Kkt((KT(),HOe),W7t),1941))return e}catch(n){if(!iN(n=hst(n),102))throw Fw(n);t=n,aq((aL(),t))}return new Uc}function Xxt(t,e,n){var i,r;return r=t.e,t.e=e,4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,4,r,e),n?n.Ei(i):n=i),r!=e&&(n=aqt(t,e?vNt(t,e):t.a,n)),n}function Vxt(){ME.call(this),this.e=-1,this.a=!1,this.p=RXt,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=RXt}function Qxt(t,e){var n,i,r;if(i=t.b.d.d,t.a||(i+=t.b.d.a),r=e.b.d.d,e.a||(r+=e.b.d.a),0==(n=Cft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Zxt(t,e){var n,i,r;if(i=t.b.b.d,t.a||(i+=t.b.b.a),r=e.b.b.d,e.a||(r+=e.b.b.a),0==(n=Cft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function Jxt(t,e){var n,i,r;if(i=t.b.g.d,t.a||(i+=t.b.g.a),r=e.b.g.d,e.a||(r+=e.b.g.a),0==(n=Cft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function tkt(){tkt=I,Loe=KG(dU(dU(dU(new $2,(mTt(),$oe),(hWt(),mce)),$oe,_ce),Foe,Ice),Foe,sce),Doe=dU(dU(new $2,$oe,Qse),$oe,cce),Noe=KG(new $2,Foe,lce)}function ekt(t){var e,n,i,r,a;for(e=$z(yTt(t,(uWt(),Uhe)),83),a=t.n,i=e.Cc().Kc();i.Ob();)(r=(n=$z(i.Pb(),306)).i).c+=a.a,r.d+=a.b,n.c?NBt(n):DBt(n);uct(t,Uhe,null)}function nkt(t,e,n){var i,r;switch(i=(r=t.b).d,e.g){case 1:return-i.d-n;case 2:return r.o.a+i.c+n;case 3:return r.o.b+i.a+n;case 4:return-i.b-n;default:return-1}}function ikt(t){var e,n,i,r,a;if(i=0,r=ZZt,t.b)for(e=0;e<360;e++)n=.017453292519943295*e,qRt(t,t.d,0,0,Z3t,n),(a=t.b.ig(t.d))<r&&(i=n,r=a);qRt(t,t.d,0,0,Z3t,i)}function rkt(t,e){var n,i,r,a;for(a=new Nw,e.e=null,e.f=null,i=new Kd(e.i);i.a<i.c.c.length;)n=$z(Z1(i),65),r=$z(PY(t.g,n.a),46),n.a=zq(n.b),YW(a,n.a,r);t.g=a}function akt(t,e,n){var i,r,a,o,s;for(r=(e-t.e)/t.d.c.length,a=0,s=new Kd(t.d);s.a<s.c.c.length;)o=$z(Z1(s),443),i=t.b-o.b+n,vpt(o,o.e+a*r,o.f),umt(o,r,i),++a}function okt(t){var e;if(t.f.qj(),-1!=t.b){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if((e=t.f.d[t.a])&&0!=e.i)return void(t.b=0);t.b=-1}function skt(t,e){var n,i,r;for(n=OAt(t,0==(r=e.c.length)?"":(l1(0,e.c.length),EB(e.c[0]))),i=1;i<r&&n;++i)n=$z(n,49).oh((l1(i,e.c.length),EB(e.c[i])));return n}function ckt(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Z1(i),10),t.c[n.c.p][n.p].a=AG(t.i),t.c[n.c.p][n.p].d=Hv(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1}function ukt(t,e){var n,r,a;for(a=0,r=new Kd(t);r.a<r.c.c.length;)n=$z(Z1(r),157),a+=i.Math.pow(eG(n)*tG(n)-e,2);return i.Math.sqrt(a/(t.c.length-1))}function lkt(t,e,n,i){var r,a,o;return o=Njt(t,a=Hjt(t,e,n,i)),lTt(t,e,n,i),B7(t.b),EV(),wL(a,new Wp(t)),r=Njt(t,a),lTt(t,n,e,i),B7(t.b),new nM(nft(o),nft(r))}function hkt(t,e,n){var i;for(MEt(n,"Interactive node placement",1),t.a=$z(yTt(e,(uWt(),Mfe)),304),i=new Kd(e.b);i.a<i.c.c.length;)JPt(t,$z(Z1(i),29));zCt(n)}function fkt(t,e){MEt(e,"General Compactor",1),e.n&&t&&y0(e,o2(t),(Fut(),oIe)),ggt($z(ZOt(t,(qvt(),Eke)),380)).hg(t),e.n&&t&&y0(e,o2(t),(Fut(),oIe))}function dkt(t,e,n){var i,r;for(CO(t,t.j+e,t.k+n),r=new MN((!t.a&&(t.a=new IN(LIe,t,5)),t.a));r.e!=r.i.gc();)kO(i=$z(vwt(r),469),i.a+e,i.b+n);TO(t,t.b+e,t.c+n)}function gkt(t,e,n,i){switch(n){case 7:return!t.e&&(t.e=new cR(BIe,t,7,4)),Vgt(t.e,e,i);case 8:return!t.d&&(t.d=new cR(BIe,t,8,5)),Vgt(t.d,e,i)}return $Et(t,e,n,i)}function pkt(t,e,n,i){switch(n){case 7:return!t.e&&(t.e=new cR(BIe,t,7,4)),Rwt(t.e,e,i);case 8:return!t.d&&(t.d=new cR(BIe,t,8,5)),Rwt(t.d,e,i)}return ist(t,e,n,i)}function bkt(t,e,n){var i,r,a;if(n)for(a=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);a.Ob();)(r=N2(n,$z(a.Pb(),19).a))&&fMt(t,r,e)}function wkt(t,e,n){var i,r,a;return t.qj(),a=null==e?0:Jct(e),t.f>0&&(r=aIt(t,(a&PWt)%t.d.length,a,e))?r.ed(n):(i=t.tj(a,e,n),t.c.Fc(i),null)}function ykt(t,e){var n,i,r,a;switch(Sht(t,e)._k()){case 3:case 2:for(r=0,a=(n=Vzt(e)).i;r<a;++r)if(5==DW($9(t,i=$z(Yet(n,r),34))))return i}return null}function mkt(t){var e,n,i,r,a;if(zE(t.f,t.b.length))for(i=N8(Xte,SXt,330,2*t.b.length,0,1),t.b=i,r=i.length-1,n=t.a;n!=t;n=n.Rd())e=(a=$z(n,330)).d&r,a.a=i[e],i[e]=a}function vkt(t,e){var n,r,a,o;for(o=0,a=$z($z(c6(t.r,e),21),84).Kc();a.Ob();)r=$z(a.Pb(),111),o=i.Math.max(o,r.e.a+r.b.rf().a);(n=$z(oX(t.b,e),124)).n.b=0,n.a.a=o}function xkt(t,e){var n,r,a,o;for(n=0,o=$z($z(c6(t.r,e),21),84).Kc();o.Ob();)a=$z(o.Pb(),111),n=i.Math.max(n,a.e.b+a.b.rf().b);(r=$z(oX(t.b,e),124)).n.d=0,r.a.b=n}function kkt(t){var e,n;return n=$z(yTt(t,(uWt(),Qhe)),21),e=mO(bve),n.Hc((fBt(),phe))&&Qat(e,mve),n.Hc(whe)&&Qat(e,xve),n.Hc(che)&&Qat(e,wve),n.Hc(lhe)&&Qat(e,yve),e}function _kt(t,e){var n;MEt(e,"Delaunay triangulation",1),n=new Lw,Met(t.i,new yb(n)),zv(kB(yTt(t,(Kat(),Wre)))),t.e?$rt(t.e,OYt(n)):t.e=OYt(n),zCt(e)}function Ekt(t){if(t<0)throw Fw(new jv("The input must be positive"));return t<_Te.length?v2(_Te[t]):i.Math.sqrt(Z3t*t)*(nht(t,t)/eht(2.718281828459045,t))}function Tkt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Nht(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if(HM(t.g[n])===HM(e))return!0;return!1}function Ckt(t,e){if(null==e){for(;t.a.Ob();)if(null==$z(t.a.Pb(),42).dd())return!0}else for(;t.a.Ob();)if(Nht(e,$z(t.a.Pb(),42).dd()))return!0;return!1}function Skt(t,e){var n;return e===t||!!iN(e,664)&&(n=$z(e,1947),nbt(t.g||(t.g=new Vh(t)),n.g||(n.g=new Vh(n))))}function Akt(t){var e,n,r;for(e="Sz",n="ez",r=i.Math.min(t.length,5)-1;r>=0;r--)if(wR(t[r].d,e)||wR(t[r].d,n)){t.length>=r+1&&t.splice(0,r+1);break}return t}function Mkt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t/e)&&n<MVt?n<0?i.Math.ceil(n):i.Math.floor(n):oot(IUt(VI(t)?Cot(t):t,VI(e)?Cot(e):e,!1))}function Ikt(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw Fw(new jv("'node' must either be the source node or target node of the edge."))}function Okt(t){var e,n,i,r;if(r=$z(yTt(t,(uWt(),Rhe)),37)){for(i=new Hk,e=bW(t.c.i);e!=r;)e=bW(n=e.e),jP(Gj(Gj(i,n.n),e.c),e.d.b,e.d.d);return i}return Rse}function Lkt(t){var e;VE(ftt(new PU(null,new f1((e=$z(yTt(t,(uWt(),Afe)),403)).d,16)),new $i),new fp(t)),VE(MX(new PU(null,new f1(e.d,16)),new Fi),new dp(t))}function Nkt(t,e){var n,i;for(n=new oq(QN((e?hdt(t):ldt(t)).a.Kc(),new l));gOt(n);)if((i=Ikt($z(G5(n),17),t)).k==(oCt(),Cse)&&i.c!=t.c)return i;return null}function Dkt(t){var e,n,r;for(n=new Kd(t.p);n.a<n.c.c.length;)(e=$z(Z1(n),10)).k==(oCt(),Sse)&&(r=e.o.b,t.i=i.Math.min(t.i,r),t.g=i.Math.max(t.g,r))}function Pkt(t,e,n){var i,r,a;for(a=new Kd(e);a.a<a.c.c.length;)i=$z(Z1(a),10),t.c[i.c.p][i.p].e=!1;for(r=new Kd(e);r.a<r.c.c.length;)Dqt(t,i=$z(Z1(r),10),n)}function Bkt(t,e,n){var r,a;(r=_ht(e.j,n.s,n.c)+_ht(n.e,e.s,e.c))==(a=_ht(n.j,e.s,e.c)+_ht(e.e,n.s,n.c))?r>0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=i.Math.min(r,a))}function jkt(t,e){var n;if(n=!1,qM(e)&&(n=!0,ZY(t,new HY(EB(e)))),n||iN(e,236)&&(n=!0,ZY(t,new Ef(qR($z(e,236))))),!n)throw Fw(new Ov(z6t))}function Rkt(t,e,n,i){var r,a,o;return r=new L9(t.e,1,10,iN(o=e.c,88)?$z(o,26):(pWt(),fLe),iN(a=n.c,88)?$z(a,26):(pWt(),fLe),oyt(t,e),!1),i?i.Ei(r):i=r,i}function $kt(t){var e,n;switch($z(yTt(bW(t),(zYt(),pbe)),420).g){case 0:return e=t.n,n=t.o,new NA(e.a+n.a/2,e.b+n.b/2);case 1:return new fO(t.n);default:return null}}function Fkt(){Fkt=I,Xle=new MS(XJt,0),Wle=new MS("LEFTUP",1),Qle=new MS("RIGHTUP",2),Yle=new MS("LEFTDOWN",3),Vle=new MS("RIGHTDOWN",4),Kle=new MS("BALANCED",5)}function zkt(t,e,n){var i,r,a;if(0==(i=Cft(t.a[e.p],t.a[n.p]))){if(r=$z(yTt(e,(uWt(),ife)),15),a=$z(yTt(n,ife),15),r.Hc(n))return-1;if(a.Hc(e))return 1}return i}function Hkt(t){switch(t.g){case 1:return new Fo;case 2:return new zo;case 3:return new $o;case 0:return null;default:throw Fw(new jv(r4t+(null!=t.f?t.f:""+t.g)))}}function Ukt(t,e,n){switch(e){case 1:return!t.n&&(t.n=new tK(HIe,t,1,7)),cUt(t.n),!t.n&&(t.n=new tK(HIe,t,1,7)),void pY(t.n,$z(n,14));case 2:return void Oit(t,EB(n))}iut(t,e,n)}function Gkt(t,e,n){switch(e){case 3:return void Ent(t,Hv(_B(n)));case 4:return void Tnt(t,Hv(_B(n)));case 5:return void Cnt(t,Hv(_B(n)));case 6:return void Snt(t,Hv(_B(n)))}Ukt(t,e,n)}function qkt(t,e,n){var i,r;(i=zEt(r=new Om,e,null))&&i.Fi(),Nrt(r,n),u7((!t.c&&(t.c=new tK(WOe,t,12,10)),t.c),r),Lnt(r,0),Nnt(r,1),Jht(r,!0),Vht(r,!0)}function Kkt(t,e){var n,i;return iN(n=cC(t.g,e),235)?((i=$z(n,235)).Qh(),i.Nh()):iN(n,498)?i=$z(n,1938).b:null}function Ykt(t,e,n,i){var r,a;return yY(e),yY(n),P9(!!(a=$z(GR(t.d,e),19)),"Row %s not in %s",e,t.e),P9(!!(r=$z(GR(t.b,n),19)),"Column %s not in %s",n,t.c),Tst(t,a.a,r.a,i)}function Wkt(t,e,n,i,r,a,o){var s,c,u,l,h;if(h=Fmt(s=(u=a==o-1)?i:0,l=r[a]),10!=i&&Cst(Hx(t,o-a),e[a],n[a],s,h),!u)for(++a,c=0;c<l;++c)h[c]=Wkt(t,e,n,i,r,a,o);return h}function Xkt(t){if(-1==t.g)throw Fw(new dy);t.mj();try{t.i.$c(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(e){throw iN(e=hst(e),73)?Fw(new by):Fw(e)}}function Vkt(t,e){return t.b.a=i.Math.min(t.b.a,e.c),t.b.b=i.Math.min(t.b.b,e.d),t.a.a=i.Math.max(t.a.a,e.c),t.a.b=i.Math.max(t.a.b,e.d),t.c[t.c.length]=e,!0}function Qkt(t){var e,n,i;for(i=-1,n=0,e=new Kd(t);e.a<e.c.c.length;){if($z(Z1(e),243).c==(ait(),zye)){i=0==n?0:n-1;break}n==t.c.length-1&&(i=n),n+=1}return i}function Zkt(t){var e,n,r,a;for(a=0,e=0,r=new Kd(t.c);r.a<r.c.c.length;)Cnt(n=$z(Z1(r),33),t.e+a),Snt(n,t.f),a+=n.g+t.b,e=i.Math.max(e,n.f+t.b);t.d=a-t.b,t.a=e-t.b}function Jkt(t){var e,n,i;for(n=new Kd(t.a.b);n.a<n.c.c.length;)i=(e=$z(Z1(n),57)).d.c,e.d.c=e.d.d,e.d.d=i,i=e.d.b,e.d.b=e.d.a,e.d.a=i,i=e.b.a,e.b.a=e.b.b,e.b.b=i;mDt(t)}function t_t(t){var e,n,i;for(n=new Kd(t.a.b);n.a<n.c.c.length;)i=(e=$z(Z1(n),81)).g.c,e.g.c=e.g.d,e.g.d=i,i=e.g.b,e.g.b=e.g.a,e.g.a=i,i=e.e.a,e.e.a=e.e.b,e.e.b=i;vDt(t)}function e_t(t){var e,n,i,r,a;for(a=gq(t.k),vKt(),i=0,r=(n=Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length;i<r;++i)if((e=n[i])!=CMe&&!a.Hc(e))return e;return null}function n_t(t,e){var n,i;return(i=$z(xD(Xct(MX(new PU(null,new f1(e.j,16)),new da))),11))&&(n=$z(NU(i.e,0),17))?$z(yTt(n,(uWt(),ffe)),19).a:gtt(t.b)}function i_t(t,e){var n,i,r;for(r=new Kd(e.a);r.a<r.c.c.length;)for(i=$z(Z1(r),10),Zv(t.d),n=new oq(QN(hdt(i).a.Kc(),new l));gOt(n);)KIt(t,i,$z(G5(n),17).d.i)}function r_t(t,e){var n,i;for(y9(t.b,e),i=new Kd(t.n);i.a<i.c.c.length;)if(-1!=x9((n=$z(Z1(i),211)).c,e,0)){y9(n.c,e),Zkt(n),0==n.c.c.length&&y9(t.n,n);break}lHt(t)}function a_t(t,e){var n,r,a,o,s;for(s=t.f,a=0,o=0,r=new Kd(t.a);r.a<r.c.c.length;)_yt(n=$z(Z1(r),187),t.e,s),p7(n,e),o=i.Math.max(o,n.r),a=s+=n.d+t.c;t.d=o,t.b=a}function o_t(t){var e,n;return c3(n=dNt(t))?null:(yY(n),e=$z(emt(new oq(QN(n.a.Kc(),new l))),79),CEt($z(Yet((!e.b&&(e.b=new cR(PIe,e,4,7)),e.b),0),82)))}function s_t(t){return t.o||(t.Lj()?t.o=new rW(t,t,null):t.rk()?t.o=new nj(t,null):1==DW($9((ASt(),VLe),t))?t.o=new g4(t):t.o=new ij(t,null)),t.o}function c_t(t,e,n,i){var r,a,o,s,c;n.mh(e)&&(r=(o=e)?$z(i,49).xh(o):null)&&(c=n.ah(e),(s=e.t)>1||-1==s?(a=$z(c,15),r.Wb(Kpt(t,a))):r.Wb(t$t(t,$z(c,56))))}function u_t(t,e,n,i){X_();var r=CWt;function a(){for(var t=0;t<r.length;t++)r[t]()}if(t)try{$De(a)()}catch(o){t(e,o)}else $De(a)()}function l_t(t){var e,n,i,r,a;for(i=new out(new Td(t.b).a);i.b;)e=$z((n=tnt(i)).cd(),10),a=$z($z(n.dd(),46).a,10),r=$z($z(n.dd(),46).b,8),Gj(mI(e.n),Gj($L(a.n),r))}function h_t(t){switch($z(yTt(t.b,(zYt(),tbe)),375).g){case 1:VE(IX(ftt(new PU(null,new f1(t.d,16)),new $r),new Fr),new zr);break;case 2:wjt(t);break;case 0:SAt(t)}}function f_t(t,e,n){MEt(n,"Straight Line Edge Routing",1),n.n&&e&&y0(n,o2(e),(Fut(),oIe)),yHt(t,$z(ZOt(e,(fB(),Yxe)),33)),n.n&&e&&y0(n,o2(e),(Fut(),oIe))}function d_t(){d_t=I,ZTe=new PA("V_TOP",0),QTe=new PA("V_CENTER",1),VTe=new PA("V_BOTTOM",2),WTe=new PA("H_LEFT",3),YTe=new PA("H_CENTER",4),XTe=new PA("H_RIGHT",5)}function g_t(t){var e;return 64&t.Db?Sgt(t):((e=new uD(Sgt(t))).a+=" (abstract: ",y_(e,!!(256&t.Bb)),e.a+=", interface: ",y_(e,!!(512&t.Bb)),e.a+=")",e.a)}function p_t(t,e,n,i){var r,a,o;return wO(t.e)&&(o=OQ(t,1,r=e.ak(),e.dd(),a=n.dd(),r.$j()?bzt(t,r,a,iN(r,99)&&!!($z(r,18).Bb&FVt)):-1,!0),i?i.Ei(o):i=o),i}function b_t(t){var e;null==t.c&&(e=HM(t.b)===HM(Vte)?null:t.b,t.d=null==e?GWt:tq(e)?vD(xV(e)):qM(e)?HXt:Zk(tut(e)),t.a=t.a+": "+(tq(e)?Cj(xV(e)):e+""),t.c="("+t.d+") "+t.a)}function w_t(t,e){this.e=t,WM(t0(e,-4294967296),0)?(this.d=1,this.a=Cst(Hx(ADe,1),uVt,25,15,[dG(e)])):(this.d=2,this.a=Cst(Hx(ADe,1),uVt,25,15,[dG(e),dG(mq(e,32))]))}function y_t(){function t(){try{return(new Map).entries().next().done}catch{return!1}}return typeof Map===DWt&&Map.prototype.entries&&t()?Map:fKt()}function m_t(t,e){var n,i,r;for(r=new _2(t.e,0),n=0;r.b<r.d.gc();){if((i=Hv((TP(r.b<r.d.gc()),_B(r.d.Xb(r.c=r.b++))))-e)>P3t)return n;i>-1e-6&&++n}return n}function v_t(t,e){var n;e!=t.b?(n=null,t.b&&(n=oZ(t.b,t,-4,n)),e&&(n=Nwt(e,t,-4,n)),(n=Zlt(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,3,e,e))}function x_t(t,e){var n;e!=t.f?(n=null,t.f&&(n=oZ(t.f,t,-1,n)),e&&(n=Nwt(e,t,-1,n)),(n=Jlt(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,0,e,e))}function k_t(t){var e,n,i;if(null==t)return null;if((n=$z(t,15)).dc())return"";for(i=new Ex,e=n.Kc();e.Ob();)iI(i,(qUt(),EB(e.Pb()))),i.a+=" ";return BI(i,i.a.length-1)}function __t(t){var e,n,i;if(null==t)return null;if((n=$z(t,15)).dc())return"";for(i=new Ex,e=n.Kc();e.Ob();)iI(i,(qUt(),EB(e.Pb()))),i.a+=" ";return BI(i,i.a.length-1)}function E_t(t,e,n){var i,r;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?kq(i.a,r.a):null!=i.a?-1:null!=r.a?1:0}function T_t(t,e){var n,i,r;if(e)for(r=((n=new cq(e.a.length)).b-n.a)*n.c<0?(tC(),kDe):new qN(n);r.Ob();)i=N2(e,$z(r.Pb(),19).a),AX(new $b(t).a,i)}function C_t(t,e){var n,i,r;if(e)for(r=((n=new cq(e.a.length)).b-n.a)*n.c<0?(tC(),kDe):new qN(n);r.Ob();)i=N2(e,$z(r.Pb(),19).a),SX(new Ib(t).a,i)}function S_t(t){if(null!=t&&t.length>0&&33==uX(t,t.length-1))try{return null==VSt(uP(t,0,t.length-1)).e}catch(e){if(!iN(e=hst(e),32))throw Fw(e)}return!1}function A_t(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?OQ(t,3,i,null,a,bzt(t,i,a,iN(i,99)&&!!($z(i,18).Bb&FVt)),!0):OQ(t,1,i,i.zj(),a,-1,!0),n?n.Ei(r):n=r,n}function M_t(){var t,e,n;for(e=0,t=0;t<1;t++){if(0==(n=XIt((h1(t,1),"X".charCodeAt(t)))))throw Fw(new rx("Unknown Option: "+"X".substr(t)));e|=n}return e}function I_t(t,e,n){var i,r;switch(i=Yft(bW(e)),CJ(r=new SCt,e),n.g){case 1:HAt(r,_ft(ugt(i)));break;case 2:HAt(r,ugt(i))}return uct(r,(zYt(),Jbe),_B(yTt(t,Jbe))),r}function O_t(t){var e,n;return e=$z(G5(new oq(QN(ldt(t.a).a.Kc(),new l))),17),n=$z(G5(new oq(QN(hdt(t.a).a.Kc(),new l))),17),zv(kB(yTt(e,(uWt(),Cfe))))||zv(kB(yTt(n,Cfe)))}function L_t(){L_t=I,Eue=new yS("ONE_SIDE",0),Cue=new yS("TWO_SIDES_CORNER",1),Sue=new yS("TWO_SIDES_OPPOSING",2),Tue=new yS("THREE_SIDES",3),_ue=new yS("FOUR_SIDES",4)}function N_t(t,e,n,i,r){var a,o;a=$z(T4(MX(e.Oc(),new Jr),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15),o=$z(pot(t.b,n,i),15),0==r?o.Wc(0,a):o.Gc(a)}function D_t(t,e){var n,i,r;for(i=new Kd(e.a);i.a<i.c.c.length;)for(n=new oq(QN(ldt($z(Z1(i),10)).a.Kc(),new l));gOt(n);)r=$z(G5(n),17).c.i.p,t.n[r]=t.n[r]-1}function P_t(t,e){var n,i,r,a;for(r=new Kd(e.d);r.a<r.c.c.length;)for(i=$z(Z1(r),101),a=$z(PY(t.c,i),112).o,n=new WE(i.b);n.a<n.c.a.length;)g7(i,$z(a4(n),61),a)}function B_t(t){var e;for(e=new Kd(t.e.b);e.a<e.c.c.length;)uqt(t,$z(Z1(e),29));VE(MX(ftt(ftt(new PU(null,new f1(t.e.b,16)),new Ya),new Ja),new to),new cb(t))}function j_t(t,e){return!!e&&!t.Di(e)&&(t.i?t.i.Ei(e):iN(e,143)?(t.i=$z(e,143),!0):(t.i=new wc,t.i.Ei(e)))}function R_t(t){if(t=$zt(t,!0),wR(a5t,t)||wR("1",t))return cD(),yee;if(wR(o5t,t)||wR("0",t))return cD(),wee;throw Fw(new ex("Invalid boolean value: '"+t+"'"))}function $_t(t,e,n){var i,r,a;for(r=t.vc().Kc();r.Ob();)if(a=(i=$z(r.Pb(),42)).cd(),HM(e)===HM(a)||null!=e&&Nht(e,a))return n&&(i=new TC(i.cd(),i.dd()),r.Qb()),i;return null}function F_t(t){var e,n,i;zB(),t.B.Hc((JRt(),HMe))&&(i=t.f.i,e=new gQ(t.a.c),(n=new hm).b=e.c-i.c,n.d=e.d-i.d,n.c=i.c+i.b-(e.c+e.b),n.a=i.d+i.a-(e.d+e.a),t.e.Ff(n))}function z_t(t,e,n,r){var a,o,s;for(s=i.Math.min(n,YFt($z(t.b,65),e,n,r)),o=new Kd(t.a);o.a<o.c.c.length;)(a=$z(Z1(o),221))!=e&&(s=i.Math.min(s,z_t(a,e,s,r)));return s}function H_t(t){var e,n,i;for(i=N8(kse,cXt,193,t.b.c.length,0,2),n=new _2(t.b,0);n.b<n.d.gc();)TP(n.b<n.d.gc()),e=$z(n.d.Xb(n.c=n.b++),29),i[n.b-1]=Z0(e.a);return i}function U_t(t,e,n,i,r){var a,o,s,c;for(o=Zx(Qx(F$(tyt(n)),i),axt(t,n,r)),c=PCt(t,n).Kc();c.Ob();)e[(s=$z(c.Pb(),11)).p]&&(a=e[s.p].i,Kz(o.d,new NG(a,vft(o,a))));Cgt(o)}function G_t(t,e){this.f=new Nw,this.b=new Nw,this.j=new Nw,this.a=t,this.c=e,this.c>0&&Rvt(this,this.c-1,(vKt(),sMe)),this.c<this.a.length-1&&Rvt(this,this.c+1,(vKt(),SMe))}function q_t(t){t.length>0&&t[0].length>0&&(this.c=zv(kB(yTt(bW(t[0][0]),(uWt(),rfe))))),this.a=N8(Tme,cXt,2018,t.length,0,2),this.b=N8(Ame,cXt,2019,t.length,0,2),this.d=new _lt}function K_t(t){return 0!=t.c.length&&((l1(0,t.c.length),$z(t.c[0],17)).c.i.k==(oCt(),Cse)||o5(IX(new PU(null,new f1(t,16)),new Ra),new $a))}function Y_t(t,e,n){return MEt(n,"Tree layout",1),c2(t.b),CK(t.b,(Gvt(),Bve),Bve),CK(t.b,jve,jve),CK(t.b,Rve,Rve),CK(t.b,$ve,$ve),t.a=OUt(t.b,e),hPt(t,e,yat(n,1)),zCt(n),e}function W_t(t,e){var n,r,a,o,s,c;for(s=dBt(e),a=e.f,c=e.g,o=i.Math.sqrt(a*a+c*c),r=0,n=new Kd(s);n.a<n.c.c.length;)r+=W_t(t,$z(Z1(n),33));return i.Math.max(r,o)}function X_t(){X_t=I,VAe=new GA(uZt,0),XAe=new GA("FREE",1),WAe=new GA("FIXED_SIDE",2),qAe=new GA("FIXED_ORDER",3),YAe=new GA("FIXED_RATIO",4),KAe=new GA("FIXED_POS",5)}function V_t(t,e){var n,i,r;if(n=e.Hh(t.a))for(r=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),_9t)),i=1;i<(ASt(),QLe).length;++i)if(wR(QLe[i],r))return i;return 0}function Q_t(t){var e,n,i,r;if(null==t)return GWt;for(r=new Oot($Wt,"[","]"),n=0,i=(e=t).length;n<i;++n)h6(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function Z_t(t){var e,n,i,r;if(null==t)return GWt;for(r=new Oot($Wt,"[","]"),n=0,i=(e=t).length;n<i;++n)h6(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function J_t(t){var e,n,i;for(i=new Oot($Wt,"{","}"),n=t.vc().Kc();n.Ob();)h6(i,K3(t,(e=$z(n.Pb(),42)).cd())+"="+K3(t,e.dd()));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function tEt(t){for(var e,n,i,r;!Kv(t.o);)n=$z(dK(t.o),46),i=$z(n.a,121),r=Ndt(e=$z(n.b,213),i),e.e==i?(PD(r.g,e),i.e=r.e+e.a):(PD(r.b,e),i.e=r.e-e.a),Kz(t.e.a,i)}function eEt(t,e){var n,i,r;for(n=null,r=$z(e.Kb(t),20).Kc();r.Ob();)if(i=$z(r.Pb(),17),n){if((i.c.i==t?i.d.i:i.c.i)!=n)return!1}else n=i.c.i==t?i.d.i:i.c.i;return!0}function nEt(t,e){var n,i,r;for(i=new Kd(XNt(t,!1,e));i.a<i.c.c.length;)0==(n=$z(Z1(i),129)).d?(KJ(n,null),YJ(n,null)):(r=n.a,KJ(n,n.b),YJ(n,r))}function iEt(t){var e,n;return Qat(e=new $2,Cve),(n=$z(yTt(t,(uWt(),Qhe)),21)).Hc((fBt(),whe))&&Qat(e,Ive),n.Hc(che)&&Qat(e,Sve),n.Hc(phe)&&Qat(e,Mve),n.Hc(lhe)&&Qat(e,Ave),e}function rEt(t){var e,n,i,r;for(TUt(t),n=new oq(QN(udt(t).a.Kc(),new l));gOt(n);)r=(i=(e=$z(G5(n),17)).c.i==t)?e.d:e.c,i?_J(e,null):EJ(e,null),uct(e,(uWt(),wfe),r),oOt(t,r.i)}function aEt(t,e,n,i){var r,a;switch(r=n[(a=e.i).g][t.d[a.g]],a.g){case 1:r-=i+e.j.b,e.g.b=r;break;case 3:r+=i,e.g.b=r;break;case 4:r-=i+e.j.a,e.g.a=r;break;case 2:r+=i,e.g.a=r}}function oEt(t){var e,n;for(n=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));n.e!=n.i.gc();)if(!gOt(new oq(QN(dNt(e=$z(vwt(n),33)).a.Kc(),new l))))return e;return null}function sEt(){var t;return qIe?$z(OLt((KT(),HOe),m6t),2016):(t=$z(iN(EZ((KT(),HOe),m6t),555)?EZ(HOe,m6t):new cOt,555),qIe=!0,RGt(t),xWt(t),_vt(t),wJ(HOe,m6t,t),t)}function cEt(t,e,n){var i,r;if(0==t.j)return n;if(r=$z(Rnt(t,e,n),72),!(i=n.ak()).Ij()||!t.a.rl(i))throw Fw(new dv("Invalid entry feature '"+i.Hj().zb+"."+i.ne()+"'"));return r}function uEt(t,e){var n,i,r,a,o,s,c;for(s=0,c=(o=t.a).length;s<c;++s)for(r=0,a=(i=o[s]).length;r<a;++r)if(n=i[r],HM(e)===HM(n)||null!=e&&Nht(e,n))return!0;return!1}function lEt(t){var e,n,i;return Wlt(t,0)>=0?(n=Mkt(t,IVt),i=hpt(t,IVt)):(n=Mkt(e=vq(t,1),5e8),i=idt(yq(i=hpt(e,5e8),1),t0(t,1))),e0(yq(i,32),t0(n,qVt))}function hEt(t,e,n){var i;switch(TP(0!=e.b),i=$z(Iet(e,e.a.a),8),n.g){case 0:i.b=0;break;case 2:i.b=t.f;break;case 3:i.a=0;break;default:i.a=t.g}return ZK(cwt(e,0),i),e}function fEt(t,e,n,i){var r,a,o,s,c;switch(c=t.b,s=Gbt(o=(a=e.d).j,c.d[o.g],n),r=Gj($L(a.n),a.a),a.j.g){case 1:case 3:s.a+=r.a;break;case 2:case 4:s.b+=r.b}n5(i,s,i.c.b,i.c)}function dEt(t,e,n){var i,r,a,o;for(o=x9(t.e,e,0),(a=new nm).b=n,i=new _2(t.e,o);i.b<i.d.gc();)TP(i.b<i.d.gc()),(r=$z(i.d.Xb(i.c=i.b++),10)).p=n,Kz(a.e,r),uW(i);return a}function gEt(t,e,n,i){var r,a,o,s,c;for(r=null,a=0,s=new Kd(e);s.a<s.c.c.length;)c=(o=$z(Z1(s),33)).i+o.g,t<o.j+o.f+i&&(r?n.i-c<n.i-a&&(r=o):r=o,a=r.i+r.g);return r?a+i:0}function pEt(t,e,n,i){var r,a,o,s,c;for(a=null,r=0,s=new Kd(e);s.a<s.c.c.length;)c=(o=$z(Z1(s),33)).j+o.f,t<o.i+o.g+i&&(a?n.j-c<n.j-r&&(a=o):a=o,r=a.j+a.f);return a?r+i:0}function bEt(t){var e,n,i;for(e=!1,i=t.b.c.length,n=0;n<i;n++)Vct($z(NU(t.b,n),434))?!e&&n+1<i&&Vct($z(NU(t.b,n+1),434))&&(e=!0,$z(NU(t.b,n),434).a=!0):e=!1}function wEt(t,e,n,i,r){var a,o;for(a=0,o=0;o<r;o++)a=idt(a,ndt(t0(e[o],qVt),t0(i[o],qVt))),t[o]=dG(a),a=mq(a,32);for(;o<n;o++)a=idt(a,t0(e[o],qVt)),t[o]=dG(a),a=mq(a,32)}function yEt(t,e){var n,i;for(OIt(),MBt(),i=Zee,n=t;e>1;e>>=1)1&e&&(i=Ltt(i,n)),n=1==n.d?Ltt(n,n):new Sbt(A$t(n.a,n.d,N8(ADe,uVt,25,n.d<<1,15,1)));return i=Ltt(i,n)}function mEt(){var t,e,n,i;for(mEt=I,Ane=N8(LDe,HVt,25,25,15,1),Mne=N8(LDe,HVt,25,33,15,1),i=152587890625e-16,e=32;e>=0;e--)Mne[e]=i,i*=.5;for(n=1,t=24;t>=0;t--)Ane[t]=n,n*=.5}function vEt(t){var e,n;if(zv(kB(ZOt(t,(zYt(),fbe)))))for(n=new oq(QN(gNt(t).a.Kc(),new l));gOt(n);)if(XMt(e=$z(G5(n),79))&&zv(kB(ZOt(e,dbe))))return!0;return!1}function xEt(t,e){var n,i,r;kK(t.f,e)&&(e.b=t,i=e.c,-1!=x9(t.j,i,0)||Kz(t.j,i),r=e.d,-1!=x9(t.j,r,0)||Kz(t.j,r),0!=(n=e.a.b).c.length&&(!t.i&&(t.i=new ewt(t)),wot(t.i,n)))}function kEt(t){var e,n,i,r;return(n=(e=t.c.d).j)==(r=(i=t.d.d).j)?e.p<i.p?0:1:Eft(n)==r?0:kft(n)==r?1:ED(t.b.b,Eft(n))?0:1}function _Et(){_Et=I,tye=new PS(x3t,0),Zwe=new PS("LONGEST_PATH",1),Vwe=new PS("COFFMAN_GRAHAM",2),Qwe=new PS(F1t,3),eye=new PS("STRETCH_WIDTH",4),Jwe=new PS("MIN_WIDTH",5)}function EEt(t){var e;this.d=new Nw,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new sG(t.e),this.a=t.a,t.f?this.g=t.f:this.g=new XR(e=$z(Yk(iOe),9),$z(Ej(e,e.length),9),0)}function TEt(t,e){var n,i,r,a;!(r=D2(i=t,"layoutOptions"))&&(r=D2(i,E6t)),r&&(n=null,(a=r)&&(n=new kE(a,xrt(a,N8(zee,cXt,2,0,6,1)))),n&&t5(n,new fM(a,e)))}function CEt(t){if(iN(t,239))return $z(t,33);if(iN(t,186))return KZ($z(t,118));throw Fw(t?new Jv("Only support nodes and ports."):new Fv(e8t))}function SEt(t,e,n,i){return(e>=0&&wR(t.substr(e,3),"GMT")||e>=0&&wR(t.substr(e,3),"UTC"))&&(n[0]=e+3),m$t(t,n,i)}function AEt(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new Kd(t.d);i.a<i.c.c.length;)(r=(n=$z(Z1(i),70)).n).a=a,t.i==(vKt(),cMe)?r.b=o+t.j.b-n.o.b:r.b=o,Gj(r,e),a+=n.o.a+t.e}function MEt(t,e,n){if(t.b)throw Fw(new Rv("The task is already done."));return null==t.p&&(t.p=e,t.r=n,t.k&&(t.o=(IE(),rdt(lot(Date.now()),WXt))),!0)}function IEt(t){var e;return e=new pv,null!=t.tg()&&MH(e,H6t,t.tg()),null!=t.ne()&&MH(e,t8t,t.ne()),null!=t.sg()&&MH(e,"description",t.sg()),e}function OEt(t,e,n){var i,r,a;return a=t.q,t.q=e,4&t.Db&&!(1&t.Db)&&(r=new Zq(t,1,9,a,e),n?n.Ei(r):n=r),e?(i=e.c)!=t.r&&(n=t.nk(i,n)):t.r&&(n=t.nk(null,n)),n}function LEt(t,e,n){var i,r;for(n=Nwt(e,t.e,-1-t.c,n),r=new _w(new out(new Td(NW(t.a).a).a));r.a.b;)n=aqt(i=$z(tnt(r.a).cd(),87),vNt(i,t.a),n);return n}function NEt(t,e,n){var i,r;for(n=oZ(e,t.e,-1-t.c,n),r=new _w(new out(new Td(NW(t.a).a).a));r.a.b;)n=aqt(i=$z(tnt(r.a).cd(),87),vNt(i,t.a),n);return n}function DEt(t,e,n,i){var r,a,o;if(0==i)aHt(e,0,t,n,t.length-n);else for(o=32-i,t[t.length-1]=0,a=t.length-1;a>n;a--)t[a]|=e[a-n-1]>>>o,t[a-1]=e[a-n-1]<<i;for(r=0;r<n;r++)t[r]=0}function PEt(t){var e,n,r,a,o;for(e=0,n=0,o=t.Kc();o.Ob();)r=$z(o.Pb(),111),e=i.Math.max(e,r.d.b),n=i.Math.max(n,r.d.c);for(a=t.Kc();a.Ob();)(r=$z(a.Pb(),111)).d.b=e,r.d.c=n}function BEt(t){var e,n,r,a,o;for(n=0,e=0,o=t.Kc();o.Ob();)r=$z(o.Pb(),111),n=i.Math.max(n,r.d.d),e=i.Math.max(e,r.d.a);for(a=t.Kc();a.Ob();)(r=$z(a.Pb(),111)).d.d=n,r.d.a=e}function jEt(t,e){var n,i,r,a;for(a=new Lw,r=0,i=e.Kc();i.Ob();){for(n=nft($z(i.Pb(),19).a+r);n.a<t.f&&!JU(t,n.a);)n=nft(n.a+1),++r;if(n.a>=t.f)break;a.c[a.c.length]=n}return a}function REt(t){var e,n,i,r;for(e=null,r=new Kd(t.wf());r.a<r.c.c.length;)n=new GX((i=$z(Z1(r),181)).qf().a,i.qf().b,i.rf().a,i.rf().b),e?SSt(e,n):e=n;return!e&&(e=new hO),e}function $Et(t,e,n,i){return 1==n?(!t.n&&(t.n=new tK(HIe,t,1,7)),Vgt(t.n,e,i)):$z(eet($z(mot(t,16),26)||t.zh(),n),66).Nj().Qj(t,lbt(t),n-hY(t.zh()),e,i)}function FEt(t,e,n){var i,r,a,o,s;for(i=n.gc(),t.qi(t.i+i),(s=t.i-e)>0&&aHt(t.g,e,t.g,e+i,s),o=n.Kc(),t.i+=i,r=0;r<i;++r)a=o.Pb(),vN(t,e,t.oi(e,a)),t.bi(e,a),t.ci(),++e;return 0!=i}function zEt(t,e,n){var i;return e!=t.q?(t.q&&(n=oZ(t.q,t,-10,n)),e&&(n=Nwt(e,t,-10,n)),n=OEt(t,e,n)):4&t.Db&&!(1&t.Db)&&(i=new Zq(t,1,9,e,e),n?n.Ei(i):n=i),n}function HEt(t,e,n,i){return C$(!(n&uXt),"flatMap does not support SUBSIZED characteristic"),C$(!(4&n),"flatMap does not support SORTED characteristic"),yY(t),yY(e),new z2(t,n,i,e)}function UEt(t,e){EK(e,"Cannot suppress a null exception."),bH(e!=t,"Exception can not suppress itself."),!t.i&&(null==t.k?t.k=Cst(Hx(Qte,1),cXt,78,0,[e]):t.k[t.k.length]=e)}function GEt(t,e,n,i){var r,a,o,s,c,u;for(o=n.length,a=0,r=-1,u=ret(t.substr(e),(i$(),kne)),s=0;s<o;++s)(c=n[s].length)>a&&sK(u,ret(n[s],kne))&&(r=s,a=c);return r>=0&&(i[0]=e+a),r}function qEt(t,e){var n;if(0!=(n=XI(t.b.Hf(),e.b.Hf())))return n;switch(t.b.Hf().g){case 1:case 2:return xL(t.b.sf(),e.b.sf());case 3:case 4:return xL(e.b.sf(),t.b.sf())}return 0}function KEt(t){var e,n,i;for(i=t.e.c.length,t.a=mU(ADe,[cXt,uVt],[48,25],15,[i,i],2),n=new Kd(t.c);n.a<n.c.c.length;)e=$z(Z1(n),282),t.a[e.c.b][e.d.b]+=$z(yTt(e,(ljt(),Qae)),19).a}function YEt(t,e,n){MEt(n,"Grow Tree",1),t.b=e.f,zv(kB(yTt(e,(Kat(),Wre))))?(t.c=new ne,WJ(t,null)):t.c=new ne,t.a=!1,$Dt(t,e.f),uct(e,Xre,(cD(),!!t.a)),zCt(n)}function WEt(t,e){var n,i,r,a,o;if(null==t)return null;for(o=N8(SDe,YXt,25,2*e,15,1),i=0,r=0;i<e;++i)n=t[i]>>4&15,a=15&t[i],o[r++]=AIe[n],o[r++]=AIe[a];return Fpt(o,0,o.length)}function XEt(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?OQ(t,4,i,a,null,bzt(t,i,a,iN(i,99)&&!!($z(i,18).Bb&FVt)),!0):OQ(t,i.Kj()?2:1,i,a,i.zj(),-1,!0),n?n.Ei(r):n=r,n}function VEt(t){var e,n;return t>=FVt?(e=zVt+(t-FVt>>10&1023)&XXt,n=56320+(t-FVt&1023)&XXt,String.fromCharCode(e)+""+String.fromCharCode(n)):String.fromCharCode(t&XXt)}function QEt(t,e){var n,i,r,a;return zB(),(r=$z($z(c6(t.r,e),21),84)).gc()>=2&&(i=$z(r.Kc().Pb(),111),n=t.u.Hc((hMt(),tMe)),a=t.u.Hc(rMe),!i.a&&!n&&(2==r.gc()||a))}function ZEt(t,e,n,i,r){var a,o,s;for(a=eBt(t,e,n,i,r),s=!1;!a;)kLt(t,r,!0),s=!0,a=eBt(t,e,n,i,r);s&&kLt(t,r,!1),0!=(o=Pst(r)).c.length&&(t.d&&t.d.lg(o),ZEt(t,r,n,i,o))}function JEt(){JEt=I,aAe=new $A(XJt,0),iAe=new $A("DIRECTED",1),oAe=new $A("UNDIRECTED",2),eAe=new $A("ASSOCIATION",3),rAe=new $A("GENERALIZATION",4),nAe=new $A("DEPENDENCY",5)}function tTt(t,e){var n;if(!KZ(t))throw Fw(new Rv($5t));switch(n=KZ(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}function eTt(t,e){var n,i;for(mW(e),i=t.b.c.length,Kz(t.b,e);i>0;){if(n=i,i=(i-1)/2|0,t.a.ue(NU(t.b,i),e)<=0)return i5(t.b,n,e),!0;i5(t.b,n,NU(t.b,i))}return i5(t.b,i,e),!0}function nTt(t,e,n,r){var a,o;if(a=0,n)a=ylt(t.a[n.g][e.g],r);else for(o=0;o<Xie;o++)a=i.Math.max(a,ylt(t.a[o][e.g],r));return e==(Pet(),Gie)&&t.b&&(a=i.Math.max(a,t.b.a)),a}function iTt(t,e){var n,i,r,a,o;return i=t.i,r=e.i,!(!i||!r||i.i!=r.i||i.i==(vKt(),sMe)||i.i==(vKt(),SMe))&&(n=(a=i.g.a)+i.j.a,a<=(o=r.g.a)+r.j.a&&n>=o)}function rTt(t,e,n,i){var r;if(r=!1,qM(i)&&(r=!0,MH(e,n,EB(i))),r||UM(i)&&(r=!0,rTt(t,e,n,i)),r||iN(i,236)&&(r=!0,zV(e,n,$z(i,236))),!r)throw Fw(new Ov(z6t))}function aTt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),$7t)))for(i=1;i<(ASt(),WLe).length;++i)if(wR(WLe[i],r))return i;return 0}function oTt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),$7t)))for(i=1;i<(ASt(),XLe).length;++i)if(wR(XLe[i],r))return i;return 0}function sTt(t,e){var n,i,r,a;if(mW(e),(a=t.a.gc())<e.gc())for(n=t.a.ec().Kc();n.Ob();)i=n.Pb(),e.Hc(i)&&n.Qb();else for(r=e.Kc();r.Ob();)i=r.Pb(),t.a.Bc(i);return a!=t.a.gc()}function cTt(t){var e,n;switch(n=$L(Ict(Cst(Hx(TTe,1),cXt,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function uTt(t){var e;for(Art(),e=$z(G5(new oq(QN(ldt(t).a.Kc(),new l))),17).c.i;e.k==(oCt(),Cse);)uct(e,(uWt(),ofe),(cD(),!0)),e=$z(G5(new oq(QN(ldt(e).a.Kc(),new l))),17).c.i}function lTt(t,e,n,i){var r,a,o;for(o=Lht(e,i).Kc();o.Ob();)r=$z(o.Pb(),11),t.d[r.p]=t.d[r.p]+t.c[n.p];for(a=Lht(n,i).Kc();a.Ob();)r=$z(a.Pb(),11),t.d[r.p]=t.d[r.p]-t.c[e.p]}function hTt(t,e,n){var i,r;for(r=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));r.e!=r.i.gc();)EO(i=$z(vwt(r),33),i.i+e,i.j+n);t5((!t.b&&(t.b=new tK(BIe,t,12,3)),t.b),new JA(e,n))}function fTt(t,e,n,i){var r,a;for(r=null==(a=e).d||t.a.ue(n.d,a.d)>0?1:0;a.a[r]!=n;)a=a.a[r],r=t.a.ue(n.d,a.d)>0?1:0;a.a[r]=i,i.b=n.b,i.a[0]=n.a[0],i.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function dTt(t){var e;return hMt(),!(Sot(AZ(xG(eMe,Cst(Hx(oMe,1),OXt,273,0,[iMe])),t))>1||(e=xG(tMe,Cst(Hx(oMe,1),OXt,273,0,[JAe,rMe])),Sot(AZ(e,t))>1))}function gTt(t,e){iN(EZ((KT(),HOe),t),498)?wJ(HOe,t,new AM(this,e)):wJ(HOe,t,this),nCt(this,e),e==(e_(),QOe)?(this.wb=$z(this,1939),$z(e,1941)):this.wb=(WY(),ZOe)}function pTt(t){var e,n;if(null==t)return null;for(e=null,n=0;n<SIe.length;++n)try{return $T(SIe[n],t)}catch(i){if(!iN(i=hst(i),32))throw Fw(i);e=i}throw Fw(new O9(e))}function bTt(){bTt=I,pne=Cst(Hx(zee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),bne=Cst(Hx(zee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function wTt(t){var e,n,i;(e=wR(typeof e,pQt)?null:new ht)&&(lT(),JY(n=(i=900)>=WXt?"error":i>=900?"warn":i>=800?"info":"log",t.a),t.b&&DDt(e,n,t.b,"Exception: ",!0))}function yTt(t,e){var n;return!t.q&&(t.q=new Nw),PY(t.q,e)??(iN(n=e.wg(),4)&&(null==n?(!t.q&&(t.q=new Nw),b6(t.q,e)):(!t.q&&(t.q=new Nw),YW(t.q,e,n))),n)}function mTt(){mTt=I,Boe=new YC("P1_CYCLE_BREAKING",0),joe=new YC("P2_LAYERING",1),Roe=new YC("P3_NODE_ORDERING",2),$oe=new YC("P4_NODE_PLACEMENT",3),Foe=new YC("P5_EDGE_ROUTING",4)}function vTt(t,e){var n,i,r,a;for(i=(1==e?Koe:qoe).a.ec().Kc();i.Ob();)for(n=$z(i.Pb(),103),a=$z(c6(t.f.c,n),21).Kc();a.Ob();)r=$z(a.Pb(),46),y9(t.b.b,r.b),y9(t.b.a,$z(r.b,81).d)}function xTt(t,e){var n;if(Dtt(),t.c==e.c){if(t.b==e.b||uat(t.b,e.b)){if(n=QI(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return xL(t.b.g,e.b.g)}return Cft(t.c,e.c)}function kTt(t,e){var n;MEt(e,"Hierarchical port position processing",1),(n=t.b).c.length>0&&n$t((l1(0,n.c.length),$z(n.c[0],29)),t),n.c.length>1&&n$t($z(NU(n,n.c.length-1),29),t),zCt(e)}function _Tt(t,e){var n,i;if(NTt(t,e))return!0;for(i=new Kd(e);i.a<i.c.c.length;)if(RBt(t,n=$z(Z1(i),33),o_t(n))||Olt(t,n)-t.g<=t.a)return!0;return!1}function ETt(){ETt=I,fjt(),mEe=PEe,bEe=OEe,pEe=MEe,dEe=TEe,gEe=SEe,fEe=new KO(8),hEe=new qO((cWt(),qCe),fEe),wEe=new qO(OSe,8),yEe=NEe,cEe=vEe,uEe=kEe,lEe=new qO(lCe,(cD(),!1))}function TTt(){TTt=I,UTe=new KO(15),HTe=new qO((cWt(),qCe),UTe),qTe=new qO(OSe,15),GTe=new qO(pSe,nft(0)),jTe=vCe,$Te=BCe,zTe=zCe,DTe=new qO(iCe,l5t),RTe=CCe,FTe=$Ce,PTe=aCe,BTe=cCe}function CTt(t){if(1!=(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c).i)throw Fw(new jv(i8t));return CEt($z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82))}function STt(t){if(1!=(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c).i)throw Fw(new jv(i8t));return fst($z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82))}function ATt(t){if(1!=(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c).i)throw Fw(new jv(i8t));return fst($z(Yet((!t.c&&(t.c=new cR(PIe,t,5,8)),t.c),0),82))}function MTt(t){if(1!=(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c).i)throw Fw(new jv(i8t));return CEt($z(Yet((!t.c&&(t.c=new cR(PIe,t,5,8)),t.c),0),82))}function ITt(t,e,n){var i,r,a;if(++t.j,e>=(r=t.Vi())||e<0)throw Fw(new Mv(o8t+e+s8t+r));if(n>=r||n<0)throw Fw(new Mv(c8t+n+s8t+r));return e!=n?(a=t.Ti(n),t.Hi(e,a),i=a):i=t.Oi(n),i}function OTt(t){var e,n,i;if(i=t,t)for(e=0,n=t.Ug();n;n=n.Ug()){if(++e>UVt)return OTt(n);if(i=n,n==t)throw Fw(new Rv("There is a cycle in the containment hierarchy of "+t))}return i}function LTt(t){var e,n,i;for(i=new Oot($Wt,"[","]"),n=t.Kc();n.Ob();)h6(i,HM(e=n.Pb())===HM(t)?"(this Collection)":null==e?GWt:Fdt(e));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function NTt(t,e){var n,i;if(i=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?i|=RBt(t,$z(e.Xb(n),33),$z(e.Xb(n+1),33)):i|=RBt(t,$z(e.Xb(n),33),$z(e.Xb(0),33));return i}function DTt(t,e){var n;e!=t.a?(n=null,t.a&&(n=$z(t.a,49).ih(t,4,zIe,n)),e&&(n=$z(e,49).gh(t,4,zIe,n)),(n=Qlt(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,1,e,e))}function PTt(t,e){var n;e!=t.e?(t.e&&j6(NW(t.e),t),e&&(!e.b&&(e.b=new kw(new Nm)),Xj(e.b,t)),(n=Xxt(t,e,null))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,4,e,e))}function BTt(t){var e,n,i;for(n=t.length,i=0;i<n&&(h1(i,t.length),t.charCodeAt(i)<=32);)++i;for(e=n;e>i&&(h1(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return i>0||e<n?t.substr(i,e-i):t}function jTt(t,e){var n;n=e.o,dO(t.f)?(t.j.a=i.Math.max(t.j.a,n.a),t.j.b+=n.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=n.a,t.j.b=i.Math.max(t.j.b,n.b),t.d.c.length>1&&(t.j.a+=t.e))}function RTt(){RTt=I,Iue=Cst(Hx(DMe,1),VJt,61,0,[(vKt(),cMe),sMe,TMe]),Mue=Cst(Hx(DMe,1),VJt,61,0,[sMe,TMe,SMe]),Oue=Cst(Hx(DMe,1),VJt,61,0,[TMe,SMe,cMe]),Lue=Cst(Hx(DMe,1),VJt,61,0,[SMe,cMe,sMe])}function $Tt(t,e,n,i){var r,a,o,s,c;if(a=t.c.d,o=t.d.d,a.j!=o.j)for(c=t.b,r=a.j,s=null;r!=o.j;)s=0==e?Eft(r):kft(r),DH(i,Gj(Gbt(r,c.d[r.g],n),Gbt(s,c.d[s.g],n))),r=s}function FTt(t,e,n,i){var r,a,o,s,c;return s=$z((o=Hvt(t.a,e,n)).a,19).a,a=$z(o.b,19).a,i&&(c=$z(yTt(e,(uWt(),xfe)),10),r=$z(yTt(n,xfe),10),c&&r&&(J3(t.b,c,r),s+=t.b.i,a+=t.b.e)),s>a}function zTt(t){var e,n,i,r,a,o,s,c;for(this.a=iyt(t),this.b=new Lw,i=0,r=(n=t).length;i<r;++i)for(e=n[i],a=new Lw,Kz(this.b,a),s=0,c=(o=e).length;s<c;++s)Kz(a,new JR(o[s].j))}function HTt(t,e,n){var i,r,a;return a=0,i=n[e],e<n.length-1&&(r=n[e+1],t.b[e]?(a=fWt(t.d,i,r),a+=QY(t.a,i,(vKt(),sMe)),a+=QY(t.a,r,SMe)):a=S7(t.a,i,r)),t.c[e]&&(a+=O6(t.a,i)),a}function UTt(t,e,n,i,r){var a,o,s,c;for(c=null,s=new Kd(i);s.a<s.c.c.length;)if((o=$z(Z1(s),441))!=n&&-1!=x9(o.e,r,0)){c=o;break}EJ(a=K5(r),n.b),_J(a,c.b),QMt(t.a,r,new O$(a,e,n.f))}function GTt(t){for(;0!=t.g.c&&0!=t.d.c;)RB(t.g).c>RB(t.d).c?(t.i+=t.g.c,ppt(t.d)):RB(t.d).c>RB(t.g).c?(t.e+=t.d.c,ppt(t.g)):(t.i+=zU(t.g),t.e+=zU(t.d),ppt(t.g),ppt(t.d))}function qTt(t,e,n){var i,r,a,o;for(a=e.q,o=e.r,new UJ((A6(),_ve),e,a,1),new UJ(_ve,a,o,1),r=new Kd(n);r.a<r.c.c.length;)(i=$z(Z1(r),112))!=a&&i!=e&&i!=o&&(pHt(t.a,i,e),pHt(t.a,i,o))}function KTt(t,e,n,r){t.a.d=i.Math.min(e,n),t.a.a=i.Math.max(e,r)-t.a.d,e<n?(t.b=.5*(e+n),t.g=j3t*t.b+.9*e,t.f=j3t*t.b+.9*n):(t.b=.5*(e+r),t.g=j3t*t.b+.9*r,t.f=j3t*t.b+.9*e)}function YTt(){function t(){return(new Date).getTime()}TWt={},!Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!Date.now&&(Date.now=t)}function WTt(t,e){var n,i;i=$z(yTt(e,(zYt(),twe)),98),uct(e,(uWt(),yfe),i),(n=e.e)&&(VE(new PU(null,new f1(n.a,16)),new Pg(t)),VE(ftt(new PU(null,new f1(n.b,16)),new ye),new Bg(t)))}function XTt(t){var e,n,r,a;if(gO($z(yTt(t.b,(zYt(),Gpe)),103)))return 0;for(e=0,r=new Kd(t.a);r.a<r.c.c.length;)(n=$z(Z1(r),10)).k==(oCt(),Sse)&&(a=n.o.a,e=i.Math.max(e,a));return e}function VTt(t){switch($z(yTt(t,(zYt(),mbe)),163).g){case 1:uct(t,mbe,(_dt(),Ffe));break;case 2:uct(t,mbe,(_dt(),zfe));break;case 3:uct(t,mbe,(_dt(),Rfe));break;case 4:uct(t,mbe,(_dt(),$fe))}}function QTt(){QTt=I,rhe=new IS(XJt,0),ehe=new IS(rZt,1),ahe=new IS(aZt,2),ihe=new IS("LEFT_RIGHT_CONSTRAINT_LOCKING",3),nhe=new IS("LEFT_RIGHT_CONNECTION_LOCKING",4),the=new IS(H1t,5)}function ZTt(t,e,n){var r,a,o,s,c,u,l;c=n.a/2,o=n.b/2,u=1,l=1,(r=i.Math.abs(e.a-t.a))>c&&(u=c/r),(a=i.Math.abs(e.b-t.b))>o&&(l=o/a),s=i.Math.min(u,l),t.a+=s*(e.a-t.a),t.b+=s*(e.b-t.b)}function JTt(t,e,n,i,r){var a,o;for(o=!1,a=$z(NU(n.b,0),33);uzt(t,e,a,i,r)&&(o=!0,r_t(n,a),0!=n.b.c.length);)a=$z(NU(n.b,0),33);return 0==n.b.c.length&&_xt(n.j,n),o&&Umt(e.q),o}function tCt(t,e){var n,i,r,a;if(xBt(),e.b<2)return!1;for(i=n=$z(h3(a=cwt(e,0)),8);a.b!=a.d.c;){if(rDt(t,i,r=$z(h3(a),8)))return!0;i=r}return!!rDt(t,i,n)}function eCt(t,e,n,i){return 0==n?(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),$R(t.o,e,i)):$z(eet($z(mot(t,16),26)||t.zh(),n),66).Nj().Rj(t,lbt(t),n-hY(t.zh()),e,i)}function nCt(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=$z(t.sb,49).ih(t,1,$Ie,n)),e&&(n=$z(e,49).gh(t,1,$Ie,n)),(n=xht(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,4,e,e))}function iCt(t,e){var n,i;if(!e)throw Fw(new tx("All edge sections need an end point."));n=Bnt(e,"x"),_nt(new Bb(t).a,(mW(n),n)),i=Bnt(e,"y"),Mnt(new jb(t).a,(mW(i),i))}function rCt(t,e){var n,i;if(!e)throw Fw(new tx("All edge sections need a start point."));n=Bnt(e,"x"),Ant(new Nb(t).a,(mW(n),n)),i=Bnt(e,"y"),Int(new Db(t).a,(mW(i),i))}function aCt(t,e){var n,i,r,a,o;for(i=0,a=but(t).length;i<a;++i)wTt(e);for(o=!qne&&t.e?qne?null:t.d:null;o;){for(n=0,r=but(o).length;n<r;++n)wTt(e);o=!qne&&o.e?qne?null:o.d:null}}function oCt(){oCt=I,Sse=new VC("NORMAL",0),Cse=new VC("LONG_EDGE",1),Ese=new VC("EXTERNAL_PORT",2),Ase=new VC("NORTH_SOUTH_PORT",3),Tse=new VC("LABEL",4),_se=new VC("BREAKING_POINT",5)}function sCt(t){var e,n,i,r;if(e=!1,OP(t,(uWt(),Uhe)))for(n=$z(yTt(t,Uhe),83),r=new Kd(t.j);r.a<r.c.c.length;)QLt(i=$z(Z1(r),11))&&(e||(nMt(bW(t)),e=!0),lwt($z(n.xc(i),306)))}function cCt(t,e,n){var i;MEt(n,"Self-Loop routing",1),i=Wft(e),eI(yTt(e,(C6(),kTe))),VE(IX(MX(MX(ftt(new PU(null,new f1(e.b,16)),new qi),new Ki),new Yi),new Wi),new tS(t,i)),zCt(n)}function uCt(t){var e,n,i;return i=IEt(t),null!=t.e&&MH(i,J6t,t.e),!!t.k&&MH(i,"type",dP(t.k)),!K_(t.j)&&(n=new Cf,net(i,N6t,n),e=new iw(n),t5(t.j,e)),i}function lCt(t){var e,n,i,r;for(r=NY((hit(t.gc(),"size"),new Sx),123),i=!0,n=lq(t).Kc();n.Ob();)e=$z(n.Pb(),42),i||(r.a+=$Wt),i=!1,aI(NY(aI(r,e.cd()),61),e.dd());return(r.a+="}",r).a}function hCt(t,e){var n,i,r;return(e&=63)<22?(n=t.l<<e,i=t.m<<e|t.l>>22-e,r=t.h<<e|t.m>>22-e):e<44?(n=0,i=t.l<<e-22,r=t.m<<e-22|t.l>>44-e):(n=0,i=0,r=t.l<<e-44),_L(n&TVt,i&TVt,r&CVt)}function fCt(t){if(null==mee&&(mee=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!mee.test(t))throw Fw(new _x(PVt+t+'"'));return parseFloat(t)}function dCt(t){var e,n,i,r;for(e=new Lw,bK(n=N8(MDe,ZQt,25,t.a.c.length,16,1),n.length),r=new Kd(t.a);r.a<r.c.c.length;)n[(i=$z(Z1(r),121)).d]||(e.c[e.c.length]=i,Ubt(t,i,n));return e}function gCt(t,e){var n,i,r,a;for(a=e.b.j,t.a=N8(ADe,uVt,25,a.c.length,15,1),r=0,i=0;i<a.c.length;i++)l1(i,a.c.length),0==(n=$z(a.c[i],11)).e.c.length&&0==n.g.c.length?r+=1:r+=3,t.a[i]=r}function pCt(){pCt=I,Ple=new SS("ALWAYS_UP",0),Dle=new SS("ALWAYS_DOWN",1),jle=new SS("DIRECTION_UP",2),Ble=new SS("DIRECTION_DOWN",3),$le=new SS("SMART_UP",4),Rle=new SS("SMART_DOWN",5)}function bCt(t,e){if(t<0||e<0)throw Fw(new jv("k and n must be positive"));if(e>t)throw Fw(new jv("k must be smaller than n"));return 0==e||e==t?1:0==t?0:Ekt(t)/(Ekt(e)*Ekt(t-e))}function wCt(t,e){var n,i,r,a;for(n=new AO(t);null!=n.g||n.c?null==n.g||0!=n.i&&$z(n.g[n.i-1],47).Ob():JZ(n);)if(iN(a=$z(aNt(n),56),160))for(i=$z(a,160),r=0;r<e.length;r++)e[r].og(i)}function yCt(t){var e;return 64&t.Db?Vft(t):((e=new uD(Vft(t))).a+=" (height: ",b_(e,t.f),e.a+=", width: ",b_(e,t.g),e.a+=", x: ",b_(e,t.i),e.a+=", y: ",b_(e,t.j),e.a+=")",e.a)}function mCt(t){var e,n,i,r,a,o;for(e=new b4,r=0,a=(i=t).length;r<a;++r)if(null!=Qbt(e,o=yY((n=i[r]).cd()),yY(n.dd())))throw Fw(new jv("duplicate key: "+o));this.b=(EV(),new qd(e))}function vCt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],h6(a,String.fromCharCode(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function xCt(){xCt=I,Btt(),Sae=new II(sJt,Aae=Bae),nft(1),Cae=new II(cJt,nft(300)),nft(0),Oae=new II(uJt,nft(0)),Lae=new II(lJt,hJt),Mae=new II(fJt,5),Nae=Bae,Iae=Pae}function kCt(t,e){var n,i,r,a;for(i=(1==e?Koe:qoe).a.ec().Kc();i.Ob();)for(n=$z(i.Pb(),103),a=$z(c6(t.f.c,n),21).Kc();a.Ob();)r=$z(a.Pb(),46),Kz(t.b.b,$z(r.b,81)),Kz(t.b.a,$z(r.b,81).d)}function _Ct(t,e){var n;if(null!=e&&!t.c.Yj().wj(e))throw n=iN(e,56)?$z(e,56).Tg().zb:Zk(tut(e)),Fw(new Bv(i6t+t.c.ne()+"'s type '"+t.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}function ECt(t,e,n){var i,r;for(r=new _2(t.b,0);r.b<r.d.gc();)TP(r.b<r.d.gc()),HM(yTt(i=$z(r.d.Xb(r.c=r.b++),70),(uWt(),bfe)))===HM(e)&&(MSt(i.n,bW(t.c.i),n),uW(r),Kz(e.b,i))}function TCt(t,e){if(e.a)switch($z(yTt(e.b,(uWt(),yfe)),98).g){case 0:case 1:h_t(e);case 2:VE(new PU(null,new f1(e.d,16)),new Ni),sOt(t.a,e)}else VE(new PU(null,new f1(e.d,16)),new Ni)}function CCt(t){var e,n;return n=i.Math.sqrt((null==t.k&&(t.k=Yrt(t,new _a)),Hv(t.k)/(t.b*(null==t.g&&(t.g=Krt(t,new ka)),Hv(t.g))))),e=dG(lot(i.Math.round(n))),e=i.Math.min(e,t.f)}function SCt(){pat(),Oj.call(this),this.j=(vKt(),CMe),this.a=new Hk,new um,this.f=(hit(2,IXt),new V6(2)),this.e=(hit(4,IXt),new V6(4)),this.g=(hit(4,IXt),new V6(4)),this.b=new cS(this.e,this.g)}function ACt(t,e){var n,i;return!(zv(kB(yTt(e,(uWt(),Cfe))))||(i=e.c.i,t==(_dt(),Rfe)&&i.k==(oCt(),Tse))||(n=$z(yTt(i,(zYt(),mbe)),163),n==$fe))}function MCt(t,e){var n,i;return!(zv(kB(yTt(e,(uWt(),Cfe))))||(i=e.d.i,t==(_dt(),Ffe)&&i.k==(oCt(),Tse))||(n=$z(yTt(i,(zYt(),mbe)),163),n==zfe))}function ICt(t,e){var n,i,r,a,o,s,c;for(o=t.d,c=t.o,s=new GX(-o.b,-o.d,o.b+c.a+o.c,o.d+c.b+o.a),r=0,a=(i=e).length;r<a;++r)(n=i[r])&&SSt(s,n.i);o.b=-s.c,o.d=-s.d,o.c=s.b-o.b-c.a,o.a=s.a-o.d-c.b}function OCt(){OCt=I,nEe=new _A("CENTER_DISTANCE",0),iEe=new _A("CIRCLE_UNDERLAP",1),oEe=new _A("RECTANGLE_UNDERLAP",2),rEe=new _A("INVERTED_OVERLAP",3),aEe=new _A("MINIMUM_ROOT_DISTANCE",4)}function LCt(t){var e,n,i,r;if(jBt(),null==t)return null;for(i=t.length,e=N8(SDe,YXt,25,2*i,15,1),n=0;n<i;n++)(r=t[n])<0&&(r+=256),e[2*n]=WNe[r>>4],e[2*n+1]=WNe[15&r];return Fpt(e,0,e.length)}function NCt(t){var e;switch(ZW(),t.c.length){case 0:return Fte;case 1:return SH((e=$z(QAt(new Kd(t)),42)).cd(),e.dd());default:return new cv($z(Xbt(t,N8(zte,vXt,42,t.c.length,0,1)),165))}}function DCt(t){var e,n,i,r,a;for(e=new Ow,n=new Ow,d3(e,t),d3(n,t);n.b!=n.c;)for(a=new Kd($z(dK(n),37).a);a.a<a.c.c.length;)(r=$z(Z1(a),10)).e&&(d3(e,i=r.e),d3(n,i));return e}function PCt(t,e){switch(e.g){case 1:return Bz(t.j,(pat(),Dse));case 2:return Bz(t.j,(pat(),Lse));case 3:return Bz(t.j,(pat(),Bse));case 4:return Bz(t.j,(pat(),jse));default:return EV(),EV(),cne}}function BCt(t,e){var n,i,r;n=sH(e,t.e),i=$z(PY(t.g.f,n),19).a,r=t.a.c.length-1,0!=t.a.c.length&&$z(NU(t.a,r),287).c==i?(++$z(NU(t.a,r),287).a,++$z(NU(t.a,r),287).b):Kz(t.a,new HP(i))}function jCt(t,e,n){var i,r;return 0!=(i=Tjt(t,e,n))?i:OP(e,(uWt(),ffe))&&OP(n,ffe)?((r=xL($z(yTt(e,ffe),19).a,$z(yTt(n,ffe),19).a))<0?oRt(t,e,n):r>0&&oRt(t,n,e),r):AIt(t,e,n)}function RCt(t,e,n){var i,r,a,o;if(0!=e.b){for(i=new XE,o=cwt(e,0);o.b!=o.d.c;)$rt(i,Dst(a=$z(h3(o),86))),(r=a.e).a=$z(yTt(a,(HUt(),gxe)),19).a,r.b=$z(yTt(a,pxe),19).a;RCt(t,i,yat(n,i.b/t.a|0))}}function $Ct(t,e){var n,i,r,a,o;if(t.e<=e||U1(t,t.g,e))return t.g;for(a=t.r,i=t.g,o=t.r,r=(a-i)/2+i;i+1<a;)(n=rHt(t,r,!1)).b<=r&&n.a<=e?(o=r,a=r):i=r,r=(a-i)/2+i;return o}function FCt(t,e,n){MEt(n,"Recursive Graph Layout",uBt(t,e,!0)),wCt(e,Cst(Hx(ZEe,1),zWt,527,0,[new Mh])),T8(e,(cWt(),wSe))||wCt(e,Cst(Hx(ZEe,1),zWt,527,0,[new ws])),hYt(t,e,null,n),zCt(n)}function zCt(t){var e;if(null==t.p)throw Fw(new Rv("The task has not begun yet."));t.b||(t.k&&(IE(),e=rdt(lot(Date.now()),WXt),t.q=1e-9*v2(ndt(e,t.o))),t.c<t.r&&Hit(t,t.r-t.c),t.b=!0)}function HCt(t){var e,n,i;for(DH(i=new mm,new NA(t.j,t.k)),n=new MN((!t.a&&(t.a=new IN(LIe,t,5)),t.a));n.e!=n.i.gc();)DH(i,new NA((e=$z(vwt(n),469)).a,e.b));return DH(i,new NA(t.b,t.c)),i}function UCt(t,e,n,i,r){var a,o,s,c;if(r)for(c=((a=new cq(r.a.length)).b-a.a)*a.c<0?(tC(),kDe):new qN(a);c.Ob();)s=N2(r,$z(c.Pb(),19).a),P$t((o=new cV(t,e,n,i)).a,o.b,o.c,o.d,s)}function GCt(t,e){var n;if(HM(t)===HM(e))return!0;if(iN(e,21)){n=$z(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(i){if(iN(i=hst(i),173)||iN(i,205))return!1;throw Fw(i)}}return!1}function qCt(t,e){var n;Kz(t.d,e),n=e.rf(),t.c?(t.e.a=i.Math.max(t.e.a,n.a),t.e.b+=n.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=n.a,t.e.b=i.Math.max(t.e.b,n.b),t.d.c.length>1&&(t.e.a+=t.a))}function KCt(t){var e,n,i,r;switch(e=(r=t.i).b,i=r.j,n=r.g,r.a.g){case 0:n.a=(t.g.b.o.a-i.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-i.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function YCt(t,e,n,i,r){if(i<e||r<n)throw Fw(new jv("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>i&&(t.a=i),t.b<n?t.b=n:t.b>r&&(t.b=r),t}function WCt(t){if(iN(t,149))return EDt($z(t,149));if(iN(t,229))return Zdt($z(t,229));if(iN(t,23))return uCt($z(t,23));throw Fw(new jv(G6t+LTt(new Vv(Cst(Hx(Ite,1),zWt,1,5,[t])))))}function XCt(t,e,n,i,r){var a,o,s;for(a=!0,o=0;o<i;o++)a&=0==n[o];if(0==r)aHt(n,i,t,0,e),o=e;else{for(s=32-r,a&=!(n[o]<<s),o=0;o<e-1;o++)t[o]=n[o+i]>>>r|n[o+i+1]<<s;t[o]=n[o+i]>>>r,++o}return a}function VCt(t,e,n,i){var r,a;if(e.k==(oCt(),Cse))for(a=new oq(QN(ldt(e).a.Kc(),new l));gOt(a);)if((r=$z(G5(a),17)).c.i.k==Cse&&t.c.a[r.c.i.c.p]==i&&t.c.a[e.c.p]==n)return!0;return!1}function QCt(t,e){var n,i,r,a;return e&=63,n=t.h&CVt,e<22?(a=n>>>e,r=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(a=0,r=n>>>e-22,i=t.m>>e-22|t.h<<44-e):(a=0,r=0,i=n>>>e-44),_L(i&TVt,r&TVt,a&CVt)}function ZCt(t,e,n,i){var r;this.b=i,this.e=t==(sit(),Ime),r=e[n],this.d=mU(MDe,[cXt,ZQt],[177,25],16,[r.length,r.length],2),this.a=mU(ADe,[cXt,uVt],[48,25],15,[r.length,r.length],2),this.c=new G_t(e,n)}function JCt(t){var e,n,i;for(t.k=new o1((vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length,t.j.c.length),i=new Kd(t.j);i.a<i.c.c.length;)e=(n=$z(Z1(i),113)).d.j,QMt(t.k,e,n);t.e=nDt(gq(t.k))}function tSt(t,e){var n,i,r;kK(t.d,e),n=new ko,YW(t.c,e,n),n.f=Clt(e.c),n.a=Clt(e.d),n.d=(pPt(),(r=e.c.i.k)==(oCt(),Sse)||r==_se),n.e=(i=e.d.i.k)==Sse||i==_se,n.b=e.c.j==(vKt(),SMe),n.c=e.d.j==sMe}function eSt(t){var e,n,i,r,a;for(a=PWt,r=PWt,i=new Kd(vdt(t));i.a<i.c.c.length;)e=(n=$z(Z1(i),213)).e.e-n.d.e,n.e==t&&e<r?r=e:e<a&&(a=e);return r==PWt&&(r=-1),a==PWt&&(a=-1),new nM(nft(r),nft(a))}function nSt(t,e){var n,r,a;return a=ZZt,Hwt(),r=Zre,a=i.Math.abs(t.b),(n=i.Math.abs(e.f-t.b))<a&&(a=n,r=Jre),(n=i.Math.abs(t.a))<a&&(a=n,r=tae),(n=i.Math.abs(e.g-t.a))<a&&(a=n,r=Qre),r}function iSt(t,e){var n,i,r;for(n=e.a.o.a,r=new Ed(new s1(bW(e.a).b,e.c,e.f+1));r.b<r.d.gc();)if(TP(r.b<r.d.gc()),(i=$z(r.d.Xb(r.c=r.b++),29)).c.a>=n)return uSt(t,e,i.p),!0;return!1}function rSt(t){var e;return 64&t.Db?yCt(t):(e=new lD(Z5t),!t.a||oI(oI((e.a+=' "',e),t.a),'"'),oI(m_(oI(m_(oI(m_(oI(m_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function aSt(t,e,n){var i,r,a,o,s;for(s=aPt(t.e.Tg(),e),r=$z(t.g,119),i=0,o=0;o<t.i;++o)if(a=r[o],s.rl(a.ak())){if(i==n)return lBt(t,o),QT(),$z(e,66).Oj()?a:a.dd();++i}throw Fw(new Mv(e7t+n+s8t+i))}function oSt(t){var e,n,i;if(2==(e=t.c)||7==e||1==e)return dWt(),dWt(),oDe;for(i=MYt(t),n=null;2!=(e=t.c)&&7!=e&&1!=e;)n||(dWt(),dWt(),tUt(n=new nL(1),i),i=n),tUt(n,MYt(t));return i}function sSt(t,e,n){return t<0||t>n?gAt(t,n,"start index"):e<0||e>n?gAt(e,n,"end index"):Ojt("end index (%s) must not be less than start index (%s)",Cst(Hx(Ite,1),zWt,1,5,[nft(e),nft(t)]))}function cSt(t,e){var n,i,r,a;for(i=0,r=t.length;i<r;i++){a=t[i];try{a[1]?a[0].jm()&&(e=kG(e,a)):a[0].jm()}catch(o){if(!iN(o=hst(o),78))throw Fw(o);n=o,Dx(),yQ(iN(n,477)?$z(n,477).ae():n)}}return e}function uSt(t,e,n){var r,a;for(n!=e.c+e.b.gc()&&dHt(e.a,not(e,n-e.c)),a=e.a.c.p,t.a[a]=i.Math.max(t.a[a],e.a.o.a),r=$z(yTt(e.a,(uWt(),Tfe)),15).Kc();r.Ob();)uct($z(r.Pb(),70),Jce,(cD(),!0))}function lSt(t,e){var n,r,a;a=HDt(e),uct(e,(uWt(),lfe),a),a&&(r=PWt,MQ(t.f,a)&&(r=$z(zM(MQ(t.f,a)),19).a),zv(kB(yTt(n=$z(NU(e.g,0),17),Cfe)))||YW(t,a,nft(i.Math.min($z(yTt(n,ffe),19).a,r))))}function hSt(t,e,n){var i,r,a,o;for(e.p=-1,o=Dgt(e,(ait(),Hye)).Kc();o.Ob();)for(r=new Kd($z(o.Pb(),11).g);r.a<r.c.c.length;)e!=(a=(i=$z(Z1(r),17)).d.i)&&(a.p<0?n.Fc(i):a.p>0&&hSt(t,a,n));e.p=0}function fSt(t){var e;this.c=new XE,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=new XR(e=$z(Yk(fTe),9),$z(Ej(e,e.length),9),0),this.g=t.f}function dSt(t){var e,n,i,r;for(e=NY(oI(new lD("Predicates."),"and"),40),n=!0,r=new Ed(t);r.b<r.d.gc();)TP(r.b<r.d.gc()),i=r.d.Xb(r.c=r.b++),n||(e.a+=","),e.a+=""+i,n=!1;return(e.a+=")",e).a}function gSt(t,e,n){var i,r,a;if(!(n<=e+2))for(r=(n-e)/2|0,i=0;i<r;++i)l1(e+i,t.c.length),a=$z(t.c[e+i],11),i5(t,e+i,(l1(n-i-1,t.c.length),$z(t.c[n-i-1],11))),l1(n-i-1,t.c.length),t.c[n-i-1]=a}function pSt(t,e,n){var i,r,a,o,s,c,u;s=(a=t.d.p).e,c=a.r,t.g=new WR(c),i=(o=t.d.o.c.p)>0?s[o-1]:N8(kse,a1t,10,0,0,1),r=s[o],u=o<s.length-1?s[o+1]:N8(kse,a1t,10,0,0,1),e==n-1?aJ(t.g,r,u):aJ(t.g,i,r)}function bSt(t){var e;this.j=new Lw,this.f=new Py,this.b=new XR(e=$z(Yk(DMe),9),$z(Ej(e,e.length),9),0),this.d=N8(ADe,uVt,25,(vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length,15,1),this.g=t}function wSt(t,e){var n,i,r;if(0!=e.c.length){for(n=_Tt(t,e),r=!1;!n;)kLt(t,e,!0),r=!0,n=_Tt(t,e);r&&kLt(t,e,!1),i=Pst(e),t.b&&t.b.lg(i),t.a=Olt(t,(l1(0,e.c.length),$z(e.c[0],33))),wSt(t,i)}}function ySt(t,e){var n,i,r;if(i=eet(t.Tg(),e),(n=e-t.Ah())<0){if(!i)throw Fw(new jv(s6t+e+c6t));if(!i.Ij())throw Fw(new jv(i6t+i.ne()+r6t));(r=t.Yg(i))>=0?t.Bh(r):rMt(t,i)}else Hht(t,n,i)}function mSt(t){var e,n;if(n=null,e=!1,iN(t,204)&&(e=!0,n=$z(t,204).a),e||iN(t,258)&&(e=!0,n=""+$z(t,258).a),e||iN(t,483)&&(e=!0,n=""+$z(t,483).a),!e)throw Fw(new Ov(z6t));return n}function vSt(t,e){var n,i;if(t.f){for(;e.Ob();)if(iN(i=(n=$z(e.Pb(),72)).ak(),99)&&$z(i,18).Bb&u6t&&(!t.e||i.Gj()!=OIe||0!=i.aj())&&null!=n.dd())return e.Ub(),!0;return!1}return e.Ob()}function xSt(t,e){var n,i;if(t.f){for(;e.Sb();)if(iN(i=(n=$z(e.Ub(),72)).ak(),99)&&$z(i,18).Bb&u6t&&(!t.e||i.Gj()!=OIe||0!=i.aj())&&null!=n.dd())return e.Pb(),!0;return!1}return e.Sb()}function kSt(t,e,n){var i,r,a,o,s,c;for(c=aPt(t.e.Tg(),e),i=0,s=t.i,r=$z(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())){if(n==i)return o;++i,s=o+1}if(n==i)return s;throw Fw(new Mv(e7t+n+s8t+i))}function _St(t,e){var n,r,a;if(0==t.f.c.length)return null;for(a=new hO,n=new Kd(t.f);n.a<n.c.c.length;)r=$z(Z1(n),70).o,a.b=i.Math.max(a.b,r.a),a.a+=r.b;return a.a+=(t.f.c.length-1)*e,a}function ESt(t,e,n){var i,r,a;for(r=new oq(QN(udt(n).a.Kc(),new l));gOt(r);)!h5(i=$z(G5(r),17))&&(h5(i)||i.c.i.c!=i.d.i.c)&&(a=GNt(t,i,n,new am)).c.length>1&&(e.c[e.c.length]=a)}function TSt(t){var e,n,i;for($rt(n=new XE,t.o),i=new om;0!=n.b;)YKt(t,e=$z(0==n.b?null:(TP(0!=n.b),Iet(n,n.a.a)),508),!0)&&Kz(i.a,e);for(;0!=i.a.c.length;)YKt(t,e=$z(tlt(i),508),!1)}function CSt(){CSt=I,vTe=new IA(uZt,0),dTe=new IA("BOOLEAN",1),wTe=new IA("INT",2),mTe=new IA("STRING",3),gTe=new IA("DOUBLE",4),pTe=new IA("ENUM",5),bTe=new IA("ENUMSET",6),yTe=new IA("OBJECT",7)}function SSt(t,e){var n,r,a,o,s;r=i.Math.min(t.c,e.c),o=i.Math.min(t.d,e.d),(a=i.Math.max(t.c+t.b,e.c+e.b))<r&&(n=r,r=a,a=n),(s=i.Math.max(t.d+t.a,e.d+e.a))<o&&(n=o,o=s,s=n),NH(t,r,o,a-r,s-o)}function ASt(){ASt=I,XLe=Cst(Hx(zee,1),cXt,2,6,[d9t,g9t,p9t,b9t,w9t,y9t,J6t]),WLe=Cst(Hx(zee,1),cXt,2,6,[d9t,"empty",g9t,j7t,"elementOnly"]),QLe=Cst(Hx(zee,1),cXt,2,6,[d9t,"preserve","replace",m9t]),VLe=new EH}function MSt(t,e,n){var i,r,a;if(e!=n){i=e;do{Gj(t,i.c),(r=i.e)&&(jP(t,(a=i.d).b,a.d),Gj(t,r.n),i=bW(r))}while(r);i=n;do{qj(t,i.c),(r=i.e)&&($P(t,(a=i.d).b,a.d),qj(t,r.n),i=bW(r))}while(r)}}function ISt(t,e,n,i){var r,a,o,s,c;if(i.f.c+i.g.c==0)for(s=0,c=(o=t.a[t.c]).length;s<c;++s)YW(i,a=o[s],new vat(t,a,n));return(r=$z(zM(MQ(i.f,e)),663)).b=0,r.c=r.f,0==r.c||kd($z(NU(r.a,r.b),287)),r}function OSt(){OSt=I,Zue=new vS("MEDIAN_LAYER",0),tle=new vS("TAIL_LAYER",1),Que=new vS("HEAD_LAYER",2),Jue=new vS("SPACE_EFFICIENT_LAYER",3),ele=new vS("WIDEST_LAYER",4),Vue=new vS("CENTER_LAYER",5)}function LSt(t){switch(t.g){case 0:case 1:case 2:return vKt(),cMe;case 3:case 4:case 5:return vKt(),TMe;case 6:case 7:case 8:return vKt(),SMe;case 9:case 10:case 11:return vKt(),sMe;default:return vKt(),CMe}}function NSt(t,e){var n;return 0!=t.c.length&&(n=tpt((l1(0,t.c.length),$z(t.c[0],17)).c.i),$J(),n==(fyt(),lye)||n==uye||o5(IX(new PU(null,new f1(t,16)),new Fa),new eb(e)))}function DSt(t,e,n){var i,r,a;if(!t.b[e.g]){for(t.b[e.g]=!0,!(i=n)&&(i=new T6),DH(i.b,e),a=t.a[e.g].Kc();a.Ob();)(r=$z(a.Pb(),188)).b!=e&&DSt(t,r.b,i),r.c!=e&&DSt(t,r.c,i),DH(i.a,r);return i}return null}function PSt(){PSt=I,Xve=new lA("ROOT_PROC",0),qve=new lA("FAN_PROC",1),Yve=new lA("NEIGHBORS_PROC",2),Kve=new lA("LEVEL_HEIGHT",3),Wve=new lA("NODE_POSITION_PROC",4),Gve=new lA("DETREEIFYING_PROC",5)}function BSt(t,e){if(iN(e,239))return UO(t,$z(e,33));if(iN(e,186))return GO(t,$z(e,118));if(iN(e,439))return HO(t,$z(e,202));throw Fw(new jv(G6t+LTt(new Vv(Cst(Hx(Ite,1),zWt,1,5,[e])))))}function jSt(t,e,n){var i,r;if(this.f=t,f6(n,r=(i=$z(PY(t.b,e),283))?i.a:0),n>=(r/2|0))for(this.e=i?i.c:null,this.d=r;n++<r;)kJ(this);else for(this.c=i?i.b:null;n-- >0;)xJ(this);this.b=e,this.a=null}function RSt(t,e){var n,i;e.a?GDt(t,e):((n=$z(mR(t.b,e.b),57))&&n==t.a[e.b.f]&&n.a&&n.a!=e.b.a&&n.c.Fc(e.b),(i=$z(yR(t.b,e.b),57))&&t.a[i.f]==e.b&&i.a&&i.a!=e.b.a&&e.b.c.Fc(i),_D(t.b,e.b))}function $St(t,e){var n,i;if(n=$z(oX(t.b,e),124),$z($z(c6(t.r,e),21),84).dc())return n.n.b=0,void(n.n.c=0);n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((ypt(),RMe))&&mjt(t,e),i=Kwt(t,e),CBt(t,e)==(rwt(),FAe)&&(i+=2*t.w),n.a.a=i}function FSt(t,e){var n,i;if(n=$z(oX(t.b,e),124),$z($z(c6(t.r,e),21),84).dc())return n.n.d=0,void(n.n.a=0);n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((ypt(),RMe))&&vjt(t,e),i=Ywt(t,e),CBt(t,e)==(rwt(),FAe)&&(i+=2*t.w),n.a.b=i}function zSt(t,e){var n,i,r,a;for(a=new Lw,i=new Kd(e);i.a<i.c.c.length;)Kz(a,new PC(n=$z(Z1(i),65),!0)),Kz(a,new PC(n,!1));wv((r=new cQ(t)).a.a),t2(a,t.b,new Vv(Cst(Hx(oie,1),zWt,679,0,[r])))}function HSt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;return s=t.a,h=t.b,c=e.a,f=e.b,u=n.a,d=n.b,new NA(((a=s*f-h*c)*(u-(l=i.a))-(o=u*(g=i.b)-d*l)*(s-c))/(r=(s-c)*(d-g)-(h-f)*(u-l)),(a*(d-g)-o*(h-f))/r)}function USt(t,e){var n,i,r;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,i=new oq(QN(hdt(e).a.Kc(),new l));gOt(i);)!h5(n=$z(G5(i),17))&&(r=n.d.i,t.a[r.p]?Kz(t.b,n):USt(t,r));t.a[e.p]=!1}}function GSt(t,e,n){var i;switch(i=0,$z(yTt(e,(zYt(),mbe)),163).g){case 2:i=2*-n+t.a,++t.a;break;case 1:i=-n;break;case 3:i=n;break;case 4:i=2*n+t.b,++t.b}return OP(e,(uWt(),ffe))&&(i+=$z(yTt(e,ffe),19).a),i}function qSt(t,e,n){var i,r,a;for(n.zc(e,t),Kz(t.n,e),a=t.p.eg(e),e.j==t.p.fg()?Mdt(t.e,a):Mdt(t.j,a),nY(t),r=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[new Fg(e),new Hg(e)])));gOt(r);)i=$z(G5(r),11),n._b(i)||qSt(t,i,n)}function KSt(t){var e,n;return $z(ZOt(t,(cWt(),BCe)),21).Hc((ypt(),PMe))?(n=$z(ZOt(t,zCe),21),e=new fO($z(ZOt(t,$Ce),8)),n.Hc((JRt(),UMe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new Hk}function YSt(t){var e,n,i;if(!t.b){for(i=new Ac,n=new rP(Bzt(t));n.e!=n.i.gc();)(e=$z(xwt(n),18)).Bb&u6t&&u7(i,e);rlt(i),t.b=new LI(($z(Yet(WV((WY(),ZOe).o),8),18),i.i),i.g),T5(t).b&=-9}return t.b}function WSt(t,e){var n,i,r,a,o,s;o=$z(kmt(gq(e.k),N8(DMe,VJt,61,2,0,1)),122),Zmt(t,s=e.g,n=o3(e,o[0]),i=a3(e,o[1]))<=Zmt(t,s,r=o3(e,o[1]),a=a3(e,o[0]))?(e.a=n,e.c=i):(e.a=r,e.c=a)}function XSt(t,e,n){var i,r,a;for(MEt(n,"Processor set neighbors",1),t.a=0==e.b.b?1:e.b.b,r=null,i=cwt(e.b,0);!r&&i.b!=i.d.c;)zv(kB(yTt(a=$z(h3(i),86),(HUt(),dxe))))&&(r=a);r&&LBt(t,new hb(r),n),zCt(n)}function VSt(t){var e,n,i,r;return BHt(),e=-1==(i=HI(t,VEt(35)))?t:t.substr(0,i),n=-1==i?null:t.substr(i+1),(r=Y3(vOe,e))?null!=n&&(r=Sut(r,(mW(n),n))):(r=YYt(e),r5(vOe,e,r),null!=n&&(r=Sut(r,n))),r}function QSt(t){var e,n,i,r,a,o,s;if(EV(),iN(t,54))for(a=0,r=t.gc()-1;a<r;++a,--r)e=t.Xb(a),t._c(a,t.Xb(r)),t._c(r,e);else for(n=t.Yc(),o=t.Zc(t.gc());n.Tb()<o.Vb();)i=n.Pb(),s=o.Ub(),n.Wb(s),o.Wb(i)}function ZSt(t,e){var n,i,r;MEt(e,"End label pre-processing",1),n=Hv(_B(yTt(t,(zYt(),vwe)))),i=Hv(_B(yTt(t,Ewe))),r=gO($z(yTt(t,Gpe),103)),VE(ftt(new PU(null,new f1(t.b,16)),new ln),new D$(n,i,r)),zCt(e)}function JSt(t,e){var n,i,r,a,o,s;for(s=0,d3(a=new Ow,e);a.b!=a.c;)for(s+=cvt((o=$z(dK(a),214)).d,o.e),r=new Kd(o.b);r.a<r.c.c.length;)i=$z(Z1(r),37),(n=$z(NU(t.b,i.p),214)).s||(s+=JSt(t,n));return s}function tAt(t,e,n){var r,a;Rot(this),e==(dZ(),Lve)?kK(this.r,t.c):kK(this.w,t.c),kK(n==Lve?this.r:this.w,t.d),tSt(this,t),KTt(this,r=Clt(t.c),a=Clt(t.d),a),this.o=(pPt(),i.Math.abs(r-a)<.2)}function eAt(t,e,n){var i,r,a,o,s;if(null!=(o=$z(mot(t.a,8),1936)))for(r=0,a=o.length;r<a;++r)null.jm();i=n,1&t.a.Db||(s=new aW(t,n,e),i.ui(s)),iN(i,672)?$z(i,672).wi(t.a):i.ti()==t.a&&i.vi(null)}function nAt(){var t;return VNe?$z(OLt((KT(),HOe),T9t),1945):(cKt(),t=$z(iN(EZ((KT(),HOe),T9t),586)?EZ(HOe,T9t):new UW,586),VNe=!0,pYt(t),bWt(t),YW((YT(),VOe),t,new Ru),_vt(t),wJ(HOe,T9t,t),t)}function iAt(t,e,n,i){var r;return(r=GEt(t,n,Cst(Hx(zee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt]),e))<0&&(r=GEt(t,n,Cst(Hx(zee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}function rAt(t,e,n,i){var r;return(r=GEt(t,n,Cst(Hx(zee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt]),e))<0&&(r=GEt(t,n,Cst(Hx(zee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}function aAt(t){var e,n,i;for(RLt(t),i=new Lw,n=new Kd(t.a.a.b);n.a<n.c.c.length;)Kz(i,new uS(e=$z(Z1(n),81),!0)),Kz(i,new uS(e,!1));Jyt(t.c),e2(i,t.b,new Vv(Cst(Hx(Voe,1),zWt,369,0,[t.c]))),wOt(t)}function oAt(t){var e,n,i,r;for(n=new Nw,r=new Kd(t.d);r.a<r.c.c.length;)i=$z(Z1(r),181),e=$z(i.We((uWt(),Ghe)),17),MQ(n.f,e)||YW(n,e,new kV(e)),Kz($z(zM(MQ(n.f,e)),456).b,i);return new JR(new Ad(n))}function sAt(t,e){var n,i,r,a,o;for(i=new d1(t.j.c.length),n=null,a=new Kd(t.j);a.a<a.c.c.length;)(r=$z(Z1(a),11)).j!=n&&(i.b==i.c||$Lt(i,n,e),o4(i),n=r.j),(o=yOt(r))&&f3(i,o);i.b==i.c||$Lt(i,n,e)}function cAt(t,e){var n,i;for(i=new _2(t.b,0);i.b<i.d.gc();)TP(i.b<i.d.gc()),n=$z(i.d.Xb(i.c=i.b++),70),$z(yTt(n,(zYt(),Xpe)),272)==(Bet(),qSe)&&(uW(i),Kz(e.b,n),OP(n,(uWt(),Ghe))||uct(n,Ghe,t))}function uAt(t){var e,n,r;for(e=R3(new oq(QN(hdt(t).a.Kc(),new l))),n=new oq(QN(ldt(t).a.Kc(),new l));gOt(n);)r=R3(new oq(QN(hdt($z(G5(n),17).c.i).a.Kc(),new l))),e=i.Math.max(e,r);return nft(e)}function lAt(t,e,n){var i,r,a,o;for(MEt(n,"Processor arrange node",1),r=null,a=new XE,i=cwt(e.b,0);!r&&i.b!=i.d.c;)zv(kB(yTt(o=$z(h3(i),86),(HUt(),dxe))))&&(r=o);n5(a,r,a.c.b,a.c),Vqt(t,a,yat(n,1)),zCt(n)}function hAt(t,e,n){var i,r,a;i=$z(ZOt(t,(cWt(),cCe)),21),r=0,a=0,e.a>n.a&&(i.Hc((d_t(),YTe))?r=(e.a-n.a)/2:i.Hc(XTe)&&(r=e.a-n.a)),e.b>n.b&&(i.Hc((d_t(),QTe))?a=(e.b-n.b)/2:i.Hc(VTe)&&(a=e.b-n.b)),hTt(t,r,a)}function fAt(t,e,n,i,r,a,o,s,c,u,l,h,f){iN(t.Cb,88)&&IAt(T5($z(t.Cb,88)),4),Nrt(t,n),t.f=o,Oft(t,s),Nft(t,c),Ift(t,u),Lft(t,l),Jht(t,h),Hft(t,f),Vht(t,!0),Lnt(t,r),t.ok(a),Alt(t,e),null!=i&&(t.i=null,art(t,i))}function dAt(t){var e,n;if(t.f){for(;t.n>0;){if(iN(n=(e=$z(t.k.Xb(t.n-1),72)).ak(),99)&&$z(n,18).Bb&u6t&&(!t.e||n.Gj()!=OIe||0!=n.aj())&&null!=e.dd())return!0;--t.n}return!1}return t.n>0}function gAt(t,e,n){if(t<0)return Ojt(FWt,Cst(Hx(Ite,1),zWt,1,5,[n,nft(t)]));if(e<0)throw Fw(new jv(HWt+e));return Ojt("%s (%s) must not be greater than size (%s)",Cst(Hx(Ite,1),zWt,1,5,[n,nft(t),nft(e)]))}function pAt(t,e,n,i,r,a){var o,s,c;if(i-n<7)Odt(e,n,i,a);else if(pAt(e,t,s=n+r,c=s+((o=i+r)-s>>1),-r,a),pAt(e,t,c,o,-r,a),a.ue(t[c-1],t[c])<=0)for(;n<i;)IY(e,n++,t[s++]);else Uht(t,s,c,o,e,n,i,a)}function bAt(t,e){var n,i,r;for(r=new Lw,i=new Kd(t.c.a.b);i.a<i.c.c.length;)n=$z(Z1(i),57),e.Lb(n)&&(Kz(r,new AC(n,!0)),Kz(r,new AC(n,!1)));Zyt(t.e),t2(r,t.d,new Vv(Cst(Hx(oie,1),zWt,679,0,[t.e])))}function wAt(t,e){var n,i,r,a,o,s,c;for(c=e.d,r=e.b.j,s=new Kd(c);s.a<s.c.c.length;)for(o=$z(Z1(s),101),a=N8(MDe,ZQt,25,r.c.length,16,1),YW(t.b,o,a),n=o.a.d.p-1,i=o.c.d.p;n!=i;)a[n=(n+1)%r.c.length]=!0}function yAt(t,e){for(t.r=new $ot(t.p),Vf(t.r,t),$rt(t.r.j,t.j),yV(t.j),DH(t.j,e),DH(t.r.e,e),nY(t),nY(t.r);0!=t.f.c.length;)HL($z(NU(t.f,0),129));for(;0!=t.k.c.length;)HL($z(NU(t.k,0),129));return t.r}function mAt(t,e,n){var i,r,a;if(r=eet(t.Tg(),e),(i=e-t.Ah())<0){if(!r)throw Fw(new jv(s6t+e+c6t));if(!r.Ij())throw Fw(new jv(i6t+r.ne()+r6t));(a=t.Yg(r))>=0?t.sh(a,n):_Nt(t,r,n)}else Ldt(t,i,r,n)}function vAt(t){var e,n,i,r;if(n=$z(t,49).qh())try{if(i=null,(e=OLt((KT(),HOe),E$t(Rdt(n))))&&(r=e.rh())&&(i=r.Wk(qv(n.e))),i&&i!=t)return vAt(i)}catch(a){if(!iN(a=hst(a),60))throw Fw(a)}return t}function xAt(t,e,n){var i,r,a;if(a=null==e?0:t.b.se(e),0==(i=t.a.get(a)??new Array).length)t.a.set(a,i);else if(r=ult(t,e,i))return r.ed(n);return IY(i,i.length,new TC(e,n)),++t.c,oQ(t.b),null}function kAt(t,e){var n;return c2(t.a),CK(t.a,(Crt(),Xxe),Xxe),CK(t.a,Vxe,Vxe),dU(n=new $2,Vxe,(Sdt(),eke)),HM(ZOt(e,(qvt(),Eke)))!==HM((zut(),cke))&&dU(n,Vxe,Jxe),dU(n,Vxe,tke),rO(t.a,n),OUt(t.a,e)}function _At(t){if(!t)return lx(),uee;var e=t.valueOf?t.valueOf():t;if(e!==t){var n=lee[typeof e];return n?n(e):vlt(typeof e)}return t instanceof Array||t instanceof i.Array?new kf(t):new Tf(t)}function EAt(t,e,n){var r,a,o;switch(o=t.o,(a=(r=$z(oX(t.p,n),244)).i).b=TMt(r),a.a=EMt(r),a.b=i.Math.max(a.b,o.a),a.b>o.a&&!e&&(a.b=o.a),a.c=-(a.b-o.a)/2,n.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}RFt(r),UFt(r)}function TAt(t,e,n){var r,a,o;switch(o=t.o,(a=(r=$z(oX(t.p,n),244)).i).b=TMt(r),a.a=EMt(r),a.a=i.Math.max(a.a,o.b),a.a>o.b&&!e&&(a.a=o.b),a.d=-(a.a-o.b)/2,n.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}RFt(r),UFt(r)}function CAt(t,e){var n,i,r,a,o;if(!e.dc()){if(r=$z(e.Xb(0),128),1==e.gc())return void vPt(t,r,r,1,0,e);for(n=1;n<e.gc();)(r.j||!r.o)&&(a=wvt(e,n))&&(i=$z(a.a,19).a,vPt(t,r,o=$z(a.b,128),n,i,e),n=i+1,r=o)}}function SAt(t){var e,n,i,r;for(wL(r=new JR(t.d),new qr),vBt(),e=Cst(Hx(Xue,1),OXt,270,0,[Fue,Uue,$ue,Kue,Hue,zue,que,Gue]),n=0,i=new Kd(r);i.a<i.c.c.length;)SIt($z(Z1(i),101),e[n%e.length]),++n}function AAt(t,e){var n,i,r,a;if(xBt(),e.b<2)return!1;for(i=n=$z(h3(a=cwt(e,0)),8);a.b!=a.d.c;){if(r=$z(h3(a),8),!Pat(t,i)||!Pat(t,r))return!1;i=r}return!(!Pat(t,i)||!Pat(t,n))}function MAt(t,e){var n,i,r,a,o;return n=Bnt(o=t,"x"),Z9(new zb(e).a,n),i=Bnt(o,"y"),J9(new Hb(e).a,i),r=Bnt(o,S6t),ttt(new Ub(e).a,r),a=Bnt(o,C6t),ett(new Gb(e).a,a),a}function IAt(t,e){gjt(t,e),1&t.b&&(t.a.a=null),2&t.b&&(t.a.f=null),4&t.b&&(t.a.g=null,t.a.i=null),16&t.b&&(t.a.d=null,t.a.e=null),8&t.b&&(t.a.b=null),32&t.b&&(t.a.j=null,t.a.c=null)}function OAt(t,e){var n,i;if(i=0,e.length>0)try{i=h$t(e,RXt,PWt)}catch(r){throw iN(r=hst(r),127)?Fw(new O9(r)):Fw(r)}return!t.a&&(t.a=new Ew(t)),i<(n=t.a).i&&i>=0?$z(Yet(n,i),56):null}function LAt(t,e){if(t<0)return Ojt(FWt,Cst(Hx(Ite,1),zWt,1,5,["index",nft(t)]));if(e<0)throw Fw(new jv(HWt+e));return Ojt("%s (%s) must be less than size (%s)",Cst(Hx(Ite,1),zWt,1,5,["index",nft(t),nft(e)]))}function NAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lD(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function DAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lD(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function PAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lD(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function BAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lD(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function jAt(t,e){var n,i,r,a,o,s;for(n=t.b.c.length,r=NU(t.b,e);2*e+1<n&&(s=a=2*e+1,(o=a+1)<n&&t.a.ue(NU(t.b,o),NU(t.b,a))<0&&(s=o),i=s,!(t.a.ue(r,NU(t.b,i))<0));)i5(t.b,e,NU(t.b,i)),e=i;i5(t.b,e,r)}function RAt(t,e,n,r,a,o){var s,c,u,l,h;for(HM(t)===HM(n)&&(t=t.slice(e,e+a),e=0),u=n,c=e,l=e+a;c<l;)a=(s=i.Math.min(c+1e4,l))-c,(h=t.slice(c,s)).splice(0,0,r,o?a:0),Array.prototype.splice.apply(u,h),c=s,r+=a}function $At(t,e,n){var i,r;return i=n.d,r=n.e,t.g[i.d]<=t.i[e.d]&&t.i[e.d]<=t.i[i.d]&&t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]?!(t.i[i.d]<t.i[r.d]):t.i[i.d]<t.i[r.d]}function FAt(t){var e,n,i,r,a,o,s;if((i=t.a.c.length)>0)for(o=t.c.d,r=mN(qj(new NA((s=t.d.d).a,s.b),o),1/(i+1)),a=new NA(o.a,o.b),n=new Kd(t.a);n.a<n.c.c.length;)(e=$z(Z1(n),559)).d.a=a.a,e.d.b=a.b,Gj(a,r)}function zAt(t,e,n){var r,a,o,s,c,u;for(u=BVt,o=new Kd(UNt(t.b));o.a<o.c.c.length;)for(a=$z(Z1(o),168),c=new Kd(UNt(e.b));c.a<c.c.c.length;)s=$z(Z1(c),168),r=Sst(a.a,a.b,s.a,s.b,n),u=i.Math.min(u,r);return u}function HAt(t,e){if(!e)throw Fw(new gy);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function UAt(t,e){var n,r;return iN(e.g,10)&&$z(e.g,10).k==(oCt(),Ese)?BVt:u3(e)?i.Math.max(0,t.b/2-.5):(n=u2(e))?(r=Hv(_B(ept(n,(zYt(),Awe)))),i.Math.max(0,r/2-.5)):BVt}function GAt(t,e){var n,r;return iN(e.g,10)&&$z(e.g,10).k==(oCt(),Ese)?BVt:u3(e)?i.Math.max(0,t.b/2-.5):(n=u2(e))?(r=Hv(_B(ept(n,(zYt(),Awe)))),i.Math.max(0,r/2-.5)):BVt}function qAt(t){var e,n,i,r;for(r=Lht(t.d,t.e).Kc();r.Ob();)for(i=$z(r.Pb(),11),n=new Kd(t.e==(vKt(),SMe)?i.e:i.g);n.a<n.c.c.length;)!h5(e=$z(Z1(n),17))&&e.c.i.c!=e.d.i.c&&(BCt(t,e),++t.f,++t.c)}function KAt(t,e){var n,i;if(e.dc())return EV(),EV(),cne;for(Kz(i=new Lw,nft(RXt)),n=1;n<t.f;++n)null==t.a&&djt(t),t.a[n]&&Kz(i,nft(n));return 1==i.c.length?(EV(),EV(),cne):(Kz(i,nft(PWt)),gzt(e,i))}function YAt(t,e){var n,i,r,a,o,s;n=rxt(e,s=e.c.i.k!=(oCt(),Sse)?e.d:e.c).i,r=$z(PY(t.k,s),121),i=t.i[n.p].a,MR(s.i)<(n.c?x9(n.c.a,n,0):-1)?(a=r,o=i):(a=i,o=r),qDt(rT(iT(aT(nT(new Fy,0),4),a),o))}function WAt(t,e,n){var i,r,a;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);r.Ob();)(a=Imt(t,vMt(dtt(n,$z(r.Pb(),19).a))))&&(!e.b&&(e.b=new cR(PIe,e,4,7)),u7(e.b,a))}function XAt(t,e,n){var i,r,a;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);r.Ob();)(a=Imt(t,vMt(dtt(n,$z(r.Pb(),19).a))))&&(!e.c&&(e.c=new cR(PIe,e,5,8)),u7(e.c,a))}function VAt(t,e,n){var i,r;i=e.a&t.f,e.b=t.b[i],t.b[i]=e,r=e.f&t.f,e.d=t.c[r],t.c[r]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function QAt(t){var e,n,i;if(e=t.Pb(),!t.Ob())return e;for(i=aI(oI(new Cx,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)aI((i.a+=$Wt,i),t.Pb());throw t.Ob()&&(i.a+=", ..."),i.a+=">",Fw(new jv(i.a))}function ZAt(t,e){var n;e.d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,e.e||e.c?(--(n=$z(PY(t.b,e.a),283)).a,e.e?e.e.c=e.c:n.b=e.c,e.c?e.c.e=e.e:n.c=e.e):((n=$z(b6(t.b,e.a),283)).a=0,++t.c),--t.d}function JAt(t){var e,n;return n=-t.a,e=Cst(Hx(SDe,1),YXt,25,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&XXt,e[2]=e[2]+(n/60|0)%10&XXt,e[3]=e[3]+(n%60/10|0)&XXt,e[4]=e[4]+n%10&XXt,Fpt(e,0,e.length)}function tMt(t,e,n){var i,r;for(i=e.d,r=n.d;i.a-r.a==0&&i.b-r.b==0;)i.a+=zLt(t,26)*iQt+zLt(t,27)*rQt-.5,i.b+=zLt(t,26)*iQt+zLt(t,27)*rQt-.5,r.a+=zLt(t,26)*iQt+zLt(t,27)*rQt-.5,r.b+=zLt(t,26)*iQt+zLt(t,27)*rQt-.5}function eMt(t){var e,n,i,r;for(t.g=new zdt($z(yY(DMe),290)),i=0,vKt(),n=cMe,e=0;e<t.j.c.length;e++)(r=$z(NU(t.j,e),11)).j!=n&&(i!=e&&wG(t.g,n,new nM(nft(i),nft(e))),n=r.j,i=e);wG(t.g,n,new nM(nft(i),nft(e)))}function nMt(t){var e,n,i,r,a;for(n=0,e=new Kd(t.b);e.a<e.c.c.length;)for(r=new Kd($z(Z1(e),29).a);r.a<r.c.c.length;)for((i=$z(Z1(r),10)).p=n++,a=new Kd(i.j);a.a<a.c.c.length;)$z(Z1(a),11).p=n++}function iMt(t,e,n,i,r){var a,o,s,c;if(e)for(o=e.Kc();o.Ob();)for(c=rjt($z(o.Pb(),10),(ait(),Hye),n).Kc();c.Ob();)s=$z(c.Pb(),11),(a=$z(zM(MQ(r.f,s)),112))||(a=new $ot(t.d),i.c[i.c.length]=a,qSt(a,s,r))}function rMt(t,e){var n,i,r;if(!(r=$Ut((ASt(),VLe),t.Tg(),e)))throw Fw(new jv(i6t+e.ne()+r6t));QT(),$z(r,66).Oj()||(r=Q1($9(VLe,r))),i=$z((n=t.Yg(r))>=0?t._g(n,!0,!0):rIt(t,r,!0),153),$z(i,215).ol(e)}function aMt(t){var e,n;return t>-0x800000000000&&t<0x800000000000?0==t?0:((e=t<0)&&(t=-t),n=CZ(i.Math.floor(i.Math.log(t)/.6931471805599453)),(!e||t!=i.Math.pow(2,n))&&++n,n):Wot(lot(t))}function oMt(t){var e,n,i,r,a,o,s;for(a=new uO,n=new Kd(t);n.a<n.c.c.length;)o=(e=$z(Z1(n),129)).a,s=e.b,!a.a._b(o)&&!a.a._b(s)&&(r=o,i=s,o.e.b+o.j.b>2&&s.e.b+s.j.b<=2&&(r=s,i=o),a.a.zc(r,a),r.q=i);return a}function sMt(t,e){var n,i,r;return Hot(i=new Oyt(t),e),uct(i,(uWt(),Yhe),e),uct(i,(zYt(),twe),(X_t(),KAe)),uct(i,mpe,(dyt(),MTe)),$f(i,(oCt(),Ese)),CJ(n=new SCt,i),HAt(n,(vKt(),SMe)),CJ(r=new SCt,i),HAt(r,sMe),i}function cMt(t){switch(t.g){case 0:return new Lv((sit(),Mme));case 1:return new fh;case 2:return new mh;default:throw Fw(new jv("No implementation is available for the crossing minimizer "+(null!=t.f?t.f:""+t.g)))}}function uMt(t,e){var n,i,r,a;for(t.c[e.p]=!0,Kz(t.a,e),a=new Kd(e.j);a.a<a.c.c.length;)for(n=new w6((r=$z(Z1(a),11)).b);yL(n.a)||yL(n.b);)i=Jpt(r,$z(yL(n.a)?Z1(n.a):Z1(n.b),17)).i,t.c[i.p]||uMt(t,i)}function lMt(t){var e,n,r,a,o,s,c;for(s=0,n=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));n.e!=n.i.gc();)c=(e=$z(vwt(n),33)).g,a=e.f,r=i.Math.sqrt(c*c+a*a),s=i.Math.max(r,s),o=lMt(e),s=i.Math.max(o,s);return s}function hMt(){hMt=I,iMe=new qA("OUTSIDE",0),eMe=new qA("INSIDE",1),nMe=new qA("NEXT_TO_PORT_IF_POSSIBLE",2),tMe=new qA("ALWAYS_SAME_SIDE",3),JAe=new qA("ALWAYS_OTHER_SAME_SIDE",4),rMe=new qA("SPACE_EFFICIENT",5)}function fMt(t,e,n){var i,r,a,o;return Oit(i=B2(t,(Jk(),r=new vm,n&&JNt(r,n),r),e),P2(e,H6t)),TEt(e,i),sLt(e,i),MAt(e,i),a=L2(e,"ports"),CNt((o=new pM(t,i)).a,o.b,a),Dct(t,e,i),ast(t,e,i),i}function dMt(t){var e,n;return n=-t.a,e=Cst(Hx(SDe,1),YXt,25,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&XXt,e[2]=e[2]+(n/60|0)%10&XXt,e[4]=e[4]+(n%60/10|0)&XXt,e[5]=e[5]+n%10&XXt,Fpt(e,0,e.length)}function gMt(t){var e;return e=Cst(Hx(SDe,1),YXt,25,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&XXt,e[5]=e[5]+(t/60|0)%10&XXt,e[7]=e[7]+(t%60/10|0)&XXt,e[8]=e[8]+t%10&XXt,Fpt(e,0,e.length)}function pMt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lD(a.d),rI(a.a,""+bq(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function bMt(t,e){var n,r,a;for(a=PWt,r=new Kd(vdt(e));r.a<r.c.c.length;)(n=$z(Z1(r),213)).f&&!t.c[n.c]&&(t.c[n.c]=!0,a=i.Math.min(a,bMt(t,Ndt(n,e))));return t.i[e.d]=t.j,t.g[e.d]=i.Math.min(a,t.j++),t.g[e.d]}function wMt(t,e){var n,i,r;for(r=$z($z(c6(t.r,e),21),84).Kc();r.Ob();)(i=$z(r.Pb(),111)).e.b=(n=i.b).Xe((cWt(),rSe))?n.Hf()==(vKt(),cMe)?-n.rf().b-Hv(_B(n.We(rSe))):Hv(_B(n.We(rSe))):n.Hf()==(vKt(),cMe)?-n.rf().b:0}function yMt(t){var e,n,i,r,a,o,s;for(n=WO(t.e),a=mN($P($L(YO(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-a.a,r=n.b-a.b,s=0;s<t.c;s++){for(i=e,o=0;o<t.d;o++)Ydt(t.e,new GX(i,r,t.a,t.b))&&$jt(t,o,s,!1,!0),i+=t.a;r+=t.b}}function mMt(t){var e,n,i;if(zv(kB(ZOt(t,(cWt(),ECe))))){for(i=new Lw,n=new oq(QN(gNt(t).a.Kc(),new l));gOt(n);)XMt(e=$z(G5(n),79))&&zv(kB(ZOt(e,TCe)))&&(i.c[i.c.length]=e);return i}return EV(),EV(),cne}function vMt(t){var e;if(e=!1,iN(t,204))return e=!0,$z(t,204).a;if(!e&&iN(t,258)&&$z(t,258).a%1==0)return e=!0,nft(WI($z(t,258).a));throw Fw(new tx("Id must be a string or an integer: '"+t+"'."))}function xMt(t,e){var n,i,r,a,o,s;for(a=null,r=new nK((!t.a&&(t.a=new Ew(t)),t.a));fIt(r);)if(Vzt(o=(n=$z(aNt(r),56)).Tg()),null!=(i=(s=o.o)&&n.mh(s)?pR(ost(s),n.ah(s)):null)&&wR(i,e)){a=n;break}return a}function kMt(t,e,n){var i,r,a,o,s;if(hit(n,"occurrences"),0==n)return(s=$z(hht(AV(t.a),e),14))?s.gc():0;if(!(o=$z(hht(AV(t.a),e),14)))return 0;if(n>=(a=o.gc()))o.$b();else for(r=o.Kc(),i=0;i<n;i++)r.Pb(),r.Qb();return a}function _Mt(t,e,n){var i,r,a;return hit(n,"oldCount"),hit(0,"newCount"),((i=$z(hht(AV(t.a),e),14))?i.gc():0)==n&&(hit(0,"count"),(a=-((r=$z(hht(AV(t.a),e),14))?r.gc():0))>0?fx():a<0&&kMt(t,e,-a),!0)}function EMt(t){var e,n,i,r,a,o;if(o=0,0==t.b){for(e=0,r=0,a=(i=Kyt(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}else o=Bx(eat(OX(MX(OK(t.a),new Et),new Tt)));return o>0?o+t.n.d+t.n.a:0}function TMt(t){var e,n,i,r,a,o;if(o=0,0==t.b)o=Bx(eat(OX(MX(OK(t.a),new kt),new _t)));else{for(e=0,r=0,a=(i=Yyt(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}return o>0?o+t.n.b+t.n.c:0}function CMt(t,e){var n,r,a,o;for(n=(o=$z(oX(t.b,e),124)).a,a=$z($z(c6(t.r,e),21),84).Kc();a.Ob();)(r=$z(a.Pb(),111)).c&&(n.a=i.Math.max(n.a,YH(r.c)));if(n.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}function SMt(t,e){var n,i,r;return 0==(n=$z(yTt(e,(ljt(),Qae)),19).a-$z(yTt(t,Qae),19).a)?(i=qj($L($z(yTt(t,(Ert(),aoe)),8)),$z(yTt(t,ooe),8)),r=qj($L($z(yTt(e,aoe),8)),$z(yTt(e,ooe),8)),Cft(i.a*i.b,r.a*r.b)):n}function AMt(t,e){var n,i,r;return 0==(n=$z(yTt(e,(SOt(),Ixe)),19).a-$z(yTt(t,Ixe),19).a)?(i=qj($L($z(yTt(t,(HUt(),Qve)),8)),$z(yTt(t,Zve),8)),r=qj($L($z(yTt(e,Qve),8)),$z(yTt(e,Zve),8)),Cft(i.a*i.b,r.a*r.b)):n}function MMt(t){var e,n;return(n=new Cx).a+="e_",null!=(e=Kot(t))&&(n.a+=""+e),t.c&&t.d&&(oI((n.a+=" ",n),bvt(t.c)),oI(aI((n.a+="[",n),t.c.i),"]"),oI((n.a+=e1t,n),bvt(t.d)),oI(aI((n.a+="[",n),t.d.i),"]")),n.a}function IMt(t){switch(t.g){case 0:return new gh;case 1:return new ph;case 2:return new dh;case 3:return new bh;default:throw Fw(new jv("No implementation is available for the layout phase "+(null!=t.f?t.f:""+t.g)))}}function OMt(t,e,n,r,a){var o;switch(o=0,a.g){case 1:o=i.Math.max(0,e.b+t.b-(n.b+r));break;case 3:o=i.Math.max(0,-t.b-r);break;case 2:o=i.Math.max(0,-t.a-r);break;case 4:o=i.Math.max(0,e.a+t.a-(n.a+r))}return o}function LMt(t,e,n){var i,r,a;if(n)for(a=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);a.Ob();)r=N2(n,$z(a.Pb(),19).a),L6t in r.a||N6t in r.a?cRt(t,r,e):kYt(t,r,e),TN($z(PY(t.b,Xpt(r)),79))}function NMt(t){var e,n;switch(t.b){case-1:return!0;case 0:return(n=t.t)>1||-1==n||(e=Axt(t))&&(QT(),e.Cj()==k7t)?(t.b=-1,!0):(t.b=1,!1);default:return!1}}function DMt(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new tK(jOe,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(n=$z(Yet(i,r),170),DW($9(t,n))){case 2:case 3:!a&&(a=new Lw),a.c[a.c.length]=n}return a||(EV(),EV(),cne)}function PMt(t,e){var n,i,r,a;if(XYt(t),0!=t.c||123!=t.a)throw Fw(new rx(vWt((aL(),C8t))));if(a=112==e,i=t.d,(n=lP(t.i,125,i))<0)throw Fw(new rx(vWt((aL(),S8t))));return r=uP(t.i,i,n),t.d=n+1,h7(r,a,!(512&~t.e))}function BMt(t){var e;if((e=$z(yTt(t,(zYt(),zpe)),314))==(Mit(),ule))throw Fw(new ix("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function jMt(t,e){var n,i,r,a;for(H$(),n=null,r=e.Kc();r.Ob();)!(i=$z(r.Pb(),128)).o&&(Kz((a=new Czt(RL(i.a),hH(i.a),null,$z(i.d.a.ec().Kc().Pb(),17))).c,i.a),t.c[t.c.length]=a,n&&Kz(n.d,a),n=a)}function RMt(t,e){var n,i,r;if(e)if(4&e.i)for(i="[]",n=e.c;;n=n.c){if(!(4&n.i)){zit(t,r=Gv((xB(n),n.o+i))),Dnt(t,r);break}i+="[]"}else zit(t,r=Gv((xB(e),e.o))),Dnt(t,r);else zit(t,null),Dnt(t,null);t.yk(e)}function $Mt(t,e,n,i,r){var a,o,s,c;return HM(c=cB(t,$z(r,56)))!==HM(r)?(s=$z(t.g[n],72),vN(t,n,cEt(t,n,a=Q3(e,c))),wO(t.e)&&(j_t(o=OQ(t,9,a.ak(),r,c,i,!1),new L9(t.e,9,t.c,s,a,i,!1)),I9(o)),c):r}function FMt(t,e,n){var i,r,a,o,s,c;for(i=$z(c6(t.c,e),15),r=$z(c6(t.c,n),15),a=i.Zc(i.gc()),o=r.Zc(r.gc());a.Sb()&&o.Sb();)if((s=$z(a.Ub(),19))!=(c=$z(o.Ub(),19)))return xL(s.a,c.a);return a.Ob()||o.Ob()?a.Ob()?1:-1:0}function zMt(t,e){var n,i;try{return q1(t.a,e)}catch(r){if(iN(r=hst(r),32)){try{if(i=h$t(e,RXt,PWt),n=Yk(t.a),i>=0&&i<n.length)return n[i]}catch(a){if(!iN(a=hst(a),127))throw Fw(a)}return null}throw Fw(r)}}function HMt(t,e){var n,i,r;if(r=$Ut((ASt(),VLe),t.Tg(),e))return QT(),$z(r,66).Oj()||(r=Q1($9(VLe,r))),i=$z((n=t.Yg(r))>=0?t._g(n,!0,!0):rIt(t,r,!0),153),$z(i,215).ll(e);throw Fw(new jv(i6t+e.ne()+o6t))}function UMt(){var t;return JT(),YLe?$z(OLt((KT(),HOe),W7t),1939):(PI(zte,new Au),JGt(),t=$z(iN(EZ((KT(),HOe),W7t),547)?EZ(HOe,W7t):new GW,547),YLe=!0,sWt(t),_Wt(t),YW((YT(),VOe),t,new Gc),wJ(HOe,W7t,t),t)}function GMt(t,e){var n,i,r,a;t.j=-1,wO(t.e)?(n=t.i,a=0!=t.i,i6(t,e),i=new L9(t.e,3,t.c,null,e,n,a),r=e.Qk(t.e,t.c,null),(r=A_t(t,e,r))?(r.Ei(i),r.Fi()):fot(t.e,i)):(i6(t,e),(r=e.Qk(t.e,t.c,null))&&r.Fi())}function qMt(t,e){var n,i,r;if(r=0,(i=e[0])>=t.length)return-1;for(h1(i,t.length),n=t.charCodeAt(i);n>=48&&n<=57&&(r=10*r+(n-48),!(++i>=t.length));)h1(i,t.length),n=t.charCodeAt(i);return i>e[0]?e[0]=i:r=-1,r}function KMt(t){var e,n,r,a,o;return n=a=$z(t.a,19).a,r=o=$z(t.b,19).a,e=i.Math.max(i.Math.abs(a),i.Math.abs(o)),a<=0&&a==o?(n=0,r=o-1):a==-e&&o!=e?(n=o,r=a,o>=0&&++n):(n=-o,r=a),new nM(nft(n),nft(r))}function YMt(t,e,n,i){var r,a,o,s,c,u;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)if(c=a,u=s=o-e.k+i,c+=t.j,u+=t.k,c>=0&&u>=0&&c<t.o&&u<t.p&&(!ymt(e,r,o)&&nmt(t,a,s)||wmt(e,r,o)&&!imt(t,a,s)))return!0;return!1}function WMt(t,e,n){var i,r,a,o;a=t.c,o=t.d,r=(Ict(Cst(Hx(TTe,1),cXt,8,0,[a.i.n,a.n,a.a])).b+Ict(Cst(Hx(TTe,1),cXt,8,0,[o.i.n,o.n,o.a])).b)/2,i=null,i=a.j==(vKt(),sMe)?new NA(e+a.i.c.c.a+n,r):new NA(e-n,r),BP(t.a,0,i)}function XMt(t){var e,n,i;for(e=null,n=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c)])));gOt(n);)if(i=CEt($z(G5(n),82)),e){if(e!=i)return!1}else e=i;return!0}function VMt(t,e,n){var i;if(++t.j,e>=t.i)throw Fw(new Mv(o8t+e+s8t+t.i));if(n>=t.i)throw Fw(new Mv(c8t+n+s8t+t.i));return i=t.g[n],e!=n&&(e<n?aHt(t.g,e,t.g,e+1,n-e):aHt(t.g,n+1,t.g,n,e-n),IY(t.g,e,i),t.ei(e,i,n),t.ci()),i}function QMt(t,e,n){var i;if(i=$z(t.c.xc(e),14))return!!i.Fc(n)&&(++t.d,!0);if((i=t.ic(e)).Fc(n))return++t.d,t.c.zc(e,i),!0;throw Fw(new g5("New Collection violated the Collection spec"))}function ZMt(t){var e,n,i;return t<0?0:0==t?32:(n=16-(e=(i=-(t>>16))>>16&16),n+=e=(i=(t>>=e)-256)>>16&8,n+=e=(i=(t<<=e)-RVt)>>16&4,(n+=e=(i=(t<<=e)-uXt)>>16&2)+2-(e=(i=(t<<=e)>>14)&~(i>>1)))}function JMt(t){var e,n,i,r;for(_V(),Eae=new Lw,_ae=new Nw,kae=new Lw,!t.a&&(t.a=new tK(UIe,t,10,11)),DKt(e=t.a),r=new MN(e);r.e!=r.i.gc();)i=$z(vwt(r),33),-1==x9(Eae,i,0)&&(n=new Lw,Kz(kae,n),Bbt(i,n));return kae}function tIt(t,e,n){var i,r,a,o;t.a=n.b.d,iN(e,352)?(t5(a=HCt(r=rBt($z(e,79),!1,!1)),i=new Lg(t)),WFt(a,r),null!=e.We((cWt(),ACe))&&t5($z(e.We(ACe),74),i)):((o=$z(e,470)).Hg(o.Dg()+t.a.a),o.Ig(o.Eg()+t.a.b))}function eIt(t,e){var n,r,a,o,s,c,u,l;for(l=Hv(_B(yTt(e,(zYt(),Lwe)))),u=t[0].n.a+t[0].o.a+t[0].d.c+l,c=1;c<t.length;c++)r=t[c].n,a=t[c].o,n=t[c].d,(o=r.a-n.b-u)<0&&(r.a-=o),(s=e.f).a=i.Math.max(s.a,r.a+a.a),u=r.a+a.a+n.c+l}function nIt(t,e){var n,i,r,a,o,s;return i=$z($z(PY(t.g,e.a),46).a,65),r=$z($z(PY(t.g,e.b),46).a,65),(n=JHt(a=i.b,o=r.b))>=0?n:(s=lW(qj(new NA(o.c+o.b/2,o.d+o.a/2),new NA(a.c+a.b/2,a.d+a.a/2))),-(V$t(a,o)-1)*s)}function iIt(t,e,n){var i;VE(new PU(null,(!n.a&&(n.a=new tK(jIe,n,6,6)),new f1(n.a,16))),new tM(t,e)),VE(new PU(null,(!n.n&&(n.n=new tK(HIe,n,1,7)),new f1(n.n,16))),new eM(t,e)),(i=$z(ZOt(n,(cWt(),ACe)),74))&&Vrt(i,t,e)}function rIt(t,e,n){var i,r,a;if(a=$Ut((ASt(),VLe),t.Tg(),e))return QT(),$z(a,66).Oj()||(a=Q1($9(VLe,a))),r=$z((i=t.Yg(a))>=0?t._g(i,!0,!0):rIt(t,a,!0),153),$z(r,215).hl(e,n);throw Fw(new jv(i6t+e.ne()+o6t))}function aIt(t,e,n,i){var r,a,o,s,c;if(r=t.d[e])if(a=r.g,c=r.i,null!=i){for(s=0;s<c;++s)if((o=$z(a[s],133)).Sh()==n&&Nht(i,o.cd()))return o}else for(s=0;s<c;++s)if(HM((o=$z(a[s],133)).cd())===HM(i))return o;return null}function oIt(t,e){var n;if(e<0)throw Fw(new Av("Negative exponent"));if(0==e)return Zee;if(1==e||cgt(t,Zee)||cgt(t,nne))return t;if(!lOt(t,0)){for(n=1;!lOt(t,n);)++n;return Ltt(wgt(n*e),oIt(U5(t,n),e))}return yEt(t,e)}function sIt(t,e){var n,i,r;if(HM(t)===HM(e))return!0;if(null==t||null==e||t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(i=t[n],r=e[n],!(HM(i)===HM(r)||null!=i&&Nht(i,r)))return!1;return!0}function cIt(t){var e,n,i;for(mT(),this.b=Woe,this.c=($ht(),FSe),this.f=(yT(),Uoe),this.a=t,Jx(this,new Se),vDt(this),i=new Kd(t.b);i.a<i.c.c.length;)(n=$z(Z1(i),81)).d||(e=new Cbt(Cst(Hx(Yoe,1),zWt,81,0,[n])),Kz(t.a,e))}function uIt(t,e,n){var i,r,a,o,s,c;if(!t||0==t.c.length)return null;for(a=new BQ(e,!n),r=new Kd(t);r.a<r.c.c.length;)i=$z(Z1(r),70),qCt(a,(gT(),new $g(i)));return(o=a.i).a=(c=a.n,a.e.b+c.d+c.a),o.b=(s=a.n,a.e.a+s.b+s.c),a}function lIt(t){var e,n,i,r,a,o,s;for(cO(s=Z0(t.a),new Sn),n=null,a=0,o=(r=s).length;a<o&&(i=r[a]).k==(oCt(),Ese);++a)((e=$z(yTt(i,(uWt(),Whe)),61))==(vKt(),SMe)||e==sMe)&&(n&&$z(yTt(n,ife),15).Fc(i),n=i)}function hIt(t,e,n){var i,r,a,o,s,c;l1(e,t.c.length),s=$z(t.c[e],329),s6(t,e),s.b/2>=n&&(i=e,a=(c=(s.c+s.a)/2)-n,s.c<=c-n&&mG(t,i++,new mz(s.c,a)),(o=c+n)<=s.a&&(r=new mz(o,s.a),OJ(i,t.c.length),_C(t.c,i,r)))}function fIt(t){var e;if(t.c||null!=t.g){if(null==t.g)return!0;if(0==t.i)return!1;e=$z(t.g[t.i-1],47)}else t.d=t.si(t.f),u7(t,t.d),e=t.d;return e==t.b&&null.km>=null.jm()?(aNt(t),fIt(t)):e.Ob()}function dIt(t,e,n){var i,r,a,o;if(!(o=n)&&(o=OH(new qm,0)),MEt(o,HJt,1),OGt(t.c,e),1==(a=BGt(t.a,e)).gc())WHt($z(a.Xb(0),37),o);else for(r=1/a.gc(),i=a.Kc();i.Ob();)WHt($z(i.Pb(),37),yat(o,r));xx(t.a,a,e),$Bt(e),zCt(o)}function gIt(t){if(this.a=t,t.c.i.k==(oCt(),Ese))this.c=t.c,this.d=$z(yTt(t.c.i,(uWt(),Whe)),61);else{if(t.d.i.k!=Ese)throw Fw(new jv("Edge "+t+" is not an external edge."));this.c=t.d,this.d=$z(yTt(t.d.i,(uWt(),Whe)),61)}}function pIt(t,e){var n,i;i=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,3,i,t.b)),e?e!=t&&(Nrt(t,e.zb),Ont(t,e.d),$it(t,null==(n=e.c??e.zb)||wR(n,e.zb)?null:n)):(Nrt(t,null),Ont(t,0),$it(t,null))}function bIt(t){var e,n;if(t.f){for(;t.n<t.o;){if(iN(n=(e=$z(t.j?t.j.pi(t.n):t.k.Xb(t.n),72)).ak(),99)&&$z(n,18).Bb&u6t&&(!t.e||n.Gj()!=OIe||0!=n.aj())&&null!=e.dd())return!0;++t.n}return!1}return t.n<t.o}function wIt(t,e){var n;this.e=(KY(),yY(t),KY(),Ngt(t)),this.c=(yY(e),Ngt(e)),rD(this.e.Hd().dc()==this.c.Hd().dc()),this.d=wdt(this.e),this.b=wdt(this.c),n=mU(Ite,[cXt,zWt],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,git(this)}function yIt(t){return!Zte&&(Zte=XKt()),'"'+t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(t){return SZ(t)}))+'"'}function mIt(t){var e,n;for(CV(),this.b=uie,this.c=hie,this.g=(pT(),sie),this.d=($ht(),FSe),this.a=t,mDt(this),n=new Kd(t.b);n.a<n.c.c.length;)!(e=$z(Z1(n),57)).a&&SD(Knt(new qy,Cst(Hx(cie,1),zWt,57,0,[e])),t),e.e=new gQ(e.d)}function vIt(t){var e,n,i,r,a;for(r=t.e.c.length,i=N8(Bte,JZt,15,r,0,1),a=new Kd(t.e);a.a<a.c.c.length;)i[$z(Z1(a),144).b]=new XE;for(n=new Kd(t.c);n.a<n.c.c.length;)i[(e=$z(Z1(n),282)).c.b].Fc(e),i[e.d.b].Fc(e);return i}function xIt(t){var e,n,i,r,a,o;for(o=sP(t.c.length),r=new Kd(t);r.a<r.c.c.length;){for(i=$z(Z1(r),10),a=new Py,n=new oq(QN(hdt(i).a.Kc(),new l));gOt(n);)(e=$z(G5(n),17)).c.i==e.d.i||kK(a,e.d.i);o.c[o.c.length]=a}return o}function kIt(t,e){var n,i,r,a,o;if(e>=(o=null==(n=$z(mot(t.a,4),126))?0:n.length))throw Fw(new Jj(e,o));return r=n[e],1==o?i=null:(aHt(n,0,i=N8(fOe,n7t,415,o-1,0,1),0,e),(a=o-e-1)>0&&aHt(n,e+1,i,e,a)),$bt(t,i),eAt(t,e,r),r}function _It(){_It=I,uNe=$z(Yet(WV((i_(),dNe).qb),6),34),oNe=$z(Yet(WV(dNe.qb),3),34),sNe=$z(Yet(WV(dNe.qb),4),34),cNe=$z(Yet(WV(dNe.qb),5),18),s_t(uNe),s_t(oNe),s_t(sNe),s_t(cNe),lNe=new Vv(Cst(Hx(jOe,1),N7t,170,0,[uNe,oNe]))}function EIt(t,e){var n;this.d=new lm,this.b=e,this.e=new fO(e.qf()),n=t.u.Hc((hMt(),nMe)),t.u.Hc(eMe)?t.D?this.a=n&&!e.If():this.a=!0:t.u.Hc(iMe)?this.a=!!n&&!(e.zf().Kc().Ob()||e.Bf().Kc().Ob()):this.a=!1}function TIt(t,e){var n,i,r,a;for(n=t.o.a,a=$z($z(c6(t.r,e),21),84).Kc();a.Ob();)(r=$z(a.Pb(),111)).e.a=(i=r.b).Xe((cWt(),rSe))?i.Hf()==(vKt(),SMe)?-i.rf().a-Hv(_B(i.We(rSe))):n+Hv(_B(i.We(rSe))):i.Hf()==(vKt(),SMe)?-i.rf().a:n}function CIt(t,e){var n,i,r;n=$z(yTt(t,(zYt(),Gpe)),103),r=$z(ZOt(e,awe),61),(i=$z(yTt(t,twe),98))!=(X_t(),XAe)&&i!=VAe?r==(vKt(),CMe)&&(r=MFt(e,n))==CMe&&(r=ugt(n)):r=KHt(e)>0?ugt(n):_ft(ugt(n)),Vwt(e,awe,r)}function SIt(t,e){var n,i,r,a,o;for(o=t.j,e.a!=e.b&&wL(o,new Kr),r=o.c.length/2|0,i=0;i<r;i++)l1(i,o.c.length),(a=$z(o.c[i],113)).c&&HAt(a.d,e.a);for(n=r;n<o.c.length;n++)l1(n,o.c.length),(a=$z(o.c[n],113)).c&&HAt(a.d,e.b)}function AIt(t,e,n){var i,r,a;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?((a=kq(i.a,r.a))<0?oRt(t,e,n):a>0&&oRt(t,n,e),a):null!=i.a?(oRt(t,e,n),-1):null!=r.a?(oRt(t,n,e),1):0}function MIt(t,e){var n,i,r,a;t.ej()?(n=t.Vi(),a=t.fj(),++t.j,t.Hi(n,t.oi(n,e)),i=t.Zi(3,null,e,n,a),t.bj()&&(r=t.cj(e,null))?(r.Ei(i),r.Fi()):t.$i(i)):(tW(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi())}function IIt(t,e){var n,i,r,a,o;for(o=aPt(t.e.Tg(),e),r=new bc,n=$z(t.g,119),a=t.i;--a>=0;)i=n[a],o.rl(i.ak())&&u7(r,i);!aYt(t,r)&&wO(t.e)&&Oy(t,e.$j()?OQ(t,6,e,(EV(),cne),null,-1,!1):OQ(t,e.Kj()?2:1,e,null,null,-1,!1))}function OIt(){var t,e;for(OIt=I,ane=N8(sne,cXt,91,32,0,1),one=N8(sne,cXt,91,32,0,1),t=1,e=0;e<=18;e++)ane[e]=Jbt(t),one[e]=Jbt(yq(t,e)),t=rdt(t,5);for(;e<one.length;e++)ane[e]=Ltt(ane[e-1],ane[1]),one[e]=Ltt(one[e-1],(MBt(),tne))}function LIt(t,e){var n,i,r,a,o;return t.a==(QTt(),rhe)||(a=e.a.c,n=e.a.c+e.a.b,!(e.j&&(i=e.A,o=i.c.c.a-i.o.a/2,r=a-(i.n.a+i.o.a),r>o)||e.q&&(i=e.C,o=i.c.c.a-i.o.a/2,r=i.n.a-n,r>o)))}function NIt(t,e){MEt(e,"Partition preprocessing",1),VE($z(T4(MX(ftt(MX(new PU(null,new f1(t.a,16)),new yi),new mi),new vi),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15).Oc(),new xi),zCt(e)}function DIt(t){var e,n,i,r,a,o;for(zJ(),n=new b4,i=new Kd(t.e.b);i.a<i.c.c.length;)for(a=new Kd($z(Z1(i),29).a);a.a<a.c.c.length;)r=$z(Z1(a),10),(e=$z(ltt(n,o=t.g[r.p]),15))||Qbt(n,o,e=new Lw),e.Fc(r);return n}function PIt(t,e){var n,i,r,a,o;for(r=e.b.b,t.a=N8(Bte,JZt,15,r,0,1),t.b=N8(MDe,ZQt,25,r,16,1),o=cwt(e.b,0);o.b!=o.d.c;)a=$z(h3(o),86),t.a[a.g]=new XE;for(i=cwt(e.a,0);i.b!=i.d.c;)n=$z(h3(i),188),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n)}function BIt(t){var e;return 64&t.Db?CLt(t):((e=new uD(CLt(t))).a+=" (startX: ",b_(e,t.j),e.a+=", startY: ",b_(e,t.k),e.a+=", endX: ",b_(e,t.b),e.a+=", endY: ",b_(e,t.c),e.a+=", identifier: ",iI(e,t.d),e.a+=")",e.a)}function jIt(t){var e;return 64&t.Db?vht(t):((e=new uD(vht(t))).a+=" (ordered: ",y_(e,!!(256&t.Bb)),e.a+=", unique: ",y_(e,!!(512&t.Bb)),e.a+=", lowerBound: ",w_(e,t.s),e.a+=", upperBound: ",w_(e,t.t),e.a+=")",e.a)}function RIt(t,e,n,i,r,a,o,s){var c;return iN(t.Cb,88)&&IAt(T5($z(t.Cb,88)),4),Nrt(t,n),t.f=i,Oft(t,r),Nft(t,a),Ift(t,o),Lft(t,!1),Jht(t,!0),Hft(t,s),Vht(t,!0),Lnt(t,0),t.b=0,Nnt(t,1),(c=zEt(t,e,null))&&c.Fi(),Uft(t,!1),t}function $It(t,e){var n,r;return $z(EZ(t.a,e),512)||(n=new y5(e),m5(),NR(n,$It(t,uP(r=qne?null:n.c,0,i.Math.max(0,wD(r,VEt(46)))))),0==(qne?null:n.c).length&&UB(n,new Y),wJ(t.a,qne?null:n.c,n),n)}function FIt(t,e){var n;t.b=e,t.g=new Lw,n=QIt(t.b),t.e=n,t.f=n,t.c=zv(kB(yTt(t.b,(Rxt(),vie)))),t.a=_B(yTt(t.b,(cWt(),iCe))),null==t.a&&(t.a=1),Hv(t.a)>1?t.e*=Hv(t.a):t.f/=Hv(t.a),Slt(t),pbt(t),_jt(t),uct(t.b,(kwt(),gae),t.g)}function zIt(t,e,n){var i,r,a,o,s;for(i=0,s=n,e||(i=n*(t.c.length-1),s*=-1),a=new Kd(t);a.a<a.c.c.length;){for(uct(r=$z(Z1(a),10),(zYt(),mpe),(dyt(),MTe)),r.o.a=i,o=PCt(r,(vKt(),sMe)).Kc();o.Ob();)$z(o.Pb(),11).n.a=i;i+=s}}function HIt(t,e,n){var i,r,a;t.ej()?(a=t.fj(),Aht(t,e,n),i=t.Zi(3,null,n,e,a),t.bj()?(r=t.cj(n,null),t.ij()&&(r=t.jj(n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(Aht(t,e,n),t.bj()&&(r=t.cj(n,null))&&r.Fi())}function UIt(t,e,n){var i,r,a,o,s,c;return(s=t.Gk(n))!=n?(o=t.g[e],c=s,vN(t,e,t.oi(e,c)),a=o,t.gi(e,c,a),t.rk()&&(i=n,r=t.dj(i,null),!$z(s,49).eh()&&(r=t.cj(c,r)),r&&r.Fi()),wO(t.e)&&Oy(t,t.Zi(9,n,s,e,!1)),s):n}function GIt(t,e){var n,i,r;for(n=new Kd(t.a.a);n.a<n.c.c.length;)$z(Z1(n),189).g=!0;for(r=new Kd(t.a.b);r.a<r.c.c.length;)(i=$z(Z1(r),81)).k=zv(kB(t.e.Kb(new nM(i,e)))),i.d.g=i.d.g&zv(kB(t.e.Kb(new nM(i,e))));return t}function qIt(t){var e,n,i,r,a;if(n=new XR(e=$z(Yk(DMe),9),$z(Ej(e,e.length),9),0),a=$z(yTt(t,(uWt(),xfe)),10))for(r=new Kd(a.j);r.a<r.c.c.length;)HM(yTt(i=$z(Z1(r),11),dfe))===HM(t)&&UD(new w6(i.b))&&srt(n,i.j);return n}function KIt(t,e,n){var i,r,a,o;if(!t.d[n.p]){for(i=new oq(QN(hdt(n).a.Kc(),new l));gOt(i);){for(a=new oq(QN(ldt(o=$z(G5(i),17).d.i).a.Kc(),new l));gOt(a);)(r=$z(G5(a),17)).c.i==e&&(t.a[r.p]=!0);KIt(t,e,o)}t.d[n.p]=!0}}function YIt(t,e){var n,i,r,a,o,s,c;if(1==(i=bdt(254&t.Db)))t.Eb=null;else if(a=ent(t.Eb),2==i)r=Bmt(t,e),t.Eb=a[0==r?1:0];else{for(o=N8(Ite,zWt,1,i-1,5,1),n=2,s=0,c=0;n<=128;n<<=1)n==e?++s:t.Db&n&&(o[c++]=a[s++]);t.Eb=o}t.Db&=~e}function WIt(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new tK(jOe,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(n=$z(Yet(i,r),170),DW($9(t,n))){case 4:case 5:case 6:!a&&(a=new Lw),a.c[a.c.length]=n}return a||(EV(),EV(),cne)}function XIt(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=v6t}return e}function VIt(t,e,n,i,r){var a,o,s,c;if(HM(t)!==HM(e)||i!=r)for(s=0;s<i;s++){for(o=0,a=t[s],c=0;c<r;c++)o=idt(idt(rdt(t0(a,qVt),t0(e[c],qVt)),t0(n[s+c],qVt)),t0(dG(o),qVt)),n[s+c]=dG(o),o=vq(o,32);n[s+r]=dG(o)}else A$t(t,i,n)}function QIt(t){var e,n,r,a,o,s,c,u,l,h,f;for(h=0,l=0,c=(a=t.a).a.gc(),r=a.a.ec().Kc();r.Ob();)(n=$z(r.Pb(),561)).b&&Wzt(n),h+=(f=(e=n.a).a)+(s=e.b),l+=f*s;return u=i.Math.sqrt(400*c*l-4*l+h*h)+h,0==(o=2*(100*c-1))?u:u/o}function ZIt(t,e){0!=e.b&&(isNaN(t.s)?t.s=Hv((TP(0!=e.b),_B(e.a.a.c))):t.s=i.Math.min(t.s,Hv((TP(0!=e.b),_B(e.a.a.c)))),isNaN(t.c)?t.c=Hv((TP(0!=e.b),_B(e.c.b.c))):t.c=i.Math.max(t.c,Hv((TP(0!=e.b),_B(e.c.b.c)))))}function JIt(t){var e,n,i;for(e=null,n=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c)])));gOt(n);)if(i=CEt($z(G5(n),82)),e){if(e!=VZ(i))return!0}else e=VZ(i);return!1}function tOt(t,e){var n,i,r,a;t.ej()?(n=t.i,a=t.fj(),i6(t,e),i=t.Zi(3,null,e,n,a),t.bj()?(r=t.cj(e,null),t.ij()&&(r=t.jj(e,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(i6(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi())}function eOt(t,e,n){var i,r,a;t.ej()?(a=t.fj(),++t.j,t.Hi(e,t.oi(e,n)),i=t.Zi(3,null,n,e,a),t.bj()&&(r=t.cj(n,null))?(r.Ei(i),r.Fi()):t.$i(i)):(++t.j,t.Hi(e,t.oi(e,n)),t.bj()&&(r=t.cj(n,null))&&r.Fi())}function nOt(t){var e,n,i,r;for(r=t.length,e=null,i=0;i<r;i++)h1(i,t.length),HI(".*+?{[()|\\^$",VEt(n=t.charCodeAt(i)))>=0?(e||(e=new Tx,i>0&&iI(e,t.substr(0,i))),e.a+="\\",LY(e,n&XXt)):e&&LY(e,n&XXt);return e?e.a:t}function iOt(t){var e;if(!t.a)throw Fw(new Rv("IDataType class expected for layout option "+t.f));if(null==(e=S3(t.a)))throw Fw(new Rv("Couldn't create new instance of property '"+t.f+"'. "+i5t+(xB(lOe),lOe.k)+r5t));return $z(e,414)}function rOt(t){var e,n,i,r,a;return(a=t.eh())&&a.kh()&&(r=tht(t,a))!=a?(n=t.Vg(),i=(e=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-e,null,null),t.Rg($z(r,49),n),i&&i.Fi(),t.Lg()&&t.Mg()&&n>-1&&fot(t,new Zq(t,9,n,a,r)),r):a}function aOt(t){var e,n,i,r,a,o,s;for(a=0,r=t.f.e,n=0;n<r.c.length;++n)for(l1(n,r.c.length),o=$z(r.c[n],144),i=n+1;i<r.c.length;++i)l1(i,r.c.length),s=$z(r.c[i],144),e=K8(o.d,s.d)-t.a[o.b][s.b],a+=t.i[o.b][s.b]*e*e;return a}function oOt(t,e){var n;if(!OP(e,(zYt(),mbe))&&(n=kxt($z(yTt(e,tue),360),$z(yTt(t,mbe),163)),uct(e,tue,n),!gOt(new oq(QN(udt(e).a.Kc(),new l)))))switch(n.g){case 1:uct(e,mbe,(_dt(),Rfe));break;case 2:uct(e,mbe,(_dt(),Ffe))}}function sOt(t,e){var n;yjt(t),t.a=(n=new ox,VE(new PU(null,new f1(e.d,16)),new Ap(n)),n),EPt(t,$z(yTt(e.b,(zYt(),ebe)),376)),vyt(t),MOt(t),Oxt(t),xyt(t),xUt(t,e),VE(ftt(new PU(null,X0(EY(t.b).a)),new Wr),new Xr),e.a=!1,t.a=null}function cOt(){gTt.call(this,m6t,(Jk(),dIe)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function uOt(){uOt=I,eOe=new _M(U1t,0),ZIe=new _M("INSIDE_SELF_LOOPS",1),JIe=new _M("MULTI_EDGES",2),QIe=new _M("EDGE_LABELS",3),tOe=new _M("PORTS",4),XIe=new _M("COMPOUND",5),WIe=new _M("CLUSTERS",6),VIe=new _M("DISCONNECTED",7)}function lOt(t,e){var n,i,r;if(0==e)return!!(1&t.a[0]);if(e<0)throw Fw(new Av("Negative bit address"));if((r=e>>5)>=t.d)return t.e<0;if(n=t.a[r],e=1<<(31&e),t.e<0){if(r<(i=Sat(t)))return!1;n=i==r?-n:~n}return!!(n&e)}function hOt(t,e,n,i){var r;$z(n.b,65),$z(n.b,65),$z(i.b,65),$z(i.b,65),LH(r=qj($L($z(n.b,65).c),$z(i.b,65).c),zAt($z(n.b,65),$z(i.b,65),r)),$z(i.b,65),$z(i.b,65),$z(i.b,65).c.a,r.a,$z(i.b,65).c.b,r.b,$z(i.b,65),Met(i.a,new kz(t,e,i))}function fOt(t,e){var n,i,r,a,o,s,c;if(a=e.e)for(n=rOt(a),i=$z(t.g,674),o=0;o<t.i;++o)if(Hyt(c=i[o])==n&&(!c.d&&(c.d=new IN(KOe,c,1)),r=c.d,(s=$z(n.ah(pRt(a,a.Cb,a.Db>>16)),15).Xc(a))<r.i))return fOt(t,$z(Yet(r,s),87));return e}function dOt(t,e,n){var i,r=TWt,a=r[t],o=a instanceof Array?a[0]:null;a&&!o?EWt=a:(!(i=e&&e.prototype)&&(i=TWt[e]),(EWt=zZ(i)).hm=n,!e&&(EWt.im=M),r[t]=EWt);for(var s=3;s<arguments.length;++s)arguments[s].prototype=EWt;o&&(EWt.gm=o)}function gOt(t){for(var e;!$z(yY(t.a),47).Ob();){if(t.d=sut(t),!t.d)return!1;if(t.a=$z(t.d.Pb(),47),iN(t.a,39)){if(e=$z(t.a,39),t.a=e.a,!t.b&&(t.b=new Ow),d3(t.b,t.d),e.b)for(;!Kv(e.b);)d3(t.b,$z(gK(e.b),47));t.d=e.d}}return!0}function pOt(t,e){var n,i,r,a;for(r=null==e?0:t.b.se(e),n=t.a.get(r)??new Array,a=0;a<n.length;a++)if(i=n[a],t.b.re(e,i.cd()))return 1==n.length?(n.length=0,bj(t.a,r)):n.splice(a,1),--t.c,oQ(t.b),i.dd();return null}function bOt(t,e){var n,i,r,a;for(r=1,e.j=!0,a=null,i=new Kd(vdt(e));i.a<i.c.c.length;)n=$z(Z1(i),213),t.c[n.c]||(t.c[n.c]=!0,a=Ndt(n,e),n.f?r+=bOt(t,a):!a.j&&n.a==n.e.e-n.d.e&&(n.f=!0,kK(t.p,n),r+=bOt(t,a)));return r}function wOt(t){var e,n,r;for(n=new Kd(t.a.a.b);n.a<n.c.c.length;)e=$z(Z1(n),81),mW(0),(r=0)>0&&(!(dO(t.a.c)&&e.n.d)&&!(gO(t.a.c)&&e.n.b)&&(e.g.d+=i.Math.max(0,r/2-.5)),(!dO(t.a.c)||!e.n.a)&&(!gO(t.a.c)||!e.n.c)&&(e.g.a-=r-1))}function yOt(t){var e,n,r,a,o;if(o=j$t(t,a=new Lw),e=$z(yTt(t,(uWt(),xfe)),10))for(r=new Kd(e.j);r.a<r.c.c.length;)HM(yTt(n=$z(Z1(r),11),dfe))===HM(t)&&(o=i.Math.max(o,j$t(n,a)));return 0==a.c.length||uct(t,hfe,o),-1!=o?a:null}function mOt(t,e,n){var i,r,a,o,s,c;r=(i=(a=$z(NU(e.e,0),17).c).i).k,s=(o=(c=$z(NU(n.g,0),17).d).i).k,r==(oCt(),Cse)?uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)):uct(t,(uWt(),cfe),a),uct(t,(uWt(),ufe),s==Cse?$z(yTt(o,ufe),11):c)}function vOt(t,e){var n,i,r,a;for(n=(a=dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))))&t.b.length-1,r=null,i=t.b[n];i;r=i,i=i.a)if(i.d==a&&fW(i.i,e))return r?r.a=i.a:t.b[n]=i.a,mx(i.c,i.f),ey(i.b,i.e),--t.f,++t.e,!0;return!1}function xOt(t,e){var n,i,r,a,o;return e&=63,(i=!!((n=t.h)&SVt))&&(n|=-1048576),e<22?(o=n>>e,a=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=i?CVt:0,a=n>>e-22,r=t.m>>e-22|n<<44-e):(o=i?CVt:0,a=i?TVt:0,r=n>>e-44),_L(r&TVt,a&TVt,o&CVt)}function kOt(t){var e,n,r,a,o,s;for(this.c=new Lw,this.d=t,r=BVt,a=BVt,e=jVt,n=jVt,s=cwt(t,0);s.b!=s.d.c;)o=$z(h3(s),8),r=i.Math.min(r,o.a),a=i.Math.min(a,o.b),e=i.Math.max(e,o.a),n=i.Math.max(n,o.b);this.a=new GX(r,a,e-r,n-a)}function _Ot(t,e){var n,i,r,a;for(i=new Kd(t.b);i.a<i.c.c.length;)for(a=new Kd($z(Z1(i),29).a);a.a<a.c.c.length;)for((r=$z(Z1(a),10)).k==(oCt(),Tse)&&uFt(r,e),n=new oq(QN(hdt(r).a.Kc(),new l));gOt(n);)wst($z(G5(n),17),e)}function EOt(t){var e,n,i;this.c=t,i=$z(yTt(t,(zYt(),Gpe)),103),e=Hv(_B(yTt(t,xpe))),n=Hv(_B(yTt(t,Bwe))),i==($ht(),RSe)||i==$Se||i==FSe?this.b=e*n:this.b=1/(e*n),this.j=Hv(_B(yTt(t,Mwe))),this.e=Hv(_B(yTt(t,Awe))),this.f=t.b.c.length}function TOt(t){var e,n;for(t.e=N8(ADe,uVt,25,t.p.c.length,15,1),t.k=N8(ADe,uVt,25,t.p.c.length,15,1),n=new Kd(t.p);n.a<n.c.c.length;)e=$z(Z1(n),10),t.e[e.p]=R3(new oq(QN(ldt(e).a.Kc(),new l))),t.k[e.p]=R3(new oq(QN(hdt(e).a.Kc(),new l)))}function COt(t){var e,n,i,r,a;for(i=0,t.q=new Lw,e=new Py,a=new Kd(t.p);a.a<a.c.c.length;){for((r=$z(Z1(a),10)).p=i,n=new oq(QN(hdt(r).a.Kc(),new l));gOt(n);)kK(e,$z(G5(n),17).d.i);e.a.Bc(r),Kz(t.q,new IU(e)),e.a.$b(),++i}}function SOt(){SOt=I,Axe=new KO(20),Sxe=new qO((cWt(),qCe),Axe),Nxe=new qO(OSe,20),vxe=new qO(iCe,gJt),Ixe=new qO(pSe,nft(1)),Lxe=new qO(mSe,(cD(),!0)),xxe=lCe,_xe=BCe,Exe=$Ce,Txe=zCe,kxe=DCe,Cxe=GCe,Mxe=uSe,Bot(),Dxe=yxe,Oxe=bxe}function AOt(t,e){var n,i,r,a,o,s,c,u,l;if(t.a.f>0&&iN(e,42)&&(t.a.qj(),a=null==(c=(u=$z(e,42)).cd())?0:Jct(c),o=tj(t.a,a),n=t.a.d[o]))for(i=$z(n.g,367),l=n.i,s=0;s<l;++s)if((r=i[s]).Sh()==a&&r.Fb(u))return AOt(t,u),!0;return!1}function MOt(t){var e,n,i,r;for(r=$z(c6(t.a,(L_t(),Tue)),15).Kc();r.Ob();)eY(t,i=$z(r.Pb(),101),(n=(e=gq(i.k)).Hc((vKt(),cMe))?e.Hc(sMe)?e.Hc(TMe)?e.Hc(SMe)?null:Iue:Lue:Oue:Mue)[0],(Srt(),Due),0),eY(t,i,n[1],Pue,1),eY(t,i,n[2],Bue,1)}function IOt(t,e){var n,i;QPt(t,e,n=yRt(e)),nEt(t.a,$z(yTt(bW(e.b),(uWt(),Efe)),230)),f$t(t),P_t(t,e),i=N8(ADe,uVt,25,e.b.j.c.length,15,1),cqt(t,e,(vKt(),cMe),i,n),cqt(t,e,sMe,i,n),cqt(t,e,TMe,i,n),cqt(t,e,SMe,i,n),t.a=null,t.c=null,t.b=null}function OOt(){OOt=I,Tdt(),o_e=new II(k4t,s_e=Jke),r_e=new II(_4t,(cD(),!0)),nft(-1),e_e=new II(E4t,nft(-1)),nft(-1),n_e=new II(T4t,nft(-1)),a_e=new II(C4t,!1),c_e=new II(S4t,!0),i_e=new II(A4t,!1),u_e=new II(M4t,-1)}function LOt(t,e,n){switch(e){case 7:return!t.e&&(t.e=new cR(BIe,t,7,4)),cUt(t.e),!t.e&&(t.e=new cR(BIe,t,7,4)),void pY(t.e,$z(n,14));case 8:return!t.d&&(t.d=new cR(BIe,t,8,5)),cUt(t.d),!t.d&&(t.d=new cR(BIe,t,8,5)),void pY(t.d,$z(n,14))}Gkt(t,e,n)}function NOt(t,e){var n,i,r,a,o;if(HM(e)===HM(t))return!0;if(!iN(e,15)||(o=$z(e,15),t.gc()!=o.gc()))return!1;for(a=o.Kc(),i=t.Kc();i.Ob();)if(n=i.Pb(),r=a.Pb(),!(HM(n)===HM(r)||null!=n&&Nht(n,r)))return!1;return!0}function DOt(t,e){var n,i,r,a;for((a=$z(T4(ftt(ftt(new PU(null,new f1(e.b,16)),new jn),new Rn),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15)).Jc(new $n),n=0,r=a.Kc();r.Ob();)-1==(i=$z(r.Pb(),11)).p&&$Ot(t,i,n++)}function POt(t){switch(t.g){case 0:return new Th;case 1:return new uh;case 2:return new ch;case 3:return new vM;case 4:return new jG;default:throw Fw(new jv("No implementation is available for the node placer "+(null!=t.f?t.f:""+t.g)))}}function BOt(t){switch(t.g){case 0:return new BG;case 1:return new hh;case 2:return new eh;case 3:return new nh;case 4:return new kM;default:throw Fw(new jv("No implementation is available for the cycle breaker "+(null!=t.f?t.f:""+t.g)))}}function jOt(){jOt=I,wke=new II(o4t,nft(0)),yke=new II(s4t,0),zut(),dke=new II(c4t,gke=cke),nft(0),fke=new II(u4t,nft(1)),Fat(),mke=new II(l4t,vke=Kke),D7(),xke=new II(h4t,kke=ake),Mmt(),pke=new II(f4t,bke=Hke)}function ROt(t,e,n){var i;i=null,e&&(i=e.d),Vkt(t,new dS(e.n.a-i.b+n.a,e.n.b-i.d+n.b)),Vkt(t,new dS(e.n.a-i.b+n.a,e.n.b+e.o.b+i.a+n.b)),Vkt(t,new dS(e.n.a+e.o.a+i.c+n.a,e.n.b-i.d+n.b)),Vkt(t,new dS(e.n.a+e.o.a+i.c+n.a,e.n.b+e.o.b+i.a+n.b))}function $Ot(t,e,n){var i,r,a;for(e.p=n,a=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[new Fg(e),new Hg(e)])));gOt(a);)-1==(i=$z(G5(a),11)).p&&$Ot(t,i,n);if(e.i.k==(oCt(),Cse))for(r=new Kd(e.i.j);r.a<r.c.c.length;)(i=$z(Z1(r),11))!=e&&-1==i.p&&$Ot(t,i,n)}function FOt(t){var e,n,r,a,o;if(a=$z(T4(IJ(r1(t)),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15),r=ZZt,a.gc()>=2)for(e=_B((n=a.Kc()).Pb());n.Ob();)o=e,e=_B(n.Pb()),r=i.Math.min(r,(mW(e),e-(mW(o),o)));return r}function zOt(t,e){var n,i,r,a,o;n5(i=new XE,e,i.c.b,i.c);do{for(TP(0!=i.b),n=$z(Iet(i,i.a.a),86),t.b[n.g]=1,a=cwt(n.d,0);a.b!=a.d.c;)o=(r=$z(h3(a),188)).c,1==t.b[o.g]?DH(t.a,r):2==t.b[o.g]?t.b[o.g]=1:n5(i,o,i.c.b,i.c)}while(0!=i.b)}function HOt(t,e){var n,i,r;if(HM(e)===HM(yY(t)))return!0;if(!iN(e,15)||(i=$z(e,15),(r=t.gc())!=i.gc()))return!1;if(iN(i,54)){for(n=0;n<r;n++)if(!fW(t.Xb(n),i.Xb(n)))return!1;return!0}return qyt(t.Kc(),i.Kc())}function UOt(t,e){var n;if(0!=t.c.length){if(2==t.c.length)uFt((l1(0,t.c.length),$z(t.c[0],10)),(Kvt(),xAe)),uFt((l1(1,t.c.length),$z(t.c[1],10)),kAe);else for(n=new Kd(t);n.a<n.c.c.length;)uFt($z(Z1(n),10),e);t.c=N8(Ite,zWt,1,0,5,1)}}function GOt(t){var e,n;if(2!=t.c.length)throw Fw(new Rv("Order only allowed for two paths."));l1(0,t.c.length),e=$z(t.c[0],17),l1(1,t.c.length),n=$z(t.c[1],17),e.d.i!=n.c.i&&(t.c=N8(Ite,zWt,1,0,5,1),t.c[t.c.length]=n,t.c[t.c.length]=e)}function qOt(t,e){var n,i,r,a,o;for(i=new b4,a=E4(new Vv(t.g)).a.ec().Kc();a.Ob();){if(!(r=$z(a.Pb(),10))){AH(e,"There are no classes in a balanced layout.");break}(n=$z(ltt(i,o=t.j[r.p]),15))||Qbt(i,o,n=new Lw),n.Fc(r)}return i}function KOt(t,e,n){var i,r,a,o;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);r.Ob();)(a=N2(n,$z(r.Pb(),19).a))&&(o=jnt(P2(a,M6t),e),YW(t.f,o,a),H6t in a.a&&Oit(o,P2(a,H6t)),TEt(a,o),MAt(a,o))}function YOt(t,e){var n,i,r;for(MEt(e,"Port side processing",1),r=new Kd(t.a);r.a<r.c.c.length;)rzt($z(Z1(r),10));for(n=new Kd(t.b);n.a<n.c.c.length;)for(i=new Kd($z(Z1(n),29).a);i.a<i.c.c.length;)rzt($z(Z1(i),10));zCt(e)}function WOt(t,e,n){var i,r,a,o,s;if(!(r=t.f)&&(r=$z(t.a.a.ec().Kc().Pb(),57)),$xt(r,e,n),1!=t.a.a.gc())for(i=e*n,o=t.a.a.ec().Kc();o.Ob();)(a=$z(o.Pb(),57))!=r&&((s=u3(a)).f.d?(a.d.d+=i+lZt,a.d.a-=i+lZt):s.f.a&&(a.d.a-=i+lZt))}function XOt(t,e,n,r,a){var o,s,c,u,l,h,f,d,g;return s=n-t,c=r-e,u=(o=i.Math.atan2(s,c))+QZt,l=o-QZt,h=a*i.Math.sin(u)+t,d=a*i.Math.cos(u)+e,f=a*i.Math.sin(l)+t,g=a*i.Math.cos(l)+e,a6(Cst(Hx(TTe,1),cXt,8,0,[new NA(h,d),new NA(f,g)]))}function VOt(t,e,n,r){var a,o,s,c,u,l,h,f;a=n,o=h=e;do{o=t.a[o.p],f=t.g[o.p],c=Hv(t.p[f.p])+Hv(t.d[o.p])-o.d.d,(u=Iit(o,r))&&(l=t.g[u.p],s=Hv(t.p[l.p])+Hv(t.d[u.p])+u.o.b+u.d.a,a=i.Math.min(a,c-(s+BL(t.k,o,u))))}while(h!=o);return a}function QOt(t,e,n,r){var a,o,s,c,u,l,h,f;a=n,o=h=e;do{o=t.a[o.p],f=t.g[o.p],s=Hv(t.p[f.p])+Hv(t.d[o.p])+o.o.b+o.d.a,(u=Rst(o,r))&&(l=t.g[u.p],c=Hv(t.p[l.p])+Hv(t.d[u.p])-u.d.d,a=i.Math.min(a,c-(s+BL(t.k,o,u))))}while(h!=o);return a}function ZOt(t,e){var n;return!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),rpt(t.o,e)??(iN(n=e.wg(),4)&&(null==n?(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),Ypt(t.o,e)):(!t.o&&(t.o=new y7((SYt(),_Ie),YIe,t,0)),wkt(t.o,e,n))),n)}function JOt(){JOt=I,AAe=new HA("H_LEFT",0),SAe=new HA("H_CENTER",1),IAe=new HA("H_RIGHT",2),PAe=new HA("V_TOP",3),DAe=new HA("V_CENTER",4),NAe=new HA("V_BOTTOM",5),OAe=new HA("INSIDE",6),LAe=new HA("OUTSIDE",7),MAe=new HA("H_PRIORITY",8)}function tLt(t){var e,n,i,r,a,o,s;if((e=t.Hh(W7t))&&null!=(s=EB(rpt((!e.b&&(e.b=new VP((pWt(),yLe),GLe,e)),e.b),"settingDelegates")))){for(n=new Lw,a=0,o=(r=vRt(s,"\\w+")).length;a<o;++a)i=r[a],n.c[n.c.length]=i;return n}return EV(),EV(),cne}function eLt(t,e){var n,i,r,a,o,s,c;if(!e.f)throw Fw(new jv("The input edge is not a tree edge."));for(a=null,r=PWt,i=new Kd(t.d);i.a<i.c.c.length;)s=(n=$z(Z1(i),213)).d,c=n.e,$At(t,s,e)&&!$At(t,c,e)&&(o=c.e-s.e-n.a)<r&&(r=o,a=n);return a}function nLt(t){var e,n,i,r,a,o;if(!(t.f.e.c.length<=1)){e=0,r=aOt(t),n=BVt;do{for(e>0&&(r=n),o=new Kd(t.f.e);o.a<o.c.c.length;)!zv(kB(yTt(a=$z(Z1(o),144),(ixt(),yoe))))&&(i=Z$t(t,a),Gj(mI(a.d),i));n=aOt(t)}while(!VY(t,e++,r,n))}}function iLt(t,e){var n,i,r;for(MEt(e,"Layer constraint preprocessing",1),n=new Lw,r=new _2(t.a,0);r.b<r.d.gc();)TP(r.b<r.d.gc()),Yst(i=$z(r.d.Xb(r.c=r.b++),10))&&(rEt(i),n.c[n.c.length]=i,uW(r));0==n.c.length||uct(t,(uWt(),Zhe),n),zCt(e)}function rLt(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new Kd(t.d);i.a<i.c.c.length;)r=(n=$z(Z1(i),70)).n,t.a==(Mst(),yue)||t.i==(vKt(),sMe)?r.a=a:t.a==mue||t.i==(vKt(),SMe)?r.a=a+t.j.a-n.o.a:r.a=a+(t.j.a-n.o.a)/2,r.b=o,Gj(r,e),o+=n.o.b+t.e}function aLt(t,e,n){var i,r,a,o;for(MEt(n,"Processor set coordinates",1),t.a=0==e.b.b?1:e.b.b,a=null,i=cwt(e.b,0);!a&&i.b!=i.d.c;)zv(kB(yTt(o=$z(h3(i),86),(HUt(),dxe))))&&(a=o,(r=o.e).a=$z(yTt(o,gxe),19).a,r.b=0);RCt(t,Dst(a),yat(n,1)),zCt(n)}function oLt(t,e,n){var i,r,a;for(MEt(n,"Processor determine the height for each level",1),t.a=0==e.b.b?1:e.b.b,r=null,i=cwt(e.b,0);!r&&i.b!=i.d.c;)zv(kB(yTt(a=$z(h3(i),86),(HUt(),dxe))))&&(r=a);r&&ZPt(t,a6(Cst(Hx(Uve,1),tJt,86,0,[r])),n),zCt(n)}function sLt(t,e){var n,i,r,a,o;(a=D2(t,"individualSpacings"))&&(!T8(e,(cWt(),CSe))&&(n=new Zs,Vwt(e,CSe,n)),r=$z(ZOt(e,CSe),373),i=null,(o=a)&&(i=new kE(o,xrt(o,N8(zee,cXt,2,0,6,1)))),i&&t5(i,new dM(o,r)))}function cLt(t,e){var n,i,r,a,o,s;return a=null,(Q6t in(o=t).a||Z6t in o.a||P6t in o.a)&&(s=Hst(e),i=D2(o,Q6t),Mgt(new Fb(s).a,i),r=D2(o,Z6t),Agt(new Vb(s).a,r),n=L2(o,P6t),C_t(new Jb(s).a,n),a=n),a}function uLt(t,e){var n,i,r;if(e===t)return!0;if(iN(e,543)){if(r=$z(e,835),t.a.d!=r.a.d||xX(t).gc()!=xX(r).gc())return!1;for(i=xX(r).Kc();i.Ob();)if(i1(t,(n=$z(i.Pb(),416)).a.cd())!=$z(n.a.dd(),14).gc())return!1;return!0}return!1}function lLt(t){var e,n,i,r;return e=i=$z(t.a,19).a,n=r=$z(t.b,19).a,0==i&&0==r?n-=1:-1==i&&r<=0?(e=0,n-=2):i<=0&&r>0?(e-=1,n-=1):i>=0&&r<0?(e+=1,n+=1):i>0&&r>=0?(e-=1,n+=1):(e+=1,n-=1),new nM(nft(e),nft(n))}function hLt(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?Jct(t.a)-Jct(e.a):t.d==(W4(),zme)&&e.d==Fme?-1:t.d==Fme&&e.d==zme?1:0}function fLt(t,e){var n,i,r,a,o;return o=(a=e.a).c.i==e.b?a.d:a.c,i=a.c.i==e.b?a.c:a.d,(r=Ggt(t.a,o,i))>0&&r<ZZt?(n=VOt(t.a,i.i,r,t.c),int(t.a,i.i,-n),n>0):r<0&&-r<ZZt&&(n=QOt(t.a,i.i,-r,t.c),int(t.a,i.i,n),n>0)}function dLt(t,e,n,i){var r,a,o,s,c,u;for(r=(e-t.d)/t.c.c.length,a=0,t.a+=n,t.d=e,u=new Kd(t.c);u.a<u.c.c.length;)s=(c=$z(Z1(u),33)).g,o=c.f,Cnt(c,c.i+a*r),Snt(c,c.j+i*n),Tnt(c,c.g+r),Ent(c,t.a),++a,hAt(c,new NA(c.g,c.f),new NA(s,o))}function gLt(t){var e,n,i,r,a,o,s;if(null==t)return null;for(s=t.length,o=N8(ODe,w6t,25,r=(s+1)/2|0,15,1),s%2!=0&&(o[--r]=ZBt((h1(s-1,t.length),t.charCodeAt(s-1)))),n=0,i=0;n<r;++n)e=ZBt(uX(t,i++)),a=ZBt(uX(t,i++)),o[n]=(e<<4|a)<<24>>24;return o}function pLt(t){if(t.pe()){var e=t.c;return e.qe()?t.o="["+e.n:e.pe()?t.o="["+e.ne():t.o="[L"+e.ne()+";",t.b=e.me()+"[]",void(t.k=e.oe()+"[]")}var n=t.j,i=t.d;i=i.split("/"),t.o=$pt(".",[n,$pt("$",i)]),t.b=$pt(".",[n,$pt(".",i)]),t.k=i[i.length-1]}function bLt(t,e){var n,i,r,a,o;for(o=null,a=new Kd(t.e.a);a.a<a.c.c.length;)if((r=$z(Z1(a),121)).b.a.c.length==r.g.a.c.length){for(i=r.e,o=eSt(r),n=r.e-$z(o.a,19).a+1;n<r.e+$z(o.b,19).a;n++)e[n]<e[i]&&(i=n);e[i]<e[r.e]&&(--e[r.e],++e[i],r.e=i)}}function wLt(t){var e,n,r,a,o,s,c;for(r=BVt,n=jVt,e=new Kd(t.e.b);e.a<e.c.c.length;)for(o=new Kd($z(Z1(e),29).a);o.a<o.c.c.length;)a=$z(Z1(o),10),s=(c=Hv(t.p[a.p]))+Hv(t.b[t.g[a.p].p]),r=i.Math.min(r,c),n=i.Math.max(n,s);return n-r}function yLt(t,e,n,i){var r,a,o,s,c;for(s=0,c=(r=xRt(t,e)).gc();s<c;++s)if(wR(i,mX($9(t,a=$z(r.Xb(s),170)))))if(o=vX($9(t,a)),null==n){if(null==o)return a}else if(wR(n,o))return a;return null}function mLt(t,e,n,i){var r,a,o,s,c;for(s=0,c=(r=kRt(t,e)).gc();s<c;++s)if(wR(i,mX($9(t,a=$z(r.Xb(s),170)))))if(o=vX($9(t,a)),null==n){if(null==o)return a}else if(wR(n,o))return a;return null}function vLt(t,e,n){var i,r,a,o,s,c;if(o=new bc,s=aPt(t.e.Tg(),e),i=$z(t.g,119),QT(),$z(e,66).Oj())for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&u7(o,r);else for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&(c=r.dd(),u7(o,n?$Mt(t,e,a,o.i,c):c));return L3(o)}function xLt(t,e){var n,i,r,a;for(n=new zdt(ile),OSt(),r=0,a=(i=Cst(Hx(ile,1),OXt,227,0,[Zue,tle,Que,Jue,ele,Vue])).length;r<a;++r)fj(n,i[r],new Lw);return VE(IX(MX(ftt(new PU(null,new f1(t.b,16)),new Jn),new ti),new cp(e)),new up(n)),n}function kLt(t,e,n){var r,a,o,s,c,u,l,h;for(o=e.Kc();o.Ob();)u=(a=$z(o.Pb(),33)).i+a.g/2,h=a.j+a.f/2,c=u-((s=t.f).i+s.g/2),l=h-(s.j+s.f/2),r=i.Math.sqrt(c*c+l*l),c*=t.e/r,l*=t.e/r,n?(u-=c,h-=l):(u+=c,h+=l),Cnt(a,u-a.g/2),Snt(a,h-a.f/2)}function _Lt(t){var e,n,i;if(!t.c&&null!=t.b){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(i=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=i,i=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=i);t.c=!0}}function ELt(t,e){var n,i,r,a,o,s,c;for(a=(1==e?Koe:qoe).a.ec().Kc();a.Ob();)for(r=$z(a.Pb(),103),s=$z(c6(t.f.c,r),21).Kc();s.Ob();)switch(o=$z(s.Pb(),46),i=$z(o.b,81),c=$z(o.a,189),n=c.c,r.g){case 2:case 1:i.g.d+=n;break;case 4:case 3:i.g.c+=n}}function TLt(t,e){var n,i,r,a,o,s,c,u,l;for(u=-1,l=0,s=0,c=(o=t).length;s<c;++s){for(a=o[s],n=new mH(-1==u?t[0]:t[u],e,(Elt(),oye)),i=0;i<a.length;i++)for(r=i+1;r<a.length;r++)OP(a[i],(uWt(),ffe))&&OP(a[r],ffe)&&lYt(n,a[i],a[r])>0&&++l;++u}return l}function CLt(t){var e;return(e=new lD(Zk(t.gm))).a+="@",oI(e,(Jct(t)>>>0).toString(16)),t.kh()?(e.a+=" (eProxyURI: ",aI(e,t.qh()),t.$g()&&(e.a+=" eClass: ",aI(e,t.$g())),e.a+=")"):t.$g()&&(e.a+=" (eClass: ",aI(e,t.$g()),e.a+=")"),e.a}function SLt(t){var e,n,i;if(t.e)throw Fw(new Rv((xB(fie),IQt+fie.k+OQt)));for(t.d==($ht(),FSe)&&_qt(t,RSe),n=new Kd(t.a.a);n.a<n.c.c.length;)(e=$z(Z1(n),307)).g=e.i;for(i=new Kd(t.a.b);i.a<i.c.c.length;)$z(Z1(i),57).i=jVt;return t.b.Le(t),t}function ALt(t,e){var n,i,r,a,o;if(e<2*t.b)throw Fw(new jv("The knot vector must have at least two time the dimension elements."));for(t.f=1,r=0;r<t.b;r++)Kz(t.e,0);for(n=o=e+1-2*t.b,a=1;a<o;a++)Kz(t.e,a/n);if(t.d)for(i=0;i<t.b;i++)Kz(t.e,1)}function MLt(t,e){var n,i,r,a,o;if(a=e,!(o=$z(qit(TY(t.i),a),33)))throw Fw(new tx("Unable to find elk node for json object '"+P2(a,H6t)+"' Panic!"));i=L2(a,"edges"),LMt((n=new aM(t,o)).a,n.b,i),r=L2(a,I6t),Pxt(new Lb(t).a,r)}function ILt(t,e,n,i){var r,a,o,s,c;if(null!=i){if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if((o=$z(a[s],133)).Sh()==n&&Nht(i,o.cd()))return s}else if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if(HM((o=$z(a[s],133)).cd())===HM(i))return s;return-1}function OLt(t,e){var n,i;return iN(n=null==e?zM(MQ(t.f,null)):cC(t.g,e),235)?((i=$z(n,235)).Qh(),i):iN(n,498)?((i=$z(n,1938).a)&&(null==i.yb||(null==e?xAt(t.f,null,i):odt(t.g,e,i))),i):null}function LLt(t){var e,n,i,r,a,o,s;if(jBt(),null==t||(r=t.length)%2!=0)return null;for(e=Y9(t),n=N8(ODe,w6t,25,a=r/2|0,15,1),i=0;i<a;i++){if(-1==(o=YNe[e[2*i]])||-1==(s=YNe[e[2*i+1]]))return null;n[i]=(o<<4|s)<<24>>24}return n}function NLt(t,e,n){var i,r,a;if(!(r=$z(oX(t.i,e),306)))if(r=new det(t.d,e,n),wG(t.i,e,r),abt(e))xN(t.a,e.c,e.b,r);else switch(a=LSt(e),i=$z(oX(t.p,a),244),a.g){case 1:case 3:r.j=!0,vv(i,e.b,r);break;case 4:case 2:r.k=!0,vv(i,e.c,r)}return r}function DLt(t,e,n,i){var r,a,o,s,c,u;if(s=new bc,c=aPt(t.e.Tg(),e),r=$z(t.g,119),QT(),$z(e,66).Oj())for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&u7(s,a);else for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&(u=a.dd(),u7(s,i?$Mt(t,e,o,s.i,u):u));return Xgt(s,n)}function PLt(t,e){var n,r,a,o,s,c;if((r=t.b[e.p])>=0)return r;for(a=1,o=new Kd(e.j);o.a<o.c.c.length;)for(n=new Kd($z(Z1(o),11).g);n.a<n.c.c.length;)e!=(c=$z(Z1(n),17).d.i)&&(s=PLt(t,c),a=i.Math.max(a,s+1));return ngt(t,e,a),a}function BLt(t,e,n){var i,r,a;for(i=1;i<t.c.length;i++){for(l1(i,t.c.length),a=$z(t.c[i],10),r=i;r>0&&e.ue((l1(r-1,t.c.length),$z(t.c[r-1],10)),a)>0;)i5(t,r,(l1(r-1,t.c.length),$z(t.c[r-1],10))),--r;l1(r,t.c.length),t.c[r]=a}n.a=new Nw,n.b=new Nw}function jLt(t,e,n){var i,r,a,o,s,c,u;for(u=new XR(i=$z(e.e&&e.e(),9),$z(Ej(i,i.length),9),0),o=0,s=(a=vRt(n,"[\\[\\]\\s,]+")).length;o<s;++o)if(0!=BTt(r=a[o]).length){if(null==(c=zMt(t,r)))return null;srt(u,$z(c,22))}return u}function RLt(t){var e,n,r;for(n=new Kd(t.a.a.b);n.a<n.c.c.length;)e=$z(Z1(n),81),mW(0),(r=0)>0&&(!(dO(t.a.c)&&e.n.d)&&!(gO(t.a.c)&&e.n.b)&&(e.g.d-=i.Math.max(0,r/2-.5)),(!dO(t.a.c)||!e.n.a)&&(!gO(t.a.c)||!e.n.c)&&(e.g.a+=i.Math.max(0,r-1)))}function $Lt(t,e,n){var i;if(2==(t.c-t.b&t.a.length-1))e==(vKt(),cMe)||e==sMe?(xet($z(kct(t),15),(Kvt(),xAe)),xet($z(kct(t),15),kAe)):(xet($z(kct(t),15),(Kvt(),kAe)),xet($z(kct(t),15),xAe));else for(i=new hX(t);i.a!=i.b;)xet($z(Rlt(i),15),n)}function FLt(t,e){var n,i,r,a,o,s;for(o=new _2(i=Fz(new sw(t)),i.c.length),s=new _2(r=Fz(new sw(e)),r.c.length),a=null;o.b>0&&s.b>0&&(TP(o.b>0),n=$z(o.a.Xb(o.c=--o.b),33),TP(s.b>0),n==$z(s.a.Xb(s.c=--s.b),33));)a=n;return a}function zLt(t,e){var n,r,a,o;return a=t.a*aQt+1502*t.b,o=t.b*aQt+11,a+=n=i.Math.floor(o*oQt),o-=n*sQt,a%=sQt,t.a=a,t.b=o,e<=24?i.Math.floor(t.a*Ane[e]):((r=t.a*(1<<e-24)+i.Math.floor(t.b*Mne[e]))>=2147483648&&(r-=KVt),r)}function HLt(t,e,n){var i,r,a,o;f0(t,e)>f0(t,n)?(i=adt(n,(vKt(),sMe)),t.d=i.dc()?0:aU($z(i.Xb(0),11)),o=adt(e,SMe),t.b=o.dc()?0:aU($z(o.Xb(0),11))):(r=adt(n,(vKt(),SMe)),t.d=r.dc()?0:aU($z(r.Xb(0),11)),a=adt(e,sMe),t.b=a.dc()?0:aU($z(a.Xb(0),11)))}function ULt(t){var e,n,i,r,a,o,s;if(t&&(e=t.Hh(W7t))&&null!=(o=EB(rpt((!e.b&&(e.b=new VP((pWt(),yLe),GLe,e)),e.b),"conversionDelegates")))){for(s=new Lw,r=0,a=(i=vRt(o,"\\w+")).length;r<a;++r)n=i[r],s.c[s.c.length]=n;return s}return EV(),EV(),cne}function GLt(t,e){var n,i,r,a;for(n=t.o.a,a=$z($z(c6(t.r,e),21),84).Kc();a.Ob();)(r=$z(a.Pb(),111)).e.a=n*Hv(_B(r.b.We(Ore))),r.e.b=(i=r.b).Xe((cWt(),rSe))?i.Hf()==(vKt(),cMe)?-i.rf().b-Hv(_B(i.We(rSe))):Hv(_B(i.We(rSe))):i.Hf()==(vKt(),cMe)?-i.rf().b:0}function qLt(t){var e,n,i,r,a,o,s,c;e=!0,r=null,a=null;t:for(c=new Kd(t.a);c.a<c.c.c.length;)for(s=$z(Z1(c),10),i=new oq(QN(ldt(s).a.Kc(),new l));gOt(i);){if(n=$z(G5(i),17),r&&r!=s){e=!1;break t}if(r=s,o=n.c.i,a&&a!=o){e=!1;break t}a=o}return e}function KLt(t,e,n){var i,r,a,o,s,c;for(a=-1,s=-1,o=0;o<e.c.length&&(l1(o,e.c.length),!((r=$z(e.c[o],329)).c>t.c));o++)r.a>=t.s&&(a<0&&(a=o),s=o);return c=(t.s+t.c)/2,a>=0&&(c=zT((l1(i=Vjt(t,e,a,s),e.c.length),$z(e.c[i],329))),hIt(e,i,n)),c}function YLt(){YLt=I,l_e=new qO((cWt(),iCe),1.3),g_e=vCe,S_e=new KO(15),C_e=new qO(qCe,S_e),I_e=new qO(OSe,15),h_e=cCe,v_e=BCe,x_e=$Ce,k_e=zCe,m_e=DCe,__e=GCe,A_e=uSe,OOt(),T_e=o_e,y_e=r_e,E_e=a_e,M_e=c_e,p_e=i_e,b_e=CCe,w_e=SCe,d_e=n_e,f_e=e_e,O_e=u_e}function WLt(t,e,n){var i,r,a,o,s;for(Fit(r=new kc,(mW(e),e)),!r.b&&(r.b=new VP((pWt(),yLe),GLe,r)),s=r.b,o=1;o<n.length;o+=2)wkt(s,n[o-1],n[o]);for(!t.Ab&&(t.Ab=new tK(POe,t,0,3)),i=t.Ab,a=0;a<0;++a)i=wW($z(Yet(i,i.i-1),590));u7(i,r)}function XLt(t,e,n){var i,r,a;for(OB.call(this,new Lw),this.a=e,this.b=n,this.e=t,t.b&&Wzt(t),i=t.a,this.d=VX(i.a,this.a),this.c=VX(i.b,this.b),sdt(this,this.d,this.c),yMt(this),a=this.e.e.a.ec().Kc();a.Ob();)(r=$z(a.Pb(),266)).c.c.length>0&&DUt(this,r)}function VLt(t,e,n,i,r,a){var o,s,c;if(!r[e.b]){for(r[e.b]=!0,!(o=i)&&(o=new y6),Kz(o.e,e),c=a[e.b].Kc();c.Ob();)(s=$z(c.Pb(),282)).d!=n&&s.c!=n&&(s.c!=e&&VLt(t,s.c,e,o,r,a),s.d!=e&&VLt(t,s.d,e,o,r,a),Kz(o.c,s),pst(o.d,s.b));return o}return null}function QLt(t){var e,n,i;for(e=0,n=new Kd(t.e);n.a<n.c.c.length;)o5(new PU(null,new f1($z(Z1(n),17).b,16)),new wn)&&++e;for(i=new Kd(t.g);i.a<i.c.c.length;)o5(new PU(null,new f1($z(Z1(i),17).b,16)),new yn)&&++e;return e>=2}function ZLt(t,e){var n,i,r,a;for(MEt(e,"Self-Loop pre-processing",1),i=new Kd(t.a);i.a<i.c.c.length;)jdt(n=$z(Z1(i),10))&&(a=new Mbt(n),uct(n,(uWt(),Afe),a),v$t(a),VE(IX(ftt(new PU(null,new f1((r=a).d,16)),new Hi),new Ui),new Gi),nPt(r));zCt(e)}function JLt(t,e,n,i,r){var a,o,s,c,u;for(a=t.c.d.j,o=$z(Pwt(n,0),8),u=1;u<n.b;u++)c=$z(Pwt(n,u),8),n5(i,o,i.c.b,i.c),s=mN(Gj(new fO(o),c),.5),Gj(s,mN(new qJ(uut(a)),r)),n5(i,s,i.c.b,i.c),o=c,a=0==e?Eft(a):kft(a);DH(i,(TP(0!=n.b),$z(n.c.b.c,8)))}function tNt(t){var e,n;return JOt(),!(Sot(AZ(xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[LAe])),t))>1||(e=xG(AAe,Cst(Hx(jAe,1),OXt,93,0,[SAe,IAe])),Sot(AZ(e,t))>1)||(n=xG(PAe,Cst(Hx(jAe,1),OXt,93,0,[DAe,NAe])),Sot(AZ(n,t))>1))}function eNt(t,e){var n,i,r;return(n=e.Hh(t.a))&&null!=(r=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),"affiliation")))?-1==(i=wD(r,VEt(35)))?oft(t,rq(t,qet(e.Hj())),r):0==i?oft(t,null,r.substr(1)):oft(t,r.substr(0,i),r.substr(i+1)):null}function nNt(t){var e,n;try{return null==t?GWt:Fdt(t)}catch(i){if(iN(i=hst(i),102))return e=i,n=Zk(tut(t))+"@"+(IE(),(eyt(t)>>>0).toString(16)),jbt(xst(),(lT(),"Exception during lenientFormat for "+n),e),"<"+n+" threw "+Zk(e.gm)+">";throw Fw(i)}}function iNt(t){switch(t.g){case 0:return new ah;case 1:return new th;case 2:return new IT;case 3:return new Ma;case 4:return new Pj;case 5:return new oh;default:throw Fw(new jv("No implementation is available for the layerer "+(null!=t.f?t.f:""+t.g)))}}function rNt(t,e,n){var i,r,a;for(a=new Kd(t.t);a.a<a.c.c.length;)(i=$z(Z1(a),268)).b.s<0&&i.c>0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&DH(e,i.b));for(r=new Kd(t.i);r.a<r.c.c.length;)(i=$z(Z1(r),268)).a.s<0&&i.c>0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&DH(n,i.a))}function aNt(t){var e,n,i;if(null==t.g&&(t.d=t.si(t.f),u7(t,t.d),t.c))return t.f;if(i=(e=$z(t.g[t.i-1],47)).Pb(),t.e=e,(n=t.si(i)).Ob())t.d=n,u7(t,n);else for(t.d=null;!e.Ob()&&(IY(t.g,--t.i,null),0!=t.i);)e=$z(t.g[t.i-1],47);return i}function oNt(t,e){var n,i,r,a,o,s;if(r=(i=e).ak(),OPt(t.e,r)){if(r.hi()&&H3(t,r,i.dd()))return!1}else for(s=aPt(t.e.Tg(),r),n=$z(t.g,119),a=0;a<t.i;++a)if(o=n[a],s.rl(o.ak()))return!Nht(o,i)&&($z(syt(t,a,e),72),!0);return u7(t,e)}function sNt(t,e,n,r){var a,o,s;for($f(a=new Oyt(t),(oCt(),Tse)),uct(a,(uWt(),dfe),e),uct(a,Tfe,r),uct(a,(zYt(),twe),(X_t(),KAe)),uct(a,cfe,e.c),uct(a,ufe,e.d),GPt(e,a),s=i.Math.floor(n/2),o=new Kd(a.j);o.a<o.c.c.length;)$z(Z1(o),11).n.b=s;return a}function cNt(t,e){var n,i,r,a,o,s,c,u,l;for(c=sP(t.c-t.b&t.a.length-1),u=null,l=null,a=new hX(t);a.a!=a.b;)r=$z(Rlt(a),10),n=(s=$z(yTt(r,(uWt(),cfe)),11))?s.i:null,i=(o=$z(yTt(r,ufe),11))?o.i:null,(u!=n||l!=i)&&(UOt(c,e),u=n,l=i),c.c[c.c.length]=r;UOt(c,e)}function uNt(t){var e,n,r,a,o,s;for(e=0,n=new Kd(t.a);n.a<n.c.c.length;)for(a=new oq(QN(hdt($z(Z1(n),10)).a.Kc(),new l));gOt(a);)t==(r=$z(G5(a),17)).d.i.c&&r.c.j==(vKt(),SMe)&&(o=g1(r.c).b,s=g1(r.d).b,e=i.Math.max(e,i.Math.abs(s-o)));return e}function lNt(t,e,n){var i,r;MEt(n,"Remove overlaps",1),n.n&&e&&y0(n,o2(e),(Fut(),oIe)),i=$z(ZOt(e,(fB(),Yxe)),33),t.f=i,t.a=kyt($z(ZOt(e,(qvt(),Pke)),293)),ed(t,(mW(r=_B(ZOt(e,(cWt(),OSe)))),r)),Kqt(t,e,dBt(i),n),n.n&&e&&y0(n,o2(e),(Fut(),oIe))}function hNt(t,e,n){switch(n.g){case 1:return new NA(e.a,i.Math.min(t.d.b,e.b));case 2:return new NA(i.Math.max(t.c.a,e.a),e.b);case 3:return new NA(e.a,i.Math.max(t.c.b,e.b));case 4:return new NA(i.Math.min(e.a,t.d.a),e.b)}return new NA(e.a,e.b)}function fNt(t,e,n,i){var r,a,o,s,c,u,l,h,f;for(h=i?(vKt(),SMe):(vKt(),sMe),r=!1,u=0,l=(c=e[n]).length;u<l;++u)!OR($z(yTt(s=c[u],(zYt(),twe)),98))&&(o=s.e,(f=!adt(s,h).dc()&&!!o)&&(a=H_t(o),t.b=new G_t(a,i?0:a.length-1)),r|=r$t(t,s,h,f));return r}function dNt(t){var e,n,i;for(Kz(e=sP(1+(!t.c&&(t.c=new tK(GIe,t,9,9)),t.c).i),(!t.d&&(t.d=new cR(BIe,t,8,5)),t.d)),i=new MN((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));i.e!=i.i.gc();)Kz(e,(!(n=$z(vwt(i),118)).d&&(n.d=new cR(BIe,n,8,5)),n.d));return yY(e),new AI(e)}function gNt(t){var e,n,i;for(Kz(e=sP(1+(!t.c&&(t.c=new tK(GIe,t,9,9)),t.c).i),(!t.e&&(t.e=new cR(BIe,t,7,4)),t.e)),i=new MN((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));i.e!=i.i.gc();)Kz(e,(!(n=$z(vwt(i),118)).e&&(n.e=new cR(BIe,n,7,4)),n.e));return yY(e),new AI(e)}function pNt(t){var e,n,i,r;if(null==t)return null;if(i=$zt(t,!0),r=D9t.length,wR(i.substr(i.length-r,r),D9t))if(4==(n=i.length)){if(h1(0,i.length),43==(e=i.charCodeAt(0)))return $Ne;if(45==e)return RNe}else if(3==n)return $Ne;return fCt(i)}function bNt(t){var e,n,i,r;for(e=0,n=0,r=new Kd(t.j);r.a<r.c.c.length;)if(e=dG(idt(e,z6(MX(new PU(null,new f1((i=$z(Z1(r),11)).e,16)),new Qa)))),n=dG(idt(n,z6(MX(new PU(null,new f1(i.g,16)),new Za)))),e>1||n>1)return 2;return e+n==1?2:0}function wNt(t,e,n){var i,r,a,o;for(MEt(n,"ELK Force",1),zv(kB(ZOt(e,(ljt(),Kae))))||vZ(new kg((HT(),new Dv(e)))),vxt(o=lct(e)),Gct(t,$z(yTt(o,Hae),424)),r=(a=zFt(t.a,o)).Kc();r.Ob();)i=$z(r.Pb(),231),CRt(t.b,i,yat(n,1/a.gc()));TKt(o=UKt(a)),zCt(n)}function yNt(t,e){var n,i,r;if(MEt(e,"Breaking Point Processor",1),Mqt(t),zv(kB(yTt(t,(zYt(),Hwe))))){for(i=new Kd(t.b);i.a<i.c.c.length;)for(n=0,r=new Kd($z(Z1(i),29).a);r.a<r.c.c.length;)$z(Z1(r),10).p=n++;sHt(t),zPt(t,!0),zPt(t,!1)}zCt(e)}function mNt(t,e,n){var i,r,a,o,s;for(o=t.c,a=(n.q?n.q:(EV(),EV(),une)).vc().Kc();a.Ob();)r=$z(a.Pb(),42),!v_(MX(new PU(null,new f1(o,16)),new rg(new OA(e,r)))).sd((dT(),Jne))&&(iN(s=r.dd(),4)&&null!=(i=Qpt(s))&&(s=i),e.Ye($z(r.cd(),146),s))}function vNt(t,e){var n,i,r,a;if(e){for(a=!(r=iN(t.Cb,88)||iN(t.Cb,99))&&iN(t.Cb,322),n=new MN((!e.a&&(e.a=new rG(e,KOe,e)),e.a));n.e!=n.i.gc();)if(i=hFt($z(vwt(n),87)),r?iN(i,88):a?iN(i,148):i)return i;return r?(pWt(),fLe):(pWt(),uLe)}return null}function xNt(t,e){var n,i,r,a,o;for(MEt(e,"Constraints Postprocessor",1),a=0,r=new Kd(t.b);r.a<r.c.c.length;){for(o=0,i=new Kd($z(Z1(r),29).a);i.a<i.c.c.length;)(n=$z(Z1(i),10)).k==(oCt(),Sse)&&(uct(n,(zYt(),vbe),nft(a)),uct(n,$pe,nft(o)),++o);++a}zCt(e)}function kNt(t,e,n,i){var r,a,o,s,c,u;for(qj(s=new NA(n,i),$z(yTt(e,(HUt(),Zve)),8)),u=cwt(e.b,0);u.b!=u.d.c;)Gj((c=$z(h3(u),86)).e,s),DH(t.b,c);for(o=cwt(e.a,0);o.b!=o.d.c;){for(r=cwt((a=$z(h3(o),188)).a,0);r.b!=r.d.c;)Gj($z(h3(r),8),s);DH(t.a,a)}}function _Nt(t,e,n){var i,r,a;if(!(a=$Ut((ASt(),VLe),t.Tg(),e)))throw Fw(new jv(i6t+e.ne()+r6t));if(QT(),!$z(a,66).Oj()&&!(a=Q1($9(VLe,a))))throw Fw(new jv(i6t+e.ne()+r6t));r=$z((i=t.Yg(a))>=0?t._g(i,!0,!0):rIt(t,a,!0),153),$z(r,215).ml(e,n)}function ENt(t,e){var n,i,r,a,o;for(n=new Lw,r=ftt(new PU(null,new f1(t,16)),new Eo),a=ftt(new PU(null,new f1(t,16)),new To),o=_9(F6(OX(TDt(Cst(Hx(tie,1),zWt,833,0,[r,a])),new Co))),i=1;i<o.length;i++)o[i]-o[i-1]>=2*e&&Kz(n,new mz(o[i-1]+e,o[i]-e));return n}function TNt(t,e,n){MEt(n,"Eades radial",1),n.n&&e&&y0(n,o2(e),(Fut(),oIe)),t.d=$z(ZOt(e,(fB(),Yxe)),33),t.c=Hv(_B(ZOt(e,(qvt(),Dke)))),t.e=kyt($z(ZOt(e,Pke),293)),t.a=hgt($z(ZOt(e,jke),426)),t.b=Hkt($z(ZOt(e,Ike),340)),ikt(t),n.n&&e&&y0(n,o2(e),(Fut(),oIe))}function CNt(t,e,n){var i,r,a,o,s;if(n)for(a=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kDe):new qN(i);a.Ob();)(r=N2(n,$z(a.Pb(),19).a))&&(Oit(o=I3(t,(Jk(),s=new xm,e&&FNt(s,e),s),r),P2(r,H6t)),TEt(r,o),MAt(r,o),Dct(t,r,o))}function SNt(t){var e,n,i,r;if(!t.j){if(r=new Mc,null==(e=ELe).a.zc(t,e)){for(i=new MN(mQ(t));i.e!=i.i.gc();)pY(r,SNt(n=$z(vwt(i),26))),u7(r,n);e.a.Bc(t)}rlt(r),t.j=new LI(($z(Yet(WV((WY(),ZOe).o),11),18),r.i),r.g),T5(t).b&=-33}return t.j}function ANt(t){var e,n,i,r;if(null==t)return null;if(i=$zt(t,!0),r=D9t.length,wR(i.substr(i.length-r,r),D9t))if(4==(n=i.length)){if(h1(0,i.length),43==(e=i.charCodeAt(0)))return zNe;if(45==e)return FNe}else if(3==n)return zNe;return new Dy(i)}function MNt(t){var e,n,i;return(n=t.l)&n-1||(i=t.m)&i-1||(e=t.h)&e-1||0==e&&0==i&&0==n?-1:0==e&&0==i&&0!=n?pit(n):0==e&&0!=i&&0==n?pit(i)+22:0!=e&&0==i&&0==n?pit(e)+44:-1}function INt(t,e){var n,i,r,a;for(MEt(e,"Edge joining",1),n=zv(kB(yTt(t,(zYt(),Dwe)))),i=new Kd(t.b);i.a<i.c.c.length;)for(a=new _2($z(Z1(i),29).a,0);a.b<a.d.gc();)TP(a.b<a.d.gc()),(r=$z(a.d.Xb(a.c=a.b++),10)).k==(oCt(),Cse)&&(iGt(r,n),uW(a));zCt(e)}function ONt(t,e,n){var i;if(c2(t.b),CK(t.b,(Cdt(),z_e),(AT(),UEe)),CK(t.b,H_e,e.g),CK(t.b,U_e,e.a),t.a=OUt(t.b,e),MEt(n,"Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(i=new Kd(t.a);i.a<i.c.c.length;)$z(Z1(i),51).pf(e,yat(n,1));zCt(n)}function LNt(t,e){var n,i,r,a,o;for(r=e.a&t.f,a=null,i=t.b[r];;i=i.b){if(i==e){a?a.b=e.b:t.b[r]=e.b;break}a=i}for(o=e.f&t.f,a=null,n=t.c[o];;n=n.d){if(n==e){a?a.d=e.d:t.c[o]=e.d;break}a=n}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}function NNt(t){var e,n,r,a,o,s,c,u,l,h;for(n=t.o,e=t.p,s=PWt,a=RXt,c=PWt,o=RXt,l=0;l<n;++l)for(h=0;h<e;++h)wmt(t,l,h)&&(s=i.Math.min(s,l),a=i.Math.max(a,l),c=i.Math.min(c,h),o=i.Math.max(o,h));return u=a-s+1,r=o-c+1,new YX(nft(s),nft(c),nft(u),nft(r))}function DNt(t,e){var n,i,r,a;for(TP((a=new _2(t,0)).b<a.d.gc()),n=$z(a.d.Xb(a.c=a.b++),140);a.b<a.d.gc();)TP(a.b<a.d.gc()),r=new wH((i=$z(a.d.Xb(a.c=a.b++),140)).c,n.d,e),TP(a.b>0),a.a.Xb(a.c=--a.b),yj(a,r),TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),r.a=!1,n=i}function PNt(t){var e,n,i,r,a;for(i=$z(yTt(t,(uWt(),Bhe)),11),a=new Kd(t.j);a.a<a.c.c.length;){for(n=new Kd((r=$z(Z1(a),11)).g);n.a<n.c.c.length;)return _J($z(Z1(n),17),i),r;for(e=new Kd(r.e);e.a<e.c.c.length;)return EJ($z(Z1(e),17),i),r}return null}function BNt(t,e,n){var r,a;Wlt(r=lot(n.q.getTime()),0)<0?(a=WXt-dG(hpt(v9(r),WXt)))==WXt&&(a=0):a=dG(hpt(r,WXt)),1==e?NY(t,48+(a=i.Math.min((a+50)/100|0,9))&XXt):2==e?xtt(t,a=i.Math.min((a+5)/10|0,99),2):(xtt(t,a,3),e>3&&xtt(t,0,e-3))}function jNt(t){var e,n,i,r;return HM(yTt(t,(zYt(),sbe)))===HM((oht(),bAe))?!t.e&&HM(yTt(t,Ppe))!==HM((jot(),vhe)):(i=$z(yTt(t,Bpe),292),r=zv(kB(yTt(t,Fpe)))||HM(yTt(t,zpe))===HM((Mit(),cle)),e=$z(yTt(t,Dpe),19).a,n=t.a.c.length,!r&&i!=(jot(),vhe)&&(0==e||e>n))}function RNt(t){var e,n;for(n=0;n<t.c.length&&!(sU((l1(n,t.c.length),$z(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(sU((l1(e,t.c.length),$z(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function $Nt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=6&&e){if(wxt(t,e))throw Fw(new jv(d6t+BIt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?cxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Nwt(e,t,6,i)),(i=WB(t,e,i))&&i.Fi()}else 4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,6,e,e))}function FNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=9&&e){if(wxt(t,e))throw Fw(new jv(d6t+qjt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?lxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Nwt(e,t,9,i)),(i=XB(t,e,i))&&i.Fi()}else 4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,9,e,e))}function zNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(wxt(t,e))throw Fw(new jv(d6t+hHt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Ext(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Nwt(e,t,12,i)),(i=YB(t,e,i))&&i.Fi()}else 4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,3,e,e))}function HNt(t){var e,n,i,r,a;if(i=Axt(t),null==(a=t.j)&&i)return t.$j()?null:i.zj();if(iN(i,148)){if((n=i.Aj())&&(r=n.Nh())!=t.i){if((e=$z(i,148)).Ej())try{t.g=r.Kh(e,a)}catch(o){if(!iN(o=hst(o),78))throw Fw(o);t.g=null}t.i=r}return t.g}return null}function UNt(t){var e;return Kz(e=new Lw,new NC(new NA(t.c,t.d),new NA(t.c+t.b,t.d))),Kz(e,new NC(new NA(t.c,t.d),new NA(t.c,t.d+t.a))),Kz(e,new NC(new NA(t.c+t.b,t.d+t.a),new NA(t.c+t.b,t.d))),Kz(e,new NC(new NA(t.c+t.b,t.d+t.a),new NA(t.c,t.d+t.a))),e}function GNt(t,e,n,i){var r,a,o;if(o=Ikt(e,n),i.c[i.c.length]=e,-1==t.j[o.p]||2==t.j[o.p]||t.a[e.p])return i;for(t.j[o.p]=-1,a=new oq(QN(udt(o).a.Kc(),new l));gOt(a);)if(!h5(r=$z(G5(a),17))&&(h5(r)||r.c.i.c!=r.d.i.c)&&r!=e)return GNt(t,r,o,i);return i}function qNt(t,e,n){var i,r;for(r=e.a.ec().Kc();r.Ob();)i=$z(r.Pb(),79),!$z(PY(t.b,i),266)&&(VZ(CTt(i))==VZ(MTt(i))?tBt(t,i,n):CTt(i)==VZ(MTt(i))?null==PY(t.c,i)&&null!=PY(t.b,MTt(i))&&iqt(t,i,n,!1):null==PY(t.d,i)&&null!=PY(t.b,CTt(i))&&iqt(t,i,n,!0))}function KNt(t,e){var n,i,r,a,o,s,c;for(r=t.Kc();r.Ob();)for(i=$z(r.Pb(),10),CJ(s=new SCt,i),HAt(s,(vKt(),sMe)),uct(s,(uWt(),vfe),(cD(),!0)),o=e.Kc();o.Ob();)a=$z(o.Pb(),10),CJ(c=new SCt,a),HAt(c,SMe),uct(c,vfe,!0),uct(n=new fQ,vfe,!0),EJ(n,s),_J(n,c)}function YNt(t,e,n,i){var r,a,o,s;r=Ipt(t,e,n),a=Ipt(t,n,e),o=$z(PY(t.c,e),112),s=$z(PY(t.c,n),112),r<a?new UJ((A6(),Eve),o,s,a-r):a<r?new UJ((A6(),Eve),s,o,r-a):(0!=r||e.i&&n.i&&i[e.i.c][n.i.c])&&(new UJ((A6(),Eve),o,s,0),new UJ(Eve,s,o,0))}function WNt(t,e){var n,i,r,a,o,s;for(r=0,o=new Kd(e.a);o.a<o.c.c.length;)for(r+=(a=$z(Z1(o),10)).o.b+a.d.a+a.d.d+t.e,i=new oq(QN(ldt(a).a.Kc(),new l));gOt(i);)(n=$z(G5(i),17)).c.i.k==(oCt(),Ase)&&(r+=(s=$z(yTt(n.c.i,(uWt(),dfe)),10)).o.b+s.d.a+s.d.d);return r}function XNt(t,e,n){var i,r,a,o,s,c,u;for(a=new Lw,Mzt(t,u=new XE,o=new XE,e),kqt(t,u,o,e,n),c=new Kd(t);c.a<c.c.c.length;)for(r=new Kd((s=$z(Z1(c),112)).k);r.a<r.c.c.length;)i=$z(Z1(r),129),(!e||i.c==(A6(),_ve))&&s.g>i.b.g&&(a.c[a.c.length]=i);return a}function VNt(){VNt=I,P_e=new vA("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),D_e=new vA("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),j_e=new vA("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),B_e=new vA("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),R_e=new vA("WHOLE_DRAWING",4)}function QNt(t,e){if(iN(e,239))return uft(t,$z(e,33));if(iN(e,186))return Pft(t,$z(e,118));if(iN(e,354))return JX(t,$z(e,137));if(iN(e,352))return QFt(t,$z(e,79));if(e)return null;throw Fw(new jv(G6t+LTt(new Vv(Cst(Hx(Ite,1),zWt,1,5,[e])))))}function ZNt(t){var e,n,i,r,a,o,s;for(a=new XE,r=new Kd(t.d.a);r.a<r.c.c.length;)0==(i=$z(Z1(r),121)).b.a.c.length&&n5(a,i,a.c.b,a.c);if(a.b>1)for(e=MD((n=new zy,++t.b,n),t.d),s=cwt(a,0);s.b!=s.d.c;)o=$z(h3(s),121),qDt(rT(iT(aT(nT(new Fy,1),0),e),o))}function JNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=11&&e){if(wxt(t,e))throw Fw(new jv(d6t+Gjt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Txt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Nwt(e,t,10,i)),(i=Uj(t,e,i))&&i.Fi()}else 4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,11,e,e))}function tDt(t){var e,n,i,r;for(i=new out(new Td(t.b).a);i.b;)r=$z((n=tnt(i)).cd(),11),uct(e=$z(n.dd(),10),(uWt(),dfe),r),uct(r,xfe,e),uct(r,tfe,(cD(),!0)),HAt(r,$z(yTt(e,Whe),61)),yTt(e,Whe),uct(r.i,(zYt(),twe),(X_t(),WAe)),$z(yTt(bW(r.i),Qhe),21).Fc((fBt(),ghe))}function eDt(t,e,n){var i,r,a;if(i=0,r=0,t.c)for(a=new Kd(t.d.i.j);a.a<a.c.c.length;)i+=$z(Z1(a),11).e.c.length;else i=1;if(t.d)for(a=new Kd(t.c.i.j);a.a<a.c.c.length;)r+=$z(Z1(a),11).g.c.length;else r=1;return(n+e)/2+.4*CZ(FH(r-i))*(n-e)}function nDt(t){var e,n;if(L_t(),t.Hc((vKt(),CMe)))throw Fw(new jv("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return Eue;case 2:return e=t.Hc(sMe)&&t.Hc(SMe),n=t.Hc(cMe)&&t.Hc(TMe),e||n?Sue:Cue;case 3:return Tue;case 4:return _ue;default:return null}}function iDt(t,e,n){var i,r,a,o;for(MEt(n,"Breaking Point Removing",1),t.a=$z(yTt(e,(zYt(),Qpe)),218),r=new Kd(e.b);r.a<r.c.c.length;)for(o=new Kd(r0($z(Z1(r),29).a));o.a<o.c.c.length;)Vtt(a=$z(Z1(o),10))&&!(i=$z(yTt(a,(uWt(),Phe)),305)).d&&GKt(t,i);zCt(n)}function rDt(t,e,n){return xBt(),(!Pat(t,e)||!Pat(t,n))&&(yqt(new NA(t.c,t.d),new NA(t.c+t.b,t.d),e,n)||yqt(new NA(t.c+t.b,t.d),new NA(t.c+t.b,t.d+t.a),e,n)||yqt(new NA(t.c+t.b,t.d+t.a),new NA(t.c,t.d+t.a),e,n)||yqt(new NA(t.c,t.d+t.a),new NA(t.c,t.d),e,n))}function aDt(t,e){var n,i,r,a;if(!t.dc())for(n=0,i=t.gc();n<i;++n)if(null==(a=EB(t.Xb(n)))?null==e:wR(a.substr(0,3),"!##")?null!=e&&(r=e.length,!wR(a.substr(a.length-r,r),e)||a.length!=e.length+3)&&!wR(T9t,e):wR(a,C9t)&&!wR(T9t,e)||wR(a,e))return!0;return!1}function oDt(t,e,n,i){var r,a,o,s,c,u;for(o=t.j.c.length,c=N8(ere,iZt,306,o,0,1),s=0;s<o;s++)(a=$z(NU(t.j,s),11)).p=s,c[s]=uIt(yOt(a),n,i);for(WDt(t,c,n,e,i),u=new Nw,r=0;r<c.length;r++)c[r]&&YW(u,$z(NU(t.j,r),11),c[r]);u.f.c+u.g.c!=0&&(uct(t,(uWt(),Uhe),u),ICt(t,c))}function sDt(t,e,n){var i,r;for(i=new Kd(t.a.b);i.a<i.c.c.length;)if((r=u2($z(Z1(i),57)))&&r.k==(oCt(),Ese))switch($z(yTt(r,(uWt(),Whe)),61).g){case 4:r.n.a=e.a;break;case 2:r.n.a=n.a-(r.o.a+r.d.c);break;case 1:r.n.b=e.b;break;case 3:r.n.b=n.b-(r.o.b+r.d.a)}}function cDt(){cDt=I,Aye=new FS(XJt,0),_ye=new FS("NIKOLOV",1),Cye=new FS("NIKOLOV_PIXEL",2),Eye=new FS("NIKOLOV_IMPROVED",3),Tye=new FS("NIKOLOV_IMPROVED_PIXEL",4),kye=new FS("DUMMYNODE_PERCENTAGE",5),Sye=new FS("NODECOUNT_PERCENTAGE",6),Mye=new FS("NO_BOUNDARY",7)}function uDt(t,e,n){var i,r,a;return!(r=$z(ZOt(e,(TTt(),GTe)),19))&&(r=nft(0)),!(a=$z(ZOt(n,GTe),19))&&(a=nft(0)),r.a>a.a?-1:r.a<a.a?1:!t.a||0==(i=Cft(e.j,n.j))&&0==(i=Cft(e.i,n.i))?Cft(e.g*e.f,n.g*n.f):i}function lDt(t,e){var n,i,r,a,o,s,c,u,l,h;if(++t.e,e>(c=null==t.d?0:t.d.length)){for(l=t.d,t.d=N8(aOe,r7t,63,2*c+4,0,1),a=0;a<c;++a)if(u=l[a])for(i=u.g,h=u.i,s=0;s<h;++s)o=tj(t,(r=$z(i[s],133)).Sh()),!(n=t.d[o])&&(n=t.d[o]=t.uj()),n.Fc(r);return!0}return!1}function hDt(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),OPt(t.e,a)){if(a.hi())for(i=$z(t.g,119),o=0;o<t.i;++o)if(Nht(s=i[o],r)&&o!=e)throw Fw(new jv(a8t))}else for(c=aPt(t.e.Tg(),a),i=$z(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak()))throw Fw(new jv(A9t));cft(t,e,n)}function fDt(t,e){var n,i,r,a,o,s;for(n=$z(yTt(e,(uWt(),qhe)),21),o=$z(c6((BYt(),use),n),21),s=$z(c6(pse,n),21),a=o.Kc();a.Ob();)if(i=$z(a.Pb(),21),!$z(c6(t.b,i),15).dc())return!1;for(r=s.Kc();r.Ob();)if(i=$z(r.Pb(),21),!$z(c6(t.b,i),15).dc())return!1;return!0}function dDt(t,e){var n,i,r;for(MEt(e,"Partition postprocessing",1),n=new Kd(t.b);n.a<n.c.c.length;)for(i=new Kd($z(Z1(n),29).a);i.a<i.c.c.length;)for(r=new Kd($z(Z1(i),10).j);r.a<r.c.c.length;)zv(kB(yTt($z(Z1(r),11),(uWt(),vfe))))&&MK(r);zCt(e)}function gDt(t,e){var n,i,r,a,o,s,c;if(1==t.a.c.length)return $Ct($z(NU(t.a,0),187),e);for(r=rht(t),o=0,s=t.d,i=r,c=t.d,a=(s-i)/2+i;i+1<s;){for(o=0,n=new Kd(t.a);n.a<n.c.c.length;)o+=rHt($z(Z1(n),187),a,!1).a;o<e?(c=a,s=a):i=a,a=(s-i)/2+i}return c}function pDt(t){var e,n,i,r;return isNaN(t)?(q9(),pee):t<-0x8000000000000000?(q9(),dee):t>=0x8000000000000000?(q9(),fee):(i=!1,t<0&&(i=!0,t=-t),n=0,t>=MVt&&(t-=(n=CZ(t/MVt))*MVt),e=0,t>=AVt&&(t-=(e=CZ(t/AVt))*AVt),r=_L(CZ(t),e,n),i&&Mct(r),r)}function bDt(t,e){var n,i,r,a;for(n=!e||!t.u.Hc((hMt(),eMe)),a=0,r=new Kd(t.e.Cf());r.a<r.c.c.length;){if((i=$z(Z1(r),838)).Hf()==(vKt(),CMe))throw Fw(new jv("Label and node size calculator can only be used with ports that have port sides assigned."));i.vf(a++),Ylt(t,i,n)}}function wDt(t,e){var n,i,r,a;return(i=e.Hh(t.a))&&(!i.b&&(i.b=new VP((pWt(),yLe),GLe,i)),null!=(n=EB(rpt(i.b,Q7t)))&&iN(a=-1==(r=n.lastIndexOf("#"))?aB(t,e.Aj(),n):0==r?_7(t,null,n.substr(1)):_7(t,n.substr(0,r),n.substr(r+1)),148))?$z(a,148):null}function yDt(t,e){var n,i,r,a;return(n=e.Hh(t.a))&&(!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),null!=(r=EB(rpt(n.b,v9t)))&&iN(a=-1==(i=r.lastIndexOf("#"))?aB(t,e.Aj(),r):0==i?_7(t,null,r.substr(1)):_7(t,r.substr(0,i),r.substr(i+1)),148))?$z(a,148):null}function mDt(t){var e,n,i,r,a;for(n=new Kd(t.a.a);n.a<n.c.c.length;){for((e=$z(Z1(n),307)).j=null,a=e.a.a.ec().Kc();a.Ob();)mI((i=$z(a.Pb(),57)).b),(!e.j||i.d.c<e.j.d.c)&&(e.j=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=$z(r.Pb(),57)).b.a=i.d.c-e.j.d.c,i.b.b=i.d.d-e.j.d.d}return t}function vDt(t){var e,n,i,r,a;for(n=new Kd(t.a.a);n.a<n.c.c.length;){for((e=$z(Z1(n),189)).f=null,a=e.a.a.ec().Kc();a.Ob();)mI((i=$z(a.Pb(),81)).e),(!e.f||i.g.c<e.f.g.c)&&(e.f=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=$z(r.Pb(),81)).e.a=i.g.c-e.f.g.c,i.e.b=i.g.d-e.f.g.d}return t}function xDt(t){var e,n,r;return n=$z(t.a,19).a,r=$z(t.b,19).a,n<(e=i.Math.max(i.Math.abs(n),i.Math.abs(r)))&&r==-e?new nM(nft(n+1),nft(r)):n==e&&r<e?new nM(nft(n),nft(r+1)):n>=-e&&r==e?new nM(nft(n-1),nft(r)):new nM(nft(n),nft(r-1))}function kDt(){return hWt(),Cst(Hx(eue,1),OXt,77,0,[ice,tce,rce,vce,$ce,Ece,qce,Mce,jce,pce,Nce,Ace,Rce,hce,Yce,Wse,Lce,zce,xce,Fce,Xce,Pce,Xse,Bce,Vce,Uce,Wce,kce,cce,_ce,mce,Kce,Zse,oce,Cce,Qse,Sce,wce,fce,Ice,gce,ece,Jse,yce,dce,Oce,Gce,Vse,Dce,bce,Tce,uce,sce,Hce,ace,lce,nce])}function _Dt(t,e,n){t.d=0,t.b=0,e.k==(oCt(),Ase)&&n.k==Ase&&$z(yTt(e,(uWt(),dfe)),10)==$z(yTt(n,dfe),10)&&(E9(e).j==(vKt(),cMe)?HLt(t,e,n):HLt(t,n,e)),e.k==Ase&&n.k==Cse?E9(e).j==(vKt(),cMe)?t.d=1:t.b=1:n.k==Ase&&e.k==Cse&&(E9(n).j==(vKt(),cMe)?t.b=1:t.d=1),omt(t,e,n)}function EDt(t){var e,n,i,r,a;return a=IEt(t),null!=t.a&&MH(a,"category",t.a),!K_(new Cd(t.d))&&(net(a,"knownOptions",i=new Cf),e=new tw(i),t5(new Cd(t.d),e)),!K_(t.g)&&(net(a,"supportedFeatures",r=new Cf),n=new ew(r),t5(t.g,n)),a}function TDt(t){var e,n,i,r,a,o,s,c;for(e=336,n=0,r=new sj(t.length),s=0,c=(o=t).length;s<c;++s)Xft(a=o[s]),xW(a),i=a.a,Kz(r.a,yY(i)),e&=i.qd(),n=Vut(n,i.rd());return $z($z(qK(new PU(null,HEt(new f1((KY(),Ngt(r.a)),16),new x,e,n)),new xf(t)),670),833)}function CDt(t,e){var n;t.d&&(e.c!=t.e.c||lat(t.e.b,e.b))&&(Kz(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),ZI(e.b)?t.c=e:t.b=e,(e.b==(Ist(),Zoe)&&!e.a||e.b==Joe&&e.a||e.b==tse&&e.a||e.b==ese&&!e.a)&&t.c&&t.b&&(n=new GX(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function SDt(t){var e;if(Xm.call(this),this.i=new ds,this.g=t,this.f=$z(t.e&&t.e(),9).length,0==this.f)throw Fw(new jv("There must be at least one phase in the phase enumeration."));this.c=new XR(e=$z(Yk(this.g),9),$z(Ej(e,e.length),9),0),this.a=new $2,this.b=new Nw}function ADt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=7&&e){if(wxt(t,e))throw Fw(new jv(d6t+rSt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?uxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=$z(e,49).gh(t,1,NIe,i)),(i=YG(t,e,i))&&i.Fi()}else 4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,7,e,e))}function MDt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(wxt(t,e))throw Fw(new jv(d6t+Wht(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?fxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=$z(e,49).gh(t,0,RIe,i)),(i=WG(t,e,i))&&i.Fi()}else 4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,3,e,e))}function IDt(t,e){var n,i,r,a,o,s,c,u,l;return OIt(),e.d>t.d&&(s=t,t=e,e=s),e.d<63?KPt(t,e):(u=U5(t,o=(-2&t.d)<<4),l=U5(e,o),i=ozt(t,H5(u,o)),r=ozt(e,H5(l,o)),c=IDt(u,l),n=IDt(i,r),a=H5(a=OHt(OHt(a=IDt(ozt(u,i),ozt(r,l)),c),n),o),OHt(OHt(c=H5(c,o<<1),a),n))}function ODt(t,e,n){var i,r,a,o,s;for(o=Lht(t,n),s=N8(kse,a1t,10,e.length,0,1),i=0,a=o.Kc();a.Ob();)zv(kB(yTt(r=$z(a.Pb(),11),(uWt(),tfe))))&&(s[i++]=$z(yTt(r,xfe),10));if(i<e.length)throw Fw(new Rv("Expected "+e.length+" hierarchical ports, but found only "+i+"."));return s}function LDt(t,e){var n,i,r,a,o,s;if(!t.tb){for(!t.rb&&(t.rb=new Vq(t,$Oe,t)),s=new qE((a=t.rb).i),r=new MN(a);r.e!=r.i.gc();)i=$z(vwt(r),138),(n=$z(null==(o=i.ne())?xAt(s.f,null,i):odt(s.g,o,i),138))&&(null==o?xAt(s.f,null,n):odt(s.g,o,n));t.tb=s}return $z(EZ(t.tb,e),138)}function NDt(t,e){var n,i,r,a,o;if((null==t.i&&HFt(t),t.i).length,!t.p){for(o=new qE(1+(3*t.g.i/2|0)),r=new rP(t.g);r.e!=r.i.gc();)i=$z(xwt(r),170),(n=$z(null==(a=i.ne())?xAt(o.f,null,i):odt(o.g,a,i),170))&&(null==a?xAt(o.f,null,n):odt(o.g,a,n));t.p=o}return $z(EZ(t.p,e),170)}function DDt(t,e,n,i,r){var a,o,s,c;for(dbt(i+CQ(n,n.$d()),r),JY(e,Lgt(n)),(a=n.f)&&DDt(t,e,a,"Caused by: ",!1),null==n.k&&(n.k=N8(Qte,cXt,78,0,0,1)),s=0,c=(o=n.k).length;s<c;++s)DDt(t,e,o[s],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console)}function PDt(t,e,n,i){var r,a,o,s;for(o=(s=e.e).length,a=e.q._f(s,n?0:o-1,n),a|=pjt(t,s[n?0:o-1],n,i),r=n?1:o-2;n?r<o:r>=0;r+=n?1:-1)a|=e.c.Sf(s,r,n,i&&!zv(kB(yTt(e.j,(uWt(),Vhe))))&&!zv(kB(yTt(e.j,(uWt(),Sfe))))),a|=e.q._f(s,r,n),a|=pjt(t,s[r],n,i);return kK(t.c,e),a}function BDt(t,e,n){var i,r,a,o,s,c,u,l;for(u=0,l=(c=S2(t.j)).length;u<l;++u){if(s=c[u],n==(ait(),zye)||n==Uye)for(a=0,o=(r=Q0(s.g)).length;a<o;++a)MCt(e,i=r[a])&&tzt(i,!0);if(n==Hye||n==Uye)for(a=0,o=(r=Q0(s.e)).length;a<o;++a)ACt(e,i=r[a])&&tzt(i,!0)}}function jDt(t){var e,n;switch(e=null,n=null,e_t(t).g){case 1:vKt(),e=sMe,n=SMe;break;case 2:vKt(),e=TMe,n=cMe;break;case 3:vKt(),e=SMe,n=sMe;break;case 4:vKt(),e=cMe,n=TMe}Hf(t,$z(ID(Aq($z(c6(t.k,e),15).Oc(),Wue)),113)),zf(t,$z(ID(Sq($z(c6(t.k,n),15).Oc(),Wue)),113))}function RDt(t){var e,n,i,r,a,o;if((r=$z(NU(t.j,0),11)).e.c.length+r.g.c.length==0)t.n.a=0;else{for(o=0,i=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[new Fg(r),new Hg(r)])));gOt(i);)o+=(n=$z(G5(i),11)).i.n.a+n.n.a+n.a.a;a=(e=$z(yTt(t,(zYt(),Zbe)),8))?e.a:0,t.n.a=o/(r.e.c.length+r.g.c.length)-a}}function $Dt(t,e){var n,i,r;for(i=new Kd(e.a);i.a<i.c.c.length;)n=$z(Z1(i),221),OG($z(n.b,65),qj($L($z(e.b,65).c),$z(e.b,65).a)),(r=V$t($z(e.b,65).b,$z(n.b,65).b))>1&&(t.a=!0),LG($z(n.b,65),Gj($L($z(e.b,65).c),mN(qj($L($z(n.b,65).a),$z(e.b,65).a),r))),WJ(t,e),$Dt(t,n)}function FDt(t){var e,n,i,r,a,o;for(r=new Kd(t.a.a);r.a<r.c.c.length;)(n=$z(Z1(r),189)).e=0,n.d.a.$b();for(i=new Kd(t.a.a);i.a<i.c.c.length;)for(e=(n=$z(Z1(i),189)).a.a.ec().Kc();e.Ob();)for(o=$z(e.Pb(),81).f.Kc();o.Ob();)(a=$z(o.Pb(),81)).d!=n&&(kK(n.d,a),++a.d.e)}function zDt(t){var e,n,i,r,a,o,s,c;for(n=0,e=c=t.j.c.length,r=2*c,s=new Kd(t.j);s.a<s.c.c.length;)switch(o=$z(Z1(s),11),o.j.g){case 2:case 4:o.p=-1;break;case 1:case 3:i=o.e.c.length,a=o.g.c.length,o.p=i>0&&a>0?e++:i>0?n++:a>0?r++:n++}EV(),wL(t.j,new di)}function HDt(t){var e,n;n=null,e=$z(NU(t.g,0),17);do{if(OP(n=e.d.i,(uWt(),ufe)))return $z(yTt(n,ufe),11).i;if(n.k!=(oCt(),Sse)&&gOt(new oq(QN(hdt(n).a.Kc(),new l))))e=$z(G5(new oq(QN(hdt(n).a.Kc(),new l))),17);else if(n.k!=Sse)return null}while(n&&n.k!=(oCt(),Sse));return n}function UDt(t,e){var n,i,r,a,o,s,c,u,l;for(s=e.j,o=e.g,c=$z(NU(s,s.c.length-1),113),l1(0,s.c.length),u=Zmt(t,o,c,l=$z(s.c[0],113)),a=1;a<s.c.length;a++)l1(a-1,s.c.length),n=$z(s.c[a-1],113),l1(a,s.c.length),(i=Zmt(t,o,n,r=$z(s.c[a],113)))>u&&(c=n,l=r,u=i);e.a=l,e.c=c}function GDt(t,e){var n;if(!QK(t.b,e.b))throw Fw(new Rv("Invalid hitboxes for scanline constraint calculation."));(vst(e.b,$z(_j(t.b,e.b),57))||vst(e.b,$z(kj(t.b,e.b),57)))&&(IE(),e.b),t.a[e.b.f]=$z(mR(t.b,e.b),57),(n=$z(yR(t.b,e.b),57))&&(t.a[n.f]=e.b)}function qDt(t){if(!t.a.d||!t.a.e)throw Fw(new Rv((xB(Fie),Fie.k+" must have a source and target "+(xB(zie),zie.k+" specified."))));if(t.a.d==t.a.e)throw Fw(new Rv("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return PD(t.a.d.g,t.a),PD(t.a.e.b,t.a),t.a}function KDt(t,e,n){var i,r,a,o,s,c,u;for(u=new d_(new Vp(t)),s=0,c=(o=Cst(Hx(Fse,1),o1t,11,0,[e,n])).length;s<c;++s)for(a=o[s],Ect(u.a,a,(cD(),wee)),r=new w6(a.b);yL(r.a)||yL(r.b);)(i=$z(yL(r.a)?Z1(r.a):Z1(r.b),17)).c==i.d||QK(u,a==i.c?i.d:i.c);return yY(u),new JR(u)}function YDt(t,e,n){var i,r,a,o,s,c;if(i=0,0!=e.b&&0!=n.b){a=cwt(e,0),o=cwt(n,0),s=Hv(_B(h3(a))),c=Hv(_B(h3(o))),r=!0;do{if(s>c-t.b&&s<c+t.b)return-1;s>c-t.a&&s<c+t.a&&++i,s<=c&&a.b!=a.d.c?s=Hv(_B(h3(a))):c<=s&&o.b!=o.d.c?c=Hv(_B(h3(o))):r=!1}while(r)}return i}function WDt(t,e,n,i,r){var a,o,s,c;for(c=new XR(a=$z(Yk(DMe),9),$z(Ej(a,a.length),9),0),s=new Kd(t.j);s.a<s.c.c.length;)e[(o=$z(Z1(s),11)).p]&&(FKt(o,e[o.p],i),srt(c,o.j));r?(U_t(t,e,(vKt(),sMe),2*n,i),U_t(t,e,SMe,2*n,i)):(U_t(t,e,(vKt(),cMe),2*n,i),U_t(t,e,TMe,2*n,i))}function XDt(t){var e,n,i,r,a;if(a=new Lw,Met(t.b,new mg(a)),t.b.c=N8(Ite,zWt,1,0,5,1),0!=a.c.length){for(l1(0,a.c.length),e=$z(a.c[0],78),n=1,i=a.c.length;n<i;++n)l1(n,a.c.length),(r=$z(a.c[n],78))!=e&&UEt(e,r);if(iN(e,60))throw Fw($z(e,60));if(iN(e,289))throw Fw($z(e,289))}}function VDt(t,e){var n,i,r,a;for(t=null==t?GWt:(mW(t),t),n=new Sx,a=0,i=0;i<e.length&&-1!=(r=t.indexOf("%s",a));)oI(n,t.substr(a,r-a)),aI(n,e[i++]),a=r+2;if(oI(n,t.substr(a)),i<e.length){for(n.a+=" [",aI(n,e[i++]);i<e.length;)n.a+=$Wt,aI(n,e[i++]);n.a+="]"}return n.a}function QDt(t){var e,n,i,r;for(e=0,r=(i=t.length)-4,n=0;n<r;)h1(n+3,t.length),e=t.charCodeAt(n+3)+(h1(n+2,t.length),31*(t.charCodeAt(n+2)+(h1(n+1,t.length),31*(t.charCodeAt(n+1)+(h1(n,t.length),31*(t.charCodeAt(n)+31*e)))))),e|=0,n+=4;for(;n<i;)e=31*e+uX(t,n++);return e|=0}function ZDt(t){var e;for(e=new oq(QN(hdt(t).a.Kc(),new l));gOt(e);)if($z(G5(e),17).d.i.k!=(oCt(),Tse))throw Fw(new nx(C1t+pvt(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function JDt(t,e,n,r){var a,o,s,c,u,h,f;for(c=0,u=new Kd(t.a);u.a<u.c.c.length;){for(s=0,o=new oq(QN(ldt($z(Z1(u),10)).a.Kc(),new l));gOt(o);)h=g1((a=$z(G5(o),17)).c).b,f=g1(a.d).b,s=i.Math.max(s,i.Math.abs(f-h));c=i.Math.max(c,s)}return r*i.Math.min(1,e/n)*c}function tPt(t){var e;return e=new Tx,256&t&&(e.a+="F"),128&t&&(e.a+="H"),512&t&&(e.a+="X"),2&t&&(e.a+="i"),8&t&&(e.a+="m"),4&t&&(e.a+="s"),32&t&&(e.a+="u"),64&t&&(e.a+="w"),16&t&&(e.a+="x"),t&v6t&&(e.a+=","),Gv(e.a)}function ePt(t,e){var n,i,r;for(MEt(e,"Resize child graph to fit parent.",1),i=new Kd(t.b);i.a<i.c.c.length;)n=$z(Z1(i),29),pst(t.a,n.a),n.a.c=N8(Ite,zWt,1,0,5,1);for(r=new Kd(t.a);r.a<r.c.c.length;)TJ($z(Z1(r),10),null);t.b.c=N8(Ite,zWt,1,0,5,1),FPt(t),t.e&&T$t(t.e,t),zCt(e)}function nPt(t){var e,n,i,r,a,o,s;if(r=(i=t.b).e,a=OR($z(yTt(i,(zYt(),twe)),98)),n=!!r&&$z(yTt(r,(uWt(),Qhe)),21).Hc((fBt(),hhe)),!a&&!n)for(s=new Bd(new Ad(t.e).a.vc().Kc());s.a.Ob();)e=$z(s.a.Pb(),42),(o=$z(e.dd(),113)).a&&(CJ(o.d,null),o.c=!0,t.a=!0)}function iPt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(h=-1,f=0,u=0,l=(c=t).length;u<l;++u){for(o=0,s=(a=c[u]).length;o<s;++o)for(r=a[o],e=new pS(-1==h?t[0]:t[h],sxt(r)),n=0;n<r.j.c.length;n++)for(i=n+1;i<r.j.c.length;i++)Lq(e,$z(NU(r.j,n),11),$z(NU(r.j,i),11))>0&&++f;++h}return f}function rPt(t,e){var n,i,r,a,o;for(o=$z(yTt(e,(SOt(),Oxe)),425),a=cwt(e.b,0);a.b!=a.d.c;)if(r=$z(h3(a),86),0==t.b[r.g]){switch(o.g){case 0:Xyt(t,r);break;case 1:zOt(t,r)}t.b[r.g]=2}for(i=cwt(t.a,0);i.b!=i.d.c;)mgt((n=$z(h3(i),188)).b.d,n,!0),mgt(n.c.b,n,!0);uct(e,(HUt(),lxe),t.a)}function aPt(t,e){var n,i,r,a;return QT(),e?e==(qUt(),PNe)||(e==wNe||e==pNe||e==bNe)&&t!=gNe?new rKt(t,e):((n=(i=$z(e,677)).pk())||(mX($9((ASt(),VLe),e)),n=i.pk()),!n.i&&(n.i=new Nw),!(r=$z(zM(MQ((a=n.i).f,t)),1942))&&YW(a,t,r=new rKt(t,e)),r):iNe}function oPt(t,e){var n,i,r,a,o,s,c,u;for(s=$z(yTt(t,(uWt(),dfe)),11),c=Ict(Cst(Hx(TTe,1),cXt,8,0,[s.i.n,s.n,s.a])).a,u=t.i.n.b,r=0,a=(i=Q0(t.e)).length;r<a;++r)_J(n=i[r],s),uI(n.a,new NA(c,u)),e&&((o=$z(yTt(n,(zYt(),bbe)),74))||(o=new mm,uct(n,bbe,o)),DH(o,new NA(c,u)))}function sPt(t,e){var n,i,r,a,o,s,c,u;for(i=$z(yTt(t,(uWt(),dfe)),11),c=Ict(Cst(Hx(TTe,1),cXt,8,0,[i.i.n,i.n,i.a])).a,u=t.i.n.b,o=0,s=(a=Q0(t.g)).length;o<s;++o)EJ(r=a[o],i),cI(r.a,new NA(c,u)),e&&((n=$z(yTt(r,(zYt(),bbe)),74))||(n=new mm,uct(r,bbe,n)),DH(n,new NA(c,u)))}function cPt(t,e){var n,i,r,a,o;for(t.b=new Lw,t.d=$z(yTt(e,(uWt(),Efe)),230),t.e=i0(t.d),a=new XE,r=a6(Cst(Hx(vse,1),QJt,37,0,[e])),o=0;o<r.c.length;)l1(o,r.c.length),(i=$z(r.c[o],37)).p=o++,pst(r,(n=new SGt(i,t.a,t.b)).b),Kz(t.b,n),n.s&&ZK(cwt(a,0),n);return t.c=new Py,a}function uPt(t,e){var n,i,r,a,o,s;for(o=$z($z(c6(t.r,e),21),84).Kc();o.Ob();)(n=(a=$z(o.Pb(),111)).c?YH(a.c):0)>0?a.a?n>(s=a.b.rf().a)&&(r=(n-s)/2,a.d.b=r,a.d.c=r):a.d.c=t.s+n:Fq(t.u)&&((i=REt(a.b)).c<0&&(a.d.b=-i.c),i.c+i.b>a.b.rf().a&&(a.d.c=i.c+i.b-a.b.rf().a))}function lPt(t,e){var n,i;for(MEt(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new Kd(t.b);i.a<i.c.c.length;)n|=null!=Oht(met(MX(MX(new PU(null,new f1($z(Z1(i),29).a,16)),new Vi),new Qi),new Zi),new Ji).a;n&&uct(t,(uWt(),rfe),(cD(),!0)),zCt(e)}function hPt(t,e,n){var i,r,a;if(!(r=n)&&(r=new qm),MEt(r,"Layout",t.a.c.length),zv(kB(yTt(e,(SOt(),xxe)))))for(IE(),i=0;i<t.a.c.length;i++)i++,Zk(tut($z(NU(t.a,i),51)));for(a=new Kd(t.a);a.a<a.c.c.length;)$z(Z1(a),51).pf(e,yat(r,1));zCt(r)}function fPt(t){var e,n;if(e=$z(t.a,19).a,n=$z(t.b,19).a,e>=0){if(e==n)return new nM(nft(-e-1),nft(-e-1));if(e==-n)return new nM(nft(-e),nft(n+1))}return i.Math.abs(e)>i.Math.abs(n)?new nM(nft(-e),nft(e<0?n:n+1)):new nM(nft(e+1),nft(n))}function dPt(t){var e,n;n=$z(yTt(t,(zYt(),mbe)),163),e=$z(yTt(t,(uWt(),efe)),303),n==(_dt(),$fe)?(uct(t,mbe,Hfe),uct(t,efe,(U9(),She))):n==zfe?(uct(t,mbe,Hfe),uct(t,efe,(U9(),The))):e==(U9(),She)?(uct(t,mbe,$fe),uct(t,efe,Che)):e==The&&(uct(t,mbe,zfe),uct(t,efe,Che))}function gPt(){gPt=I,vve=new co,bve=dU(new $2,(mTt(),Roe),(hWt(),xce)),mve=KG(dU(new $2,Roe,Pce),Foe,Dce),xve=sbt(sbt(RT(KG(dU(new $2,Boe,qce),Foe,Gce),$oe),Uce),Kce),wve=KG(dU(dU(dU(new $2,joe,Ece),$oe,Cce),$oe,Sce),Foe,Tce),yve=KG(dU(dU(new $2,$oe,Sce),$oe,oce),Foe,ace)}function pPt(){pPt=I,Cve=dU(KG(new $2,(mTt(),Foe),(hWt(),uce)),Roe,xce),Ive=sbt(sbt(RT(KG(dU(new $2,Boe,qce),Foe,Gce),$oe),Uce),Kce),Sve=KG(dU(dU(dU(new $2,joe,Ece),$oe,Cce),$oe,Sce),Foe,Tce),Mve=dU(dU(new $2,Roe,Pce),Foe,Dce),Ave=KG(dU(dU(new $2,$oe,Sce),$oe,oce),Foe,ace)}function bPt(t,e,n,i,r){var a,o;(!h5(e)&&e.c.i.c==e.d.i.c||!Jit(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])),n))&&!h5(e)&&(e.c==r?BP(e.a,0,new fO(n)):DH(e.a,new fO(n)),i&&!RE(t.a,n)&&((o=$z(yTt(e,(zYt(),bbe)),74))||(o=new mm,uct(e,bbe,o)),n5(o,a=new fO(n),o.c.b,o.c),kK(t.a,a)))}function wPt(t){var e;for(e=new oq(QN(ldt(t).a.Kc(),new l));gOt(e);)if($z(G5(e),17).c.i.k!=(oCt(),Tse))throw Fw(new nx(C1t+pvt(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function yPt(t,e,n){var i,r,a,o,s,c;if(0==(r=bdt(254&t.Db)))t.Eb=n;else{if(1==r)o=N8(Ite,zWt,1,2,5,1),0==Bmt(t,e)?(o[0]=n,o[1]=t.Eb):(o[0]=t.Eb,o[1]=n);else for(o=N8(Ite,zWt,1,r+1,5,1),a=ent(t.Eb),i=2,s=0,c=0;i<=128;i<<=1)i==e?o[c++]=n:t.Db&i&&(o[c++]=a[s++]);t.Eb=o}t.Db|=e}function mPt(t,e,n){var r,a,o,s;for(this.b=new Lw,a=0,r=0,s=new Kd(t);s.a<s.c.c.length;)o=$z(Z1(s),167),n&&jzt(o),Kz(this.b,o),a+=o.o,r+=o.p;this.b.c.length>0&&(a+=(o=$z(NU(this.b,0),167)).o,r+=o.p),a*=2,r*=2,e>1?a=CZ(i.Math.ceil(a*e)):r=CZ(i.Math.ceil(r/e)),this.a=new Hgt(a,r)}function vPt(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b;for(l=r,e.j&&e.o?(p=(d=$z(PY(t.f,e.A),57)).d.c+d.d.b,--l):p=e.a.c+e.a.b,h=a,n.q&&n.o?(u=(d=$z(PY(t.f,n.C),57)).d.c,++h):u=n.a.c,g=p+(c=(u-p)/i.Math.max(2,h-l)),f=l;f<h;++f)b=(s=$z(o.Xb(f),128)).a.b,s.a.c=g-b/2,g+=c}function xPt(t,e,n,i,r,a){var o,s,c,u,l,h;for(u=n.c.length,a&&(t.c=N8(ADe,uVt,25,e.length,15,1)),o=r?0:e.length-1;r?o<e.length:o>=0;o+=r?1:-1){for(s=e[o],c=i==(vKt(),sMe)?r?adt(s,i):eot(adt(s,i)):r?eot(adt(s,i)):adt(s,i),a&&(t.c[s.p]=c.gc()),h=c.Kc();h.Ob();)l=$z(h.Pb(),11),t.d[l.p]=u++;pst(n,c)}}function kPt(t,e,n){var i,r,a,o,s,c,u,l;for(a=Hv(_B(t.b.Kc().Pb())),u=Hv(_B(Yot(e.b))),i=mN($L(t.a),u-n),r=mN($L(e.a),n-a),mN(l=Gj(i,r),1/(u-a)),this.a=l,this.b=new Lw,s=!0,(o=t.b.Kc()).Pb();o.Ob();)c=Hv(_B(o.Pb())),s&&c-n>P3t&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n)}function _Pt(t){var e,n,i,r;if(uRt(t,t.n),t.d.c.length>0){for(Zv(t.c);bOt(t,$z(Z1(new Kd(t.e.a)),121))<t.e.a.c.length;){for(r=(e=Bvt(t)).e.e-e.d.e-e.a,e.e.j&&(r=-r),i=new Kd(t.e.a);i.a<i.c.c.length;)(n=$z(Z1(i),121)).j&&(n.e+=r);Zv(t.c)}Zv(t.c),bMt(t,$z(Z1(new Kd(t.e.a)),121)),pGt(t)}}function EPt(t,e){var n,i,r,a,o;for(r=$z(c6(t.a,(L_t(),Eue)),15).Kc();r.Ob();)switch(i=$z(r.Pb(),101),n=$z(NU(i.j,0),113).d.j,a=new JR(i.j),wL(a,new Zr),e.g){case 1:N_t(t,a,n,(Srt(),Pue),1);break;case 0:N_t(t,new s1(a,0,o=RNt(a)),n,(Srt(),Pue),0),N_t(t,new s1(a,o,a.c.length),n,Pue,1)}}function TPt(t,e){var n,i;if(Nst(),n=k5(rit(),e.tg())){if(i=n.j,iN(t,239))return nJ($z(t,33))?ED(i,(iwt(),cTe))||ED(i,uTe):ED(i,(iwt(),cTe));if(iN(t,352))return ED(i,(iwt(),oTe));if(iN(t,186))return ED(i,(iwt(),lTe));if(iN(t,354))return ED(i,(iwt(),sTe))}return!0}function CPt(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),OPt(t.e,a)){if(a.hi())for(i=$z(t.g,119),o=0;o<t.i;++o)if(Nht(s=i[o],r)&&o!=e)throw Fw(new jv(a8t))}else for(c=aPt(t.e.Tg(),a),i=$z(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak())&&o!=e)throw Fw(new jv(A9t));return $z(syt(t,e,n),72)}function SPt(t,e){if(e instanceof Object)try{if(e.__java$exception=t,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var t=n.Zd();return t&&t.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch{}}function APt(t,e){var n,i,r,a,o;if(i=e>>5,e&=31,i>=t.d)return t.e<0?(MBt(),Qee):(MBt(),nne);if(a=t.d-i,XCt(r=N8(ADe,uVt,25,a+1,15,1),a,t.a,i,e),t.e<0){for(n=0;n<i&&0==t.a[n];n++);if(n<i||e>0&&t.a[n]<<32-e){for(n=0;n<a&&-1==r[n];n++)r[n]=0;n==a&&++a,++r[n]}}return q0(o=new lK(t.e,a,r)),o}function MPt(t){var e,n,i,r;return n=new Ig(r=KZ(t)),i=new Og(r),pst(e=new Lw,(!t.d&&(t.d=new cR(BIe,t,8,5)),t.d)),pst(e,(!t.e&&(t.e=new cR(BIe,t,7,4)),t.e)),$z(T4(IX(MX(new PU(null,new f1(e,16)),n),i),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Vne),Xne]))),21)}function IPt(t,e,n,i){var r,a,o,s,c;if(QT(),s=$z(e,66).Oj(),OPt(t.e,e)){if(e.hi()&&qFt(t,e,i,iN(e,99)&&!!($z(e,18).Bb&FVt)))throw Fw(new jv(a8t))}else for(c=aPt(t.e.Tg(),e),r=$z(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak()))throw Fw(new jv(A9t));cft(t,kSt(t,e,n),s?$z(i,72):Q3(e,i))}function OPt(t,e){var n,i,r;return QT(),!!e.$j()||-2==e.Zj()&&(e==(_It(),uNe)||e==oNe||e==sNe||e==cNe||!(Igt(r=t.Tg(),e)>=0)&&(!(n=$Ut((ASt(),VLe),r,e))||((i=n.Zj())>1||-1==i)&&3!=DW($9(VLe,n))))}function LPt(t,e,n,i){var r,a,o,s,c;return s=CEt($z(Yet((!e.b&&(e.b=new cR(PIe,e,4,7)),e.b),0),82)),c=CEt($z(Yet((!e.c&&(e.c=new cR(PIe,e,5,8)),e.c),0),82)),VZ(s)==VZ(c)||Set(c,s)?null:(o=qZ(e))==n?i:(a=$z(PY(t.a,o),10))&&(r=a.e)?r:null}function NPt(t,e){var n;switch(MEt(e,"Label side selection ("+(n=$z(yTt(t,(zYt(),Vpe)),276))+")",1),n.g){case 0:_Ot(t,(Kvt(),xAe));break;case 1:_Ot(t,(Kvt(),kAe));break;case 2:czt(t,(Kvt(),xAe));break;case 3:czt(t,(Kvt(),kAe));break;case 4:oBt(t,(Kvt(),xAe));break;case 5:oBt(t,(Kvt(),kAe))}zCt(e)}function DPt(t,e,n){var i,r,a,o,s;if((a=t[lk(n,t.length)])[0].k==(oCt(),Ese))for(r=uk(n,a.length),s=e.j,i=0;i<s.c.length;i++)l1(i,s.c.length),o=$z(s.c[i],11),(n?o.j==(vKt(),sMe):o.j==(vKt(),SMe))&&zv(kB(yTt(o,(uWt(),tfe))))&&(i5(s,i,$z(yTt(a[r],(uWt(),dfe)),11)),r+=n?1:-1)}function PPt(t,e){var n,i,r,a,o;o=new Lw,n=e;do{(a=$z(PY(t.b,n),128)).B=n.c,a.D=n.d,o.c[o.c.length]=a,n=$z(PY(t.k,n),17)}while(n);return l1(0,o.c.length),(i=$z(o.c[0],128)).j=!0,i.A=$z(i.d.a.ec().Kc().Pb(),17).c.i,(r=$z(NU(o,o.c.length-1),128)).q=!0,r.C=$z(r.d.a.ec().Kc().Pb(),17).d.i,o}function BPt(t){if(null==t.g)switch(t.p){case 0:t.g=uJ(t)?(cD(),yee):(cD(),wee);break;case 1:t.g=Ttt(D3(t));break;case 2:t.g=lst(W1(t));break;case 3:t.g=AW(t);break;case 4:t.g=new Ld(SW(t));break;case 6:t.g=xbt(MW(t));break;case 5:t.g=nft(cZ(t));break;case 7:t.g=ift(j3(t))}return t.g}function jPt(t){if(null==t.n)switch(t.p){case 0:t.n=lJ(t)?(cD(),yee):(cD(),wee);break;case 1:t.n=Ttt(P3(t));break;case 2:t.n=lst(X1(t));break;case 3:t.n=OW(t);break;case 4:t.n=new Ld(LW(t));break;case 6:t.n=xbt(IW(t));break;case 5:t.n=nft(uZ(t));break;case 7:t.n=ift(B3(t))}return t.n}function RPt(t){var e,n,i,r,a,o;for(r=new Kd(t.a.a);r.a<r.c.c.length;)(n=$z(Z1(r),307)).g=0,n.i=0,n.e.a.$b();for(i=new Kd(t.a.a);i.a<i.c.c.length;)for(e=(n=$z(Z1(i),307)).a.a.ec().Kc();e.Ob();)for(o=$z(e.Pb(),57).c.Kc();o.Ob();)(a=$z(o.Pb(),57)).a!=n&&(kK(n.e,a),++a.a.g,++a.a.i)}function $Pt(t,e){var n,i,r;if(!QK(t.a,e.b))throw Fw(new Rv("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new Rd(new $j(new ND(new jd(t.a.a).a).b));rC(i.a.a);)if(n=$z(wP(i.a).cd(),65),ect(e.b,n))Nk(t.b.a,e.b,n),r=!0;else if(r)break}function FPt(t){var e,n,r,a,o;a=$z(yTt(t,(zYt(),Rbe)),21),o=$z(yTt(t,zbe),21),e=new fO(n=new NA(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((ypt(),PMe))&&(r=$z(yTt(t,Fbe),8),o.Hc((JRt(),UMe))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=i.Math.max(n.a,r.a),e.b=i.Math.max(n.b,r.b)),Kzt(t,n,e)}function zPt(t,e){var n,i,r,a,o,s,c,u;r=e?new wa:new ya,a=!1;do{for(a=!1,o=(e?eot(t.b):t.b).Kc();o.Ob();)for(u=r0($z(o.Pb(),29).a),e||new uv(u),c=new Kd(u);c.a<c.c.c.length;)s=$z(Z1(c),10),r.Mb(s)&&(i=s,n=$z(yTt(s,(uWt(),Phe)),305),a=ejt(i,e?n.b:n.k,e,!1))}while(a)}function HPt(t,e,n){var i,r,a,o;for(MEt(n,"Longest path layering",1),t.a=e,o=t.a.a,t.b=N8(ADe,uVt,25,o.c.length,15,1),i=0,a=new Kd(o);a.a<a.c.c.length;)$z(Z1(a),10).p=i,t.b[i]=-1,++i;for(r=new Kd(o);r.a<r.c.c.length;)PLt(t,$z(Z1(r),10));o.c=N8(Ite,zWt,1,0,5,1),t.a=null,t.b=null,zCt(n)}function UPt(t,e){var n,i,r;e.a?(QK(t.b,e.b),t.a[e.b.i]=$z(mR(t.b,e.b),81),(n=$z(yR(t.b,e.b),81))&&(t.a[n.i]=e.b)):((i=$z(mR(t.b,e.b),81))&&i==t.a[e.b.i]&&i.d&&i.d!=e.b.d&&i.f.Fc(e.b),(r=$z(yR(t.b,e.b),81))&&t.a[r.i]==e.b&&r.d&&r.d!=e.b.d&&e.b.f.Fc(r),_D(t.b,e.b))}function GPt(t,e){var n,r,a,o,s,c;return o=t.d,(c=Hv(_B(yTt(t,(zYt(),rbe)))))<0&&uct(t,rbe,c=0),e.o.b=c,s=i.Math.floor(c/2),HAt(r=new SCt,(vKt(),SMe)),CJ(r,e),r.n.b=s,HAt(a=new SCt,sMe),CJ(a,e),a.n.b=s,_J(t,r),Hot(n=new fQ,t),uct(n,bbe,null),EJ(n,a),_J(n,o),xFt(e,t,n),cAt(t,n),n}function qPt(t){var e,n;return n=$z(yTt(t,(uWt(),Qhe)),21),e=new $2,n.Hc((fBt(),fhe))&&(Qat(e,hve),Qat(e,dve)),(n.Hc(ghe)||zv(kB(yTt(t,(zYt(),abe)))))&&(Qat(e,dve),n.Hc(phe)&&Qat(e,gve)),n.Hc(hhe)&&Qat(e,lve),n.Hc(whe)&&Qat(e,pve),n.Hc(dhe)&&Qat(e,fve),n.Hc(che)&&Qat(e,cve),n.Hc(lhe)&&Qat(e,uve),e}function KPt(t,e){var n,i,r,a,o,s,c,u,l;return a=(n=t.d)+(i=e.d),o=t.e!=e.e?-1:1,2==a?(l=dG(c=rdt(t0(t.a[0],qVt),t0(e.a[0],qVt))),0==(u=dG(vq(c,32)))?new q6(o,l):new lK(o,2,Cst(Hx(ADe,1),uVt,25,15,[l,u]))):(Pht(t.a,n,e.a,i,r=N8(ADe,uVt,25,a,15,1)),q0(s=new lK(o,a,r)),s)}function YPt(t,e,n,i){var r,a;return e?0==(r=t.a.ue(n.d,e.d))?(i.d=pj(e,n.e),i.b=!0,e):(a=r<0?0:1,e.a[a]=YPt(t,e.a[a],n,i),Yv(e.a[a])&&(Yv(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):Yv(e.a[a].a[a])?e=drt(e,1-a):Yv(e.a[a].a[1-a])&&(e=n2(e,1-a))),e):n}function WPt(t,e,n){var r,a,o,s;a=t.i,r=t.n,X5(t,(Pet(),Uie),a.c+r.b,n),X5(t,qie,a.c+a.b-r.c-n[2],n),s=a.b-r.b-r.c,n[0]>0&&(n[0]+=t.d,s-=n[0]),n[2]>0&&(n[2]+=t.d,s-=n[2]),o=i.Math.max(0,s),n[1]=i.Math.max(n[1],s),X5(t,Gie,a.c+r.b+n[0]-(n[1]-s)/2,n),e==Gie&&(t.c.b=o,t.c.c=a.c+r.b+(o-s)/2)}function XPt(){this.c=N8(LDe,HVt,25,(vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length,15,1),this.b=N8(LDe,HVt,25,Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe]).length,15,1),this.a=N8(LDe,HVt,25,Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe]).length,15,1),wC(this.c,BVt),wC(this.b,jVt),wC(this.a,jVt)}function VPt(t,e,n){var i,r,a,o;if(e<=n?(r=e,a=n):(r=n,a=e),i=0,null==t.b)t.b=N8(ADe,uVt,25,2,15,1),t.b[0]=r,t.b[1]=a,t.c=!0;else{if(i=t.b.length,t.b[i-1]+1==r)return void(t.b[i-1]=a);o=N8(ADe,uVt,25,i+2,15,1),aHt(t.b,0,o,0,i),t.b=o,t.b[i-1]>=r&&(t.c=!1,t.a=!1),t.b[i++]=r,t.b[i]=a,t.c||_Lt(t)}}function QPt(t,e,n){var i,r,a,o,s,c,u;for(u=e.d,t.a=new V6(u.c.length),t.c=new Nw,s=new Kd(u);s.a<s.c.c.length;)o=$z(Z1(s),101),a=new $ot(null),Kz(t.a,a),YW(t.c,o,a);for(t.b=new Nw,wAt(t,e),i=0;i<u.c.length-1;i++)for(c=$z(NU(e.d,i),101),r=i+1;r<u.c.length;r++)YNt(t,c,$z(NU(e.d,r),101),n)}function ZPt(t,e,n){var i,r,a,o,s,c;if(!c3(e)){for(MEt(c=yat(n,(iN(e,14)?$z(e,14).gc():R3(e.Kc()))/t.a|0),G3t,1),s=new Io,o=0,a=e.Kc();a.Ob();)i=$z(a.Pb(),86),s=Ynt(Cst(Hx(Dte,1),zWt,20,0,[s,new hb(i)])),o<i.f.b&&(o=i.f.b);for(r=e.Kc();r.Ob();)uct(i=$z(r.Pb(),86),(HUt(),axe),o);zCt(c),ZPt(t,s,n)}}function JPt(t,e){var n,r,a,o,s,c,u;for(n=jVt,oCt(),c=Sse,a=new Kd(e.a);a.a<a.c.c.length;)(o=(r=$z(Z1(a),10)).k)!=Sse&&(null==(s=_B(yTt(r,(uWt(),pfe))))?(n=i.Math.max(n,0),r.n.b=n+qD(t.a,o,c)):r.n.b=(mW(s),s)),u=qD(t.a,o,c),r.n.b<n+u+r.d.d&&(r.n.b=n+u+r.d.d),n=r.n.b+r.o.b+r.d.a,c=o}function tBt(t,e,n){var i,r,a;for(Hot(a=new kOt(KYt(HCt(rBt(e,!1,!1)),Hv(_B(ZOt(e,(kwt(),pae))))+t.a)),e),YW(t.b,e,a),n.c[n.c.length]=a,!e.n&&(e.n=new tK(HIe,e,1,7)),r=new MN(e.n);r.e!=r.i.gc();)i=Qjt(t,$z(vwt(r),137),!0,0,0),n.c[n.c.length]=i;return a}function eBt(t,e,n,i,r){var a,o,s;if(t.d&&t.d.lg(r),Pyt(t,n,$z(r.Xb(0),33),!1)||Pyt(t,i,$z(r.Xb(r.gc()-1),33),!0)||NTt(t,r))return!0;for(s=r.Kc();s.Ob();)for(o=$z(s.Pb(),33),a=e.Kc();a.Ob();)if(RBt(t,o,$z(a.Pb(),33)))return!0;return!1}function nBt(t,e,n){var i,r,a,o,s,c,u,l,h;h=e.c.length;t:for(a=$z((u=t.Yg(n))>=0?t._g(u,!1,!0):rIt(t,n,!1),58).Kc();a.Ob();){for(r=$z(a.Pb(),56),l=0;l<h;++l)if(l1(l,e.c.length),c=(o=$z(e.c[l],72)).dd(),s=o.ak(),i=r.bh(s,!1),null==c?null!=i:!Nht(c,i))continue t;return r}return null}function iBt(t,e,n,i){var r,a,o,s;for(r=$z(PCt(e,(vKt(),SMe)).Kc().Pb(),11),a=$z(PCt(e,sMe).Kc().Pb(),11),s=new Kd(t.j);s.a<s.c.c.length;){for(o=$z(Z1(s),11);0!=o.e.c.length;)_J($z(NU(o.e,0),17),r);for(;0!=o.g.c.length;)EJ($z(NU(o.g,0),17),a)}n||uct(e,(uWt(),cfe),null),i||uct(e,(uWt(),ufe),null)}function rBt(t,e,n){var i,r;if(0==(!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i)return Hst(t);if(i=$z(Yet((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a),0),202),e&&(cUt((!i.a&&(i.a=new IN(LIe,i,5)),i.a)),Ant(i,0),Int(i,0),_nt(i,0),Mnt(i,0)),n)for(!t.a&&(t.a=new tK(jIe,t,6,6)),r=t.a;r.i>1;)lBt(r,r.i-1);return i}function aBt(t,e){var n,i,r,a,o,s,c;for(MEt(e,"Comment post-processing",1),a=new Kd(t.b);a.a<a.c.c.length;){for(r=$z(Z1(a),29),i=new Lw,s=new Kd(r.a);s.a<s.c.c.length;)o=$z(Z1(s),10),c=$z(yTt(o,(uWt(),Bfe)),15),n=$z(yTt(o,Dhe),15),(c||n)&&(Yqt(o,c,n),c&&pst(i,c),n&&pst(i,n));pst(r.a,i)}zCt(e)}function oBt(t,e){var n,i,r,a,o,s;for(n=new Ow,r=new Kd(t.b);r.a<r.c.c.length;){for(s=!0,i=0,o=new Kd($z(Z1(r),29).a);o.a<o.c.c.length;)switch(a=$z(Z1(o),10),a.k.g){case 4:++i;case 1:f3(n,a);break;case 0:sAt(a,e);default:n.b==n.c||b$t(n,i,s,!1,e),s=!1,i=0}n.b==n.c||b$t(n,i,s,!0,e)}}function sBt(t,e){var n,i,r,a,o,s;for(r=new Lw,n=0;n<=t.i;n++)(i=new FY(e)).p=t.i-n,r.c[r.c.length]=i;for(s=new Kd(t.o);s.a<s.c.c.length;)TJ(o=$z(Z1(s),10),$z(NU(r,t.i-t.f[o.p]),29));for(a=new Kd(r);a.a<a.c.c.length;)0==$z(Z1(a),29).a.c.length&&MK(a);e.b.c=N8(Ite,zWt,1,0,5,1),pst(e.b,r)}function cBt(t,e){var n,i,r,a,o,s;for(n=0,s=new Kd(e);s.a<s.c.c.length;){for(o=$z(Z1(s),11),Jut(t.b,t.d[o.p]),r=new w6(o.b);yL(r.a)||yL(r.b);)(a=__(t,o==(i=$z(yL(r.a)?Z1(r.a):Z1(r.b),17)).c?i.d:i.c))>t.d[o.p]&&(n+=Z4(t.b,a),d3(t.a,nft(a)));for(;!Kv(t.a);)_tt(t.b,$z(dK(t.a),19).a)}return n}function uBt(t,e,n){var i,r,a,o;for(a=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,r=new MN((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));r.e!=r.i.gc();)0==(!(i=$z(vwt(r),33)).a&&(i.a=new tK(UIe,i,10,11)),i.a).i||(a+=uBt(t,i,!1));if(n)for(o=VZ(e);o;)a+=(!o.a&&(o.a=new tK(UIe,o,10,11)),o.a).i,o=VZ(o);return a}function lBt(t,e){var n,i,r,a;return t.ej()?(i=null,r=t.fj(),t.ij()&&(i=t.kj(t.pi(e),null)),n=t.Zi(4,a=Lvt(t,e),null,e,r),t.bj()&&null!=a&&(i=t.dj(a,i)),i?(i.Ei(n),i.Fi()):t.$i(n),a):(a=Lvt(t,e),t.bj()&&null!=a&&(i=t.dj(a,null))&&i.Fi(),a)}function hBt(t){var e,n,r,a,o,s,c,u,l,h;for(l=t.a,e=new Py,u=0,r=new Kd(t.d);r.a<r.c.c.length;){for(h=0,Rrt((n=$z(Z1(r),222)).b,new Ot),s=cwt(n.b,0);s.b!=s.d.c;)o=$z(h3(s),222),e.a._b(o)&&(a=n.c,h<(c=o.c).d+c.a+l&&h+a.a+l>c.d&&(h=c.d+c.a+l));n.c.d=h,e.a.zc(n,e),u=i.Math.max(u,n.c.d+n.c.a)}return u}function fBt(){fBt=I,uhe=new OS("COMMENTS",0),hhe=new OS("EXTERNAL_PORTS",1),fhe=new OS("HYPEREDGES",2),dhe=new OS("HYPERNODES",3),ghe=new OS("NON_FREE_PORTS",4),phe=new OS("NORTH_SOUTH_PORTS",5),whe=new OS(U1t,6),che=new OS("CENTER_LABELS",7),lhe=new OS("END_LABELS",8),bhe=new OS("PARTITIONS",9)}function dBt(t){var e,n,i,r,a;for(r=new Lw,e=new IU((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a)),i=new oq(QN(gNt(t).a.Kc(),new l));gOt(i);)iN(Yet((!(n=$z(G5(i),79)).b&&(n.b=new cR(PIe,n,4,7)),n.b),0),186)||(a=CEt($z(Yet((!n.c&&(n.c=new cR(PIe,n,5,8)),n.c),0),82)),e.a._b(a)||(r.c[r.c.length]=a));return r}function gBt(t){var e,n,i,r,a;for(r=new Py,e=new IU((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a)),i=new oq(QN(gNt(t).a.Kc(),new l));gOt(i);)iN(Yet((!(n=$z(G5(i),79)).b&&(n.b=new cR(PIe,n,4,7)),n.b),0),186)||(a=CEt($z(Yet((!n.c&&(n.c=new cR(PIe,n,5,8)),n.c),0),82)),e.a._b(a)||r.a.zc(a,r));return r}function pBt(t,e,n,i,r){return i<0?((i=GEt(t,r,Cst(Hx(zee,1),cXt,2,6,[VXt,QXt,ZXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt]),e))<0&&(i=GEt(t,r,Cst(Hx(zee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function bBt(t,e,n,i,r){return i<0?((i=GEt(t,r,Cst(Hx(zee,1),cXt,2,6,[VXt,QXt,ZXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt]),e))<0&&(i=GEt(t,r,Cst(Hx(zee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function wBt(t,e,n,i,r,a){var o,s,c;if(s=32,i<0){if(e[0]>=t.length||43!=(s=uX(t,e[0]))&&45!=s||(++e[0],(i=qMt(t,e))<0))return!1;45==s&&(i=-i)}return 32==s&&e[0]-n==2&&2==r.b&&(o=(c=(new ME).q.getFullYear()-cVt+cVt-80)%100,a.a=i==o,i+=100*(c/100|0)+(i<o?100:0)),a.p=i,!0}function yBt(t,e){var n,r,a;VZ(t)&&(a=$z(yTt(e,(zYt(),Rbe)),174),HM(ZOt(t,twe))===HM((X_t(),VAe))&&Vwt(t,twe,XAe),HT(),r=Hqt(new Dv(VZ(t)),new VD(VZ(t)?new Dv(VZ(t)):null,t),!1,!0),srt(a,(ypt(),PMe)),(n=$z(yTt(e,Fbe),8)).a=i.Math.max(r.a,n.a),n.b=i.Math.max(r.b,n.b))}function mBt(t,e,n){var i,r,a,o,s,c;for(o=$z(yTt(t,(uWt(),Zhe)),15).Kc();o.Ob();){switch(a=$z(o.Pb(),10),$z(yTt(a,(zYt(),mbe)),163).g){case 2:TJ(a,e);break;case 4:TJ(a,n)}for(r=new oq(QN(udt(a).a.Kc(),new l));gOt(r);)(!(i=$z(G5(r),17)).c||!i.d)&&(s=!i.d,c=$z(yTt(i,wfe),11),s?_J(i,c):EJ(i,c))}}function vBt(){vBt=I,Fue=new KX(yZt,0,(vKt(),cMe),cMe),Uue=new KX(vZt,1,TMe,TMe),$ue=new KX(mZt,2,sMe,sMe),Kue=new KX(xZt,3,SMe,SMe),Hue=new KX("NORTH_WEST_CORNER",4,SMe,cMe),zue=new KX("NORTH_EAST_CORNER",5,cMe,sMe),que=new KX("SOUTH_WEST_CORNER",6,TMe,SMe),Gue=new KX("SOUTH_EAST_CORNER",7,sMe,TMe)}function xBt(){xBt=I,_Te=Cst(Hx(IDe,1),$Vt,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),i.Math.pow(2,-65)}function kBt(t,e){var n,i,r,a,o;if(0==t.c.length)return new nM(nft(0),nft(0));for(n=(l1(0,t.c.length),$z(t.c[0],11)).j,o=0,a=e.g,i=e.g+1;o<t.c.length-1&&n.g<a;)n=(l1(++o,t.c.length),$z(t.c[o],11)).j;for(r=o;r<t.c.length-1&&n.g<i;)++r,n=(l1(o,t.c.length),$z(t.c[o],11)).j;return new nM(nft(o),nft(r))}function _Bt(t,e,n){var r,a,o,s,c,u,l,h,f,d;for(o=e.c.length,l1(n,e.c.length),c=(s=$z(e.c[n],286)).a.o.a,f=s.c,d=0,l=s.c;l<=s.f;l++){if(c<=t.a[l])return l;for(h=t.a[l],u=null,a=n+1;a<o;a++)l1(a,e.c.length),(r=$z(e.c[a],286)).c<=l&&r.f>=l&&(u=r);u&&(h=i.Math.max(h,u.a.o.a)),h>d&&(f=l,d=h)}return f}function EBt(t,e,n){var i,r,a;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,!(16&~t.e)&&(t.i=bRt(t.i)),t.j=t.i.length,XYt(t),a=Wpt(t),t.d!=t.j)throw Fw(new rx(vWt((aL(),d8t))));if(t.g){for(i=0;i<t.g.a.c.length;i++)if(r=$z(hW(t.g,i),584),t.f<=r.a)throw Fw(new rx(vWt((aL(),g8t))));t.g.a.c=N8(Ite,zWt,1,0,5,1)}return a}function TBt(t,e){var n,i;if(null==e){for(!t.a&&(t.a=new tK(qOe,t,9,5)),i=new MN(t.a);i.e!=i.i.gc();)if(null==((n=$z(vwt(i),678)).c??n.zb))return n}else for(!t.a&&(t.a=new tK(qOe,t,9,5)),i=new MN(t.a);i.e!=i.i.gc();)if(wR(e,(n=$z(vwt(i),678)).c??n.zb))return n;return null}function CBt(t,e){var n;switch(n=null,e.g){case 1:t.e.Xe((cWt(),tSe))&&(n=$z(t.e.We(tSe),249));break;case 3:t.e.Xe((cWt(),eSe))&&(n=$z(t.e.We(eSe),249));break;case 2:t.e.Xe((cWt(),JCe))&&(n=$z(t.e.We(JCe),249));break;case 4:t.e.Xe((cWt(),nSe))&&(n=$z(t.e.We(nSe),249))}return!n&&(n=$z(t.e.We((cWt(),QCe)),249)),n}function SBt(t,e,n){var i,r,a,o,s,c;for(e.p=1,r=e.c,c=Dgt(e,(ait(),Hye)).Kc();c.Ob();)for(i=new Kd($z(c.Pb(),11).g);i.a<i.c.c.length;)e!=(s=$z(Z1(i),17).d.i)&&s.c.p<=r.p&&((a=r.p+1)==n.b.c.length?((o=new FY(n)).p=a,Kz(n.b,o),TJ(s,o)):TJ(s,o=$z(NU(n.b,a),29)),SBt(t,s,n))}function ABt(t,e,n){var r,a,o,s,c,u;for(a=n,o=0,c=new Kd(e);c.a<c.c.c.length;)Vwt(s=$z(Z1(c),33),(qvt(),Oke),nft(a++)),u=dBt(s),r=i.Math.atan2(s.j+s.f/2,s.i+s.g/2),(r+=r<0?Z3t:0)<.7853981633974483||r>b4t?wL(u,t.b):r<=b4t&&r>w4t?wL(u,t.d):r<=w4t&&r>y4t?wL(u,t.c):r<=y4t&&wL(u,t.a),o=ABt(t,u,o);return a}function MBt(){var t;for(MBt=I,Zee=new q6(1,1),tne=new q6(1,10),nne=new q6(0,0),Qee=new q6(-1,1),Jee=Cst(Hx(sne,1),cXt,91,0,[nne,Zee,new q6(1,2),new q6(1,3),new q6(1,4),new q6(1,5),new q6(1,6),new q6(1,7),new q6(1,8),new q6(1,9),tne]),ene=N8(sne,cXt,91,32,0,1),t=0;t<ene.length;t++)ene[t]=Jbt(yq(1,t))}function IBt(t,e,n,i,r,a){var o,s,c,u;for(s=!v_(MX(t.Oc(),new rg(new Zn))).sd((dT(),Jne)),o=t,a==($ht(),zSe)&&(o=iN(o,152)?o6($z(o,152)):iN(o,131)?$z(o,131).a:iN(o,54)?new uv(o):new CE(o)),u=o.Kc();u.Ob();)(c=$z(u.Pb(),70)).n.a=e.a,c.n.b=s?e.b+(i.b-c.o.b)/2:r?e.b:e.b+i.b-c.o.b,e.a+=c.o.a+n}function OBt(t,e,n,i){var r,a,o,s,c;for(r=(i.c+i.a)/2,yV(e.j),DH(e.j,r),yV(n.e),DH(n.e,r),c=new Uk,o=new Kd(t.f);o.a<o.c.c.length;)Bkt(c,e,s=$z(Z1(o),129).a),Bkt(c,n,s);for(a=new Kd(t.k);a.a<a.c.c.length;)Bkt(c,e,s=$z(Z1(a),129).b),Bkt(c,n,s);return c.b+=2,c.a+=OV(e,t.q),c.a+=OV(t.q,n),c}function LBt(t,e,n){var i,r,a,o,s;if(!c3(e)){for(MEt(s=yat(n,(iN(e,14)?$z(e,14).gc():R3(e.Kc()))/t.a|0),G3t,1),o=new Lo,a=null,r=e.Kc();r.Ob();)i=$z(r.Pb(),86),o=Ynt(Cst(Hx(Dte,1),zWt,20,0,[o,new hb(i)])),a&&(uct(a,(HUt(),hxe),i),uct(i,ixe,a),H8(i)==H8(a)&&(uct(a,fxe,i),uct(i,rxe,a))),a=i;zCt(s),LBt(t,o,n)}}function NBt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.d,t.f==(H9(),ire)?s+=(n.a-t.e.b)/2:t.f==nre&&(s+=n.a-t.e.b),r=new Kd(t.d);r.a<r.c.c.length;){switch(o=(i=$z(Z1(r),181)).rf(),(a=new Hk).b=s,s+=o.b+t.a,t.b.g){case 0:a.a=n.c+e.b;break;case 1:a.a=n.c+e.b+(n.b-o.a)/2;break;case 2:a.a=n.c+n.b-e.c-o.a}i.tf(a)}}function DBt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.c,t.b==(V7(),Vie)?s+=(n.b-t.e.a)/2:t.b==Zie&&(s+=n.b-t.e.a),r=new Kd(t.d);r.a<r.c.c.length;){switch(o=(i=$z(Z1(r),181)).rf(),(a=new Hk).a=s,s+=o.a+t.a,t.f.g){case 0:a.b=n.d+e.d;break;case 1:a.b=n.d+e.d+(n.a-o.b)/2;break;case 2:a.b=n.d+n.a-e.a-o.b}i.tf(a)}}function PBt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=$z(PY(n.c,e),459)).f,d=a.a,s=new NA(u,f),l=new NA(o,d),r=u,n.p||(r+=t.c),c=new NA(r+=n.F+n.v*t.b,f),h=new NA(r,d),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[s,c])),n.d.a.gc()>1&&(i=new NA(r,n.b),DH(e.a,i)),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[h,l]))}function BBt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,R5t),"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 Qs))),a2(t,R5t,XZt,OMe),a2(t,R5t,wJt,15),a2(t,R5t,mJt,nft(0)),a2(t,R5t,WZt,gJt)}function jBt(){var t,e,n,i,r,a;for(jBt=I,YNe=N8(ODe,w6t,25,255,15,1),WNe=N8(SDe,YXt,25,16,15,1),e=0;e<255;e++)YNe[e]=-1;for(n=57;n>=48;n--)YNe[n]=n-48<<24>>24;for(i=70;i>=65;i--)YNe[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)YNe[r]=r-97+10<<24>>24;for(a=0;a<10;a++)WNe[a]=48+a&XXt;for(t=10;t<=15;t++)WNe[t]=65+t-10&XXt}function RBt(t,e,n){var i,r,a,o,s,c,u,l;return s=e.i-t.g/2,c=n.i-t.g/2,u=e.j-t.g/2,l=n.j-t.g/2,a=e.g+t.g/2,o=n.g+t.g/2,i=e.f+t.g/2,r=n.f+t.g/2,s<c+o&&c<s&&u<l+r&&l<u||c<s+a&&s<c&&l<u+i&&u<l||s<c+o&&c<s&&u<l&&l<u+i||c<s+a&&s<c&&u<l+r&&l<u}function $Bt(t){var e,n,r,a,o;a=$z(yTt(t,(zYt(),Rbe)),21),o=$z(yTt(t,zbe),21),e=new fO(n=new NA(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((ypt(),PMe))&&(r=$z(yTt(t,Fbe),8),o.Hc((JRt(),UMe))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=i.Math.max(n.a,r.a),e.b=i.Math.max(n.b,r.b)),zv(kB(yTt(t,$be)))||qzt(t,n,e)}function FBt(t,e){var n,i,r,a;for(a=adt(e,(vKt(),TMe)).Kc();a.Ob();)i=$z(a.Pb(),11),(n=$z(yTt(i,(uWt(),xfe)),10))&&qDt(rT(iT(aT(nT(new Fy,0),.1),t.i[e.p].d),t.i[n.p].a));for(r=adt(e,cMe).Kc();r.Ob();)i=$z(r.Pb(),11),(n=$z(yTt(i,(uWt(),xfe)),10))&&qDt(rT(iT(aT(nT(new Fy,0),.1),t.i[n.p].d),t.i[e.p].a))}function zBt(t){var e,n,i,r,a;if(!t.c){if(a=new _c,null==(e=ELe).a.zc(t,e)){for(i=new MN(r4(t));i.e!=i.i.gc();)iN(r=hFt(n=$z(vwt(i),87)),88)&&pY(a,zBt($z(r,26))),u7(a,n);e.a.Bc(t),e.a.gc()}Ogt(a),rlt(a),t.c=new LI(($z(Yet(WV((WY(),ZOe).o),15),18),a.i),a.g),T5(t).b&=-33}return t.c}function HBt(t){var e;if(10!=t.c)throw Fw(new rx(vWt((aL(),p8t))));switch(e=t.a){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Fw(new rx(vWt((aL(),q8t))))}return e}function UBt(t){var e,n,i,r;if(0==t.l&&0==t.m&&0==t.h)return"0";if(t.h==SVt&&0==t.m&&0==t.l)return"-9223372036854775808";if(t.h>>19)return"-"+UBt(act(t));for(n=t,i="";0!=n.l||0!=n.m||0!=n.h;){if(n=IUt(n,R5(IVt),!0),e=""+k_(hee),0!=n.l||0!=n.m||0!=n.h)for(r=9-e.length;r>0;r--)e="0"+e;i=e+i}return i}function GBt(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);return void 0===e[t]&&!(0!=Object.getOwnPropertyNames(e).length||(e[t]=42,42!==e[t])||0==Object.getOwnPropertyNames(e).length)}function qBt(t){var e,n,i,r,a,o,s;for(e=!1,n=0,r=new Kd(t.d.b);r.a<r.c.c.length;)for((i=$z(Z1(r),29)).p=n++,o=new Kd(i.a);o.a<o.c.c.length;)a=$z(Z1(o),10),!e&&!c3(udt(a))&&(e=!0);s=xG(($ht(),FSe),Cst(Hx(USe,1),OXt,103,0,[RSe,$Se])),e||(srt(s,zSe),srt(s,jSe)),t.a=new het(s),IK(t.f),IK(t.b),IK(t.e),IK(t.g)}function KBt(t,e,n){var i,r,a,o,s,c,u,l,h;for(i=n.c,r=n.d,s=g1(e.c),c=g1(e.d),i==e.c?(s=hNt(t,s,r),c=cTt(e.d)):(s=cTt(e.c),c=hNt(t,c,r)),n5(u=new Bk(e.a),s,u.a,u.a.a),n5(u,c,u.c.b,u.c),o=e.c==i,h=new Vy,a=0;a<u.b-1;++a)l=new nM($z(Pwt(u,a),8),$z(Pwt(u,a+1),8)),o&&0==a||!o&&a==u.b-2?h.b=l:Kz(h.a,l);return h}function YBt(t,e){var n,i,r,a;if(0!=(a=t.j.g-e.j.g))return a;if(n=$z(yTt(t,(zYt(),ewe)),19),i=$z(yTt(e,ewe),19),n&&i&&0!=(r=n.a-i.a))return r;switch(t.j.g){case 1:return Cft(t.n.a,e.n.a);case 2:return Cft(t.n.b,e.n.b);case 3:return Cft(e.n.a,t.n.a);case 4:return Cft(e.n.b,t.n.b);default:throw Fw(new Rv(i1t))}}function WBt(t,e,n,r){var a,o,s,c;if(R3((z$(),new oq(QN(udt(e).a.Kc(),new l))))>=t.a||!eEt(e,n))return-1;if(c3($z(r.Kb(e),20)))return 1;for(a=0,s=$z(r.Kb(e),20).Kc();s.Ob();)if(-1==(c=WBt(t,(o=$z(s.Pb(),17)).c.i==e?o.d.i:o.c.i,n,r))||(a=i.Math.max(a,c))>t.c-1)return-1;return a+1}function XBt(t,e){var n,i,r,a,o,s;if(HM(e)===HM(t))return!0;if(!iN(e,15)||(i=$z(e,15),s=t.gc(),i.gc()!=s))return!1;if(o=i.Kc(),t.ni()){for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),null==r?null!=a:!Nht(r,a))return!1}else for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),HM(r)!==HM(a))return!1;return!0}function VBt(t,e){var n,i,r,a,o,s;if(t.f>0)if(t.qj(),null!=e){for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=$z(n.g,367),s=n.i,o=0;o<s;++o)if(Nht(e,(r=i[o]).dd()))return!0}else for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=$z(n.g,367),s=n.i,o=0;o<s;++o)if(r=i[o],HM(e)===HM(r.dd()))return!0;return!1}function QBt(t,e,n){var i,r,a,o;MEt(n,"Orthogonally routing hierarchical port edges",1),t.a=0,NGt(e,i=qHt(e)),XUt(t,e,i),lKt(e),r=$z(yTt(e,(zYt(),twe)),98),Sqt((l1(0,(a=e.b).c.length),$z(a.c[0],29)),r,e),Sqt($z(NU(a,a.c.length-1),29),r,e),_zt((l1(0,(o=e.b).c.length),$z(o.c[0],29))),_zt($z(NU(o,o.c.length-1),29)),zCt(n)}function ZBt(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw Fw(new _x("Invalid hexadecimal"))}}function JBt(t,e,n){var i,r,a,o;for(MEt(n,"Processor order nodes",2),t.a=Hv(_B(yTt(e,(SOt(),Nxe)))),r=new XE,o=cwt(e.b,0);o.b!=o.d.c;)zv(kB(yTt(a=$z(h3(o),86),(HUt(),dxe))))&&n5(r,a,r.c.b,r.c);TP(0!=r.b),jHt(t,i=$z(r.a.a.c,86)),!n.b&&Hit(n,1),Fjt(t,i,0-Hv(_B(yTt(i,(HUt(),axe))))/2,0),!n.b&&Hit(n,1),zCt(n)}function tjt(){tjt=I,jie=new FC("SPIRAL",0),Lie=new FC("LINE_BY_LINE",1),Nie=new FC("MANHATTAN",2),Oie=new FC("JITTER",3),Pie=new FC("QUADRANTS_LINE_BY_LINE",4),Bie=new FC("QUADRANTS_MANHATTAN",5),Die=new FC("QUADRANTS_JITTER",6),Iie=new FC("COMBINE_LINE_BY_LINE_MANHATTAN",7),Mie=new FC("COMBINE_JITTER_MANHATTAN",8)}function ejt(t,e,n,i){var r,a,o,s,c,u;for(c=Nkt(t,n),u=Nkt(e,n),r=!1;c&&u&&(i||yvt(c,u,n));)o=Nkt(c,n),s=Nkt(u,n),M9(e),M9(t),a=c.c,iGt(c,!1),iGt(u,!1),n?(Xvt(e,u.p,a),e.p=u.p,Xvt(t,c.p+1,a),t.p=c.p):(Xvt(t,c.p,a),t.p=c.p,Xvt(e,u.p+1,a),e.p=u.p),TJ(c,null),TJ(u,null),c=o,u=s,r=!0;return r}function njt(t,e,n,i){var r,a,o,s,c;for(r=!1,a=!1,s=new Kd(i.j);s.a<s.c.c.length;)HM(yTt(o=$z(Z1(s),11),(uWt(),dfe)))===HM(n)&&(0==o.g.c.length?0==o.e.c.length||(r=!0):a=!0);return c=0,r&&r^a?c=n.j==(vKt(),cMe)?-t.e[i.c.p][i.p]:e-t.e[i.c.p][i.p]:a&&r^a?c=t.e[i.c.p][i.p]+1:r&&a&&(c=n.j==(vKt(),cMe)?0:e/2),c}function ijt(t,e,n,i,r,a,o,s){var c,u,l;for(c=0,null!=e&&(c^=wyt(e.toLowerCase())),null!=n&&(c^=wyt(n)),null!=i&&(c^=wyt(i)),null!=o&&(c^=wyt(o)),null!=s&&(c^=wyt(s)),u=0,l=a.length;u<l;u++)c^=wyt(a[u]);t?c|=256:c&=-257,r?c|=16:c&=-17,this.f=c,this.i=null==e?null:(mW(e),e),this.a=n,this.d=i,this.j=a,this.g=o,this.e=s}function rjt(t,e,n){var i,r;switch(r=null,e.g){case 1:pat(),r=Nse;break;case 2:pat(),r=Pse}switch(i=null,n.g){case 1:pat(),i=Dse;break;case 2:pat(),i=Lse;break;case 3:pat(),i=Bse;break;case 4:pat(),i=jse}return r&&i?Bz(t.j,new $h(new Vv(Cst(Hx(Lte,1),zWt,169,0,[$z(yY(r),169),$z(yY(i),169)])))):(EV(),EV(),cne)}function ajt(t){var e,n,i;switch(e=$z(yTt(t,(zYt(),Fbe)),8),uct(t,Fbe,new NA(e.b,e.a)),$z(yTt(t,mpe),248).g){case 1:uct(t,mpe,(dyt(),LTe));break;case 2:uct(t,mpe,(dyt(),ATe));break;case 3:uct(t,mpe,(dyt(),ITe));break;case 4:uct(t,mpe,(dyt(),OTe))}(t.q?t.q:(EV(),EV(),une))._b(swe)&&(i=(n=$z(yTt(t,swe),8)).a,n.a=n.b,n.b=i)}function ojt(t,e,n,i,r,a){if(this.b=n,this.d=r,t>=e.length)throw Fw(new Mv("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new WR(i),mrt(this.e,this.c,(vKt(),SMe)),this.i=new WR(i),mrt(this.i,this.c,sMe),this.f=new lG(this.c),this.a=!a&&r.i&&!r.s&&this.c[0].k==(oCt(),Ese),this.a&&pSt(this,t,e.length)}function sjt(t,e){var n,i,r,a,o,s;a=!t.B.Hc((JRt(),zMe)),o=t.B.Hc(GMe),t.a=new zgt(o,a,t.c),t.n&&mV(t.a.n,t.n),vv(t.g,(Pet(),Gie),t.a),e||((i=new Abt(1,a,t.c)).n.a=t.k,wG(t.p,(vKt(),cMe),i),(r=new Abt(1,a,t.c)).n.d=t.k,wG(t.p,TMe,r),(s=new Abt(0,a,t.c)).n.c=t.k,wG(t.p,SMe,s),(n=new Abt(0,a,t.c)).n.b=t.k,wG(t.p,sMe,n))}function cjt(t){var e,n,i;switch((e=$z(yTt(t.d,(zYt(),Qpe)),218)).g){case 2:n=EYt(t);break;case 3:i=new Lw,VE(MX(IX(ftt(ftt(new PU(null,new f1(t.d.b,16)),new Ir),new Or),new Lr),new wr),new Cp(i)),n=i;break;default:throw Fw(new Rv("Compaction not supported for "+e+" edges."))}pUt(t,n),t5(new Cd(t.g),new Ep(t))}function ujt(t,e){var n;return n=new Zt,e&&Hot(n,$z(PY(t.a,NIe),94)),iN(e,470)&&Hot(n,$z(PY(t.a,DIe),94)),iN(e,354)?(Hot(n,$z(PY(t.a,HIe),94)),n):(iN(e,82)&&Hot(n,$z(PY(t.a,PIe),94)),iN(e,239)?(Hot(n,$z(PY(t.a,UIe),94)),n):iN(e,186)?(Hot(n,$z(PY(t.a,GIe),94)),n):(iN(e,352)&&Hot(n,$z(PY(t.a,BIe),94)),n))}function ljt(){ljt=I,Qae=new qO((cWt(),pSe),nft(1)),ioe=new qO(OSe,80),noe=new qO(ESe,5),Rae=new qO(iCe,gJt),Zae=new qO(bSe,nft(1)),eoe=new qO(mSe,(cD(),!0)),Wae=new KO(50),Yae=new qO(qCe,Wae),Fae=CCe,Xae=aSe,$ae=new qO(dCe,!1),Kae=GCe,qae=zCe,Gae=BCe,Uae=DCe,Vae=uSe,xCt(),Hae=Sae,roe=Lae,zae=Cae,Jae=Mae,toe=Oae}function hjt(t){var e,n,i,r,a,o,s;for(s=new b5,o=new Kd(t.a);o.a<o.c.c.length;)if((a=$z(Z1(o),10)).k!=(oCt(),Ese))for(ROt(s,a,new Hk),r=new oq(QN(hdt(a).a.Kc(),new l));gOt(r);)if((i=$z(G5(r),17)).c.i.k!=Ese&&i.d.i.k!=Ese)for(n=cwt(i.a,0);n.b!=n.d.c;)Vkt(s,new dS((e=$z(h3(n),8)).a,e.b));return s}function fjt(){fjt=I,PEe=new aw(j4t),AT(),NEe=new II(H4t,DEe=UEe),Lst(),OEe=new II(R4t,LEe=YEe),OCt(),MEe=new II($4t,IEe=iEe),TEe=new II(F4t,null),I6(),SEe=new II(z4t,AEe=Z_e),CT(),vEe=new II(U4t,xEe=K_e),kEe=new II(G4t,(cD(),!1)),_Ee=new II(q4t,nft(64)),EEe=new II(K4t,!0),CEe=J_e}function djt(t){var e,n,i,r,a;if(null==t.a)if(t.a=N8(MDe,ZQt,25,t.c.b.c.length,16,1),t.a[0]=!1,OP(t.c,(zYt(),Gwe)))for(n=$z(yTt(t.c,Gwe),15).Kc();n.Ob();)(e=$z(n.Pb(),19).a)>0&&e<t.a.length&&(t.a[e]=!1);else for((a=new Kd(t.c.b)).a<a.c.c.length&&Z1(a),i=1;a.a<a.c.c.length;)r=$z(Z1(a),29),t.a[i++]=qLt(r)}function gjt(t,e){var n,i;switch(i=t.b,e){case 1:t.b|=1,t.b|=4,t.b|=8;break;case 2:t.b|=2,t.b|=4,t.b|=8;break;case 4:t.b|=1,t.b|=2,t.b|=4,t.b|=8;break;case 3:t.b|=16,t.b|=8;break;case 0:t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4}if(t.b!=i&&t.c)for(n=new MN(t.c);n.e!=n.i.gc();)IAt(T5($z(vwt(n),473)),e)}function pjt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(r=!1,s=0,c=(o=e).length;s<c;++s)a=o[s],zv((cD(),!!a.e))&&!$z(NU(t.b,a.e.p),214).s&&(r|=(u=a.e,(h=(l=$z(NU(t.b,u.p),214)).e)[f=uk(n,h.length)][0].k==(oCt(),Ese)?h[f]=ODt(a,h[f],n?(vKt(),SMe):(vKt(),sMe)):l.c.Tf(h,n),d=PDt(t,l,n,i),DPt(l.e,l.o,n),d));return r}function bjt(t,e){var n,i,r,a,o;for(a=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,r=new MN((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));r.e!=r.i.gc();)HM(ZOt(i=$z(vwt(r),33),(cWt(),xCe)))!==HM((oht(),yAe))&&((o=$z(ZOt(e,wSe),149))==(n=$z(ZOt(i,wSe),149))||o&&v5(o,n))&&0!=(!i.a&&(i.a=new tK(UIe,i,10,11)),i.a).i&&(a+=bjt(t,i));return a}function wjt(t){var e,n,i,r,a,o,s;for(i=0,s=0,o=new Kd(t.d);o.a<o.c.c.length;)a=$z(Z1(o),101),r=$z(T4(MX(new PU(null,new f1(a.j,16)),new Yr),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15),n=null,i<=s?(vKt(),n=cMe,i+=r.gc()):s<i&&(vKt(),n=TMe,s+=r.gc()),e=n,VE(IX(r.Oc(),new Hr),new Mp(e))}function yjt(t){var e,n,i,r,a,o,s,c;for(t.b=new wIt(new Vv((vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe]))),new Vv((Srt(),Cst(Hx(Rue,1),OXt,361,0,[Bue,Pue,Due])))),s=0,c=(o=Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length;s<c;++s)for(a=o[s],i=0,r=(n=Cst(Hx(Rue,1),OXt,361,0,[Bue,Pue,Due])).length;i<r;++i)e=n[i],Ykt(t.b,a,e,new Lw)}function mjt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=$z($z(c6(t.r,e),21),84),s=t.u.Hc((hMt(),iMe)),n=t.u.Hc(tMe),i=t.u.Hc(JAe),u=t.u.Hc(rMe),h=t.B.Hc((JRt(),XMe)),l=!n&&!i&&(u||2==o.gc()),uPt(t,e),r=null,c=null,s){for(c=r=$z((a=o.Kc()).Pb(),111);a.Ob();)c=$z(a.Pb(),111);r.d.b=0,c.d.c=0,l&&!r.a&&(r.d.c=0)}h&&(PEt(o),s&&(r.d.b=0,c.d.c=0))}function vjt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=$z($z(c6(t.r,e),21),84),s=t.u.Hc((hMt(),iMe)),n=t.u.Hc(tMe),i=t.u.Hc(JAe),c=t.u.Hc(rMe),h=t.B.Hc((JRt(),XMe)),u=!n&&!i&&(c||2==o.gc()),W$t(t,e),l=null,r=null,s){for(r=l=$z((a=o.Kc()).Pb(),111);a.Ob();)r=$z(a.Pb(),111);l.d.d=0,r.d.a=0,u&&!l.a&&(l.d.a=0)}h&&(BEt(o),s&&(l.d.d=0,r.d.a=0))}function xjt(t,e,n){var i,r,a,o,s;if(i=e.k,e.p>=0)return!1;if(e.p=n.b,Kz(n.e,e),i==(oCt(),Cse)||i==Ase)for(r=new Kd(e.j);r.a<r.c.c.length;)for(s=new Ug(new Kd(new Hg($z(Z1(r),11)).a.g));yL(s.a);)if(o=(a=$z(Z1(s.a),17).d.i).k,e.c!=a.c&&(o==Cse||o==Ase)&&xjt(t,a,n))return!0;return!0}function kjt(t){var e;return 64&t.Db?jIt(t):((e=new uD(jIt(t))).a+=" (changeable: ",y_(e,!!(t.Bb&v6t)),e.a+=", volatile: ",y_(e,!!(t.Bb&E7t)),e.a+=", transient: ",y_(e,!!(t.Bb&RVt)),e.a+=", defaultValueLiteral: ",iI(e,t.j),e.a+=", unsettable: ",y_(e,!!(t.Bb&_7t)),e.a+=", derived: ",y_(e,!!(t.Bb&uXt)),e.a+=")",e.a)}function _jt(t){var e,n,i,r,a,o,s,c,u,l;for(n=NNt(t.d),a=(r=$z(yTt(t.b,(kwt(),bae)),116)).b+r.c,o=r.d+r.a,c=n.d.a*t.e+a,s=n.b.a*t.f+o,Of(t.b,new NA(c,s)),l=new Kd(t.g);l.a<l.c.c.length;)e=Gj(RP(new NA((u=$z(Z1(l),562)).g-n.a.a,u.i-n.c.a),u.a,u.b),mN($P($L(YO(u.e)),u.d*u.a,u.c*u.b),-.5)),i=WO(u.e),ek(u.e,qj(e,i))}function Ejt(t,e,n,i){var r,a,o,s,c;for(c=N8(LDe,cXt,104,(vKt(),Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length,0,2),o=0,s=(a=Cst(Hx(DMe,1),VJt,61,0,[CMe,cMe,sMe,TMe,SMe])).length;o<s;++o)c[(r=a[o]).g]=N8(LDe,HVt,25,t.c[r.g],15,1);return Fxt(c,t,cMe),Fxt(c,t,TMe),Dmt(c,t,cMe,e,n,i),Dmt(c,t,sMe,e,n,i),Dmt(c,t,TMe,e,n,i),Dmt(c,t,SMe,e,n,i),c}function Tjt(t,e,n){if(cK(t.a,e)){if(RE($z(PY(t.a,e),53),n))return 1}else YW(t.a,e,new Py);if(cK(t.a,n)){if(RE($z(PY(t.a,n),53),e))return-1}else YW(t.a,n,new Py);if(cK(t.b,e)){if(RE($z(PY(t.b,e),53),n))return-1}else YW(t.b,e,new Py);if(cK(t.b,n)){if(RE($z(PY(t.b,n),53),e))return 1}else YW(t.b,n,new Py);return 0}function Cjt(t,e,n,i){var r,a,o,s,c,u;if(null==n)for(r=$z(t.g,119),s=0;s<t.i;++s)if((o=r[s]).ak()==e)return Rwt(t,o,i);return QT(),a=$z(e,66).Oj()?$z(n,72):Q3(e,n),wO(t.e)?(u=!apt(t,e),i=Vgt(t,a,i),c=e.$j()?OQ(t,3,e,null,n,bzt(t,e,n,iN(e,99)&&!!($z(e,18).Bb&FVt)),u):OQ(t,1,e,e.zj(),n,-1,u),i?i.Ei(c):i=c):i=Vgt(t,a,i),i}function Sjt(t){var e,n,r,a,o,s;t.q==(X_t(),YAe)||t.q==KAe||(a=t.f.n.d+qH($z(oX(t.b,(vKt(),cMe)),124))+t.c,e=t.f.n.a+qH($z(oX(t.b,TMe),124))+t.c,r=$z(oX(t.b,sMe),124),s=$z(oX(t.b,SMe),124),o=i.Math.max(0,r.n.d-a),o=i.Math.max(o,s.n.d-a),n=i.Math.max(0,r.n.a-e),n=i.Math.max(n,s.n.a-e),r.n.d=o,s.n.d=o,r.n.a=n,s.n.a=n)}function Ajt(t,e){var n,i,r,a,o,s,c;for(MEt(e,"Restoring reversed edges",1),o=new Kd(t.b);o.a<o.c.c.length;)for(s=new Kd($z(Z1(o),29).a);s.a<s.c.c.length;)for(c=new Kd($z(Z1(s),10).j);c.a<c.c.c.length;)for(r=0,a=(i=Q0($z(Z1(c),11).g)).length;r<a;++r)zv(kB(yTt(n=i[r],(uWt(),Cfe))))&&tzt(n,!1);zCt(e)}function Mjt(){this.b=new b4,this.d=new b4,this.e=new b4,this.c=new b4,this.a=new Nw,this.f=new Nw,NZ(TTe,new vs,new xs),NZ(CTe,new Ls,new Ns),NZ(xse,new Ds,new Ps),NZ(Ose,new js,new Rs),NZ(rIe,new $s,new Fs),NZ(wne,new ks,new _s),NZ(Sne,new Es,new Ts),NZ(vne,new Cs,new Ss),NZ(xne,new As,new Ms),NZ($ne,new Is,new Os)}function Ijt(t){var e,n,i,r,a,o;return a=0,(e=Axt(t)).Bj()&&(a|=4),t.Bb&_7t&&(a|=2),iN(t,99)?(r=Syt(n=$z(t,18)),n.Bb&u6t&&(a|=32),r&&(hY(dJ(r)),a|=8,((o=r.t)>1||-1==o)&&(a|=16),r.Bb&u6t&&(a|=64)),n.Bb&FVt&&(a|=E7t),a|=v6t):iN(e,457)?a|=512:(i=e.Bj())&&1&i.i&&(a|=256),512&t.Bb&&(a|=128),a}function Ojt(t,e){var n,i,r,a,o;for(t=null==t?GWt:(mW(t),t),r=0;r<e.length;r++)e[r]=nNt(e[r]);for(n=new Sx,o=0,i=0;i<e.length&&-1!=(a=t.indexOf("%s",o));)n.a+=""+uP(null==t?GWt:(mW(t),t),o,a),aI(n,e[i++]),o=a+2;if(H0(n,t,o,t.length),i<e.length){for(n.a+=" [",aI(n,e[i++]);i<e.length;)n.a+=$Wt,aI(n,e[i++]);n.a+="]"}return n.a}function Ljt(t){var e,n,i,r,a;for(a=new V6(t.a.c.length),r=new Kd(t.a);r.a<r.c.c.length;){switch(i=$z(Z1(r),10),e=null,(n=$z(yTt(i,(zYt(),mbe)),163)).g){case 1:case 2:Qst(),e=Ole;break;case 3:case 4:Qst(),e=Mle}e?(uct(i,(uWt(),Hhe),(Qst(),Ole)),e==Mle?BDt(i,n,(ait(),zye)):e==Ole&&BDt(i,n,(ait(),Hye))):a.c[a.c.length]=i}return a}function Njt(t,e){var n,i,r,a,o,s,c;for(n=0,c=new Kd(e);c.a<c.c.c.length;){for(s=$z(Z1(c),11),Jut(t.b,t.d[s.p]),o=0,r=new w6(s.b);yL(r.a)||yL(r.b);)CW(i=$z(yL(r.a)?Z1(r.a):Z1(r.b),17))?(a=__(t,s==i.c?i.d:i.c))>t.d[s.p]&&(n+=Z4(t.b,a),d3(t.a,nft(a))):++o;for(n+=t.b.d*o;!Kv(t.a);)_tt(t.b,$z(dK(t.a),19).a)}return n}function Djt(t,e){var n;return t.f==rNe?(n=DW($9((ASt(),VLe),e)),t.e?4==n&&e!=(_It(),uNe)&&e!=(_It(),oNe)&&e!=(_It(),sNe)&&e!=(_It(),cNe):2==n):!(!t.d||!(t.d.Hc(e)||t.d.Hc(Q1($9((ASt(),VLe),e)))||t.d.Hc($Ut((ASt(),VLe),t.b,e))))||!(!t.f||!aDt((ASt(),t.f),vX($9(VLe,e))))&&(n=DW($9(VLe,e)),t.e?4==n:2==n)}function Pjt(t,e,n,r){var a,o,s,c,u,l,h,f;return u=(s=$z(ZOt(n,(cWt(),gSe)),8)).a,h=s.b+t,(a=i.Math.atan2(h,u))<0&&(a+=Z3t),(a+=e)>Z3t&&(a-=Z3t),l=(c=$z(ZOt(r,gSe),8)).a,f=c.b+t,(o=i.Math.atan2(f,l))<0&&(o+=Z3t),(o+=e)>Z3t&&(o-=Z3t),cL(),iit(1e-10),i.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:a<o?-1:a>o?1:UI(isNaN(a),isNaN(o))}function Bjt(t){var e,n,i,r,a,o,s;for(s=new Nw,i=new Kd(t.a.b);i.a<i.c.c.length;)YW(s,e=$z(Z1(i),57),new Lw);for(r=new Kd(t.a.b);r.a<r.c.c.length;)for((e=$z(Z1(r),57)).i=jVt,o=e.c.Kc();o.Ob();)a=$z(o.Pb(),57),$z(zM(MQ(s.f,a)),15).Fc(e);for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Z1(n),57)).c.$b(),e.c=$z(zM(MQ(s.f,e)),15);RPt(t)}function jjt(t){var e,n,i,r,a,o,s;for(s=new Nw,i=new Kd(t.a.b);i.a<i.c.c.length;)YW(s,e=$z(Z1(i),81),new Lw);for(r=new Kd(t.a.b);r.a<r.c.c.length;)for((e=$z(Z1(r),81)).o=jVt,o=e.f.Kc();o.Ob();)a=$z(o.Pb(),81),$z(zM(MQ(s.f,a)),15).Fc(e);for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Z1(n),81)).f.$b(),e.f=$z(zM(MQ(s.f,e)),15);FDt(t)}function Rjt(t,e,n,i){var r,a;for(Uxt(t,e,n,i),Nf(e,t.j-e.j+n),Df(e,t.k-e.k+i),a=new Kd(e.f);a.a<a.c.c.length;)switch(r=$z(Z1(a),324),r.a.g){case 0:dct(t,e.g+r.b.a,0,e.g+r.c.a,e.i-1);break;case 1:dct(t,e.g+e.o,e.i+r.b.a,t.o-1,e.i+r.c.a);break;case 2:dct(t,e.g+r.b.a,e.i+e.p,e.g+r.c.a,t.p-1);break;default:dct(t,0,e.i+r.b.a,e.g-1,e.i+r.c.a)}}function $jt(t,e,n,i,r){var a,o;try{if(e>=t.o)throw Fw(new Ey);o=e>>5,a=yq(1,dG(yq(31&e,1))),t.n[n][o]=r?e0(t.n[n][o],a):t0(t.n[n][o],aH(a)),a=yq(a,1),t.n[n][o]=i?e0(t.n[n][o],a):t0(t.n[n][o],aH(a))}catch(s){throw iN(s=hst(s),320)?Fw(new Mv(EZt+t.o+"*"+t.p+TZt+e+$Wt+n+CZt)):Fw(s)}}function Fjt(t,e,n,r){var a,o;e&&(a=Hv(_B(yTt(e,(HUt(),uxe))))+r,o=n+Hv(_B(yTt(e,axe)))/2,uct(e,gxe,nft(dG(lot(i.Math.round(a))))),uct(e,pxe,nft(dG(lot(i.Math.round(o))))),0==e.d.b||Fjt(t,$z(eN(new fb(cwt(new hb(e).a.d,0))),86),n+Hv(_B(yTt(e,axe)))+t.a,r+Hv(_B(yTt(e,oxe)))),null!=yTt(e,fxe)&&Fjt(t,$z(yTt(e,fxe),86),n,r))}function zjt(t,e){var n,r,a,o,s,c,u,l,h,f,d;for(a=2*Hv(_B(yTt(u=bW(e.a),(zYt(),kwe)))),h=Hv(_B(yTt(u,Mwe))),l=i.Math.max(a,h),o=N8(LDe,HVt,25,e.f-e.c+1,15,1),r=-l,n=0,c=e.b.Kc();c.Ob();)s=$z(c.Pb(),10),r+=t.a[s.c.p]+l,o[n++]=r;for(r+=t.a[e.a.c.p]+l,o[n++]=r,d=new Kd(e.e);d.a<d.c.c.length;)f=$z(Z1(d),10),r+=t.a[f.c.p]+l,o[n++]=r;return o}function Hjt(t,e,n,i){var r,a,o,s,c,u,l,h;for(h=new d_(new Xp(t)),s=0,c=(o=Cst(Hx(kse,1),a1t,10,0,[e,n])).length;s<c;++s)for(l=Lht(o[s],i).Kc();l.Ob();)for(a=new w6((u=$z(l.Pb(),11)).b);yL(a.a)||yL(a.b);)h5(r=$z(yL(a.a)?Z1(a.a):Z1(a.b),17))||(Ect(h.a,u,(cD(),wee)),CW(r)&&QK(h,u==r.c?r.d:r.c));return yY(h),new JR(h)}function Ujt(t,e){var n,i,r,a;if(0!=(a=$z(ZOt(t,(cWt(),fSe)),61).g-$z(ZOt(e,fSe),61).g))return a;if(n=$z(ZOt(t,sSe),19),i=$z(ZOt(e,sSe),19),n&&i&&0!=(r=n.a-i.a))return r;switch($z(ZOt(t,fSe),61).g){case 1:return Cft(t.i,e.i);case 2:return Cft(t.j,e.j);case 3:return Cft(e.i,t.i);case 4:return Cft(e.j,t.j);default:throw Fw(new Rv(i1t))}}function Gjt(t){var e,n,i;return 64&t.Db?yCt(t):(e=new lD(J5t),(n=t.k)?oI(oI((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new tK(HIe,t,1,7)),$z(Yet(t.n,0),137)).a)||oI(oI((e.a+=' "',e),i),'"'))),oI(m_(oI(m_(oI(m_(oI(m_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function qjt(t){var e,n,i;return 64&t.Db?yCt(t):(e=new lD(t6t),(n=t.k)?oI(oI((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new tK(HIe,t,1,7)),$z(Yet(t.n,0),137)).a)||oI(oI((e.a+=' "',e),i),'"'))),oI(m_(oI(m_(oI(m_(oI(m_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function Kjt(t,e){var n,i,r,a,o,s;if(null==e||0==e.length)return null;if(!(r=$z(EZ(t.a,e),149))){for(i=new Bd(new Ad(t.b).a.vc().Kc());i.a.Ob();)if(a=$z(i.a.Pb(),42),o=(n=$z(a.dd(),149)).c,s=e.length,wR(o.substr(o.length-s,s),e)&&(e.length==o.length||46==uX(o,o.length-e.length-1))){if(r)return null;r=n}r&&wJ(t.a,e,r)}return r}function Yjt(t,e){var n,i,r;return n=new Dt,(i=$z(T4(IX(new PU(null,new f1(t.f,16)),n),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Vne),Xne]))),21).gc())<(r=$z(T4(IX(new PU(null,new f1(e.f,16)),n),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[Vne,Xne]))),21).gc())?-1:i==r?0:1}function Wjt(t){var e,n,i;OP(t,(zYt(),Ibe))&&!(i=$z(yTt(t,Ibe),21)).dc()&&(n=new XR(e=$z(Yk(jAe),9),$z(Ej(e,e.length),9),0),i.Hc((JOt(),OAe))?srt(n,OAe):srt(n,LAe),i.Hc(MAe)||srt(n,MAe),i.Hc(AAe)?srt(n,PAe):i.Hc(SAe)?srt(n,DAe):i.Hc(IAe)&&srt(n,NAe),i.Hc(PAe)?srt(n,AAe):i.Hc(DAe)?srt(n,SAe):i.Hc(NAe)&&srt(n,IAe),uct(t,Ibe,n))}function Xjt(t){var e,n,i,r,a,o,s;for(r=$z(yTt(t,(uWt(),nfe)),10),l1(0,(i=t.j).c.length),n=$z(i.c[0],11),o=new Kd(r.j);o.a<o.c.c.length;)if(HM(a=$z(Z1(o),11))===HM(yTt(n,dfe))){a.j==(vKt(),cMe)&&t.p>r.p?(HAt(a,TMe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=s-e)):a.j==TMe&&r.p>t.p&&(HAt(a,cMe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=-(s-e)));break}return r}function Vjt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;if(a=n,n<i)for(d=new $ot(t.p),g=new $ot(t.p),$rt(d.e,t.e),d.q=t.q,d.r=g,nY(d),$rt(g.j,t.j),g.r=d,nY(g),h=$z((f=new nM(d,g)).a,112),l=$z(f.b,112),l1(a,e.c.length),o=OBt(t,h,l,r=$z(e.c[a],329)),u=n+1;u<=i;u++)l1(u,e.c.length),Wwt(s=$z(e.c[u],329),c=OBt(t,h,l,s),r,o)&&(r=s,o=c);return a}function Qjt(t,e,n,i,r){var a,o,s,c,u,l,h;if(!(iN(e,239)||iN(e,354)||iN(e,186)))throw Fw(new jv("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return o=t.a/2,c=e.i+i-o,l=e.j+r-o,u=c+e.g+t.a,h=l+e.f+t.a,DH(a=new mm,new NA(c,l)),DH(a,new NA(c,h)),DH(a,new NA(u,h)),DH(a,new NA(u,l)),Hot(s=new kOt(a),e),n&&YW(t.b,e,s),s}function Zjt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new NA(e,n),u=new Kd(t.a);u.a<u.c.c.length;)for(Gj((c=$z(Z1(u),10)).n,a),l=new Kd(c.j);l.a<l.c.c.length;)for(r=new Kd($z(Z1(l),11).g);r.a<r.c.c.length;)for(Zet((i=$z(Z1(r),17)).a,a),(o=$z(yTt(i,(zYt(),bbe)),74))&&Zet(o,a),s=new Kd(i.b);s.a<s.c.c.length;)Gj($z(Z1(s),70).n,a)}function Jjt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new NA(e,n),u=new Kd(t.a);u.a<u.c.c.length;)for(Gj((c=$z(Z1(u),10)).n,a),l=new Kd(c.j);l.a<l.c.c.length;)for(r=new Kd($z(Z1(l),11).g);r.a<r.c.c.length;)for(Zet((i=$z(Z1(r),17)).a,a),(o=$z(yTt(i,(zYt(),bbe)),74))&&Zet(o,a),s=new Kd(i.b);s.a<s.c.c.length;)Gj($z(Z1(s),70).n,a)}function tRt(t){if(0==(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i)throw Fw(new ix("Edges must have a source."));if(0==(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c).i)throw Fw(new ix("Edges must have a target."));if(!t.b&&(t.b=new cR(PIe,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c.i<=1)))throw Fw(new ix("Hyperedges are not supported."))}function eRt(t,e){var n,i,r,a,o,s,c,u,l,h;for(h=0,d3(a=new Ow,e);a.b!=a.c;)for(c=$z(dK(a),214),u=0,l=$z(yTt(e.j,(zYt(),Ope)),339),o=Hv(_B(yTt(e.j,Spe))),s=Hv(_B(yTt(e.j,Ape))),l!=(yct(),Nye)&&(u+=o*TLt(c.e,l),u+=s*iPt(c.e)),h+=cvt(c.d,c.e)+u,r=new Kd(c.b);r.a<r.c.c.length;)i=$z(Z1(r),37),(n=$z(NU(t.b,i.p),214)).s||(h+=JSt(t,n));return h}function nRt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=d=e.length,h1(0,e.length),45==e.charCodeAt(0)?(h=-1,f=1,--d):(h=1,f=0),r=d/(a=(oHt(),rne)[10])|0,0!=(b=d%a)&&++r,s=N8(ADe,uVt,25,r,15,1),n=ine[8],o=0,g=f+(0==b?a:b),p=f;p<c;g=(p=g)+a)i=h$t(e.substr(p,g-p),RXt,PWt),OIt(),u=gyt(s,s,o,n),u+=qgt(s,o,i),s[o++]=u;l=o,t.e=h,t.d=l,t.a=s,q0(t)}function iRt(t,e,n,i,r,a,o){if(t.c=i.qf().a,t.d=i.qf().b,r&&(t.c+=r.qf().a,t.d+=r.qf().b),t.b=e.rf().a,t.a=e.rf().b,r)switch(r.Hf().g){case 0:case 2:t.c+=r.rf().a+o+a.a+o;break;case 4:t.c-=o+a.a+o+e.rf().a;break;case 1:t.c+=r.rf().a+o,t.d-=o+a.b+o+e.rf().b;break;case 3:t.c+=r.rf().a+o,t.d+=r.rf().b+o+a.b+o}else n?t.c-=o+e.rf().a:t.c+=i.rf().a+o}function rRt(t,e){var n,i;for(this.b=new Lw,this.e=new Lw,this.a=t,this.d=e,Uwt(this),bpt(this),this.b.dc()?this.c=t.c.p:this.c=$z(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=t.c.p:this.f=$z(NU(this.e,this.e.c.length-1),10).c.p,i=$z(yTt(t,(uWt(),Tfe)),15).Kc();i.Ob();)if(OP(n=$z(i.Pb(),70),(zYt(),Ype))){this.d=$z(yTt(n,Ype),227);break}}function aRt(t,e,n){var i,r,a,o,s,c,u,l;for(i=$z(PY(t.a,e),53),a=$z(PY(t.a,n),53),r=$z(PY(t.e,e),53),o=$z(PY(t.e,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=$z(l.Pb(),10),i.a.zc(u,i),kK($z(PY(t.e,u),53),e),$rt($z(PY(t.e,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=$z(c.Pb(),10),o.a.zc(s,o),kK($z(PY(t.a,s),53),n),$rt($z(PY(t.a,s),53),a)}function oRt(t,e,n){var i,r,a,o,s,c,u,l;for(i=$z(PY(t.a,e),53),a=$z(PY(t.a,n),53),r=$z(PY(t.b,e),53),o=$z(PY(t.b,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=$z(l.Pb(),10),i.a.zc(u,i),kK($z(PY(t.b,u),53),e),$rt($z(PY(t.b,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=$z(c.Pb(),10),o.a.zc(s,o),kK($z(PY(t.a,s),53),n),$rt($z(PY(t.a,s),53),a)}function sRt(t,e){var n,i,r;switch(MEt(e,"Breaking Point Insertion",1),i=new EOt(t),$z(yTt(t,(zYt(),$we)),337).g){case 2:r=new Ea;case 0:r=new ga;break;default:r=new Ta}if(n=r.Vf(t,i),zv(kB(yTt(t,zwe)))&&(n=PUt(t,n)),!r.Wf()&&OP(t,qwe))switch($z(yTt(t,qwe),338).g){case 2:n=KAt(i,n);break;case 1:n=jEt(i,n)}n.dc()||tYt(t,n),zCt(e)}function cRt(t,e,n){var i,r,a,o,s,c,u;if(u=e,Oit(c=W3(t,O3(n),u),P2(u,H6t)),o=L2(u,L6t),WAt((i=new oM(t,c)).a,i.b,o),s=L2(u,N6t),XAt((r=new sM(t,c)).a,r.b,s),0==(!c.b&&(c.b=new cR(PIe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new cR(PIe,c,5,8)),c.c).i)throw a=P2(u,H6t),Fw(new tx(K6t+a+Y6t));return TEt(u,c),cYt(t,u,c),Dct(t,u,c)}function uRt(t,e){var n,r,a,o,s,c,u;for(a=N8(ADe,uVt,25,t.e.a.c.length,15,1),s=new Kd(t.e.a);s.a<s.c.c.length;)a[(o=$z(Z1(s),121)).d]+=o.b.a.c.length;for(c=Uz(e);0!=c.b;)for(r=O7(new Kd((o=$z(0==c.b?null:(TP(0!=c.b),Iet(c,c.a.a)),121)).g.a));r.Ob();)(u=(n=$z(r.Pb(),213)).e).e=i.Math.max(u.e,o.e+n.a),--a[u.d],0==a[u.d]&&n5(c,u,c.c.b,c.c)}function lRt(t){var e,n,r,a,o,s,c,u,l,h,f;for(n=RXt,a=PWt,c=new Kd(t.e.a);c.a<c.c.c.length;)o=$z(Z1(c),121),a=i.Math.min(a,o.e),n=i.Math.max(n,o.e);for(e=N8(ADe,uVt,25,n-a+1,15,1),s=new Kd(t.e.a);s.a<s.c.c.length;)(o=$z(Z1(s),121)).e-=a,++e[o.e];if(r=0,null!=t.k)for(h=0,f=(l=t.k).length;h<f&&(u=l[h],e[r++]+=u,e.length!=r);++h);return e}function hRt(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return $z(jPt(t),19).a==t.o;case 1:case 2:if(-2==t.o)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return WM(t.k,t.f);case 3:case 4:return t.j==t.e;default:return null==t.n?null==t.g:Nht(t.n,t.g)}default:return!1}}function fRt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,j5t),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new Vs))),a2(t,j5t,XZt,dAe),a2(t,j5t,p3t,ywt(gAe)),a2(t,j5t,p5t,ywt(cAe)),a2(t,j5t,CJt,ywt(uAe)),a2(t,j5t,FJt,ywt(hAe)),a2(t,j5t,V2t,ywt(lAe))}function dRt(t,e,n){var i,r,a,o;if(i=dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))),o=dG(rdt(TXt,nX(dG(rdt(null==n?0:Jct(n),CXt)),15))),(a=Qrt(t,e,i))&&o==a.f&&fW(n,a.i))return n;if(Zrt(t,n,o))throw Fw(new jv("value already present: "+n));return r=new zW(e,i,n,o),a?(LNt(t,a),VAt(t,r,a),a.e=null,a.c=null,a.i):(VAt(t,r,null),Hxt(t),null)}function gRt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=$z(PY(n.c,e),459)).f,d=a.a,s=a.b?new NA(o,f):new NA(u,f),l=a.c?new NA(u,d):new NA(o,d),r=u,n.p||(r+=t.c),c=new NA(r+=n.F+n.v*t.b,f),h=new NA(r,d),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[s,c])),n.d.a.gc()>1&&(i=new NA(r,n.b),DH(e.a,i)),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[h,l]))}function pRt(t,e,n){var i,r,a,o,s,c;if(e){if(n<=-1){if(iN(i=eet(e.Tg(),-1-n),99))return $z(i,18);for(s=0,c=(o=$z(e.ah(i),153)).gc();s<c;++s)if(HM(o.jl(s))===HM(t)&&iN(r=o.il(s),99)&&(a=$z(r,18)).Bb&u6t)return a;throw Fw(new Rv("The containment feature could not be located"))}return Syt($z(eet(t.Tg(),n),18))}return null}function bRt(t){var e,n,i,r,a;for(i=t.length,e=new Tx,a=0;a<i;)if(9!=(n=uX(t,a++))&&10!=n&&12!=n&&13!=n&&32!=n){if(35==n){for(;a<i&&13!=(n=uX(t,a++))&&10!=n;);continue}92==n&&a<i?35==(h1(a,t.length),r=t.charCodeAt(a))||9==r||10==r||12==r||13==r||32==r?(LY(e,r&XXt),++a):(e.a+="\\",LY(e,r&XXt),++a):LY(e,n&XXt)}return e.a}function wRt(t,e){var n,i,r;for(i=new Kd(e);i.a<i.c.c.length;)if(n=$z(Z1(i),33),QMt(t.a,n,n),QMt(t.b,n,n),0!=(r=dBt(n)).c.length)for(t.d&&t.d.lg(r),QMt(t.a,n,(l1(0,r.c.length),$z(r.c[0],33))),QMt(t.b,n,$z(NU(r,r.c.length-1),33));0!=Pst(r).c.length;)r=Pst(r),t.d&&t.d.lg(r),QMt(t.a,n,(l1(0,r.c.length),$z(r.c[0],33))),QMt(t.b,n,$z(NU(r,r.c.length-1),33))}function yRt(t){var e,n,i,r,a,o,s,c,u,l;for(n=0,s=new Kd(t.d);s.a<s.c.c.length;)(o=$z(Z1(s),101)).i&&(o.i.c=n++);for(e=mU(MDe,[cXt,ZQt],[177,25],16,[n,n],2),l=t.d,r=0;r<l.c.length;r++)if(l1(r,l.c.length),(c=$z(l.c[r],101)).i)for(a=r+1;a<l.c.length;a++)l1(a,l.c.length),(u=$z(l.c[a],101)).i&&(i=iTt(c,u),e[c.i.c][u.i.c]=i,e[u.i.c][c.i.c]=i);return e}function mRt(t,e,n,i){var r,a,o;return o=new yE(e,n),t.a?i?(++(r=$z(PY(t.b,e),283)).a,o.d=i.d,o.e=i.e,o.b=i,o.c=i,i.e?i.e.c=o:$z(PY(t.b,e),283).b=o,i.d?i.d.b=o:t.a=o,i.d=o,i.e=o):(t.e.b=o,o.d=t.e,t.e=o,(r=$z(PY(t.b,e),283))?(++r.a,(a=r.c).c=o,o.e=a,r.c=o):(YW(t.b,e,r=new sQ(o)),++t.c)):(t.a=t.e=o,YW(t.b,e,new sQ(o)),++t.c),++t.d,o}function vRt(t,e){var n,i,r,a,o,s,c,u;for(n=new RegExp(e,"g"),c=N8(zee,cXt,2,0,6,1),i=0,u=t,a=null;;){if(null==(s=n.exec(u))||""==u){c[i]=u;break}o=s.index,c[i]=u.substr(0,o),u=uP(u,o+s[0].length,u.length),n.lastIndex=0,a==u&&(c[i]=u.substr(0,1),u=u.substr(1)),a=u,++i}if(t.length>0){for(r=c.length;r>0&&""==c[r-1];)--r;r<c.length&&(c.length=r)}return c}function xRt(t,e){var n,i,r,a,o,s,c,u;for(s=null,r=!1,a=0,c=r4((u=mQ(e)).a).i;a<c;++a)(n=xRt(t,$z(eGt(u,a,iN(o=$z(Yet(r4(u.a),a),87).c,88)?$z(o,26):(pWt(),fLe)),26))).dc()||(s?(r||(r=!0,s=new nG(s)),s.Gc(n)):s=n);return(i=DMt(t,e)).dc()?s||(EV(),EV(),cne):s?(r||(s=new nG(s)),s.Gc(i),s):i}function kRt(t,e){var n,i,r,a,o,s,c,u;for(s=null,i=!1,a=0,c=r4((u=mQ(e)).a).i;a<c;++a)(n=kRt(t,$z(eGt(u,a,iN(o=$z(Yet(r4(u.a),a),87).c,88)?$z(o,26):(pWt(),fLe)),26))).dc()||(s?(i||(i=!0,s=new nG(s)),s.Gc(n)):s=n);return(r=WIt(t,e)).dc()?s||(EV(),EV(),cne):s?(i||(s=new nG(s)),s.Gc(r),s):r}function _Rt(t,e,n){var i,r,a,o,s,c;if(iN(e,72))return Rwt(t,e,n);for(s=null,a=null,i=$z(t.g,119),o=0;o<t.i;++o)if(Nht(e,(r=i[o]).dd())&&iN(a=r.ak(),99)&&$z(a,18).Bb&u6t){s=r;break}return s&&(wO(t.e)&&(c=a.$j()?OQ(t,4,a,e,null,bzt(t,a,e,iN(a,99)&&!!($z(a,18).Bb&FVt)),!0):OQ(t,a.Kj()?2:1,a,e,a.zj(),-1,!0),n?n.Ei(c):n=c),n=_Rt(t,s,n)),n}function ERt(t){var e,n,r,a;r=t.o,zB(),t.A.dc()||Nht(t.A,Ire)?a=r.a:(a=TMt(t.f),t.A.Hc((ypt(),BMe))&&!t.B.Hc((JRt(),KMe))&&(a=i.Math.max(a,TMt($z(oX(t.p,(vKt(),cMe)),244))),a=i.Math.max(a,TMt($z(oX(t.p,TMe),244)))),(e=sot(t))&&(a=i.Math.max(a,e.a))),zv(kB(t.e.yf().We((cWt(),RCe))))?r.a=i.Math.max(r.a,a):r.a=a,(n=t.f.i).c=0,n.b=a,RFt(t.f)}function TRt(t,e){var n,i,r,a,o,s,c,u,l;if((n=e.Hh(t.a))&&null!=(c=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),"memberTypes")))){for(u=new Lw,o=0,s=(a=vRt(c,"\\w")).length;o<s;++o)iN(l=-1==(i=(r=a[o]).lastIndexOf("#"))?aB(t,e.Aj(),r):0==i?_7(t,null,r.substr(1)):_7(t,r.substr(0,i),r.substr(i+1)),148)&&Kz(u,$z(l,148));return u}return EV(),EV(),cne}function CRt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,aJt,1),t.bf(e),a=0;t.df(a);){for(l=new Kd(e.e);l.a<l.c.c.length;)for(c=$z(Z1(l),144),s=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[e.e,e.d,e.b])));gOt(s);)(o=$z(G5(s),357))!=c&&(r=t.af(o,c))&&Gj(c.a,r);for(u=new Kd(e.e);u.a<u.c.c.length;)YCt(i=(c=$z(Z1(u),144)).a,-t.d,-t.d,t.d,t.d),Gj(c.d,i),mI(i);t.cf(),++a}zCt(n)}function SRt(t,e,n){var i,r,a,o;if(o=aPt(t.e.Tg(),e),i=$z(t.g,119),QT(),$z(e,66).Oj()){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&Nht(r,n))return lBt(t,a),!0}else if(null!=n){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&Nht(n,r.dd()))return lBt(t,a),!0}else for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&null==r.dd())return lBt(t,a),!0;return!1}function ARt(t,e){var n,i,r,a,o;for(null==t.c||t.c.length<e.c.length?t.c=N8(MDe,ZQt,25,e.c.length,16,1):Zv(t.c),t.a=new Lw,i=0,o=new Kd(e);o.a<o.c.c.length;)(r=$z(Z1(o),10)).p=i++;for(n=new XE,a=new Kd(e);a.a<a.c.c.length;)r=$z(Z1(a),10),t.c[r.p]||(uMt(t,r),0==n.b||(TP(0!=n.b),$z(n.a.a.c,15)).gc()<t.a.c.length?cI(n,t.a):uI(n,t.a),t.a=new Lw);return n}function MRt(t,e,n,i){var r,a,o,s,c,u,l;for(Cnt(o=$z(Yet(e,0),33),0),Snt(o,0),(c=new Lw).c[c.c.length]=o,s=o,a=new tU(t.a,o.g,o.f,(VNt(),R_e)),u=1;u<e.i;u++)Cnt(l=$z(Yet(e,u),33),(r=aUt(t,Jzt(t,P_e,l,s,a,c,n),Jzt(t,D_e,l,s,a,c,n),Jzt(t,j_e,l,s,a,c,n),Jzt(t,B_e,l,s,a,c,n),l,s,i)).d),Snt(l,r.e),rd(r,R_e),a=r,s=l,c.c[c.c.length]=l;return a}function IRt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,X4t),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new is))),a2(t,X4t,j4t,ywt(zEe)),a2(t,X4t,XZt,$Ee),a2(t,X4t,wJt,8),a2(t,X4t,H4t,ywt(FEe)),a2(t,X4t,q4t,ywt(jEe)),a2(t,X4t,K4t,ywt(REe)),a2(t,X4t,K2t,(cD(),!1))}function ORt(t,e,n,i){var r,a,o,s,c,u,l,h;for(o=jP(e.c,n,i),l=new Kd(e.a);l.a<l.c.c.length;){for(Gj((u=$z(Z1(l),10)).n,o),h=new Kd(u.j);h.a<h.c.c.length;)for(a=new Kd($z(Z1(h),11).g);a.a<a.c.c.length;)for(Zet((r=$z(Z1(a),17)).a,o),(s=$z(yTt(r,(zYt(),bbe)),74))&&Zet(s,o),c=new Kd(r.b);c.a<c.c.c.length;)Gj($z(Z1(c),70).n,o);Kz(t.a,u),u.a=t}}function LRt(t,e){var n,i,r,a;if(MEt(e,"Node and Port Label Placement and Node Sizing",1),PO((gT(),new FX(t,!0,!0,new Xn))),$z(yTt(t,(uWt(),Qhe)),21).Hc((fBt(),hhe)))for(i=(r=$z(yTt(t,(zYt(),iwe)),21)).Hc((hMt(),nMe)),a=zv(kB(yTt(t,rwe))),n=new Kd(t.b);n.a<n.c.c.length;)VE(MX(new PU(null,new f1($z(Z1(n),29).a,16)),new Vn),new B$(r,i,a));zCt(e)}function NRt(t,e){var n,i,r,a,o,s;if((n=e.Hh(t.a))&&null!=(s=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),J6t))))switch(r=wD(s,VEt(35)),i=e.Hj(),-1==r?(o=rq(t,qet(i)),a=s):0==r?(o=null,a=s.substr(1)):(o=s.substr(0,r),a=s.substr(r+1)),DW($9(t,e))){case 2:case 3:return Pct(t,i,o,a);case 0:case 4:case 5:case 6:return Bct(t,i,o,a)}return null}function DRt(t,e,n){var i,r,a,o,s;if(QT(),o=$z(e,66).Oj(),OPt(t.e,e)){if(e.hi()&&qFt(t,e,n,iN(e,99)&&!!($z(e,18).Bb&FVt)))return!1}else for(s=aPt(t.e.Tg(),e),i=$z(t.g,119),a=0;a<t.i;++a)if(r=i[a],s.rl(r.ak()))return!(o?Nht(r,n):null==n?null==r.dd():Nht(n,r.dd()))&&($z(syt(t,a,o?$z(n,72):Q3(e,n)),72),!0);return u7(t,o?$z(n,72):Q3(e,n))}function PRt(t){var e,n,i,r,a;if(t.d)throw Fw(new Rv((xB(Xoe),IQt+Xoe.k+OQt)));for(t.c==($ht(),FSe)&&Eqt(t,RSe),e=new Kd(t.a.a);e.a<e.c.c.length;)$z(Z1(e),189).e=0;for(r=new Kd(t.a.b);r.a<r.c.c.length;)for((i=$z(Z1(r),81)).o=jVt,n=i.f.Kc();n.Ob();)++$z(n.Pb(),81).d.e;for(Uqt(t),a=new Kd(t.a.b);a.a<a.c.c.length;)$z(Z1(a),81).k=!0;return t}function BRt(t,e){var n,i,r,a,o,s,c,u;for(s=new bSt(t),n5(n=new XE,e,n.c.b,n.c);0!=n.b;){for((i=$z(0==n.b?null:(TP(0!=n.b),Iet(n,n.a.a)),113)).d.p=1,o=new Kd(i.e);o.a<o.c.c.length;)xEt(s,r=$z(Z1(o),409)),0==(u=r.d).d.p&&n5(n,u,n.c.b,n.c);for(a=new Kd(i.b);a.a<a.c.c.length;)xEt(s,r=$z(Z1(a),409)),0==(c=r.c).d.p&&n5(n,c,n.c.b,n.c)}return s}function jRt(t){var e,n,i,r,a;if(1!=(i=Hv(_B(ZOt(t,(cWt(),ySe))))))for(_O(t,i*t.g,i*t.f),n=qI(jz((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c),new Hs)),a=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n),(!t.c&&(t.c=new tK(GIe,t,9,9)),t.c),n])));gOt(a);)(r=$z(G5(a),470)).Gg(i*r.Dg(),i*r.Eg()),r.Fg(i*r.Cg(),i*r.Bg()),(e=$z(r.We(iSe),8))&&(e.a*=i,e.b*=i)}function RRt(t,e,n,i,r){var a,o,s,c,u,l;for(a=new Kd(t.b);a.a<a.c.c.length;)for(u=0,l=(c=Z0($z(Z1(a),29).a)).length;u<l;++u)switch(s=c[u],$z(yTt(s,(zYt(),mbe)),163).g){case 1:wPt(s),TJ(s,e),hyt(s,!0,i);break;case 3:ZDt(s),TJ(s,n),hyt(s,!1,r)}for(o=new _2(t.b,0);o.b<o.d.gc();)0==(TP(o.b<o.d.gc()),$z(o.d.Xb(o.c=o.b++),29)).a.c.length&&uW(o)}function $Rt(t,e){var n,i,r,a,o,s,c;if((n=e.Hh(t.a))&&null!=(c=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),E9t)))){for(i=new Lw,o=0,s=(a=vRt(c,"\\w")).length;o<s;++o)wR(r=a[o],"##other")?Kz(i,"!##"+rq(t,qet(e.Hj()))):wR(r,"##local")?i.c[i.c.length]=null:wR(r,k9t)?Kz(i,rq(t,qet(e.Hj()))):i.c[i.c.length]=r;return i}return EV(),EV(),cne}function FRt(t,e){var n,i,r;return n=new Kt,(i=1==(i=$z(T4(IX(new PU(null,new f1(t.f,16)),n),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Vne),Xne]))),21).gc())?1:0)<(r=1==(r=$z(T4(IX(new PU(null,new f1(e.f,16)),n),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[Vne,Xne]))),21).gc())?1:0)?-1:i==r?0:1}function zRt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(r=zv(kB(yTt(s=t.i,(zYt(),fbe)))),l=0,i=0,u=new Kd(t.g);u.a<u.c.c.length;)a=(o=h5(c=$z(Z1(u),17)))&&r&&zv(kB(yTt(c,dbe))),f=c.d.i,o&&a?++i:o&&!a?++l:bW(f).e==s?++i:++l;for(n=new Kd(t.e);n.a<n.c.c.length;)a=(o=h5(e=$z(Z1(n),17)))&&r&&zv(kB(yTt(e,dbe))),h=e.c.i,o&&a?++l:o&&!a?++i:bW(h).e==s?++l:++i;return l-i}function HRt(t,e,n,i){this.e=t,this.k=$z(yTt(t,(uWt(),Mfe)),304),this.g=N8(kse,a1t,10,e,0,1),this.b=N8(Cee,cXt,333,e,7,1),this.a=N8(kse,a1t,10,e,0,1),this.d=N8(Cee,cXt,333,e,7,1),this.j=N8(kse,a1t,10,e,0,1),this.i=N8(Cee,cXt,333,e,7,1),this.p=N8(Cee,cXt,333,e,7,1),this.n=N8(vee,cXt,476,e,8,1),yC(this.n,(cD(),!1)),this.f=N8(vee,cXt,476,e,8,1),yC(this.f,!0),this.o=n,this.c=i}function URt(t,e){var n,i,r;if(!e.dc())if($z(e.Xb(0),286).d==(OSt(),Jue))Ixt(t,e);else for(i=e.Kc();i.Ob();){switch((n=$z(i.Pb(),286)).d.g){case 5:uSt(t,n,Wdt(t,n));break;case 0:uSt(t,n,(r=(n.f-n.c+1-1)/2|0,n.c+r));break;case 4:uSt(t,n,Itt(t,n));break;case 2:jgt(n),uSt(t,n,O_t(n)?n.c:n.f);break;case 1:jgt(n),uSt(t,n,O_t(n)?n.f:n.c)}uTt(n.a)}}function GRt(t,e){var n,i,r,a,o;if(!e.e){for(e.e=!0,i=e.d.a.ec().Kc();i.Ob();)n=$z(i.Pb(),17),e.o&&e.d.a.gc()<=1?(o=new NA((a=e.a.c)+(e.a.c+e.a.b-a)/2,e.b),DH($z(e.d.a.ec().Kc().Pb(),17).a,o)):(r=$z(PY(e.c,n),459)).b||r.c?gRt(t,n,e):t.d==(qut(),ime)&&(r.d||r.e)&&LIt(t,e)&&e.d.a.gc()<=1?gqt(n,e):PBt(t,n,e);e.k&&t5(e.d,new En)}}function qRt(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,y,m;for(c=(r+a)/2+o,b=n*i.Math.cos(c),w=n*i.Math.sin(c),y=b-e.g/2,m=w-e.f/2,Cnt(e,y),Snt(e,m),f=t.a.jg(e),(p=2*i.Math.acos(n/n+t.c))<a-r?(d=p/f,s=(r+a-p)/2):(d=(a-r)/f,s=r),g=dBt(e),t.e&&(t.e.kg(t.d),t.e.lg(g)),l=new Kd(g);l.a<l.c.c.length;)u=$z(Z1(l),33),h=t.a.jg(u),qRt(t,u,n+t.c,s,s+d*h,o),s+=d*h}function KRt(t,e,n){var i;switch(i=n.q.getMonth(),e){case 5:oI(t,Cst(Hx(zee,1),cXt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:oI(t,Cst(Hx(zee,1),cXt,2,6,[VXt,QXt,ZXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt])[i]);break;case 3:oI(t,Cst(Hx(zee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:xtt(t,i+1,e)}}function YRt(t,e){var n,i,r,a;if(MEt(e,"Network simplex",1),t.e.a.c.length<1)zCt(e);else{for(r=new Kd(t.e.a);r.a<r.c.c.length;)$z(Z1(r),121).e=0;for((a=t.e.a.c.length>=40)&&kFt(t),FHt(t),_Pt(t),n=mft(t),i=0;n&&i<t.f;)e$t(t,n,eLt(t,n)),n=mft(t),++i;a&&tEt(t),t.a?bLt(t,lRt(t)):lRt(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,zCt(e)}}function WRt(t,e,n,i){var r,a,o,s,c,u,l,h;for(qj(s=new NA(n,i),$z(yTt(e,(Ert(),ooe)),8)),h=new Kd(e.e);h.a<h.c.c.length;)Gj((l=$z(Z1(h),144)).d,s),Kz(t.e,l);for(o=new Kd(e.c);o.a<o.c.c.length;){for(r=new Kd((a=$z(Z1(o),282)).a);r.a<r.c.c.length;)Gj($z(Z1(r),559).d,s);Kz(t.c,a)}for(u=new Kd(e.d);u.a<u.c.c.length;)Gj((c=$z(Z1(u),447)).d,s),Kz(t.d,c)}function XRt(t,e){var n,i,r,a,o,s,c,u;for(c=new Kd(e.j);c.a<c.c.c.length;)for(r=new w6((s=$z(Z1(c),11)).b);yL(r.a)||yL(r.b);)e!=(a=(n=(i=$z(yL(r.a)?Z1(r.a):Z1(r.b),17)).c==s?i.d:i.c).i)&&((u=$z(yTt(i,(zYt(),uwe)),19).a)<0&&(u=0),o=a.p,0==t.b[o]&&(i.d==n?(t.a[o]-=u+1,t.a[o]<=0&&t.c[o]>0&&DH(t.f,a)):(t.c[o]-=u+1,t.c[o]<=0&&t.a[o]>0&&DH(t.e,a))))}function VRt(t){var e,n,i,r,a,o,s;for(a=new d_($z(yY(new Bt),62)),s=jVt,n=new Kd(t.d);n.a<n.c.c.length;){for(s=(e=$z(Z1(n),222)).c.c;0!=a.a.c&&(o=$z(_K(z7(a.a)),222)).c.c+o.c.b<s;)IZ(a.a,o);for(r=new Rd(new $j(new ND(new jd(a.a).a).b));rC(r.a.a);)DH((i=$z(wP(r.a).cd(),222)).b,e),DH(e.b,i);Ect(a.a,e,(cD(),wee))}}function QRt(t,e,n){var i,r,a,o,s,c,u,l,h;for(a=new V6(e.c.length),u=new Kd(e);u.a<u.c.c.length;)o=$z(Z1(u),10),Kz(a,t.b[o.c.p][o.p]);for(yUt(t,a,n),h=null;h=eqt(a);)izt(t,$z(h.a,233),$z(h.b,233),a);for(e.c=N8(Ite,zWt,1,0,5,1),r=new Kd(a);r.a<r.c.c.length;)for(c=0,l=(s=(i=$z(Z1(r),233)).d).length;c<l;++c)o=s[c],e.c[e.c.length]=o,t.a[o.c.p][o.p].a=lN(i.g,i.d[0]).a}function ZRt(t,e){var n,i,r,a;if(0<(iN(t,14)?$z(t,14).gc():R3(t.Kc()))){if(1<(r=e)){for(--r,a=new yo,i=t.Kc();i.Ob();)n=$z(i.Pb(),86),a=Ynt(Cst(Hx(Dte,1),zWt,20,0,[a,new hb(n)]));return ZRt(a,r)}if(r<0){for(a=new mo,i=t.Kc();i.Ob();)n=$z(i.Pb(),86),a=Ynt(Cst(Hx(Dte,1),zWt,20,0,[a,new hb(n)]));if(0<(iN(a,14)?$z(a,14).gc():R3(a.Kc())))return ZRt(a,r)}}return $z(eN(t.Kc()),86)}function JRt(){JRt=I,UMe=new WA("DEFAULT_MINIMUM_SIZE",0),qMe=new WA("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),HMe=new WA("COMPUTE_PADDING",2),KMe=new WA("OUTSIDE_NODE_LABELS_OVERHANG",3),YMe=new WA("PORTS_OVERHANG",4),XMe=new WA("UNIFORM_PORT_SPACING",5),WMe=new WA("SPACE_EFFICIENT_PORT_LABELS",6),GMe=new WA("FORCE_TABULAR_NODE_LABELS",7),zMe=new WA("ASYMMETRICAL",8)}function t$t(t,e){var n,i,r,a,o,s,c,u;if(e){if(n=(a=e.Tg())?qet(a).Nh().Jh(a):null){for(Qbt(t,e,n),c=0,u=(null==(r=e.Tg()).i&&HFt(r),r.i).length;c<u;++c)null==r.i&&HFt(r),i=r.i,(s=c>=0&&c<i.length?i[c]:null).Ij()&&!s.Jj()&&(iN(s,322)?Jwt(t,$z(s,34),e,n):(o=$z(s,18)).Bb&u6t&&c_t(t,o,e,n));e.kh()&&$z(n,49).vh($z(e,49).qh())}return n}return null}function e$t(t,e,n){var i,r,a;if(!e.f)throw Fw(new jv("Given leave edge is no tree edge."));if(n.f)throw Fw(new jv("Given enter edge is a tree edge already."));for(e.f=!1,tN(t.p,e),n.f=!0,kK(t.p,n),i=n.e.e-n.d.e-n.a,$At(t,n.e,e)||(i=-i),a=new Kd(t.e.a);a.a<a.c.c.length;)$At(t,r=$z(Z1(a),121),e)||(r.e+=i);t.j=1,Zv(t.c),bMt(t,$z(Z1(new Kd(t.e.a)),121)),pGt(t)}function n$t(t,e){var n,i,r,a,o,s;if((s=$z(yTt(e,(zYt(),twe)),98))==(X_t(),YAe)||s==KAe)for(r=new NA(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,o=new Kd(t.a);o.a<o.c.c.length;)(a=$z(Z1(o),10)).k==(oCt(),Ese)&&((n=$z(yTt(a,(uWt(),Whe)),61))==(vKt(),sMe)||n==SMe)&&(i=Hv(_B(yTt(a,kfe))),s==YAe&&(i*=r),a.n.b=i-$z(yTt(a,Zbe),8).b,Qot(a,!1,!0))}function i$t(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;if(Vet(t,e,n),a=e[n],d=i?(vKt(),SMe):(vKt(),sMe),wN(e.length,n,i)){for(H6(t,r=e[i?n-1:n+1],i?(ait(),Hye):(ait(),zye)),l=0,f=(c=a).length;l<f;++l)Dyt(t,o=c[l],d);for(H6(t,a,i?(ait(),zye):(ait(),Hye)),u=0,h=(s=r).length;u<h;++u)(o=s[u]).e||Dyt(t,o,_ft(d))}else for(u=0,h=(s=a).length;u<h;++u)Dyt(t,o=s[u],d);return!1}function r$t(t,e,n,i){var r,a,o,s,c;s=adt(e,n),(n==(vKt(),TMe)||n==SMe)&&(s=iN(s,152)?o6($z(s,152)):iN(s,131)?$z(s,131).a:iN(s,54)?new uv(s):new CE(s)),o=!1;do{for(r=!1,a=0;a<s.gc()-1;a++)FTt(t,$z(s.Xb(a),11),$z(s.Xb(a+1),11),i)&&(o=!0,m0(t.a,$z(s.Xb(a),11),$z(s.Xb(a+1),11)),c=$z(s.Xb(a+1),11),s._c(a+1,$z(s.Xb(a),11)),s._c(a,c),r=!0)}while(r);return o}function a$t(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;if(!wO(t.e))return $z(VMt(t,e,n),72);if(e!=n&&(o=(d=(r=$z(t.g,119))[n]).ak(),OPt(t.e,o))){for(g=aPt(t.e.Tg(),o),c=-1,s=-1,i=0,u=0,h=e>n?e:n;u<=h;++u)u==n?s=i++:(a=r[u],l=g.rl(a.ak()),u==e&&(c=u!=h||l?i:i-1),l&&++i);return f=$z(Aft(t,e,n),72),s!=c&&Oy(t,new v7(t.e,7,o,nft(s),d.dd(),c)),f}return $z(Aft(t,e,n),72)}function o$t(t,e){var n,i,r,a,o,s;for(MEt(e,"Port order processing",1),s=$z(yTt(t,(zYt(),owe)),421),n=new Kd(t.b);n.a<n.c.c.length;)for(r=new Kd($z(Z1(n),29).a);r.a<r.c.c.length;)i=$z(Z1(r),10),a=$z(yTt(i,twe),98),o=i.j,a==(X_t(),qAe)||a==YAe||a==KAe?(EV(),wL(o,sue)):a!=XAe&&a!=VAe&&(EV(),wL(o,uue),Lyt(o),s==(G9(),Rye)&&wL(o,cue)),i.i=!0,eMt(i);zCt(e)}function s$t(t){var e,n,r,a,o,s,c,u;for(u=new Nw,e=new Ry,s=t.Kc();s.Ob();)a=$z(s.Pb(),10),c=MD(oT(new zy,a),e),xAt(u.f,a,c);for(o=t.Kc();o.Ob();)for(r=new oq(QN(hdt(a=$z(o.Pb(),10)).a.Kc(),new l));gOt(r);)!h5(n=$z(G5(r),17))&&qDt(rT(iT(nT(aT(new Fy,i.Math.max(1,$z(yTt(n,(zYt(),lwe)),19).a)),1),$z(PY(u,n.c.i),121)),$z(PY(u,n.d.i),121)));return e}function c$t(){c$t=I,hve=dU(new $2,(mTt(),$oe),(hWt(),wce)),dve=dU(new $2,Roe,xce),gve=KG(dU(new $2,Roe,Pce),Foe,Dce),lve=KG(dU(dU(new $2,Roe,hce),$oe,fce),Foe,dce),pve=sbt(sbt(RT(KG(dU(new $2,Boe,qce),Foe,Gce),$oe),Uce),Kce),fve=KG(new $2,Foe,yce),cve=KG(dU(dU(dU(new $2,joe,Ece),$oe,Cce),$oe,Sce),Foe,Tce),uve=KG(dU(dU(new $2,$oe,Sce),$oe,oce),Foe,ace)}function u$t(t,e,n,i,r,a){var o,s,c,u,l,h;for(o=hCt(e,c=xct(e)-xct(t)),s=_L(0,0,0);c>=0&&(!Svt(t,o)||(c<22?s.l|=1<<c:c<44?s.m|=1<<c-22:s.h|=1<<c-44,0!=t.l||0!=t.m||0!=t.h));)u=o.m,l=o.h,h=o.l,o.h=l>>>1,o.m=u>>>1|(1&l)<<21,o.l=h>>>1|(1&u)<<21,--c;return n&&Mct(s),a&&(i?(hee=act(t),r&&(hee=ust(hee,(q9(),gee)))):hee=_L(t.l,t.m,t.h)),s}function l$t(t,e){var n,i,r,a,o,s,c,u,l,h;for(u=t.e[e.c.p][e.p]+1,c=e.c.a.c.length+1,s=new Kd(t.a);s.a<s.c.c.length;){for(o=$z(Z1(s),11),h=0,a=0,r=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[new Fg(o),new Hg(o)])));gOt(r);)(i=$z(G5(r),11)).i.c==e.c&&(h+=hN(t,i.i)+1,++a);n=h/a,(l=o.j)==(vKt(),sMe)?t.f[o.p]=n<u?t.c-n:t.b+(c-n):l==SMe&&(t.f[o.p]=n<u?t.b+n:t.c-(c-n))}}function h$t(t,e,n){var i,r,a,o;if(null==t)throw Fw(new _x(GWt));for(i=(a=t.length)>0&&(h1(0,t.length),45==t.charCodeAt(0)||(h1(0,t.length),43==t.charCodeAt(0)))?1:0;i<a;i++)if(-1==ebt((h1(i,t.length),t.charCodeAt(i))))throw Fw(new _x(PVt+t+'"'));if(r=(o=parseInt(t,10))<e,isNaN(o))throw Fw(new _x(PVt+t+'"'));if(r||o>n)throw Fw(new _x(PVt+t+'"'));return o}function f$t(t){var e,n,r,a,o,s;for(o=new XE,a=new Kd(t.a);a.a<a.c.c.length;)Yf(r=$z(Z1(a),112),r.f.c.length),Wf(r,r.k.c.length),0==r.i&&(r.o=0,n5(o,r,o.c.b,o.c));for(;0!=o.b;)for(n=(r=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),112)).o+1,e=new Kd(r.f);e.a<e.c.c.length;)Xf(s=$z(Z1(e),129).a,i.Math.max(s.o,n)),Wf(s,s.i-1),0==s.i&&n5(o,s,o.c.b,o.c)}function d$t(t){var e,n,i,r,a,o,s,c;for(o=new Kd(t);o.a<o.c.c.length;){for(a=$z(Z1(o),79),s=(i=CEt($z(Yet((!a.b&&(a.b=new cR(PIe,a,4,7)),a.b),0),82))).i,c=i.j,CO(r=$z(Yet((!a.a&&(a.a=new tK(jIe,a,6,6)),a.a),0),202),r.j+s,r.k+c),TO(r,r.b+s,r.c+c),n=new MN((!r.a&&(r.a=new IN(LIe,r,5)),r.a));n.e!=n.i.gc();)kO(e=$z(vwt(n),469),e.a+s,e.b+c);Vrt($z(ZOt(a,(cWt(),ACe)),74),s,c)}}function g$t(t){switch(t){case 100:return yWt(cte,!0);case 68:return yWt(cte,!1);case 119:return yWt(ute,!0);case 87:return yWt(ute,!1);case 115:return yWt(lte,!0);case 83:return yWt(lte,!1);case 99:return yWt(hte,!0);case 67:return yWt(hte,!1);case 105:return yWt(fte,!0);case 73:return yWt(fte,!1);default:throw Fw(new dv(ste+t.toString(16)))}}function p$t(t){var e,n,r,a,o;switch(a=$z(NU(t.a,0),10),e=new Oyt(t),Kz(t.a,e),e.o.a=i.Math.max(1,a.o.a),e.o.b=i.Math.max(1,a.o.b),e.n.a=a.n.a,e.n.b=a.n.b,$z(yTt(a,(uWt(),Whe)),61).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}return CJ(r=new SCt,e),EJ(n=new fQ,o=$z(NU(a.j,0),11)),_J(n,r),Gj(mI(r.n),o.n),Gj(mI(r.a),o.a),e}function b$t(t,e,n,i,r){n&&(!i||(t.c-t.b&t.a.length-1)>1)&&1==e&&$z(t.a[t.b],10).k==(oCt(),Tse)?uFt($z(t.a[t.b],10),(Kvt(),xAe)):i&&(!n||(t.c-t.b&t.a.length-1)>1)&&1==e&&$z(t.a[t.c-1&t.a.length-1],10).k==(oCt(),Tse)?uFt($z(t.a[t.c-1&t.a.length-1],10),(Kvt(),kAe)):2==(t.c-t.b&t.a.length-1)?(uFt($z(kct(t),10),(Kvt(),xAe)),uFt($z(kct(t),10),kAe)):cNt(t,r),o4(t)}function w$t(t,e,n){var r,a,o,s,c;for(o=0,a=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));a.e!=a.i.gc();)s="",0==(!(r=$z(vwt(a),33)).n&&(r.n=new tK(HIe,r,1,7)),r.n).i||(s=$z(Yet((!r.n&&(r.n=new tK(HIe,r,1,7)),r.n),0),137).a),Hot(c=new rut(o++,e,s),r),uct(c,(HUt(),sxe),r),c.e.b=r.j+r.f/2,c.f.a=i.Math.max(r.g,1),c.e.a=r.i+r.g/2,c.f.b=i.Math.max(r.f,1),DH(e.b,c),xAt(n.f,r,c)}function y$t(t){var e,n,i,r,a;i=$z(yTt(t,(uWt(),dfe)),33),a=$z(ZOt(i,(zYt(),Rbe)),174).Hc((ypt(),RMe)),t.e||(r=$z(yTt(t,Qhe),21),e=new NA(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),r.Hc((fBt(),hhe))?(Vwt(i,twe,(X_t(),KAe)),jKt(i,e.a,e.b,!1,!0)):zv(kB(ZOt(i,$be)))||jKt(i,e.a,e.b,!0,!0)),Vwt(i,Rbe,a?Jft(RMe):new XR(n=$z(Yk(FMe),9),$z(Ej(n,n.length),9),0))}function m$t(t,e,n){var i,r,a,o;if(e[0]>=t.length)return n.o=0,!0;switch(uX(t,e[0])){case 43:r=1;break;case 45:r=-1;break;default:return n.o=0,!0}if(++e[0],a=e[0],0==(o=qMt(t,e))&&e[0]==a)return!1;if(e[0]<t.length&&58==uX(t,e[0])){if(i=60*o,++e[0],a=e[0],0==(o=qMt(t,e))&&e[0]==a)return!1;i+=o}else(i=o)<24&&e[0]-a<=2?i*=60:i=i%100+60*(i/100|0);return i*=r,n.o=-i,!0}function v$t(t){var e,n,i,r,a,o,s;for(r=new Lw,i=new oq(QN(hdt(t.b).a.Kc(),new l));gOt(i);)h5(n=$z(G5(i),17))&&Kz(r,new v6(n,b7(t,n.c),b7(t,n.d)));for(s=new Bd(new Ad(t.e).a.vc().Kc());s.a.Ob();)e=$z(s.a.Pb(),42),(a=$z(e.dd(),113)).d.p=0;for(o=new Bd(new Ad(t.e).a.vc().Kc());o.a.Ob();)e=$z(o.a.Pb(),42),0==(a=$z(e.dd(),113)).d.p&&Kz(t.d,BRt(t,a))}function x$t(t){var e,n,i,r,a;for(a=KZ(t),r=new MN((!t.e&&(t.e=new cR(BIe,t,7,4)),t.e));r.e!=r.i.gc();)if(i=$z(vwt(r),79),!Set(CEt($z(Yet((!i.c&&(i.c=new cR(PIe,i,5,8)),i.c),0),82)),a))return!0;for(n=new MN((!t.d&&(t.d=new cR(BIe,t,8,5)),t.d));n.e!=n.i.gc();)if(e=$z(vwt(n),79),!Set(CEt($z(Yet((!e.b&&(e.b=new cR(PIe,e,4,7)),e.b),0),82)),a))return!0;return!1}function k$t(t){var e,n,r,a,o,s,c,u;for(u=new mm,c=null,n=$z(h3(e=cwt(t,0)),8),a=$z(h3(e),8);e.b!=e.d.c;)c=n,n=a,a=$z(h3(e),8),o=iet(qj(new NA(c.a,c.b),n)),s=iet(qj(new NA(a.a,a.b),n)),r=10,r=i.Math.min(r,i.Math.abs(o.a+o.b)/2),r=i.Math.min(r,i.Math.abs(s.a+s.b)/2),o.a=FH(o.a)*r,o.b=FH(o.b)*r,s.a=FH(s.a)*r,s.b=FH(s.b)*r,DH(u,Gj(o,n)),DH(u,Gj(s,n));return u}function _$t(t,e,n,i){var r,a,o,s,c;return o=t.eh(),r=null,(c=t.Zg())?!e||pRt(t,e,n).Bb&FVt?c=null:(i=Rwt(c.Vk(),t,i),t.uh(null),r=e.fh()):(o&&(c=o.fh()),e&&(r=e.fh())),c!=r&&c&&c.Zk(t),s=t.Vg(),t.Rg(e,n),c!=r&&r&&r.Yk(t),t.Lg()&&t.Mg()&&(o&&s>=0&&s!=n&&(a=new Zq(t,1,s,o,null),i?i.Ei(a):i=a),n>=0&&(a=new Zq(t,1,n,s==n?o:null,e),i?i.Ei(a):i=a)),i}function E$t(t){var e,n,i;if(null==t.b){if(i=new Ex,null!=t.i&&(iI(i,t.i),i.a+=":"),256&t.f){for(256&t.f&&null!=t.a&&(nV(t.i)||(i.a+="//"),iI(i,t.a)),null!=t.d&&(i.a+="/",iI(i,t.d)),16&t.f&&(i.a+="/"),e=0,n=t.j.length;e<n;e++)0!=e&&(i.a+="/"),iI(i,t.j[e]);null!=t.g&&(i.a+="?",iI(i,t.g))}else iI(i,t.a);null!=t.e&&(i.a+="#",iI(i,t.e)),t.b=i.a}return t.b}function T$t(t,e){var n,i,r,a,o,s;for(r=new Kd(e.a);r.a<r.c.c.length;)iN(a=yTt(i=$z(Z1(r),10),(uWt(),dfe)),11)&&(s=mFt(e,i,(o=$z(a,11)).o.a,o.o.b),o.n.a=s.a,o.n.b=s.b,HAt(o,$z(yTt(i,Whe),61)));n=new NA(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),$z(yTt(e,(uWt(),Qhe)),21).Hc((fBt(),hhe))?(uct(t,(zYt(),twe),(X_t(),KAe)),$z(yTt(bW(t),Qhe),21).Fc(ghe),fGt(t,n,!1)):fGt(t,n,!0)}function C$t(t,e,n){var i,r,a,o,s;MEt(n,"Minimize Crossings "+t.a,1),i=0==e.b.c.length||!v_(MX(new PU(null,new f1(e.b,16)),new rg(new Oa))).sd((dT(),Jne)),s=1==e.b.c.length&&1==$z(NU(e.b,0),29).a.c.length,a=HM(yTt(e,(zYt(),sbe)))===HM((oht(),bAe)),i||s&&!a||(Tut(r=cPt(t,e),(o=$z(Pwt(r,0),214)).c.Rf()?o.c.Lf()?new Gp(t):new qp(t):new Up(t)),aht(t)),zCt(n)}function S$t(t,e,n,i){var r,a,o,s;if(s=dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))),r=dG(rdt(TXt,nX(dG(rdt(null==n?0:Jct(n),CXt)),15))),o=Zrt(t,e,s),a=Qrt(t,n,r),o&&r==o.a&&fW(n,o.g))return n;if(a&&!i)throw Fw(new jv("key already present: "+n));return o&&LNt(t,o),a&&LNt(t,a),VAt(t,new zW(n,r,e,s),a),a&&(a.e=null,a.c=null),o&&(o.e=null,o.c=null),Hxt(t),o?o.g:null}function A$t(t,e,n){var i,r,a,o,s;for(a=0;a<e;a++){for(i=0,s=a+1;s<e;s++)i=idt(idt(rdt(t0(t[a],qVt),t0(t[s],qVt)),t0(n[a+s],qVt)),t0(dG(i),qVt)),n[a+s]=dG(i),i=vq(i,32);n[a+e]=dG(i)}for(Jrt(n,n,e<<1),i=0,r=0,o=0;r<e;++r,o++)i=idt(idt(rdt(t0(t[r],qVt),t0(t[r],qVt)),t0(n[o],qVt)),t0(dG(i),qVt)),n[o]=dG(i),i=idt(i=vq(i,32),t0(n[++o],qVt)),n[o]=dG(i),i=vq(i,32);return n}function M$t(t,e,n){var r,a,o,s,c,u,l,h;if(!c3(e)){for(u=Hv(_B(ept(n.c,(zYt(),Lwe)))),!(l=$z(ept(n.c,Owe),142))&&(l=new lm),r=n.a,a=null,c=e.Kc();c.Ob();)s=$z(c.Pb(),11),h=0,a?(h=u,h+=a.o.b):h=l.d,o=MD(oT(new zy,s),t.f),YW(t.k,s,o),qDt(rT(iT(nT(aT(new Fy,0),CZ(i.Math.ceil(h))),r),o)),a=s,r=o;qDt(rT(iT(nT(aT(new Fy,0),CZ(i.Math.ceil(l.a+a.o.b))),r),n.d))}}function I$t(t,e,n,i,r,a,o,s){var c,u,l;return l=!1,u=a-n.s,c=n.t-e.f+rHt(n,u,!1).a,!(i.g+s>u)&&(c+s+rHt(i,u,!1).a<=e.b&&(p7(n,a-n.s),n.c=!0,p7(i,a-n.s),_yt(i,n.s,n.t+n.d+s),i.k=!0,Dat(n.q,i),l=!0,r&&(tit(e,i),i.j=e,t.c.length>o&&(_xt((l1(o,t.c.length),$z(t.c[o],200)),i),0==(l1(o,t.c.length),$z(t.c[o],200)).a.c.length&&s6(t,o)))),l)}function O$t(t,e){var n,i,r,a,o;if(MEt(e,"Partition midprocessing",1),r=new pZ,VE(MX(new PU(null,new f1(t.a,16)),new pi),new lp(r)),0!=r.d){for(o=$z(T4(r1(new PU(null,(r.i||(r.i=new FN(r,r.c))).Nc())),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15),n=$z((i=o.Kc()).Pb(),19);i.Ob();)a=$z(i.Pb(),19),KNt($z(c6(r,n),21),$z(c6(r,a),21)),n=a;zCt(e)}}function L$t(t,e,n){var i,r,a,o,s;if(0==e.p){for(e.p=1,(r=n)||(r=new nM(new Lw,new XR(i=$z(Yk(DMe),9),$z(Ej(i,i.length),9),0))),$z(r.a,15).Fc(e),e.k==(oCt(),Ese)&&$z(r.b,21).Fc($z(yTt(e,(uWt(),Whe)),61)),o=new Kd(e.j);o.a<o.c.c.length;)for(a=$z(Z1(o),11),s=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[new Fg(a),new Hg(a)])));gOt(s);)L$t(t,$z(G5(s),11).i,r);return r}return null}function N$t(t,e){var n,i,r,a,o;if(t.Ab)if(t.Ab){if((o=t.Ab.i)>0)if(r=$z(t.Ab.g,1934),null==e){for(a=0;a<o;++a)if(null==(n=r[a]).d)return n}else for(a=0;a<o;++a)if(wR(e,(n=r[a]).d))return n}else if(null==e){for(i=new MN(t.Ab);i.e!=i.i.gc();)if(null==(n=$z(vwt(i),590)).d)return n}else for(i=new MN(t.Ab);i.e!=i.i.gc();)if(wR(e,(n=$z(vwt(i),590)).d))return n;return null}function D$t(t,e){var n,i,r,a,o,s,c;if(null==(c=kB(yTt(e,(SOt(),Lxe))))||(mW(c),c)){for(PIt(t,e),r=new Lw,s=cwt(e.b,0);s.b!=s.d.c;)(n=DSt(t,$z(h3(s),86),null))&&(Hot(n,e),r.c[r.c.length]=n);if(t.a=null,t.b=null,r.c.length>1)for(i=new Kd(r);i.a<i.c.c.length;)for(a=0,o=cwt((n=$z(Z1(i),135)).b,0);o.b!=o.d.c;)$z(h3(o),86).g=a++;return r}return a6(Cst(Hx(Hve,1),tJt,135,0,[e]))}function P$t(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w;rrt(d=M3(t,Hst(e),r),P2(r,H6t)),p=D2(g=r,q6t),rCt(new Ob(d).a,p),b=D2(g,"endPoint"),iCt(new Pb(d).a,b),w=L2(g,P6t),T_t(new Rb(d).a,w),h=P2(r,j6t),zj((a=new cM(t,d)).a,a.b,h),f=P2(r,B6t),Hj((o=new uM(t,d)).a,o.b,f),u=L2(r,$6t),$vt((s=new lM(n,d)).b,s.a,u),l=L2(r,R6t),Fvt((c=new hM(i,d)).b,c.a,l)}function B$t(t,e,n){var i,r,a,o,s;switch(s=null,e.g){case 1:for(r=new Kd(t.j);r.a<r.c.c.length;)if(zv(kB(yTt(i=$z(Z1(r),11),(uWt(),Jhe)))))return i;uct(s=new SCt,(uWt(),Jhe),(cD(),!0));break;case 2:for(o=new Kd(t.j);o.a<o.c.c.length;)if(zv(kB(yTt(a=$z(Z1(o),11),(uWt(),mfe)))))return a;uct(s=new SCt,(uWt(),mfe),(cD(),!0))}return s&&(CJ(s,t),HAt(s,n),myt(s.n,t.o,n)),s}function j$t(t,e){var n,r,a,o,s,c;for(c=-1,s=new XE,r=new w6(t.b);yL(r.a)||yL(r.b);){for(n=$z(yL(r.a)?Z1(r.a):Z1(r.b),17),c=i.Math.max(c,Hv(_B(yTt(n,(zYt(),rbe))))),n.c==t?VE(MX(new PU(null,new f1(n.b,16)),new hn),new Zg(s)):VE(MX(new PU(null,new f1(n.b,16)),new fn),new Jg(s)),o=cwt(s,0);o.b!=o.d.c;)OP(a=$z(h3(o),70),(uWt(),Ghe))||uct(a,Ghe,n);pst(e,s),yV(s)}return c}function R$t(t,e,n,i,r){var a,o,s,c;$f(a=new Oyt(t),(oCt(),Ase)),uct(a,(zYt(),twe),(X_t(),KAe)),uct(a,(uWt(),dfe),e.c.i),uct(o=new SCt,dfe,e.c),HAt(o,r),CJ(o,a),uct(e.c,xfe,a),$f(s=new Oyt(t),Ase),uct(s,twe,KAe),uct(s,dfe,e.d.i),uct(c=new SCt,dfe,e.d),HAt(c,r),CJ(c,s),uct(e.d,xfe,s),EJ(e,o),_J(e,c),OJ(0,n.c.length),_C(n.c,0,a),i.c[i.c.length]=s,uct(a,$he,nft(1)),uct(s,$he,nft(1))}function $$t(t,e,n,r,a){var o,s,c,u,l;c=a?r.b:r.a,!RE(t.a,r)&&(l=c>n.s&&c<n.c,u=!1,0!=n.e.b&&0!=n.j.b&&(u|=i.Math.abs(c-Hv(_B(gP(n.e))))<hJt&&i.Math.abs(c-Hv(_B(gP(n.j))))<hJt,u|=i.Math.abs(c-Hv(_B(pP(n.e))))<hJt&&i.Math.abs(c-Hv(_B(pP(n.j))))<hJt),(l||u)&&((s=$z(yTt(e,(zYt(),bbe)),74))||(s=new mm,uct(e,bbe,s)),n5(s,o=new fO(r),s.c.b,s.c),kK(t.a,o)))}function F$t(t,e,n,i){var r,a,o,s,c,u,l;if(YMt(t,e,n,i))return!0;for(o=new Kd(e.f);o.a<o.c.c.length;){switch(a=$z(Z1(o),324),s=!1,u=(c=t.j-e.j+n)+e.o,r=(l=t.k-e.k+i)+e.p,a.a.g){case 0:s=Mut(t,c+a.b.a,0,c+a.c.a,l-1);break;case 1:s=Mut(t,u,l+a.b.a,t.o-1,l+a.c.a);break;case 2:s=Mut(t,c+a.b.a,r,c+a.c.a,t.p-1);break;default:s=Mut(t,0,l+a.b.a,c-1,l+a.c.a)}if(s)return!0}return!1}function z$t(t,e){var n,i,r,a,o,s,c,u;for(a=new Kd(e.b);a.a<a.c.c.length;)for(c=new Kd($z(Z1(a),29).a);c.a<c.c.c.length;){for(s=$z(Z1(c),10),u=new Lw,o=0,i=new oq(QN(ldt(s).a.Kc(),new l));gOt(i);)!h5(n=$z(G5(i),17))&&(h5(n)||n.c.i.c!=n.d.i.c)&&((r=$z(yTt(n,(zYt(),hwe)),19).a)>o&&(o=r,u.c=N8(Ite,zWt,1,0,5,1)),r==o&&Kz(u,new nM(n.c.i,n)));EV(),wL(u,t.c),mG(t.b,s.p,u)}}function H$t(t,e){var n,i,r,a,o,s,c,u;for(a=new Kd(e.b);a.a<a.c.c.length;)for(c=new Kd($z(Z1(a),29).a);c.a<c.c.c.length;){for(s=$z(Z1(c),10),u=new Lw,o=0,i=new oq(QN(hdt(s).a.Kc(),new l));gOt(i);)!h5(n=$z(G5(i),17))&&(h5(n)||n.c.i.c!=n.d.i.c)&&((r=$z(yTt(n,(zYt(),hwe)),19).a)>o&&(o=r,u.c=N8(Ite,zWt,1,0,5,1)),r==o&&Kz(u,new nM(n.d.i,n)));EV(),wL(u,t.c),mG(t.f,s.p,u)}}function U$t(t){LT(t,new EEt(bk(fk(pk(gk(new bs,h5t),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new Bs))),a2(t,h5t,XZt,UTe),a2(t,h5t,wJt,15),a2(t,h5t,bJt,nft(0)),a2(t,h5t,I4t,ywt(jTe)),a2(t,h5t,CJt,ywt($Te)),a2(t,h5t,TJt,ywt(zTe)),a2(t,h5t,WZt,l5t),a2(t,h5t,xJt,ywt(RTe)),a2(t,h5t,FJt,ywt(FTe)),a2(t,h5t,f5t,ywt(PTe)),a2(t,h5t,o3t,ywt(BTe))}function G$t(t,e){var n,i,r,a,o,s,c,u,l;if(o=(r=t.i).o.a,a=r.o.b,o<=0&&a<=0)return vKt(),CMe;switch(u=t.n.a,l=t.n.b,s=t.o.a,n=t.o.b,e.g){case 2:case 1:if(u<0)return vKt(),SMe;if(u+s>o)return vKt(),sMe;break;case 4:case 3:if(l<0)return vKt(),cMe;if(l+n>a)return vKt(),TMe}return(c=(u+s/2)/o)+(i=(l+n/2)/a)<=1&&c-i<=0?(vKt(),SMe):c+i>=1&&c-i>=0?(vKt(),sMe):i<.5?(vKt(),cMe):(vKt(),TMe)}function q$t(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(n=!1,c=Hv(_B(yTt(e,(zYt(),Awe)))),f=jXt*c,r=new Kd(e.b);r.a<r.c.c.length;)for(i=$z(Z1(r),29),a=$z(Z1(s=new Kd(i.a)),10),u=fK(t.a[a.p]);s.a<s.c.c.length;)o=$z(Z1(s),10),u!=(l=fK(t.a[o.p]))&&(h=BL(t.b,a,o),a.n.b+a.o.b+a.d.a+u.a+h>o.n.b-o.d.d+l.a+f&&(d=u.g+l.g,l.a=(l.g*l.a+u.g*u.a)/d,l.g=d,u.f=l,n=!0)),a=o,u=l;return n}function K$t(t,e,n,i,r,a,o){var s,c,u,l,h;for(h=new hO,c=e.Kc();c.Ob();)for(l=new Kd($z(c.Pb(),839).wf());l.a<l.c.c.length;)HM((u=$z(Z1(l),181)).We((cWt(),gCe)))===HM((Bet(),KSe))&&(iRt(h,u,!1,i,r,a,o),SSt(t,h));for(s=n.Kc();s.Ob();)for(l=new Kd($z(s.Pb(),839).wf());l.a<l.c.c.length;)HM((u=$z(Z1(l),181)).We((cWt(),gCe)))===HM((Bet(),qSe))&&(iRt(h,u,!0,i,r,a,o),SSt(t,h))}function Y$t(t,e,n){var i,r,a,o,s,c,u;for(o=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));o.e!=o.i.gc();)for(r=new oq(QN(gNt(a=$z(vwt(o),33)).a.Kc(),new l));gOt(r);)!JIt(i=$z(G5(r),79))&&!JIt(i)&&!XMt(i)&&(c=$z(zM(MQ(n.f,a)),86),u=$z(PY(n,CEt($z(Yet((!i.c&&(i.c=new cR(PIe,i,5,8)),i.c),0),82))),86),c&&u&&(uct(s=new GV(c,u),(HUt(),sxe),i),Hot(s,i),DH(c.d,s),DH(u.b,s),DH(e.a,s)))}function W$t(t,e){var n,r,a,o,s,c,u;for(c=$z($z(c6(t.r,e),21),84).Kc();c.Ob();)(r=(s=$z(c.Pb(),111)).c?KH(s.c):0)>0?s.a?r>(u=s.b.rf().b)&&(t.v||1==s.c.d.c.length?(o=(r-u)/2,s.d.d=o,s.d.a=o):(n=($z(NU(s.c.d,0),181).rf().b-u)/2,s.d.d=i.Math.max(0,n),s.d.a=r-n-u)):s.d.a=t.t+r:Fq(t.u)&&((a=REt(s.b)).d<0&&(s.d.d=-a.d),a.d+a.a>s.b.rf().b&&(s.d.a=a.d+a.a-s.b.rf().b))}function X$t(t,e){var n;switch(btt(t)){case 6:return qM(e);case 7:return GM(e);case 8:return UM(e);case 3:return Array.isArray(e)&&!((n=btt(e))>=14&&n<=16);case 11:return null!=e&&typeof e===DWt;case 12:return null!=e&&(typeof e===IWt||typeof e==DWt);case 0:return Xwt(e,t.__elementTypeId$);case 2:return DK(e)&&e.im!==M;case 1:return DK(e)&&e.im!==M||Xwt(e,t.__elementTypeId$);default:return!0}}function V$t(t,e){var n,r,a,o;return r=i.Math.min(i.Math.abs(t.c-(e.c+e.b)),i.Math.abs(t.c+t.b-e.c)),o=i.Math.min(i.Math.abs(t.d-(e.d+e.a)),i.Math.abs(t.d+t.a-e.d)),(n=i.Math.abs(t.c+t.b/2-(e.c+e.b/2)))>t.b/2+e.b/2||(a=i.Math.abs(t.d+t.a/2-(e.d+e.a/2)))>t.a/2+e.a/2?1:0==n&&0==a?0:0==n?o/a+1:0==a?r/n+1:i.Math.min(r/n,o/a)+1}function Q$t(t,e){var n,r,a,o,s,c;return(a=nit(t))==(c=nit(e))?t.e==e.e&&t.a<54&&e.a<54?t.f<e.f?-1:t.f>e.f?1:0:(r=t.e-e.e,(n=(t.d>0?t.d:i.Math.floor((t.a-1)*GVt)+1)-(e.d>0?e.d:i.Math.floor((e.a-1)*GVt)+1))>r+1?a:n<r-1?-a:(!t.c&&(t.c=mlt(t.f)),o=t.c,!e.c&&(e.c=mlt(e.f)),s=e.c,r<0?o=Ltt(o,vzt(-r)):r>0&&(s=Ltt(s,vzt(r))),tbt(o,s))):a<c?-1:1}function Z$t(t,e){var n,i,r,a,o,s,c;for(a=0,s=0,c=0,r=new Kd(t.f.e);r.a<r.c.c.length;)e!=(i=$z(Z1(r),144))&&(a+=o=t.i[e.b][i.b],(n=K8(e.d,i.d))>0&&t.d!=(z9(),Ioe)&&(s+=o*(i.d.a+t.a[e.b][i.b]*(e.d.a-i.d.a)/n)),n>0&&t.d!=(z9(),Aoe)&&(c+=o*(i.d.b+t.a[e.b][i.b]*(e.d.b-i.d.b)/n)));switch(t.d.g){case 1:return new NA(s/a,e.d.b);case 2:return new NA(e.d.a,c/a);default:return new NA(s/a,c/a)}}function J$t(t,e){var n,i,r,a;if(Gut(),a=$z(yTt(t.i,(zYt(),twe)),98),0!=t.j.g-e.j.g||a!=(X_t(),qAe)&&a!=YAe&&a!=KAe)return 0;if(a==(X_t(),qAe)&&(n=$z(yTt(t,ewe),19),i=$z(yTt(e,ewe),19),n&&i&&0!=(r=n.a-i.a)))return r;switch(t.j.g){case 1:return Cft(t.n.a,e.n.a);case 2:return Cft(t.n.b,e.n.b);case 3:return Cft(e.n.a,t.n.a);case 4:return Cft(e.n.b,t.n.b);default:throw Fw(new Rv(i1t))}}function tFt(t){var e,n,i,r,a;for(Kz(a=new V6((!t.a&&(t.a=new IN(LIe,t,5)),t.a).i+2),new NA(t.j,t.k)),VE(new PU(null,(!t.a&&(t.a=new IN(LIe,t,5)),new f1(t.a,16))),new Sb(a)),Kz(a,new NA(t.b,t.c)),e=1;e<a.c.length-1;)l1(e-1,a.c.length),n=$z(a.c[e-1],8),l1(e,a.c.length),i=$z(a.c[e],8),l1(e+1,a.c.length),r=$z(a.c[e+1],8),n.a==i.a&&i.a==r.a||n.b==i.b&&i.b==r.b?s6(a,e):++e;return a}function eFt(t,e){var n,i,r,a,o,s,c;for(n=AD(eT(JE(tT(new Ky,e),new gQ(e.e)),gue),t.a),0==e.j.c.length||Y7($z(NU(e.j,0),57).a,n),c=new Dw,YW(t.e,n,c),o=new Py,s=new Py,a=new Kd(e.k);a.a<a.c.c.length;)kK(o,(r=$z(Z1(a),17)).c),kK(s,r.d);(i=o.a.gc()-s.a.gc())<0?(qst(c,!0,($ht(),RSe)),qst(c,!1,$Se)):i>0&&(qst(c,!1,($ht(),RSe)),qst(c,!0,$Se)),Met(e.g,new sS(t,n)),YW(t.g,e,n)}function nFt(){var t;for(nFt=I,Lee=Cst(Hx(ADe,1),uVt,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),Nee=N8(ADe,uVt,25,37,15,1),Dee=Cst(Hx(ADe,1),uVt,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Pee=N8(IDe,$Vt,25,37,14,1),t=2;t<=36;t++)Nee[t]=CZ(i.Math.pow(t,Lee[t])),Pee[t]=Mkt(fXt,Nee[t])}function iFt(t){var e;if(1!=(!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i)throw Fw(new jv(F5t+(!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i));return e=new mm,fst($z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82))&&$rt(e,GYt(t,fst($z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82)),!1)),fst($z(Yet((!t.c&&(t.c=new cR(PIe,t,5,8)),t.c),0),82))&&$rt(e,GYt(t,fst($z(Yet((!t.c&&(t.c=new cR(PIe,t,5,8)),t.c),0),82)),!0)),e}function rFt(t,e){var n,i,r;for(r=!1,i=new oq(QN((e.d?t.a.c==(gZ(),tve)?ldt(e.b):hdt(e.b):t.a.c==(gZ(),Jme)?ldt(e.b):hdt(e.b)).a.Kc(),new l));gOt(i);)if(n=$z(G5(i),17),(zv(t.a.f[t.a.g[e.b.p].p])||h5(n)||n.c.i.c!=n.d.i.c)&&!zv(t.a.n[t.a.g[e.b.p].p])&&!zv(t.a.n[t.a.g[e.b.p].p])&&(r=!0,RE(t.b,t.a.g[Lmt(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=r,e.a=null,e}function aFt(t,e,n,i,r){var a,o,s,c,u,l,h;for(EV(),wL(t,new Ws),s=new _2(t,0),h=new Lw,a=0;s.b<s.d.gc();)TP(s.b<s.d.gc()),o=$z(s.d.Xb(s.c=s.b++),157),0!=h.c.length&&eG(o)*tG(o)>2*a?(l=new Uet(h),u=eG(o)/tG(o),c=mYt(l,e,new hm,n,i,r,u),Gj(mI(l.e),c),h.c=N8(Ite,zWt,1,0,5,1),a=0,h.c[h.c.length]=l,h.c[h.c.length]=o,a=eG(l)*tG(l)+eG(o)*tG(o)):(h.c[h.c.length]=o,a+=eG(o)*tG(o));return h}function oFt(t,e,n){var i,r,a,o,s,c,u;if(0==(i=n.gc()))return!1;if(t.ej())if(c=t.fj(),vgt(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,c):t.Zi(5,null,n,e,c),t.bj()){for(s=i<100?null:new Rk(i),a=e+i,r=e;r<a;++r)u=t.Oi(r),s=t.cj(u,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(vgt(t,e,n),t.bj()){for(s=i<100?null:new Rk(i),a=e+i,r=e;r<a;++r)s=t.cj(t.Oi(r),s);s&&s.Fi()}return!0}function sFt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=t.Ui(e,t.oi(e,n)),n,e,a),t.bj()&&!(t.ni()&&o?Nht(o,n):HM(o)===HM(n))&&(o&&(r=t.dj(o,r)),r=t.cj(n,r)),r?(r.Ei(i),r.Fi()):t.$i(i),o):(o=t.Ui(e,t.oi(e,n)),t.bj()&&!(t.ni()&&o?Nht(o,n):HM(o)===HM(n))&&(r=null,o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function cFt(t,e){var n,r,a,o,s,c,u,l;if(t.e=e,t.f=$z(yTt(e,(Ert(),coe)),230),KEt(e),t.d=i.Math.max(16*e.e.c.length+e.c.c.length,256),!zv(kB(yTt(e,(ljt(),Fae)))))for(l=t.e.e.c.length,c=new Kd(e.e);c.a<c.c.c.length;)(u=$z(Z1(c),144).d).a=AG(t.f)*l,u.b=AG(t.f)*l;for(n=e.b,o=new Kd(e.c);o.a<o.c.c.length;)if(a=$z(Z1(o),282),(r=$z(yTt(a,toe),19).a)>0){for(s=0;s<r;s++)Kz(n,new cY(a));FAt(a)}}function uFt(t,e){var n,r,a,o,s;if(t.k==(oCt(),Tse)&&(n=v_(MX($z(yTt(t,(uWt(),Tfe)),15).Oc(),new rg(new ri))).sd((dT(),Jne))?e:(Kvt(),_Ae),uct(t,afe,n),n!=(Kvt(),kAe)))for(r=$z(yTt(t,dfe),17),s=Hv(_B(yTt(r,(zYt(),rbe)))),o=0,n==xAe?o=t.o.b-i.Math.ceil(s/2):n==_Ae&&(t.o.b-=Hv(_B(yTt(bW(t),vwe))),o=(t.o.b-i.Math.ceil(s))/2),a=new Kd(t.j);a.a<a.c.c.length;)$z(Z1(a),11).n.b=o}function lFt(){lFt=I,VT(),xDe=new jl,Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_(G9t)])]),Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_(q9t)])]),Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_(K9t)]),Cst(Hx(ALe,1),xte,592,0,[new G_(q9t)])]),new IO("-1"),Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_("\\c+")])]),new IO("0"),new IO("0"),new IO("1"),new IO("0"),new IO(nte)}function hFt(t){var e,n;return t.c&&t.c.kh()&&(n=$z(t.c,49),t.c=$z(tht(t,n),138),t.c!=n&&(4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,9,2,n,t.c)),iN(t.Cb,399)?t.Db>>16==-15&&t.Cb.nh()&&I9(new m7(t.Cb,9,13,n,t.c,oyt(F9($z(t.Cb,59)),t))):iN(t.Cb,88)&&t.Db>>16==-23&&t.Cb.nh()&&(iN(e=t.c,88)||(pWt(),e=fLe),iN(n,88)||(pWt(),n=fLe),I9(new m7(t.Cb,9,10,n,e,oyt(r4($z(t.Cb,26)),t)))))),t.c}function fFt(t,e){var n,i,r,a,o,s,c,u,l;for(MEt(e,"Hypernodes processing",1),i=new Kd(t.b);i.a<i.c.c.length;)for(o=new Kd($z(Z1(i),29).a);o.a<o.c.c.length;)if(zv(kB(yTt(a=$z(Z1(o),10),(zYt(),hbe))))&&a.j.c.length<=2){for(l=0,u=0,n=0,r=0,c=new Kd(a.j);c.a<c.c.c.length;)switch(s=$z(Z1(c),11),s.j.g){case 1:++l;break;case 2:++u;break;case 3:++n;break;case 4:++r}0==l&&0==n&&xYt(t,a,r<=u)}zCt(e)}function dFt(t,e){var n,i,r,a,o,s,c,u,l;for(MEt(e,"Layer constraint edge reversal",1),o=new Kd(t.b);o.a<o.c.c.length;){for(a=$z(Z1(o),29),l=-1,n=new Lw,u=Z0(a.a),r=0;r<u.length;r++)i=$z(yTt(u[r],(uWt(),efe)),303),-1==l?i!=(U9(),She)&&(l=r):i==(U9(),She)&&(TJ(u[r],null),Xvt(u[r],l++,a)),i==(U9(),The)&&Kz(n,u[r]);for(c=new Kd(n);c.a<c.c.c.length;)TJ(s=$z(Z1(c),10),null),TJ(s,a)}zCt(e)}function gFt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,"Hyperedge merging",1),DOt(t,e),s=new _2(e.b,0);s.b<s.d.gc();)if(TP(s.b<s.d.gc()),0!=(u=$z(s.d.Xb(s.c=s.b++),29).a).c.length)for(i=null,r=null,a=null,o=null,c=0;c<u.c.length;c++)l1(c,u.c.length),(r=(i=$z(u.c[c],10)).k)==(oCt(),Cse)&&o==Cse&&(l=uHt(i,a)).a&&(iBt(i,a,l.b,l.c),l1(c,u.c.length),T_(u.c,c,1),--c,i=a,r=o),a=i,o=r;zCt(n)}function pFt(t,e){var n,i,r;i=0!=zLt(t.d,1),!zv(kB(yTt(e.j,(uWt(),Vhe))))&&!zv(kB(yTt(e.j,Sfe)))||HM(yTt(e.j,(zYt(),Ope)))===HM((yct(),Nye))?e.c.Tf(e.e,i):i=zv(kB(yTt(e.j,Vhe))),PDt(t,e,i,!0),zv(kB(yTt(e.j,Sfe)))&&uct(e.j,Sfe,(cD(),!1)),zv(kB(yTt(e.j,Vhe)))&&(uct(e.j,Vhe,(cD(),!1)),uct(e.j,Sfe,!0)),n=eRt(t,e);do{if(Ort(t),0==n)return 0;r=n,PDt(t,e,i=!i,!1),n=eRt(t,e)}while(r>n);return r}function bFt(t,e){var n,i,r;i=0!=zLt(t.d,1),!zv(kB(yTt(e.j,(uWt(),Vhe))))&&!zv(kB(yTt(e.j,Sfe)))||HM(yTt(e.j,(zYt(),Ope)))===HM((yct(),Nye))?e.c.Tf(e.e,i):i=zv(kB(yTt(e.j,Vhe))),PDt(t,e,i,!0),zv(kB(yTt(e.j,Sfe)))&&uct(e.j,Sfe,(cD(),!1)),zv(kB(yTt(e.j,Vhe)))&&(uct(e.j,Vhe,(cD(),!1)),uct(e.j,Sfe,!0)),n=JSt(t,e);do{if(Ort(t),0==n)return 0;r=n,PDt(t,e,i=!i,!1),n=JSt(t,e)}while(r>n);return r}function wFt(t,e,n){var i,r,a,o,s,c,u;if(e==n)return!0;if(e=fOt(t,e),n=fOt(t,n),i=Hyt(e)){if((c=Hyt(n))!=i)return!!c&&(o=i.Dj())==c.Dj()&&null!=o;if(!e.d&&(e.d=new IN(KOe,e,1)),r=(a=e.d).i,!n.d&&(n.d=new IN(KOe,n,1)),r==(u=n.d).i)for(s=0;s<r;++s)if(!wFt(t,$z(Yet(a,s),87),$z(Yet(u,s),87)))return!1;return!0}return e.e==n.e}function yFt(t,e,n,i){var r,a,o,s,c,u,l,h;if(OPt(t.e,e)){for(h=aPt(t.e.Tg(),e),a=$z(t.g,119),l=null,c=-1,s=-1,r=0,u=0;u<t.i;++u)o=a[u],h.rl(o.ak())&&(r==n&&(c=u),r==i&&(s=u,l=o.dd()),++r);if(-1==c)throw Fw(new Mv(o8t+n+s8t+r));if(-1==s)throw Fw(new Mv(c8t+i+s8t+r));return Aft(t,c,s),wO(t.e)&&Oy(t,OQ(t,7,e,nft(i),l,n,!0)),l}throw Fw(new jv("The feature must be many-valued to support move"))}function mFt(t,e,n,i){var r,a,o,s,c;switch((c=new fO(e.n)).a+=e.o.a/2,c.b+=e.o.b/2,s=Hv(_B(yTt(e,(zYt(),Jbe)))),a=t.f,o=t.d,r=t.c,$z(yTt(e,(uWt(),Whe)),61).g){case 1:c.a+=o.b+r.a-n/2,c.b=-i-s,e.n.b=-(o.d+s+r.b);break;case 2:c.a=a.a+o.b+o.c+s,c.b+=o.d+r.b-i/2,e.n.a=a.a+o.c+s-r.a;break;case 3:c.a+=o.b+r.a-n/2,c.b=a.b+o.d+o.a+s,e.n.b=a.b+o.a+s-r.b;break;case 4:c.a=-n-s,c.b+=o.d+r.b-i/2,e.n.a=-(o.b+s+r.a)}return c}function vFt(t){var e,n,i,r,a,o;return Hot(i=new yit,t),HM(yTt(i,(zYt(),Gpe)))===HM(($ht(),FSe))&&uct(i,Gpe,Yft(i)),null==yTt(i,(C6(),kTe))&&(o=$z(OTt(t),160),uct(i,kTe,eI(o.We(kTe)))),uct(i,(uWt(),dfe),t),uct(i,Qhe,new XR(e=$z(Yk(mhe),9),$z(Ej(e,e.length),9),0)),r=Cqt((VZ(t)&&(HT(),new Dv(VZ(t))),HT(),new VD(VZ(t)?new Dv(VZ(t)):null,t)),$Se),a=$z(yTt(i,Ube),116),tJ(n=i.d,a),tJ(n,r),i}function xFt(t,e,n){var i,r;i=e.c.i,r=n.d.i,i.k==(oCt(),Cse)?(uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)),uct(t,ufe,$z(yTt(i,ufe),11)),uct(t,sfe,kB(yTt(i,sfe)))):i.k==Tse?(uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)),uct(t,ufe,$z(yTt(i,ufe),11)),uct(t,sfe,(cD(),!0))):r.k==Tse?(uct(t,(uWt(),cfe),$z(yTt(r,cfe),11)),uct(t,ufe,$z(yTt(r,ufe),11)),uct(t,sfe,(cD(),!0))):(uct(t,(uWt(),cfe),e.c),uct(t,ufe,n.d))}function kFt(t){var e,n,i,r,a,o,s;for(t.o=new Ow,i=new XE,o=new Kd(t.e.a);o.a<o.c.c.length;)1==vdt(a=$z(Z1(o),121)).c.length&&n5(i,a,i.c.b,i.c);for(;0!=i.b;)0!=vdt(a=$z(0==i.b?null:(TP(0!=i.b),Iet(i,i.a.a)),121)).c.length&&(e=$z(NU(vdt(a),0),213),n=a.g.a.c.length>0,s=Ndt(e,a),BD(n?s.b:s.g,e),1==vdt(s).c.length&&n5(i,s,i.c.b,i.c),r=new nM(a,e),d3(t.o,r),y9(t.e.a,a))}function _Ft(t,e){var n,r,a,o;return r=i.Math.abs(zq(t.b).a-zq(e.b).a),o=i.Math.abs(zq(t.b).b-zq(e.b).b),n=1,a=1,r>t.b.b/2+e.b.b/2&&(n=1-i.Math.min(i.Math.abs(t.b.c-(e.b.c+e.b.b)),i.Math.abs(t.b.c+t.b.b-e.b.c))/r),o>t.b.a/2+e.b.a/2&&(a=1-i.Math.min(i.Math.abs(t.b.d-(e.b.d+e.b.a)),i.Math.abs(t.b.d+t.b.a-e.b.d))/o),(1-i.Math.min(n,a))*i.Math.sqrt(r*r+o*o)}function EFt(t){var e,n,i;for(Jqt(t,t.e,t.f,(dZ(),Lve),!0,t.c,t.i),Jqt(t,t.e,t.f,Lve,!1,t.c,t.i),Jqt(t,t.e,t.f,Nve,!0,t.c,t.i),Jqt(t,t.e,t.f,Nve,!1,t.c,t.i),AFt(t,t.c,t.e,t.f,t.i),n=new _2(t.i,0);n.b<n.d.gc();)for(TP(n.b<n.d.gc()),e=$z(n.d.Xb(n.c=n.b++),128),i=new _2(t.i,n.b);i.b<i.d.gc();)TP(i.b<i.d.gc()),NUt(e,$z(i.d.Xb(i.c=i.b++),128));AYt(t.i,$z(yTt(t.d,(uWt(),Efe)),230)),UGt(t.i)}function TFt(t,e){var n,i;if(null!=e)if(i=nvt(t)){if(!(1&i.i))return ZT(),!(n=$z(PY(bOe,i),55))||n.wj(e);if(i==MDe)return UM(e);if(i==ADe)return iN(e,19);if(i==NDe)return iN(e,155);if(i==ODe)return iN(e,217);if(i==SDe)return iN(e,172);if(i==LDe)return GM(e);if(i==DDe)return iN(e,184);if(i==IDe)return iN(e,162)}else if(iN(e,56))return t.uk($z(e,56));return!1}function CFt(){var t,e,n,i,r,a,o,s,c;for(CFt=I,qNe=N8(ODe,w6t,25,255,15,1),KNe=N8(SDe,YXt,25,64,15,1),e=0;e<255;e++)qNe[e]=-1;for(n=90;n>=65;n--)qNe[n]=n-65<<24>>24;for(i=122;i>=97;i--)qNe[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)qNe[r]=r-48+52<<24>>24;for(qNe[43]=62,qNe[47]=63,a=0;a<=25;a++)KNe[a]=65+a&XXt;for(o=26,c=0;o<=51;++o,c++)KNe[o]=97+c&XXt;for(t=52,s=0;t<=61;++t,s++)KNe[t]=48+s&XXt;KNe[62]=43,KNe[63]=47}function SFt(t,e){var n,r,a,o,s,c,u,l,h,f,d;if(t.dc())return new Hk;for(u=0,h=0,r=t.Kc();r.Ob();)a=$z(r.Pb(),37).f,u=i.Math.max(u,a.a),h+=a.a*a.b;for(u=i.Math.max(u,i.Math.sqrt(h)*Hv(_B(yTt($z(t.Kc().Pb(),37),(zYt(),xpe))))),f=0,d=0,c=0,n=e,s=t.Kc();s.Ob();)f+(l=(o=$z(s.Pb(),37)).f).a>u&&(f=0,d+=c+e,c=0),Zjt(o,f,d),n=i.Math.max(n,f+l.a),c=i.Math.max(c,l.b),f+=l.a+e;return new NA(n+e,d+c+e)}function AFt(t,e,n,i,r){var a,o,s,c,u,l,h;for(o=new Kd(e);o.a<o.c.c.length;){if(c=(a=$z(Z1(o),17)).c,n.a._b(c))dZ(),u=Lve;else{if(!i.a._b(c))throw Fw(new jv("Source port must be in one of the port sets."));dZ(),u=Nve}if(l=a.d,n.a._b(l))dZ(),h=Lve;else{if(!i.a._b(l))throw Fw(new jv("Target port must be in one of the port sets."));dZ(),h=Nve}s=new tAt(a,u,h),YW(t.b,a,s),r.c[r.c.length]=s}}function MFt(t,e){var n,i,r,a,o,s,c;if(!KZ(t))throw Fw(new Rv($5t));if(a=(i=KZ(t)).g,r=i.f,a<=0&&r<=0)return vKt(),CMe;switch(s=t.i,c=t.j,e.g){case 2:case 1:if(s<0)return vKt(),SMe;if(s+t.g>a)return vKt(),sMe;break;case 4:case 3:if(c<0)return vKt(),cMe;if(c+t.f>r)return vKt(),TMe}return(o=(s+t.g/2)/a)+(n=(c+t.f/2)/r)<=1&&o-n<=0?(vKt(),SMe):o+n>=1&&o-n>=0?(vKt(),sMe):n<.5?(vKt(),cMe):(vKt(),TMe)}function IFt(t,e,n,i,r){var a,o;if(a=idt(t0(e[0],qVt),t0(i[0],qVt)),t[0]=dG(a),a=mq(a,32),n>=r){for(o=1;o<r;o++)a=idt(a,idt(t0(e[o],qVt),t0(i[o],qVt))),t[o]=dG(a),a=mq(a,32);for(;o<n;o++)a=idt(a,t0(e[o],qVt)),t[o]=dG(a),a=mq(a,32)}else{for(o=1;o<n;o++)a=idt(a,idt(t0(e[o],qVt),t0(i[o],qVt))),t[o]=dG(a),a=mq(a,32);for(;o<r;o++)a=idt(a,t0(i[o],qVt)),t[o]=dG(a),a=mq(a,32)}0!=Wlt(a,0)&&(t[o]=dG(a))}function OFt(t){var e,n,i,r,a,o;if(dWt(),4!=t.e&&5!=t.e)throw Fw(new jv("Token#complementRanges(): must be RANGE: "+t.e));for(_Lt(a=t),HHt(a),i=a.b.length+2,0==a.b[0]&&(i-=2),(n=a.b[a.b.length-1])==ote&&(i-=2),(r=new _0(4)).b=N8(ADe,uVt,25,i,15,1),o=0,a.b[0]>0&&(r.b[o++]=0,r.b[o++]=a.b[0]-1),e=1;e<a.b.length-2;e+=2)r.b[o++]=a.b[e]+1,r.b[o++]=a.b[e+1]-1;return n!=ote&&(r.b[o++]=n+1,r.b[o]=ote),r.a=!0,r}function LFt(t,e,n){var i,r,a,o,s,c,u,l;if(0==(i=n.gc()))return!1;if(t.ej())if(u=t.fj(),FEt(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,u):t.Zi(5,null,n,e,u),t.bj()){for(s=i<100?null:new Rk(i),a=e+i,r=e;r<a;++r)l=t.g[r],s=t.cj(l,s),s=t.jj(l,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(FEt(t,e,n),t.bj()){for(s=i<100?null:new Rk(i),a=e+i,r=e;r<a;++r)c=t.g[r],s=t.cj(c,s);s&&s.Fi()}return!0}function NFt(t,e,n,i){var r,a,o,s,c;for(o=new Kd(t.k);o.a<o.c.c.length;)r=$z(Z1(o),129),(!i||r.c==(A6(),_ve))&&(c=r.b).g<0&&r.d>0&&(Yf(c,c.d-r.d),r.c==(A6(),_ve)&&qf(c,c.a-r.d),c.d<=0&&c.i>0&&n5(e,c,e.c.b,e.c));for(a=new Kd(t.f);a.a<a.c.c.length;)r=$z(Z1(a),129),(!i||r.c==(A6(),_ve))&&(s=r.a).g<0&&r.d>0&&(Wf(s,s.i-r.d),r.c==(A6(),_ve)&&Kf(s,s.b-r.d),s.i<=0&&s.d>0&&n5(n,s,n.c.b,n.c))}function DFt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,"Processor compute fanout",1),IK(t.b),IK(t.a),s=null,a=cwt(e.b,0);!s&&a.b!=a.d.c;)zv(kB(yTt(u=$z(h3(a),86),(HUt(),dxe))))&&(s=u);for(n5(c=new XE,s,c.c.b,c.c),xKt(t,c),l=cwt(e.b,0);l.b!=l.d.c;)o=EB(yTt(u=$z(h3(l),86),(HUt(),nxe))),r=null!=EZ(t.b,o)?$z(EZ(t.b,o),19).a:0,uct(u,exe,nft(r)),i=1+(null!=EZ(t.a,o)?$z(EZ(t.a,o),19).a:0),uct(u,Jve,nft(i));zCt(n)}function PFt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(h=m_t(t,n),s=0;s<e;s++){for(yj(r,n),f=new Lw,TP(i.b<i.d.gc()),d=$z(i.d.Xb(i.c=i.b++),407),u=h+s;u<t.b;u++)o=d,TP(i.b<i.d.gc()),Kz(f,new kPt(o,d=$z(i.d.Xb(i.c=i.b++),407),n));for(l=h+s;l<t.b;l++)TP(i.b>0),i.a.Xb(i.c=--i.b),l>h+s&&uW(i);for(a=new Kd(f);a.a<a.c.c.length;)yj(i,$z(Z1(a),407));if(s<e-1)for(c=h+s;c<t.b;c++)TP(i.b>0),i.a.Xb(i.c=--i.b)}}function BFt(){var t,e,n,i,r,a;if(dWt(),TDe)return TDe;for(cHt(t=new _0(4),ZKt(bte,!0)),YGt(t,ZKt("M",!0)),YGt(t,ZKt("C",!0)),a=new _0(4),i=0;i<11;i++)VPt(a,i,i);return cHt(e=new _0(4),ZKt("M",!0)),VPt(e,4448,4607),VPt(e,65438,65439),tUt(r=new nL(2),t),tUt(r,oDe),(n=new nL(2)).$l(gG(a,ZKt("L",!0))),n.$l(e),n=new GK(r,n=new c4(3,n)),TDe=n}function jFt(t){var e,n;if(!Vat(e=EB(ZOt(t,(cWt(),tCe))),t)&&!T8(t,wSe)&&(0!=(!t.a&&(t.a=new tK(UIe,t,10,11)),t.a).i||zv(kB(ZOt(t,ECe))))){if(null!=e&&0!=BTt(e).length)throw pqt(t,n=oI(oI(new lD("Layout algorithm '"),e),"' not found for ")),Fw(new nx(n.a));if(!Vat(d1t,t))throw pqt(t,n=oI(oI(new lD("Unable to load default layout algorithm "),d1t)," for unconfigured node ")),Fw(new nx(n.a))}}function RFt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g;if(n=t.i,e=t.n,0==t.b)for(g=n.c+e.b,d=n.b-e.b-e.c,u=0,h=(s=t.a).length;u<h;++u)GG(a=s[u],g,d);else r=Yyt(t,!1),GG(t.a[0],n.c+e.b,r[0]),GG(t.a[2],n.c+n.b-e.c-r[2],r[2]),f=n.b-e.b-e.c,r[0]>0&&(f-=r[0]+t.c,r[0]+=t.c),r[2]>0&&(f-=r[2]+t.c),r[1]=i.Math.max(r[1],f),GG(t.a[1],n.c+e.b+r[0]-(r[1]-f)/2,r[1]);for(c=0,l=(o=t.a).length;c<l;++c)iN(a=o[c],326)&&$z(a,326).Te()}function $Ft(t){var e,n,i,r,a,o,s,c,u,l,h;for((h=new oo).d=0,o=new Kd(t.b);o.a<o.c.c.length;)a=$z(Z1(o),29),h.d+=a.a.c.length;for(i=0,r=0,h.a=N8(ADe,uVt,25,t.b.c.length,15,1),u=0,l=0,h.e=N8(ADe,uVt,25,h.d,15,1),n=new Kd(t.b);n.a<n.c.c.length;)for((e=$z(Z1(n),29)).p=i++,h.a[e.p]=r++,l=0,c=new Kd(e.a);c.a<c.c.c.length;)(s=$z(Z1(c),10)).p=u++,h.e[s.p]=l++;return h.c=new ub(h),h.b=sP(h.d),z$t(h,t),h.f=sP(h.d),H$t(h,t),h}function FFt(t,e){var n,r,a;for(a=$z(NU(t.n,t.n.c.length-1),211).d,t.p=i.Math.min(t.p,e.g),t.r=i.Math.max(t.r,a),t.g=i.Math.max(t.g,e.g+(1==t.b.c.length?0:t.i)),t.o=i.Math.min(t.o,e.f),t.e+=e.f+(1==t.b.c.length?0:t.i),t.f=i.Math.max(t.f,e.f),r=t.n.c.length>0?(t.n.c.length-1)*t.i:0,n=new Kd(t.n);n.a<n.c.c.length;)r+=$z(Z1(n),211).a;t.d=r,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),mvt(t.j)}function zFt(t,e){var n,i,r,a,o,s,c,u,l;if(null==(u=kB(yTt(e,(ljt(),eoe))))||(mW(u),u)){for(l=N8(MDe,ZQt,25,e.e.c.length,16,1),o=vIt(e),r=new XE,c=new Kd(e.e);c.a<c.c.c.length;)(n=VLt(t,$z(Z1(c),144),null,null,l,o))&&(Hot(n,e),n5(r,n,r.c.b,r.c));if(r.b>1)for(i=cwt(r,0);i.b!=i.d.c;)for(a=0,s=new Kd((n=$z(h3(i),231)).e);s.a<s.c.c.length;)$z(Z1(s),144).b=a++;return r}return a6(Cst(Hx(Dae,1),tJt,231,0,[e]))}function HFt(t){var e,n,i,r,a;if(!t.g){if(a=new Ec,null==(e=ELe).a.zc(t,e)){for(n=new MN(mQ(t));n.e!=n.i.gc();)pY(a,HFt($z(vwt(n),26)));e.a.Bc(t),e.a.gc()}for(i=a.i,!t.s&&(t.s=new tK(jOe,t,21,17)),r=new MN(t.s);r.e!=r.i.gc();++i)ad($z(vwt(r),449),i);pY(a,(!t.s&&(t.s=new tK(jOe,t,21,17)),t.s)),rlt(a),t.g=new gct(t,a),t.i=$z(a.g,247),null==t.i&&(t.i=CLe),t.p=null,T5(t).b&=-5}return t.g}function UFt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g;if(r=t.i,n=t.n,0==t.b)e=Kyt(t,!1),qG(t.a[0],r.d+n.d,e[0]),qG(t.a[2],r.d+r.a-n.a-e[2],e[2]),f=r.a-n.d-n.a,e[0]>0&&(e[0]+=t.c,f-=e[0]),e[2]>0&&(f-=e[2]+t.c),e[1]=i.Math.max(e[1],f),qG(t.a[1],r.d+n.d+e[0]-(e[1]-f)/2,e[1]);else for(g=r.d+n.d,d=r.a-n.d-n.a,u=0,h=(s=t.a).length;u<h;++u)qG(a=s[u],g,d);for(c=0,l=(o=t.a).length;c<l;++c)iN(a=o[c],326)&&$z(a,326).Ue()}function GFt(t){var e,n,i,r,a,o,s,c,u;for(u=N8(ADe,uVt,25,t.b.c.length+1,15,1),c=new Py,i=0,a=new Kd(t.b);a.a<a.c.c.length;){for(r=$z(Z1(a),29),u[i++]=c.a.gc(),s=new Kd(r.a);s.a<s.c.c.length;)for(n=new oq(QN(hdt($z(Z1(s),10)).a.Kc(),new l));gOt(n);)e=$z(G5(n),17),c.a.zc(e,c);for(o=new Kd(r.a);o.a<o.c.c.length;)for(n=new oq(QN(ldt($z(Z1(o),10)).a.Kc(),new l));gOt(n);)e=$z(G5(n),17),c.a.Bc(e)}return u}function qFt(t,e,n,i){var r,a,o,s,c;if(c=aPt(t.e.Tg(),e),r=$z(t.g,119),QT(),$z(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&Nht(a,n))return!0}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],c.rl(a.ak())&&Nht(n,a.dd()))return!0;if(i)for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&HM(n)===HM(cB(t,$z(a.dd(),56))))return!0}else for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&null==a.dd())return!1;return!1}function KFt(t,e,n,i){var r,a,o,s,c,u;if(u=aPt(t.e.Tg(),e),o=$z(t.g,119),OPt(t.e,e)){if(e.hi()&&(a=bzt(t,e,i,iN(e,99)&&!!($z(e,18).Bb&FVt)))>=0&&a!=n)throw Fw(new jv(a8t));for(r=0,c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak())){if(r==n)return $z(syt(t,c,(QT(),$z(e,66).Oj()?$z(i,72):Q3(e,i))),72);++r}throw Fw(new Mv(e7t+n+s8t+r))}for(c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak()))return QT(),$z(e,66).Oj()?s:s.dd();return null}function YFt(t,e,n,r){var a,o,s,c;for(c=n,s=new Kd(e.a);s.a<s.c.c.length;){if(o=$z(Z1(s),221),a=$z(o.b,65),Adt(t.b.c,a.b.c+a.b.b)<=0&&Adt(a.b.c,t.b.c+t.b.b)<=0&&Adt(t.b.d,a.b.d+a.b.a)<=0&&Adt(a.b.d,t.b.d+t.b.a)<=0){if(0==Adt(a.b.c,t.b.c+t.b.b)&&r.a<0||0==Adt(a.b.c+a.b.b,t.b.c)&&r.a>0||0==Adt(a.b.d,t.b.d+t.b.a)&&r.b<0||0==Adt(a.b.d+a.b.a,t.b.d)&&r.b>0){c=0;break}}else c=i.Math.min(c,zAt(t,a,r));c=i.Math.min(c,YFt(t,o,c,r))}return c}function WFt(t,e){var n,i,r,a,o,s;if(t.b<2)throw Fw(new jv("The vector chain must contain at least a source and a target point."));for(TP(0!=t.b),CO(e,(i=$z(t.a.a.c,8)).a,i.b),s=new iP((!e.a&&(e.a=new IN(LIe,e,5)),e.a)),a=cwt(t,1);a.a<t.b-1;)o=$z(h3(a),8),s.e!=s.i.gc()?n=$z(vwt(s),469):(Jk(),spt(s,n=new ac)),kO(n,o.a,o.b);for(;s.e!=s.i.gc();)vwt(s),Xkt(s);TP(0!=t.b),TO(e,(r=$z(t.c.b.c,8)).a,r.b)}function XFt(t,e){var n,i,r,a,o,s,c,u;for(n=0,i=new Kd((l1(0,t.c.length),$z(t.c[0],101)).g.b.j);i.a<i.c.c.length;)$z(Z1(i),11).p=n++;for(e==(vKt(),cMe)?wL(t,new ta):wL(t,new ea),o=0,u=t.c.length-1;o<u;)l1(o,t.c.length),a=$z(t.c[o],101),l1(u,t.c.length),c=$z(t.c[u],101),r=e==cMe?a.c:a.a,s=e==cMe?c.a:c.c,hK(a,e,(Mst(),mue),r),hK(c,e,yue,s),++o,--u;o==u&&hK((l1(o,t.c.length),$z(t.c[o],101)),e,(Mst(),wue),null)}function VFt(t,e,n){var i,r,a,o,s,c,u,l,h,f;return l=t.a.i+t.a.g/2,h=t.a.i+t.a.g/2,o=new NA(e.i+e.g/2,e.j+e.f/2),(c=$z(ZOt(e,(cWt(),gSe)),8)).a=c.a+l,c.b=c.b+h,r=(o.b-c.b)/(o.a-c.a),i=o.b-r*o.a,s=new NA(n.i+n.g/2,n.j+n.f/2),(u=$z(ZOt(n,gSe),8)).a=u.a+l,u.b=u.b+h,a=(s.b-u.b)/(s.a-u.a),f=(i-(s.b-a*s.a))/(a-r),!(c.a<f&&o.a<f||f<c.a&&f<o.a||u.a<f&&s.a<f||f<u.a&&f<s.a)}function QFt(t,e){var n,i,r,a,o,s;if(!(o=$z(PY(t.c,e),183)))throw Fw(new tx("Edge did not exist in input."));return i=Xpt(o),!K_((!e.a&&(e.a=new tK(jIe,e,6,6)),e.a))&&(n=new _z(t,i,s=new Cf),fI((!e.a&&(e.a=new tK(jIe,e,6,6)),e.a),n),net(o,D6t,s)),T8(e,(cWt(),ACe))&&!(!(r=$z(ZOt(e,ACe),74))||pW(r))&&(t5(r,new Wb(a=new Cf)),net(o,"junctionPoints",a)),MH(o,"container",qZ(e).k),null}function ZFt(t,e,n){var i,r,a,o,s,c;this.a=t,this.b=e,this.c=n,this.e=a6(Cst(Hx(aie,1),zWt,168,0,[new NC(t,e),new NC(e,n),new NC(n,t)])),this.f=a6(Cst(Hx(TTe,1),cXt,8,0,[t,e,n])),this.d=(i=qj($L(this.b),this.a),r=qj($L(this.c),this.a),a=qj($L(this.c),this.b),o=i.a*(this.a.a+this.b.a)+i.b*(this.a.b+this.b.b),s=r.a*(this.a.a+this.c.a)+r.b*(this.a.b+this.c.b),c=2*(i.a*a.b-i.b*a.a),new NA((r.b*o-i.b*s)/c,(i.a*s-r.a*o)/c))}function JFt(t,e,n,i){var r,a,o,s,c,u,l,h,f;if(h=new HY(t.p),net(e,t8t,h),n&&!(t.f?nQ(t.f):null).a.dc())for(net(e,"logs",u=new Cf),s=0,f=new zd((t.f?nQ(t.f):null).b.Kc());f.b.Ob();)l=new HY(EB(f.b.Pb())),dtt(u,s),n4(u,s,l),++s;if(i&&net(e,"executionTime",new Ef(t.q)),!nQ(t.a).a.dc())for(o=new Cf,net(e,I6t,o),s=0,a=new zd(nQ(t.a).b.Kc());a.b.Ob();)r=$z(a.b.Pb(),1949),c=new pv,dtt(o,s),n4(o,s,c),JFt(r,c,n,i),++s}function tzt(t,e){var n,i,r,a,o,s;for(a=t.c,o=t.d,EJ(t,null),_J(t,null),e&&zv(kB(yTt(o,(uWt(),Jhe))))?EJ(t,B$t(o.i,(ait(),Hye),(vKt(),sMe))):EJ(t,o),e&&zv(kB(yTt(a,(uWt(),mfe))))?_J(t,B$t(a.i,(ait(),zye),(vKt(),SMe))):_J(t,a),i=new Kd(t.b);i.a<i.c.c.length;)n=$z(Z1(i),70),(r=$z(yTt(n,(zYt(),Xpe)),272))==(Bet(),KSe)?uct(n,Xpe,qSe):r==qSe&&uct(n,Xpe,KSe);s=zv(kB(yTt(t,(uWt(),Cfe)))),uct(t,Cfe,(cD(),!s)),t.a=Qct(t.a)}function ezt(t,e,n){var r,a,o,s,c;for(r=0,o=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));o.e!=o.i.gc();)s="",0==(!(a=$z(vwt(o),33)).n&&(a.n=new tK(HIe,a,1,7)),a.n).i||(s=$z(Yet((!a.n&&(a.n=new tK(HIe,a,1,7)),a.n),0),137).a),Hot(c=new zY(s),a),uct(c,(Ert(),soe),a),c.b=r++,c.d.a=a.i+a.g/2,c.d.b=a.j+a.f/2,c.e.a=i.Math.max(a.g,1),c.e.b=i.Math.max(a.f,1),Kz(e.e,c),xAt(n.f,a,c),$z(ZOt(a,(ljt(),Xae)),98),X_t()}function nzt(t,e){var n,r,a,o,s,c,u,l,h,f,d;n=MD(new zy,t.f),c=t.i[e.c.i.p],f=t.i[e.d.i.p],s=e.c,h=e.d,o=s.a.b,l=h.a.b,c.b||(o+=s.n.b),f.b||(l+=h.n.b),u=CZ(i.Math.max(0,o-l)),a=CZ(i.Math.max(0,l-o)),d=i.Math.max(1,$z(yTt(e,(zYt(),hwe)),19).a)*q3(e.c.i.k,e.d.i.k),r=new ZS(qDt(rT(iT(nT(aT(new Fy,d),a),n),$z(PY(t.k,e.c),121))),qDt(rT(iT(nT(aT(new Fy,d),u),n),$z(PY(t.k,e.d),121)))),t.c[e.p]=r}function izt(t,e,n,i){var r,a,o,s,c,u;for(o=new oGt(t,e,n),c=new _2(i,0),r=!1;c.b<c.d.gc();)TP(c.b<c.d.gc()),(s=$z(c.d.Xb(c.c=c.b++),233))==e||s==n?uW(c):!r&&Hv(lN(s.g,s.d[0]).a)>Hv(lN(o.g,o.d[0]).a)?(TP(c.b>0),c.a.Xb(c.c=--c.b),yj(c,o),r=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Lw),s.e).Mc(e),u=(!s.e&&(s.e=new Lw),s.e).Mc(n),(a||u)&&((!s.e&&(s.e=new Lw),s.e).Fc(o),++o.c));r||(i.c[i.c.length]=o)}function rzt(t){var e,n,i;if(bO($z(yTt(t,(zYt(),twe)),98)))for(n=new Kd(t.j);n.a<n.c.c.length;)(e=$z(Z1(n),11)).j==(vKt(),CMe)&&((i=$z(yTt(e,(uWt(),xfe)),10))?HAt(e,$z(yTt(i,Whe),61)):e.e.c.length-e.g.c.length<0?HAt(e,sMe):HAt(e,SMe));else{for(n=new Kd(t.j);n.a<n.c.c.length;)e=$z(Z1(n),11),(i=$z(yTt(e,(uWt(),xfe)),10))?HAt(e,$z(yTt(i,Whe),61)):e.e.c.length-e.g.c.length<0?HAt(e,(vKt(),sMe)):HAt(e,(vKt(),SMe));uct(t,twe,(X_t(),WAe))}}function azt(t){var e,n;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:n="\\"+String.fromCharCode(t&XXt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=t<32?"\\x"+uP(e="0"+(t>>>0).toString(16),e.length-2,e.length):t>=FVt?"\\v"+uP(e="0"+(t>>>0).toString(16),e.length-6,e.length):""+String.fromCharCode(t&XXt)}return n}function ozt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=t.e,0==(c=e.e))return t;if(0==o)return 0==e.e?e:new lK(-e.e,e.d,e.a);if((a=t.d)+(s=e.d)==2)return n=t0(t.a[0],qVt),i=t0(e.a[0],qVt),o<0&&(n=v9(n)),c<0&&(i=v9(i)),Jbt(ndt(n,i));if(-1==(r=a!=s?a>s?1:-1:Eut(t.a,e.a,a)))h=-c,l=o==c?d6(e.a,s,t.a,a):L8(e.a,s,t.a,a);else if(h=o,o==c){if(0==r)return MBt(),nne;l=d6(t.a,a,e.a,s)}else l=L8(t.a,a,e.a,s);return q0(u=new lK(h,l.length,l)),u}function szt(t){var e,n,i,r,a,o;for(this.e=new Lw,this.a=new Lw,n=t.b-1;n<3;n++)BP(t,0,$z(Pwt(t,0),8));if(t.b<4)throw Fw(new jv("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,ALt(this,t.b+this.b-1),o=new Lw,a=new Kd(this.e),e=0;e<this.b-1;e++)Kz(o,_B(Z1(a)));for(r=cwt(t,0);r.b!=r.d.c;)i=$z(h3(r),8),Kz(o,_B(Z1(a))),Kz(this.a,new fZ(i,o)),l1(0,o.c.length),o.c.splice(0,1)}function czt(t,e){var n,i,r,a,o,s,c;for(r=new Kd(t.b);r.a<r.c.c.length;)for(o=new Kd($z(Z1(r),29).a);o.a<o.c.c.length;)for((a=$z(Z1(o),10)).k==(oCt(),Tse)&&(s=$z(G5(new oq(QN(ldt(a).a.Kc(),new l))),17),c=$z(G5(new oq(QN(hdt(a).a.Kc(),new l))),17),uFt(a,zv(kB(yTt(s,(uWt(),Cfe))))&&zv(kB(yTt(c,Cfe)))?Kst(e):e)),i=new oq(QN(hdt(a).a.Kc(),new l));gOt(i);)wst(n=$z(G5(i),17),zv(kB(yTt(n,(uWt(),Cfe))))?Kst(e):e)}function uzt(t,e,n,i,r){var a,o;if(n.f>=e.o&&n.f<=e.f||.5*e.a<=n.f&&1.5*e.a>=n.f){if((a=$z(NU(e.n,e.n.c.length-1),211)).e+a.d+n.g+r<=i&&($z(NU(e.n,e.n.c.length-1),211).f-t.f+n.f<=t.b||1==t.a.c.length))return mdt(e,n),!0;if(e.s+n.g<=i&&(e.t+e.d+n.f+r<=t.b||1==t.a.c.length))return Kz(e.b,n),o=$z(NU(e.n,e.n.c.length-1),211),Kz(e.n,new PZ(e.s,o.f+o.a+e.i,e.i)),cmt($z(NU(e.n,e.n.c.length-1),211),n),FFt(e,n),!0}return!1}function lzt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=ott(t,e,n),n,e,a),t.bj()&&!(t.ni()&&null!=o?Nht(o,n):HM(o)===HM(n))?(null!=o&&(r=t.dj(o,r)),r=t.cj(n,r),t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):(t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)),o):(o=ott(t,e,n),t.bj()&&!(t.ni()&&null!=o?Nht(o,n):HM(o)===HM(n))&&(r=null,null!=o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function hzt(t,e){var n,r,a,o,s,c,u;e%=24,t.q.getHours()!=e&&((n=new i.Date(t.q.getTime())).setDate(n.getDate()+1),(s=t.q.getTimezoneOffset()-n.getTimezoneOffset())>0&&(c=s/60|0,u=s%60,r=t.q.getDate(),t.q.getHours()+c>=24&&++r,a=new i.Date(t.q.getFullYear(),t.q.getMonth(),r,e+c,t.q.getMinutes()+u,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(a.getTime()))),o=t.q.getTime(),t.q.setTime(o+36e5),t.q.getHours()!=e&&t.q.setTime(o)}function fzt(t,e){var n,i,r,a;if(MEt(e,"Path-Like Graph Wrapping",1),0!=t.b.c.length)if(null==(r=new EOt(t)).i&&(r.i=Yrt(r,new xa)),n=Hv(r.i)*r.f/(null==r.i&&(r.i=Yrt(r,new xa)),Hv(r.i)),r.b>n)zCt(e);else{switch($z(yTt(t,(zYt(),$we)),337).g){case 2:a=new Ea;break;case 0:a=new ga;break;default:a=new Ta}if(i=a.Vf(t,r),!a.Wf())switch($z(yTt(t,qwe),338).g){case 2:i=KAt(r,i);break;case 1:i=jEt(r,i)}nUt(t,r,i),zCt(e)}else zCt(e)}function dzt(t,e){var n,i,r,a;if(u1(t.d,t.e),t.c.a.$b(),0!=Hv(_B(yTt(e.j,(zYt(),Spe))))||0!=Hv(_B(yTt(e.j,Spe))))for(n=ZZt,HM(yTt(e.j,Ope))!==HM((yct(),Nye))&&uct(e.j,(uWt(),Vhe),(cD(),!0)),a=$z(yTt(e.j,Nwe),19).a,r=0;r<a&&!((i=pFt(t,e))<n&&(n=i,Lrt(t),0==n));r++);else for(n=PWt,HM(yTt(e.j,Ope))!==HM((yct(),Nye))&&uct(e.j,(uWt(),Vhe),(cD(),!0)),a=$z(yTt(e.j,Nwe),19).a,r=0;r<a&&!((i=bFt(t,e))<n&&(n=i,Lrt(t),0==n));r++);}function gzt(t,e){var n,i,r,a,o,s;for(r=new Lw,a=0,n=0,o=0;a<e.c.length-1&&n<t.gc();){for(i=$z(t.Xb(n),19).a+o;(l1(a+1,e.c.length),$z(e.c[a+1],19)).a<i;)++a;for(s=0,i-(l1(a,e.c.length),$z(e.c[a],19)).a>(l1(a+1,e.c.length),$z(e.c[a+1],19)).a-i&&++s,Kz(r,(l1(a+s,e.c.length),$z(e.c[a+s],19))),o+=(l1(a+s,e.c.length),$z(e.c[a+s],19)).a-i,++n;n<t.gc()&&$z(t.Xb(n),19).a+o<=(l1(a+s,e.c.length),$z(e.c[a+s],19)).a;)++n;a+=1+s}return r}function pzt(t){var e,n,i,r,a;if(!t.d){if(a=new Sc,null==(e=ELe).a.zc(t,e)){for(n=new MN(mQ(t));n.e!=n.i.gc();)pY(a,pzt($z(vwt(n),26)));e.a.Bc(t),e.a.gc()}for(r=a.i,!t.q&&(t.q=new tK(YOe,t,11,10)),i=new MN(t.q);i.e!=i.i.gc();++r)$z(vwt(i),399);pY(a,(!t.q&&(t.q=new tK(YOe,t,11,10)),t.q)),rlt(a),t.d=new LI(($z(Yet(WV((WY(),ZOe).o),9),18),a.i),a.g),t.e=$z(a.g,673),null==t.e&&(t.e=TLe),T5(t).b&=-17}return t.d}function bzt(t,e,n,i){var r,a,o,s,c,u;if(u=aPt(t.e.Tg(),e),c=0,r=$z(t.g,119),QT(),$z(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(Nht(a,n))return c;++c}}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],u.rl(a.ak())){if(Nht(n,a.dd()))return c;++c}if(i)for(c=0,o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(HM(n)===HM(cB(t,$z(a.dd(),56))))return c;++c}}else for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(null==a.dd())return c;++c}return-1}function wzt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(EV(),wL(t,new Ks),o=Uz(t),d=new Lw,f=new Lw,s=null,c=0;0!=o.b;)a=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),157),!s||eG(s)*tG(s)/2<eG(a)*tG(a)?(s=a,d.c[d.c.length]=a):(c+=eG(a)*tG(a),f.c[f.c.length]=a,f.c.length>1&&(c>eG(s)*tG(s)/2||0==o.b)&&(h=new Uet(f),l=eG(s)/tG(s),u=mYt(h,e,new hm,n,i,r,l),Gj(mI(h.e),u),s=h,d.c[d.c.length]=h,c=0,f.c=N8(Ite,zWt,1,0,5,1)));return pst(d,f),d}function yzt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(n.mh(e)&&(l=(d=e)?$z(i,49).xh(d):null))if(p=n.bh(e,t.a),(g=e.t)>1||-1==g)if(h=$z(p,69),f=$z(l,69),h.dc())f.$b();else for(o=!!Syt(e),a=0,s=t.a?h.Kc():h.Zh();s.Ob();)u=$z(s.Pb(),56),(r=$z(ltt(t,u),56))?(o?-1==(c=f.Xc(r))?f.Xh(a,r):a!=c&&f.ji(a,r):f.Xh(a,r),++a):t.b&&!o&&(f.Xh(a,u),++a);else null==p?l.Wb(null):null==(r=ltt(t,p))?t.b&&!Syt(e)&&l.Wb(p):l.Wb(r)}function mzt(t,e){var n,r,a,o,s,c,u,h;for(n=new Nn,a=new oq(QN(ldt(e).a.Kc(),new l));gOt(a);)if(!h5(r=$z(G5(a),17))&&eEt(c=r.c.i,qse)){if(-1==(h=WBt(t,c,qse,Gse)))continue;n.b=i.Math.max(n.b,h),!n.a&&(n.a=new Lw),Kz(n.a,c)}for(s=new oq(QN(hdt(e).a.Kc(),new l));gOt(s);)if(!h5(o=$z(G5(s),17))&&eEt(u=o.d.i,Gse)){if(-1==(h=WBt(t,u,Gse,qse)))continue;n.d=i.Math.max(n.d,h),!n.c&&(n.c=new Lw),Kz(n.c,u)}return n}function vzt(t){var e,n,i,r;if(OIt(),e=CZ(t),t<one.length)return one[e];if(t<=50)return oIt((MBt(),tne),e);if(t<=WXt)return H5(oIt(ane[1],e),e);if(t>1e6)throw Fw(new Av("power of ten too big"));if(t<=PWt)return H5(oIt(ane[1],e),e);for(r=i=oIt(ane[1],PWt),n=lot(t-PWt),e=CZ(t%PWt);Wlt(n,PWt)>0;)r=Ltt(r,i),n=ndt(n,PWt);for(r=H5(r=Ltt(r,oIt(ane[1],e)),PWt),n=lot(t-PWt);Wlt(n,PWt)>0;)r=H5(r,PWt),n=ndt(n,PWt);return r=H5(r,e)}function xzt(t,e){var n,i,r,a,o,s,c,u;for(MEt(e,"Hierarchical port dummy size processing",1),s=new Lw,u=new Lw,n=2*Hv(_B(yTt(t,(zYt(),mwe)))),r=new Kd(t.b);r.a<r.c.c.length;){for(i=$z(Z1(r),29),s.c=N8(Ite,zWt,1,0,5,1),u.c=N8(Ite,zWt,1,0,5,1),o=new Kd(i.a);o.a<o.c.c.length;)(a=$z(Z1(o),10)).k==(oCt(),Ese)&&((c=$z(yTt(a,(uWt(),Whe)),61))==(vKt(),cMe)?s.c[s.c.length]=a:c==TMe&&(u.c[u.c.length]=a));zIt(s,!0,n),zIt(u,!1,n)}zCt(e)}function kzt(t,e){var n,i,r,a,o;MEt(e,"Layer constraint postprocessing",1),0!=(o=t.b).c.length&&(l1(0,o.c.length),RRt(t,$z(o.c[0],29),$z(NU(o,o.c.length-1),29),n=new FY(t),r=new FY(t)),0==n.a.c.length||(OJ(0,o.c.length),_C(o.c,0,n)),0==r.a.c.length||(o.c[o.c.length]=r)),OP(t,(uWt(),Zhe))&&(mBt(t,i=new FY(t),a=new FY(t)),0==i.a.c.length||(OJ(0,o.c.length),_C(o.c,0,i)),0==a.a.c.length||(o.c[o.c.length]=a)),zCt(e)}function _zt(t){var e,n,i,r,a,o,s,c;for(o=new Kd(t.a);o.a<o.c.c.length;)if((a=$z(Z1(o),10)).k==(oCt(),Ese)&&((r=$z(yTt(a,(uWt(),Whe)),61))==(vKt(),sMe)||r==SMe))for(i=new oq(QN(udt(a).a.Kc(),new l));gOt(i);)0!=(e=(n=$z(G5(i),17)).a).b&&((s=n.c).i==a&&(TP(0!=e.b),$z(e.a.a.c,8).b=Ict(Cst(Hx(TTe,1),cXt,8,0,[s.i.n,s.n,s.a])).b),(c=n.d).i==a&&(TP(0!=e.b),$z(e.c.b.c,8).b=Ict(Cst(Hx(TTe,1),cXt,8,0,[c.i.n,c.n,c.a])).b))}function Ezt(t,e){var n,i,r,a,o,s,c;for(MEt(e,"Sort By Input Model "+yTt(t,(zYt(),Ope)),1),r=0,i=new Kd(t.b);i.a<i.c.c.length;){for(n=$z(Z1(i),29),c=0==r?0:r-1,s=$z(NU(t.b,c),29),o=new Kd(n.a);o.a<o.c.c.length;)HM(yTt(a=$z(Z1(o),10),twe))!==HM((X_t(),qAe))&&HM(yTt(a,twe))!==HM(KAe)&&(EV(),wL(a.j,new A9(s,sxt(a))),AH(e,"Node "+a+" ports: "+a.j));EV(),wL(n.a,new Urt(s,$z(yTt(t,Ope),339),$z(yTt(t,Mpe),378))),AH(e,"Layer "+r+": "+n),++r}zCt(e)}function Tzt(t,e){var n,i,r;if(r=vFt(e),VE(new PU(null,(!e.c&&(e.c=new tK(GIe,e,9,9)),new f1(e.c,16))),new Gg(r)),oqt(e,i=$z(yTt(r,(uWt(),Qhe)),21)),i.Hc((fBt(),hhe)))for(n=new MN((!e.c&&(e.c=new tK(GIe,e,9,9)),e.c));n.e!=n.i.gc();)Xqt(t,e,r,$z(vwt(n),118));return 0!=$z(ZOt(e,(zYt(),Rbe)),174).gc()&&yBt(e,r),zv(kB(yTt(r,qbe)))&&i.Fc(bhe),OP(r,gwe)&&_v(new ogt(Hv(_B(yTt(r,gwe)))),r),HM(ZOt(e,sbe))===HM((oht(),bAe))?rWt(t,e,r):eYt(t,e,r),r}function Czt(t,e,n,r){var a,o,s;if(this.j=new Lw,this.k=new Lw,this.b=new Lw,this.c=new Lw,this.e=new hO,this.i=new mm,this.f=new Dw,this.d=new Lw,this.g=new Lw,Kz(this.b,t),Kz(this.b,e),this.e.c=i.Math.min(t.a,e.a),this.e.d=i.Math.min(t.b,e.b),this.e.b=i.Math.abs(t.a-e.a),this.e.a=i.Math.abs(t.b-e.b),a=$z(yTt(r,(zYt(),bbe)),74))for(s=cwt(a,0);s.b!=s.d.c;)ant((o=$z(h3(s),8)).a,t.a)&&DH(this.i,o);n&&Kz(this.j,n),Kz(this.k,r)}function Szt(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(l=new qq(new Ng(n)),bK(s=N8(MDe,ZQt,25,t.f.e.c.length,16,1),s.length),n[e.b]=0,u=new Kd(t.f.e);u.a<u.c.c.length;)(c=$z(Z1(u),144)).b!=e.b&&(n[c.b]=PWt),R8(eTt(l,c));for(;0!=l.b.c.length;)for(s[(h=$z(wtt(l),144)).b]=!0,a=bD(new wE(t.b,h),0);a.c;)!s[(f=Omt(r=$z(xJ(a),282),h)).b]&&(o=OP(r,(ixt(),poe))?Hv(_B(yTt(r,poe))):t.c,(i=n[h.b]+o)<n[f.b]&&(n[f.b]=i,crt(l,f),R8(eTt(l,f))))}function Azt(t,e,n){var i,r,a,o,s,c,u,l,h;for(r=!0,o=new Kd(t.b);o.a<o.c.c.length;){for(a=$z(Z1(o),29),u=jVt,l=null,c=new Kd(a.a);c.a<c.c.c.length;){if(s=$z(Z1(c),10),h=Hv(e.p[s.p])+Hv(e.d[s.p])-s.d.d,i=Hv(e.p[s.p])+Hv(e.d[s.p])+s.o.b+s.d.a,!(h>u&&i>u)){r=!1,n.n&&AH(n,"bk node placement breaks on "+s+" which should have been after "+l);break}l=s,u=Hv(e.p[s.p])+Hv(e.d[s.p])+s.o.b+s.d.a}if(!r)break}return n.n&&AH(n,e+" is feasible: "+r),r}function Mzt(t,e,n,i){var r,a,o,s,c,u,l;for(s=-1,l=new Kd(t);l.a<l.c.c.length;)(u=$z(Z1(l),112)).g=s--,o=r=dG(x2(LX(MX(new PU(null,new f1(u.f,16)),new uo),new lo)).d),c=a=dG(x2(LX(MX(new PU(null,new f1(u.k,16)),new ho),new fo)).d),i||(o=dG(x2(LX(new PU(null,new f1(u.f,16)),new go)).d),c=dG(x2(LX(new PU(null,new f1(u.k,16)),new po)).d)),u.d=o,u.a=r,u.i=c,u.b=a,0==c?n5(n,u,n.c.b,n.c):0==o&&n5(e,u,e.c.b,e.c)}function Izt(t,e,n,i){var r,a,o,s,c,u,l;if(n.d.i!=e.i){for($f(r=new Oyt(t),(oCt(),Cse)),uct(r,(uWt(),dfe),n),uct(r,(zYt(),twe),(X_t(),KAe)),i.c[i.c.length]=r,CJ(o=new SCt,r),HAt(o,(vKt(),SMe)),CJ(s=new SCt,r),HAt(s,sMe),l=n.d,_J(n,o),Hot(a=new fQ,n),uct(a,bbe,null),EJ(a,s),_J(a,l),u=new _2(n.b,0);u.b<u.d.gc();)TP(u.b<u.d.gc()),HM(yTt(c=$z(u.d.Xb(u.c=u.b++),70),Xpe))===HM((Bet(),qSe))&&(uct(c,Ghe,n),uW(u),Kz(a.b,c));mOt(r,o,s)}}function Ozt(t,e,n,i){var r,a,o,s,c,u;if(n.c.i!=e.i)for($f(r=new Oyt(t),(oCt(),Cse)),uct(r,(uWt(),dfe),n),uct(r,(zYt(),twe),(X_t(),KAe)),i.c[i.c.length]=r,CJ(o=new SCt,r),HAt(o,(vKt(),SMe)),CJ(s=new SCt,r),HAt(s,sMe),_J(n,o),Hot(a=new fQ,n),uct(a,bbe,null),EJ(a,s),_J(a,e),mOt(r,o,s),u=new _2(n.b,0);u.b<u.d.gc();)TP(u.b<u.d.gc()),c=$z(u.d.Xb(u.c=u.b++),70),$z(yTt(c,Xpe),272)==(Bet(),qSe)&&(OP(c,Ghe)||uct(c,Ghe,n),uW(u),Kz(a.b,c))}function Lzt(t,e,n,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(f=new Lw,w=E4(r),b=e*t.a,g=0,o=new Py,s=new Py,c=new Lw,y=0,m=0,d=0,p=0,l=0,h=0;0!=w.a.gc();)(u=tdt(w,a,s))&&(w.a.Bc(u),c.c[c.c.length]=u,o.a.zc(u,o),g=t.f[u.p],y+=t.e[u.p]-g*t.b,m+=t.c[u.p]*t.b,h+=g*t.b,p+=t.e[u.p]),(!u||0==w.a.gc()||y>=b&&t.e[u.p]>g*t.b||m>=n*b)&&(f.c[f.c.length]=c,c=new Lw,$rt(s,o),o.a.$b(),l-=h,d=i.Math.max(d,l*t.b+p),l+=m,y=m,m=0,h=0,p=0);return new nM(d,f)}function Nzt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(n=new Bd(new Ad(t.c.b).a.vc().Kc());n.a.Ob();)s=$z(n.a.Pb(),42),null==(r=(e=$z(s.dd(),149)).a)&&(r=""),!(i=jB(t.c,r))&&0==r.length&&(i=mht(t)),i&&!mgt(i.c,e,!1)&&DH(i.c,e);for(o=cwt(t.a,0);o.b!=o.d.c;)a=$z(h3(o),478),u=k5(t.c,a.a),f=k5(t.c,a.b),u&&f&&DH(u.c,new nM(f,a.c));for(yV(t.a),h=cwt(t.b,0);h.b!=h.d.c;)l=$z(h3(h),478),e=BB(t.c,l.a),c=k5(t.c,l.b),e&&c&&DT(e,c,l.c);yV(t.b)}function Dzt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;a=new Tf(t),d5((o=new gxt).g),d5(o.j),IK(o.b),d5(o.d),d5(o.i),IK(o.k),IK(o.c),IK(o.e),d=fMt(o,a,null),MLt(o,a),r=d,e&&(s=eHt(u=new Tf(e)),wCt(r,Cst(Hx(ZEe,1),zWt,527,0,[s]))),f=!1,h=!1,n&&(u=new Tf(n),h8t in u.a&&(f=UZ(u,h8t).ge().a),f8t in u.a&&(h=UZ(u,f8t).ge().a)),l=Ik($nt(new qm,f),h),FCt(new ls,r,l),h8t in a.a&&net(a,h8t,null),(f||h)&&(JFt(l,c=new pv,f,h),net(a,h8t,c)),i=new qb(o),qct(new AO(r),i)}function Pzt(t,e,n){var i,r,a,o,s,c,u,l,h;for(o=new Vxt,u=Cst(Hx(ADe,1),uVt,25,15,[0]),r=-1,a=0,i=0,c=0;c<t.b.c.length;++c){if(!((l=$z(NU(t.b,c),434)).b>0)){if(r=-1,32==uX(l.c,0)){if(h=u[0],ytt(e,u),u[0]>h)continue}else if(IQ(e,l.c,u[0])){u[0]+=l.c.length;continue}return 0}if(r<0&&l.a&&(r=c,a=u[0],i=0),r>=0){if(s=l.b,c==r&&0==(s-=i++))return 0;if(!LKt(e,u,l,s,o)){c=r-1,u[0]=a;continue}}else if(r=-1,!LKt(e,u,l,0,o))return 0}return gKt(o,n)?u[0]:0}function Bzt(t){var e,n,i,r,a,o;if(!t.f){if(o=new Tc,a=new Tc,null==(e=ELe).a.zc(t,e)){for(r=new MN(mQ(t));r.e!=r.i.gc();)pY(o,Bzt($z(vwt(r),26)));e.a.Bc(t),e.a.gc()}for(!t.s&&(t.s=new tK(jOe,t,21,17)),i=new MN(t.s);i.e!=i.i.gc();)iN(n=$z(vwt(i),170),99)&&u7(a,$z(n,18));rlt(a),t.r=new kH(t,($z(Yet(WV((WY(),ZOe).o),6),18),a.i),a.g),pY(o,t.r),rlt(o),t.f=new LI(($z(Yet(WV(ZOe.o),5),18),o.i),o.g),T5(t).b&=-3}return t.f}function jzt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(o=t.o,i=N8(ADe,uVt,25,o,15,1),r=N8(ADe,uVt,25,o,15,1),n=t.p,e=N8(ADe,uVt,25,n,15,1),a=N8(ADe,uVt,25,n,15,1),u=0;u<o;u++){for(h=0;h<n&&!wmt(t,u,h);)++h;i[u]=h}for(l=0;l<o;l++){for(h=n-1;h>=0&&!wmt(t,l,h);)--h;r[l]=h}for(d=0;d<n;d++){for(s=0;s<o&&!wmt(t,s,d);)++s;e[d]=s}for(g=0;g<n;g++){for(s=o-1;s>=0&&!wmt(t,s,g);)--s;a[g]=s}for(c=0;c<o;c++)for(f=0;f<n;f++)c<a[f]&&c>e[f]&&f<r[c]&&f>i[c]&&$jt(t,c,f,!1,!0)}function Rzt(t){var e,n,i,r,a,o,s,c;n=zv(kB(yTt(t,(ljt(),$ae)))),a=t.a.c.d,s=t.a.d.d,n?(o=mN(qj(new NA(s.a,s.b),a),.5),c=mN($L(t.e),.5),e=qj(Gj(new NA(a.a,a.b),o),c),FP(t.d,e)):(r=Hv(_B(yTt(t.a,noe))),i=t.d,a.a>=s.a?a.b>=s.b?(i.a=s.a+(a.a-s.a)/2+r,i.b=s.b+(a.b-s.b)/2-r-t.e.b):(i.a=s.a+(a.a-s.a)/2+r,i.b=a.b+(s.b-a.b)/2+r):a.b>=s.b?(i.a=a.a+(s.a-a.a)/2+r,i.b=s.b+(a.b-s.b)/2+r):(i.a=a.a+(s.a-a.a)/2+r,i.b=a.b+(s.b-a.b)/2-r-t.e.b))}function $zt(t,e){var n,i,r,a,o,s,c;if(null==t)return null;if(0==(a=t.length))return"";for(c=N8(SDe,YXt,25,a,15,1),j8(0,a,t.length),j8(0,a,c.length),XK(t,0,a,c,0),n=null,s=e,r=0,o=0;r<a;r++)i=c[r],kWt(),i<=32&&2&XNe[i]?s?(!n&&(n=new uD(t)),rQ(n,r-o++)):(s=e,32!=i&&(!n&&(n=new uD(t)),sX(n,r-o,r-o+1,String.fromCharCode(32)))):s=!1;return s?n?(a=n.a.length)>0?uP(n.a,0,a-1):"":t.substr(0,a-1):n?n.a:t}function Fzt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,qZt),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ae))),a2(t,qZt,KZt,ywt(xae)),a2(t,qZt,YZt,ywt(pae)),a2(t,qZt,WZt,ywt(lae)),a2(t,qZt,XZt,ywt(bae)),a2(t,qZt,KQt,ywt(mae)),a2(t,qZt,YQt,ywt(yae)),a2(t,qZt,qQt,ywt(vae)),a2(t,qZt,WQt,ywt(wae)),a2(t,qZt,FZt,ywt(fae)),a2(t,qZt,zZt,ywt(hae)),a2(t,qZt,HZt,ywt(dae)),a2(t,qZt,UZt,ywt(gae))}function zzt(t,e,n,i){var r,a,o,s,c,u,l;if($f(a=new Oyt(t),(oCt(),Ase)),uct(a,(zYt(),twe),(X_t(),KAe)),r=0,e){for(uct(o=new SCt,(uWt(),dfe),e),uct(a,dfe,e.i),HAt(o,(vKt(),SMe)),CJ(o,a),u=0,l=(c=Q0(e.e)).length;u<l;++u)_J(c[u],o);uct(e,xfe,a),++r}if(n){for(s=new SCt,uct(a,(uWt(),dfe),n.i),uct(s,dfe,n),HAt(s,(vKt(),sMe)),CJ(s,a),u=0,l=(c=Q0(n.g)).length;u<l;++u)EJ(c[u],s);uct(n,xfe,a),++r}return uct(a,(uWt(),$he),nft(r)),i.c[i.c.length]=a,a}function Hzt(){Hzt=I,AIe=Cst(Hx(SDe,1),YXt,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),MIe=new RegExp("[ \t\n\r\f]+");try{SIe=Cst(Hx(NLe,1),zWt,2015,0,[new bw((sL(),cpt("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",uj((ux(),ux(),iee))))),new bw(cpt("yyyy-MM-dd'T'HH:mm:ss'.'SSS",uj(iee))),new bw(cpt("yyyy-MM-dd'T'HH:mm:ss",uj(iee))),new bw(cpt("yyyy-MM-dd'T'HH:mm",uj(iee))),new bw(cpt("yyyy-MM-dd",uj(iee)))])}catch(t){if(!iN(t=hst(t),78))throw Fw(t)}}function Uzt(t){var e,n,r,a;if(r=HYt((!t.c&&(t.c=mlt(t.f)),t.c),0),0==t.e||0==t.a&&-1!=t.f&&t.e<0)return r;if(e=nit(t)<0?1:0,n=t.e,r.length,i.Math.abs(CZ(t.e)),a=new Sx,1==e&&(a.a+="-"),t.e>0)if((n-=r.length-e)>=0){for(a.a+="0.";n>Uee.length;n-=Uee.length)LU(a,Uee);gj(a,Uee,CZ(n)),oI(a,r.substr(e))}else oI(a,uP(r,e,CZ(n=e-n))),a.a+=".",oI(a,ZM(r,CZ(n)));else{for(oI(a,r.substr(e));n<-Uee.length;n+=Uee.length)LU(a,Uee);gj(a,Uee,CZ(-n))}return a.a}function Gzt(t,e,n,r){var a,o,s,c,u,l,h,f,d;return l=(u=qj(new NA(n.a,n.b),t)).a*e.b-u.b*e.a,h=e.a*r.b-e.b*r.a,f=(u.a*r.b-u.b*r.a)/h,d=l/h,0==h?0==l?(o=K8(t,a=Gj(new NA(n.a,n.b),mN(new NA(r.a,r.b),.5))),s=K8(Gj(new NA(t.a,t.b),e),a),c=.5*i.Math.sqrt(r.a*r.a+r.b*r.b),o<s&&o<=c?new NA(t.a,t.b):s<=c?Gj(new NA(t.a,t.b),e):null):null:f>=0&&f<=1&&d>=0&&d<=1?Gj(new NA(t.a,t.b),mN(new NA(e.a,e.b),f)):null}function qzt(t,e,n){var i,r,a,o,s;if(i=$z(yTt(t,(zYt(),Lpe)),21),n.a>e.a&&(i.Hc((d_t(),YTe))?t.c.a+=(n.a-e.a)/2:i.Hc(XTe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((d_t(),QTe))?t.c.b+=(n.b-e.b)/2:i.Hc(VTe)&&(t.c.b+=n.b-e.b)),$z(yTt(t,(uWt(),Qhe)),21).Hc((fBt(),hhe))&&(n.a>e.a||n.b>e.b))for(s=new Kd(t.a);s.a<s.c.c.length;)(o=$z(Z1(s),10)).k==(oCt(),Ese)&&((r=$z(yTt(o,Whe),61))==(vKt(),sMe)?o.n.a+=n.a-e.a:r==TMe&&(o.n.b+=n.b-e.b));a=t.d,t.f.a=n.a-a.b-a.c,t.f.b=n.b-a.d-a.a}function Kzt(t,e,n){var i,r,a,o,s;if(i=$z(yTt(t,(zYt(),Lpe)),21),n.a>e.a&&(i.Hc((d_t(),YTe))?t.c.a+=(n.a-e.a)/2:i.Hc(XTe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((d_t(),QTe))?t.c.b+=(n.b-e.b)/2:i.Hc(VTe)&&(t.c.b+=n.b-e.b)),$z(yTt(t,(uWt(),Qhe)),21).Hc((fBt(),hhe))&&(n.a>e.a||n.b>e.b))for(o=new Kd(t.a);o.a<o.c.c.length;)(a=$z(Z1(o),10)).k==(oCt(),Ese)&&((r=$z(yTt(a,Whe),61))==(vKt(),sMe)?a.n.a+=n.a-e.a:r==TMe&&(a.n.b+=n.b-e.b));s=t.d,t.f.a=n.a-s.b-s.c,t.f.b=n.b-s.d-s.a}function Yzt(t){var e,n,r,a,o,s,c,u,l,h;for(u=new Sd(new Cd(DIt(t)).a.vc().Kc());u.a.Ob();){for(r=$z(u.a.Pb(),42),l=0,h=0,l=(c=$z(r.cd(),10)).d.d,h=c.o.b+c.d.a,t.d[c.p]=0,e=c;(a=t.a[e.p])!=c;)n=Ebt(e,a),s=0,s=t.c==(gZ(),Jme)?n.d.n.b+n.d.a.b-n.c.n.b-n.c.a.b:n.c.n.b+n.c.a.b-n.d.n.b-n.d.a.b,o=Hv(t.d[e.p])+s,t.d[a.p]=o,l=i.Math.max(l,a.d.d-o),h=i.Math.max(h,o+a.o.b+a.d.a),e=a;e=c;do{t.d[e.p]=Hv(t.d[e.p])+l,e=t.a[e.p]}while(e!=c);t.b[c.p]=l+h}}function Wzt(t){var e,n,r,a,o,s,c,u,l,h,f;for(t.b=!1,h=BVt,c=jVt,f=BVt,u=jVt,n=t.e.a.ec().Kc();n.Ob();)for(r=(e=$z(n.Pb(),266)).a,h=i.Math.min(h,r.c),c=i.Math.max(c,r.c+r.b),f=i.Math.min(f,r.d),u=i.Math.max(u,r.d+r.a),o=new Kd(e.c);o.a<o.c.c.length;)(a=$z(Z1(o),395)).a.a?(s=(l=r.d+a.b.b)+a.c,f=i.Math.min(f,l),u=i.Math.max(u,s)):(s=(l=r.c+a.b.a)+a.c,h=i.Math.min(h,l),c=i.Math.max(c,s));t.a=new NA(c-h,u-f),t.c=new NA(h+t.d.a,f+t.d.b)}function Xzt(t,e,n){var i,r,a,o,s,c,u,l;for(l=new Lw,a=0,tit(u=new N0(0,n),new aut(0,0,u,n)),r=0,c=new MN(t);c.e!=c.i.gc();)s=$z(vwt(c),33),i=$z(NU(u.a,u.a.c.length-1),187),r+s.g+(0==$z(NU(u.a,0),187).b.c.length?0:n)>e&&(r=0,a+=u.b+n,l.c[l.c.length]=u,tit(u=new N0(a,n),i=new aut(0,u.f,u,n)),r=0),0==i.b.c.length||s.f>=i.o&&s.f<=i.f||.5*i.a<=s.f&&1.5*i.a>=s.f?mdt(i,s):(tit(u,o=new aut(i.s+i.r+n,u.f,u,n)),mdt(o,s)),r=s.i+s.g;return l.c[l.c.length]=u,l}function Vzt(t){var e,n,i,r,a,o;if(!t.a){if(t.o=null,o=new gw(t),e=new Cc,null==(n=ELe).a.zc(t,n)){for(a=new MN(mQ(t));a.e!=a.i.gc();)pY(o,Vzt($z(vwt(a),26)));n.a.Bc(t),n.a.gc()}for(!t.s&&(t.s=new tK(jOe,t,21,17)),r=new MN(t.s);r.e!=r.i.gc();)iN(i=$z(vwt(r),170),322)&&u7(e,$z(i,34));rlt(e),t.k=new xH(t,($z(Yet(WV((WY(),ZOe).o),7),18),e.i),e.g),pY(o,t.k),rlt(o),t.a=new LI(($z(Yet(WV(ZOe.o),4),18),o.i),o.g),T5(t).b&=-2}return t.a}function Qzt(t,e,n,i,r,a,o){var s,c,u,l,h,f;return h=!1,c=gDt(n.q,e.f+e.b-n.q.f),!((f=r-(n.q.e+c-o))<i.g||(u=a==t.c.length-1&&f>=(l1(a,t.c.length),$z(t.c[a],200)).e,s=rHt(i,f,!1),l=s.a,l>e.b&&!u))&&((u||l<=e.b)&&(u&&l>e.b?(n.d=l,p7(n,$Ct(n,l))):(a_t(n.q,c),n.c=!0),p7(i,r-(n.s+n.r)),_yt(i,n.q.e+n.q.d,e.f),tit(e,i),t.c.length>a&&(_xt((l1(a,t.c.length),$z(t.c[a],200)),i),0==(l1(a,t.c.length),$z(t.c[a],200)).a.c.length&&s6(t,a)),h=!0),h)}function Zzt(t,e,n,i){var r,a,o,s,c,u,l;if(l=aPt(t.e.Tg(),e),r=0,a=$z(t.g,119),c=null,QT(),$z(e,66).Oj()){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(Nht(o,n)){c=o;break}++r}}else if(null!=n){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(Nht(n,o.dd())){c=o;break}++r}}else for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(null==o.dd()){c=o;break}++r}return c&&(wO(t.e)&&(u=e.$j()?new h4(t.e,4,e,n,null,r,!0):OQ(t,e.Kj()?2:1,e,n,e.zj(),-1,!0),i?i.Ei(u):i=u),i=_Rt(t,c,i)),i}function Jzt(t,e,n,r,a,o,s){var c,u,l,h,f,d,g,p;switch(g=0,p=0,u=a.c,c=a.b,h=n.f,d=n.g,e.g){case 0:g=r.i+r.g+s,p=t.c?pEt(g,o,r,s):r.j,f=i.Math.max(u,g+d),l=i.Math.max(c,p+h);break;case 1:p=r.j+r.f+s,g=t.c?gEt(p,o,r,s):r.i,f=i.Math.max(u,g+d),l=i.Math.max(c,p+h);break;case 2:g=u+s,p=0,f=u+s+d,l=i.Math.max(c,h);break;case 3:g=0,p=c+s,f=i.Math.max(u,d),l=c+s+h;break;default:throw Fw(new jv("IllegalPlacementOption."))}return new agt(t.a,f,l,e,g,p)}function tHt(t){var e,n,r,a,o,s,c,u,l,h,f,d;if(c=t.d,f=$z(yTt(t,(uWt(),Bfe)),15),e=$z(yTt(t,Dhe),15),f||e){if(o=Hv(_B(ept(t,(zYt(),pwe)))),s=Hv(_B(ept(t,bwe))),d=0,f){for(l=0,a=f.Kc();a.Ob();)r=$z(a.Pb(),10),l=i.Math.max(l,r.o.b),d+=r.o.a;d+=o*(f.gc()-1),c.d+=l+s}if(n=0,e){for(l=0,a=e.Kc();a.Ob();)r=$z(a.Pb(),10),l=i.Math.max(l,r.o.b),n+=r.o.a;n+=o*(e.gc()-1),c.a+=l+s}(u=i.Math.max(d,n))>t.o.a&&(h=(u-t.o.a)/2,c.b=i.Math.max(c.b,h),c.c=i.Math.max(c.c,h))}}function eHt(t){var e,n,i,r,a,o;for(iO(r=new P0,(Nst(),VEe)),i=new Ed(new Vv(new kE(t,xrt(t,N8(zee,cXt,2,0,6,1))).b));i.b<i.d.gc();)TP(i.b<i.d.gc()),n=EB(i.d.Xb(i.c=i.b++)),(a=bGt(uOe,n))&&null!=(o=ZUt(a,(e=UZ(t,n)).je()?e.je().a:e.ge()?""+e.ge().a:e.he()?""+e.he().a:e.Ib()))&&((ED(a.j,(iwt(),cTe))||ED(a.j,uTe))&&cct(Xtt(r,UIe),a,o),ED(a.j,oTe)&&cct(Xtt(r,BIe),a,o),ED(a.j,lTe)&&cct(Xtt(r,GIe),a,o),ED(a.j,sTe)&&cct(Xtt(r,HIe),a,o));return r}function nHt(t,e,n,i){var r,a,o,s,c,u;if(c=aPt(t.e.Tg(),e),a=$z(t.g,119),OPt(t.e,e)){for(r=0,s=0;s<t.i;++s)if(o=a[s],c.rl(o.ak())){if(r==n)return QT(),$z(e,66).Oj()?o:(null!=(u=o.dd())&&i&&iN(e,99)&&$z(e,18).Bb&FVt&&(u=$Mt(t,e,s,r,u)),u);++r}throw Fw(new Mv(e7t+n+s8t+r))}for(r=0,s=0;s<t.i;++s){if(o=a[s],c.rl(o.ak()))return QT(),$z(e,66).Oj()?o:(null!=(u=o.dd())&&i&&iN(e,99)&&$z(e,18).Bb&FVt&&(u=$Mt(t,e,s,r,u)),u);++r}return e.zj()}function iHt(t,e,n){var i,r,a,o,s,c,u,l;if(r=$z(t.g,119),OPt(t.e,e))return QT(),$z(e,66).Oj()?new lU(e,t):new NM(e,t);for(u=aPt(t.e.Tg(),e),i=0,s=0;s<t.i;++s){if(o=(a=r[s]).ak(),u.rl(o)){if(QT(),$z(e,66).Oj())return a;if(o==(_It(),uNe)||o==oNe){for(c=new lD(Fdt(a.dd()));++s<t.i;)((o=(a=r[s]).ak())==uNe||o==oNe)&&oI(c,Fdt(a.dd()));return gR($z(e.Yj(),148),c.a)}return null!=(l=a.dd())&&n&&iN(e,99)&&$z(e,18).Bb&FVt&&(l=$Mt(t,e,s,i,l)),l}++i}return e.zj()}function rHt(t,e,n){var r,a,o,s,c,u,l,h,f,d;for(o=0,s=t.t,a=0,r=0,u=0,d=0,f=0,n&&(t.n.c=N8(Ite,zWt,1,0,5,1),Kz(t.n,new PZ(t.s,t.t,t.i))),c=0,h=new Kd(t.b);h.a<h.c.c.length;)o+(l=$z(Z1(h),33)).g+(c>0?t.i:0)>e&&u>0&&(o=0,s+=u+t.i,a=i.Math.max(a,d),r+=u+t.i,u=0,d=0,n&&(++f,Kz(t.n,new PZ(t.s,s,t.i))),c=0),d+=l.g+(c>0?t.i:0),u=i.Math.max(u,l.f),n&&cmt($z(NU(t.n,f),211),l),o+=l.g+(c>0?t.i:0),++c;return a=i.Math.max(a,d),r+=u,n&&(t.r=a,t.d=r,mvt(t.j)),new GX(t.s,t.t,a,r)}function aHt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;if(IE(),EK(t,"src"),EK(n,"dest"),f=tut(t),c=tut(n),pH(!!(4&f.i),"srcType is not an array"),pH(!!(4&c.i),"destType is not an array"),h=f.c,o=c.c,pH(1&h.i?h==o:!(1&o.i),"Array types don't match"),d=t.length,u=n.length,e<0||i<0||r<0||e+r>d||i+r>u)throw Fw(new uy);if(1&h.i||f==c)r>0&&RAt(t,e,n,i,r,!0);else if(l=ent(t),a=ent(n),HM(t)===HM(n)&&e<i)for(e+=r,s=i+r;s-- >i;)IY(a,s,l[--e]);else for(s=i+r;i<s;)IY(a,i++,l[e++])}function oHt(){oHt=I,ine=Cst(Hx(ADe,1),uVt,25,15,[RXt,1162261467,MXt,1220703125,362797056,1977326743,MXt,387420489,IVt,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,MXt,1291467969,1544804416,1838265625,60466176]),rne=Cst(Hx(ADe,1),uVt,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function sHt(t){var e,n,i,r,a,o,s;for(i=new Kd(t.b);i.a<i.c.c.length;)for(a=new Kd(r0($z(Z1(i),29).a));a.a<a.c.c.length;)if(Qtt(r=$z(Z1(a),10))&&!(n=$z(yTt(r,(uWt(),Phe)),305)).g&&n.d)for(e=n,s=n.d;s;)ejt(s.i,s.k,!1,!0),M9(e.a),M9(s.i),M9(s.k),M9(s.b),_J(s.c,e.c.d),_J(e.c,null),TJ(e.a,null),TJ(s.i,null),TJ(s.k,null),TJ(s.b,null),(o=new b3(e.i,s.a,e.e,s.j,s.f)).k=e.k,o.n=e.n,o.b=e.b,o.c=s.c,o.g=e.g,o.d=s.d,uct(e.i,Phe,o),uct(s.a,Phe,o),s=s.d,e=o}function cHt(t,e){var n,i,r,a,o;if(o=$z(e,136),_Lt(t),_Lt(o),null!=o.b){if(t.c=!0,null==t.b)return t.b=N8(ADe,uVt,25,o.b.length,15,1),void aHt(o.b,0,t.b,0,o.b.length);for(a=N8(ADe,uVt,25,t.b.length+o.b.length,15,1),n=0,i=0,r=0;n<t.b.length||i<o.b.length;)n>=t.b.length?(a[r++]=o.b[i++],a[r++]=o.b[i++]):i>=o.b.length?(a[r++]=t.b[n++],a[r++]=t.b[n++]):o.b[i]<t.b[n]||o.b[i]===t.b[n]&&o.b[i+1]<t.b[n+1]?(a[r++]=o.b[i++],a[r++]=o.b[i++]):(a[r++]=t.b[n++],a[r++]=t.b[n++]);t.b=a}}function uHt(t,e){var n,i,r,a,o,s,c,u,l,h;return n=zv(kB(yTt(t,(uWt(),sfe)))),s=zv(kB(yTt(e,sfe))),i=$z(yTt(t,cfe),11),c=$z(yTt(e,cfe),11),r=$z(yTt(t,ufe),11),u=$z(yTt(e,ufe),11),l=!!i&&i==c,h=!!r&&r==u,n||s?(a=(!zv(kB(yTt(t,sfe)))||zv(kB(yTt(t,ofe))))&&(!zv(kB(yTt(e,sfe)))||zv(kB(yTt(e,ofe)))),o=!(zv(kB(yTt(t,sfe)))&&zv(kB(yTt(t,ofe)))||zv(kB(yTt(e,sfe)))&&zv(kB(yTt(e,ofe)))),new P$(l&&a||h&&o,l,h)):new P$($z(Z1(new Kd(t.j)),11).p==$z(Z1(new Kd(e.j)),11).p,l,h)}function lHt(t){var e,n,r,a,o,s,c,u;for(r=0,n=0,u=new XE,e=0,c=new Kd(t.n);c.a<c.c.c.length;)0==(s=$z(Z1(c),211)).c.c.length?n5(u,s,u.c.b,u.c):(r=i.Math.max(r,s.d),n+=s.a+(e>0?t.i:0)),++e;for(Jdt(t.n,u),t.d=n,t.r=r,t.g=0,t.f=0,t.e=0,t.o=BVt,t.p=BVt,o=new Kd(t.b);o.a<o.c.c.length;)a=$z(Z1(o),33),t.p=i.Math.min(t.p,a.g),t.g=i.Math.max(t.g,a.g),t.f=i.Math.max(t.f,a.f),t.o=i.Math.min(t.o,a.f),t.e+=a.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),mvt(t.j)}function hHt(t){var e,n,i,r;return 64&t.Db?Vft(t):(e=new lD(W5t),(i=t.k)?oI(oI((e.a+=' "',e),i),'"'):(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new tK(HIe,t,1,7)),$z(Yet(t.n,0),137)).a)||oI(oI((e.a+=' "',e),r),'"'))),!t.b&&(t.b=new cR(PIe,t,4,7)),n=!(t.b.i<=1&&(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c.i<=1)),e.a+=n?" [":" ",oI(e,VN(new wx,new MN(t.b))),n&&(e.a+="]"),e.a+=e1t,n&&(e.a+="["),oI(e,VN(new wx,new MN(t.c))),n&&(e.a+="]"),e.a)}function fHt(t,e){var n,i,r,a,o,s,c;if(t.a){if(c=null,null!=(s=t.a.ne())?e.a+=""+s:null!=(o=t.a.Dj())&&(-1!=(a=HI(o,VEt(91)))?(c=o.substr(a),e.a+=""+uP(null==o?GWt:(mW(o),o),0,a)):e.a+=""+o),t.d&&0!=t.d.i){for(r=!0,e.a+="<",i=new MN(t.d);i.e!=i.i.gc();)n=$z(vwt(i),87),r?r=!1:e.a+=$Wt,fHt(n,e);e.a+=">"}null!=c&&(e.a+=""+c)}else t.e?null!=(s=t.e.zb)&&(e.a+=""+s):(e.a+="?",t.b?(e.a+=" super ",fHt(t.b,e)):t.f&&(e.a+=" extends ",fHt(t.f,e)))}function dHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(v=t.c,x=e.c,n=x9(v.a,t,0),i=x9(x.a,e,0),y=$z(Dgt(t,(ait(),zye)).Kc().Pb(),11),E=$z(Dgt(t,Hye).Kc().Pb(),11),m=$z(Dgt(e,zye).Kc().Pb(),11),T=$z(Dgt(e,Hye).Kc().Pb(),11),b=Q0(y.e),k=Q0(E.g),w=Q0(m.e),_=Q0(T.g),Xvt(t,i,x),u=0,d=(a=w).length;u<d;++u)_J(a[u],y);for(l=0,g=(o=_).length;l<g;++l)EJ(o[l],E);for(Xvt(e,n,v),h=0,p=(s=b).length;h<p;++h)_J(s[h],m);for(c=0,f=(r=k).length;c<f;++c)EJ(r[c],T)}function gHt(t,e,n,i){var r,a,o,s,c,u;if(a=Yft(i),!zv(kB(yTt(i,(zYt(),Sbe))))&&!zv(kB(yTt(t,hbe)))||bO($z(yTt(t,twe),98)))switch(s=new SCt,CJ(s,t),e?(u=s.n,u.a=e.a-t.n.a,u.b=e.b-t.n.b,YCt(u,0,0,t.o.a,t.o.b),HAt(s,G$t(s,a))):(r=ugt(a),HAt(s,n==(ait(),Hye)?r:_ft(r))),o=$z(yTt(i,(uWt(),Qhe)),21),c=s.j,a.g){case 2:case 1:(c==(vKt(),cMe)||c==TMe)&&o.Fc((fBt(),phe));break;case 4:case 3:(c==(vKt(),sMe)||c==SMe)&&o.Fc((fBt(),phe))}else r=ugt(a),s=B$t(t,n,n==(ait(),Hye)?r:_ft(r));return s}function pHt(t,e,n){var r,a,o,s,c,u,l;return i.Math.abs(e.s-e.c)<hJt||i.Math.abs(n.s-n.c)<hJt?0:(r=YDt(t,e.j,n.e),a=YDt(t,n.j,e.e),o=0,-1==r||-1==a?(-1==r&&(new UJ((A6(),_ve),n,e,1),++o),-1==a&&(new UJ((A6(),_ve),e,n,1),++o)):(s=_ht(e.j,n.s,n.c),s+=_ht(n.e,e.s,e.c),c=_ht(n.j,e.s,e.c),(u=r+16*s)<(l=a+16*(c+=_ht(e.e,n.s,n.c)))?new UJ((A6(),Eve),e,n,l-u):u>l?new UJ((A6(),Eve),n,e,u-l):u>0&&l>0&&(new UJ((A6(),Eve),e,n,0),new UJ(Eve,n,e,0))),o)}function bHt(t,e){var n,r,a,o,s;for(s=new out(new Td(t.f.b).a);s.b;){if(a=$z((o=tnt(s)).cd(),594),1==e){if(a.gf()!=($ht(),zSe)&&a.gf()!=jSe)continue}else if(a.gf()!=($ht(),RSe)&&a.gf()!=$Se)continue;switch(r=$z($z(o.dd(),46).b,81),n=$z($z(o.dd(),46).a,189).c,a.gf().g){case 2:r.g.c=t.e.a,r.g.b=i.Math.max(1,r.g.b+n);break;case 1:r.g.c=r.g.c+n,r.g.b=i.Math.max(1,r.g.b-n);break;case 4:r.g.d=t.e.b,r.g.a=i.Math.max(1,r.g.a+n);break;case 3:r.g.d=r.g.d+n,r.g.a=i.Math.max(1,r.g.a-n)}}}function wHt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=N8(ADe,uVt,25,e.b.c.length,15,1),l=N8(Ise,OXt,267,e.b.c.length,0,1),u=N8(kse,a1t,10,e.b.c.length,0,1),d=0,g=(f=t.a).length;d<g;++d){for(b=0,s=new Kd((h=f[d]).e);s.a<s.c.c.length;)++c[r=JI((a=$z(Z1(s),10)).c)],p=Hv(_B(yTt(e,(zYt(),ywe)))),c[r]>0&&u[r]&&(p=BL(t.b,u[r],a)),b=i.Math.max(b,a.c.c.b+p);for(o=new Kd(h.e);o.a<o.c.c.length;)(a=$z(Z1(o),10)).n.b=b+a.d.d,(n=a.c).c.b=b+a.d.d+a.o.b+a.d.a,l[x9(n.b.b,n,0)]=a.k,u[x9(n.b.b,n,0)]=a}}function yHt(t,e){var n,i,r,a,o,s,c,u,h,f,d;for(i=new oq(QN(gNt(e).a.Kc(),new l));gOt(i);)iN(Yet((!(n=$z(G5(i),79)).b&&(n.b=new cR(PIe,n,4,7)),n.b),0),186)||(c=CEt($z(Yet((!n.c&&(n.c=new cR(PIe,n,5,8)),n.c),0),82)),JIt(n)||(o=e.i+e.g/2,s=e.j+e.f/2,h=c.i+c.g/2,f=c.j+c.f/2,(d=new Hk).a=h-o,d.b=f-s,qxt(a=new NA(d.a,d.b),e.g,e.f),d.a-=a.a,d.b-=a.b,o=h-d.a,s=f-d.b,qxt(u=new NA(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,h=o+d.a,f=s+d.b,Ant(r=rBt(n,!0,!0),o),Int(r,s),_nt(r,h),Mnt(r,f),yHt(t,c)))}function mHt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,B4t),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new ns))),a2(t,B4t,j4t,ywt(mEe)),a2(t,B4t,R4t,ywt(bEe)),a2(t,B4t,$4t,ywt(pEe)),a2(t,B4t,F4t,ywt(dEe)),a2(t,B4t,z4t,ywt(gEe)),a2(t,B4t,XZt,fEe),a2(t,B4t,wJt,8),a2(t,B4t,H4t,ywt(yEe)),a2(t,B4t,U4t,ywt(cEe)),a2(t,B4t,G4t,ywt(uEe)),a2(t,B4t,K2t,(cD(),!1))}function vHt(t,e){var n,r,a,o,s,c,u,l,h,f;for(MEt(e,"Simple node placement",1),f=$z(yTt(t,(uWt(),Mfe)),304),c=0,o=new Kd(t.b);o.a<o.c.c.length;){for((s=(r=$z(Z1(o),29)).c).b=0,n=null,l=new Kd(r.a);l.a<l.c.c.length;)u=$z(Z1(l),10),n&&(s.b+=Apt(u,n,f.c)),s.b+=u.d.d+u.o.b+u.d.a,n=u;c=i.Math.max(c,s.b)}for(a=new Kd(t.b);a.a<a.c.c.length;)for(h=(c-(s=(r=$z(Z1(a),29)).c).b)/2,n=null,l=new Kd(r.a);l.a<l.c.c.length;)u=$z(Z1(l),10),n&&(h+=Apt(u,n,f.c)),h+=u.d.d,u.n.b=h,h+=u.o.b+u.d.a,n=u;zCt(e)}function xHt(t,e,n,i){var r,a,o,s,c,u,l,h;if(0==i.gc())return!1;if(QT(),o=(c=$z(e,66).Oj())?i:new pet(i.gc()),OPt(t.e,e)){if(e.hi())for(l=i.Kc();l.Ob();)qFt(t,e,u=l.Pb(),iN(e,99)&&!!($z(e,18).Bb&FVt))||(a=Q3(e,u),o.Fc(a));else if(!c)for(l=i.Kc();l.Ob();)a=Q3(e,u=l.Pb()),o.Fc(a)}else{for(h=aPt(t.e.Tg(),e),r=$z(t.g,119),s=0;s<t.i;++s)if(a=r[s],h.rl(a.ak()))throw Fw(new jv(A9t));if(i.gc()>1)throw Fw(new jv(A9t));c||(a=Q3(e,i.Kc().Pb()),o.Fc(a))}return sct(t,kSt(t,e,n),o)}function kHt(t,e){var n,i,r,a;for(Xet(e.b.j),VE(IX(new PU(null,new f1(e.d,16)),new aa),new oa),a=new Kd(e.d);a.a<a.c.c.length;){switch((r=$z(Z1(a),101)).e.g){case 0:n=$z(NU(r.j,0),113).d.j,Hf(r,$z(ID(Aq($z(c6(r.k,n),15).Oc(),Wue)),113)),zf(r,$z(ID(Sq($z(c6(r.k,n),15).Oc(),Wue)),113));break;case 1:i=zvt(r),Hf(r,$z(ID(Aq($z(c6(r.k,i[0]),15).Oc(),Wue)),113)),zf(r,$z(ID(Sq($z(c6(r.k,i[1]),15).Oc(),Wue)),113));break;case 2:WSt(t,r);break;case 3:jDt(r);break;case 4:UDt(t,r)}Wet(r)}t.a=null}function _Ht(t,e,n){var i,r,a,o,s,c,u,l;return i=t.a.o==(oJ(),rve)?BVt:jVt,!(s=rFt(t,new rA(e,n))).a&&s.c?(DH(t.d,s),i):s.a?(r=s.a.c,c=s.a.d,n?(u=t.a.c==(gZ(),tve)?c:r,a=t.a.c==tve?r:c,o=t.a.g[a.i.p],l=Hv(t.a.p[o.p])+Hv(t.a.d[a.i.p])+a.n.b+a.a.b-Hv(t.a.d[u.i.p])-u.n.b-u.a.b):(u=t.a.c==(gZ(),Jme)?c:r,a=t.a.c==Jme?r:c,l=Hv(t.a.p[t.a.g[a.i.p].p])+Hv(t.a.d[a.i.p])+a.n.b+a.a.b-Hv(t.a.d[u.i.p])-u.n.b-u.a.b),t.a.n[t.a.g[r.i.p].p]=(cD(),!0),t.a.n[t.a.g[c.i.p].p]=!0,l):i}function EHt(t,e,n){var i,r,a,o,s,c,u;if(OPt(t.e,e))QT(),IIt((s=$z(e,66).Oj()?new lU(e,t):new NM(e,t)).c,s.b),QL(s,$z(n,14));else{for(u=aPt(t.e.Tg(),e),i=$z(t.g,119),a=0;a<t.i;++a)if(r=i[a].ak(),u.rl(r)){if(r==(_It(),uNe)||r==oNe){for(o=a,(c=Myt(t,e,n))?lBt(t,a):++a;a<t.i;)(r=i[a].ak())==uNe||r==oNe?lBt(t,a):++a;c||$z(syt(t,o,Q3(e,n)),72)}else Myt(t,e,n)?lBt(t,a):$z(syt(t,a,(QT(),$z(e,66).Oj()?$z(n,72):Q3(e,n))),72);return}Myt(t,e,n)||u7(t,(QT(),$z(e,66).Oj()?$z(n,72):Q3(e,n)))}}function THt(t,e,n){var i,r,a,o,s,c,u,l;return Nht(n,t.b)||(t.b=n,a=new Qt,o=$z(T4(IX(new PU(null,new f1(n.f,16)),a),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Vne),Xne]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,r=o.Hc((zwt(),Fre)),i=o.Hc(zre),r&&!i&&(t.f=!1),!r&&i&&(t.d=!1),r=o.Hc($re),i=o.Hc(Hre),r&&!i&&(t.c=!1),!r&&i&&(t.e=!1)),l=$z(t.a.Ce(e,n),46),c=$z(l.a,19).a,u=$z(l.b,19).a,s=!1,c<0?t.c||(s=!0):t.e||(s=!0),u<0?t.d||(s=!0):t.f||(s=!0),s?THt(t,l,n):l}function CHt(t){var e,n,r,a;a=t.o,zB(),t.A.dc()||Nht(t.A,Ire)?e=a.b:(e=EMt(t.f),t.A.Hc((ypt(),BMe))&&!t.B.Hc((JRt(),KMe))&&(e=i.Math.max(e,EMt($z(oX(t.p,(vKt(),sMe)),244))),e=i.Math.max(e,EMt($z(oX(t.p,SMe),244)))),(n=sot(t))&&(e=i.Math.max(e,n.b)),t.A.Hc(jMe)&&(t.q==(X_t(),YAe)||t.q==KAe)&&(e=i.Math.max(e,qH($z(oX(t.b,(vKt(),sMe)),124))),e=i.Math.max(e,qH($z(oX(t.b,SMe),124))))),zv(kB(t.e.yf().We((cWt(),RCe))))?a.b=i.Math.max(a.b,e):a.b=e,(r=t.f.i).d=0,r.a=e,UFt(t.f)}function SHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(l=0;l<e.length;l++){for(o=t.Kc();o.Ob();)$z(o.Pb(),225).Of(l,e);for(h=0;h<e[l].length;h++){for(s=t.Kc();s.Ob();)$z(s.Pb(),225).Pf(l,h,e);for(d=e[l][h].j,f=0;f<d.c.length;f++){for(c=t.Kc();c.Ob();)$z(c.Pb(),225).Qf(l,h,f,e);for(l1(f,d.c.length),n=0,r=new w6($z(d.c[f],11).b);yL(r.a)||yL(r.b);)for(i=$z(yL(r.a)?Z1(r.a):Z1(r.b),17),u=t.Kc();u.Ob();)$z(u.Pb(),225).Nf(l,h,f,n++,i,e)}}}for(a=t.Kc();a.Ob();)$z(a.Pb(),225).Mf()}function AHt(t,e){var n,i,r,a,o;for(t.b=Hv(_B(yTt(e,(zYt(),mwe)))),t.c=Hv(_B(yTt(e,kwe))),t.d=$z(yTt(e,nbe),336),t.a=$z(yTt(e,Tpe),275),lmt(e),r=(a=$z(T4(MX(MX(ftt(ftt(new PU(null,new f1(e.b,16)),new vn),new xn),new kn),new _n),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15)).Kc();r.Ob();)n=$z(r.Pb(),17),$z(yTt(n,(uWt(),Lfe)),15).Jc(new tp(t)),uct(n,Lfe,null);for(i=a.Kc();i.Ob();)n=$z(i.Pb(),17),o=$z(yTt(n,(uWt(),Nfe)),17),$Yt(t,$z(yTt(n,Ife),15),o),uct(n,Ife,null)}function MHt(t){t.b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}function IHt(t){var e,n,i,r,a,o,s,c,u;return!(t.k!=(oCt(),Sse)||t.j.c.length<=1||(a=$z(yTt(t,(zYt(),twe)),98),a==(X_t(),KAe))||(fyt(),i=(t.q?t.q:(EV(),EV(),une))._b(Pbe)?$z(yTt(t,Pbe),197):$z(yTt(bW(t),Bbe),197),r=i,r==hye)||r!=lye&&r!=uye&&(o=Hv(_B(ept(t,Lwe))),e=$z(yTt(t,Owe),142),!e&&(e=new Fj(o,o,o,o)),u=adt(t,(vKt(),SMe)),c=e.d+e.a+(u.gc()-1)*o,c>t.o.b||(n=adt(t,sMe),s=e.d+e.a+(n.gc()-1)*o,s>t.o.b)))}function OHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(o=t.e,c=e.e,0==o)return e;if(0==c)return t;if((a=t.d)+(s=e.d)==2)return n=t0(t.a[0],qVt),i=t0(e.a[0],qVt),o==c?(g=dG(l=idt(n,i)),0==(d=dG(vq(l,32)))?new q6(o,g):new lK(o,2,Cst(Hx(ADe,1),uVt,25,15,[g,d]))):Jbt(o<0?ndt(i,n):ndt(n,i));if(o==c)f=o,h=a>=s?L8(t.a,a,e.a,s):L8(e.a,s,t.a,a);else{if(0==(r=a!=s?a>s?1:-1:Eut(t.a,e.a,a)))return MBt(),nne;1==r?(f=o,h=d6(t.a,a,e.a,s)):(f=c,h=d6(e.a,s,t.a,a))}return q0(u=new lK(f,h.length,h)),u}function LHt(t,e,n,r,a,o,s){var c,u,l,h,f,d,g;return f=zv(kB(yTt(e,(zYt(),Abe)))),d=null,o==(ait(),zye)&&r.c.i==n?d=r.c:o==Hye&&r.d.i==n&&(d=r.d),(l=s)&&f&&!d?(Kz(l.e,r),g=i.Math.max(Hv(_B(yTt(l.d,rbe))),Hv(_B(yTt(r,rbe)))),uct(l.d,rbe,g)):(vKt(),h=CMe,d?h=d.j:bO($z(yTt(n,twe),98))&&(h=o==zye?SMe:sMe),u=DHt(t,e,n,o,h,r),c=K5((bW(n),r)),o==zye?(EJ(c,$z(NU(u.j,0),11)),_J(c,a)):(EJ(c,a),_J(c,$z(NU(u.j,0),11))),l=new Ght(r,c,u,$z(yTt(u,(uWt(),dfe)),11),o,!d)),QMt(t.a,r,new O$(l.d,e,o)),l}function NHt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=null,t.d&&(l=$z(EZ(t.d,e),138)),!l){if(h=(a=t.a.Mh()).i,!t.d||LE(t.d)!=h){for(c=new Nw,t.d&&_at(c,t.d),s=u=c.f.c+c.g.c;s<h;++s)i=$z(Yet(a,s),138),(n=$z(null==(r=Sht(t.e,i).ne())?xAt(c.f,null,i):odt(c.g,r,i),138))&&n!=i&&(null==r?xAt(c.f,null,n):odt(c.g,r,n));if(c.f.c+c.g.c!=h)for(o=0;o<u;++o)i=$z(Yet(a,o),138),(n=$z(null==(r=Sht(t.e,i).ne())?xAt(c.f,null,i):odt(c.g,r,i),138))&&n!=i&&(null==r?xAt(c.f,null,n):odt(c.g,r,n));t.d=c}l=$z(EZ(t.d,e),138)}return l}function DHt(t,e,n,i,r,a){var o,s,c,u,l,h;return o=null,u=i==(ait(),zye)?a.c:a.d,c=Yft(e),u.i==n?(o=$z(PY(t.b,u),10))||(uct(o=fYt(u,$z(yTt(n,(zYt(),twe)),98),r,zRt(u),null,u.n,u.o,c,e),(uWt(),dfe),u),YW(t.b,u,o)):(s=I_t(o=fYt((l=new Zt,h=Hv(_B(yTt(e,(zYt(),ywe))))/2,cct(l,Jbe,h),l),$z(yTt(n,twe),98),r,i==zye?-1:1,null,new Hk,new NA(0,0),c,e),n,i),uct(o,(uWt(),dfe),s),YW(t.b,s,o)),$z(yTt(e,(uWt(),Qhe)),21).Fc((fBt(),hhe)),bO($z(yTt(e,(zYt(),twe)),98))?uct(e,twe,(X_t(),WAe)):uct(e,twe,(X_t(),XAe)),o}function PHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;MEt(e,"Orthogonal edge routing",1),u=Hv(_B(yTt(t,(zYt(),Mwe)))),n=Hv(_B(yTt(t,mwe))),i=Hv(_B(yTt(t,kwe))),f=new uY(0,n),p=0,o=new _2(t.b,0),s=null,l=null,c=null,h=null;do{h=(l=o.b<o.d.gc()?(TP(o.b<o.d.gc()),$z(o.d.Xb(o.c=o.b++),29)):null)?l.a:null,s&&(_Ut(s,p),p+=s.c.a),g=IGt(f,t,c,h,s?p+i:p),r=!s||YM(c,(gPt(),vve)),a=!l||YM(h,(gPt(),vve)),g>0?(d=(g-1)*n,s&&(d+=i),l&&(d+=i),d<u&&!r&&!a&&(d=u),p+=d):!r&&!a&&(p+=u),s=l,c=h}while(l);t.f.a=p,zCt(e)}function BHt(){var t;BHt=I,vOe=new Em,yOe=N8(zee,cXt,2,0,6,1),_Oe=e0(Fst(33,58),Fst(1,26)),EOe=e0(Fst(97,122),Fst(65,90)),TOe=Fst(48,57),xOe=e0(_Oe,0),kOe=e0(EOe,TOe),COe=e0(e0(0,Fst(1,6)),Fst(33,38)),SOe=e0(e0(TOe,Fst(65,70)),Fst(97,102)),LOe=e0(xOe,gwt("-_.!~*'()")),NOe=e0(kOe,Kgt("-_.!~*'()")),gwt(o7t),Kgt(o7t),e0(LOe,gwt(";:@&=+$,")),e0(NOe,Kgt(";:@&=+$,")),AOe=gwt(":/?#"),MOe=Kgt(":/?#"),IOe=gwt("/?#"),OOe=Kgt("/?#"),(t=new Py).a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),EV(),mOe=new Mx(t)}function jHt(t,e){var n,i,r,a,o;if(uct(e,(HUt(),oxe),0),r=$z(yTt(e,rxe),86),0==e.d.b)r?(o=Hv(_B(yTt(r,uxe)))+t.a+x5(r,e),uct(e,uxe,o)):uct(e,uxe,0);else{for(n=new fb(cwt(new hb(e).a.d,0));x_(n.a);)jHt(t,$z(h3(n.a),188).c);i=$z(eN(new fb(cwt(new hb(e).a.d,0))),86),a=(Hv(_B(yTt($z(kD(new fb(cwt(new hb(e).a.d,0))),86),uxe)))+Hv(_B(yTt(i,uxe))))/2,r?(o=Hv(_B(yTt(r,uxe)))+t.a+x5(r,e),uct(e,uxe,o),uct(e,oxe,Hv(_B(yTt(e,uxe)))-a),AGt(t,e)):uct(e,uxe,a)}}function RHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;s=0,d=0,c=kZ(t.f,t.f.length),a=t.d,o=t.i,i=t.a,r=t.b;do{for(f=0,u=new Kd(t.p);u.a<u.c.c.length;)h=MGt(t,$z(Z1(u),10)),n=!0,(t.q==(cDt(),_ye)||t.q==Cye)&&(n=zv(kB(h.b))),$z(h.a,19).a<0&&n?(++f,c=kZ(t.f,t.f.length),t.d=t.d+$z(h.a,19).a,d+=a-t.d,a=t.d+$z(h.a,19).a,o=t.i,i=r0(t.a),r=r0(t.b)):(t.f=kZ(c,c.length),t.d=a,t.a=(yY(i),i?new JR(i):Fz(new Kd(i))),t.b=(yY(r),r?new JR(r):Fz(new Kd(r))),t.i=o);++s,l=0!=f&&zv(kB(e.Kb(new nM(nft(d),nft(s)))))}while(l)}function $Ht(t,e,n,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return o=t.f,f=e.f,s=o==(VNt(),D_e)||o==B_e,c=o==P_e||o==j_e,d=f==P_e||f==j_e,u=o==P_e||o==D_e,g=f==P_e||f==D_e,!s||f!=D_e&&f!=B_e?c&&d?t.f==j_e?t:e:u&&g?(o==P_e?(h=t,l=e):(h=e,l=t),p=n.j+n.f,b=h.e+r.f,w=i.Math.max(p,b)-i.Math.min(n.j,h.e),a=(h.d+r.g-n.i)*w,y=n.i+n.g,m=l.d+r.g,a<=(i.Math.max(y,m)-i.Math.min(n.i,l.d))*(l.e+r.f-n.j)?t.f==P_e?t:e:t.f==D_e?t:e):t:t.f==B_e?t:e}function FHt(t){var e,n,i,r,a,o,s,c,u,l;for(u=t.e.a.c.length,a=new Kd(t.e.a);a.a<a.c.c.length;)$z(Z1(a),121).j=!1;for(t.i=N8(ADe,uVt,25,u,15,1),t.g=N8(ADe,uVt,25,u,15,1),t.n=new Lw,r=0,l=new Lw,s=new Kd(t.e.a);s.a<s.c.c.length;)(o=$z(Z1(s),121)).d=r++,0==o.b.a.c.length&&Kz(t.n,o),pst(l,o.g);for(e=0,i=new Kd(l);i.a<i.c.c.length;)(n=$z(Z1(i),213)).c=e++,n.f=!1;c=l.c.length,null==t.b||t.b.length<c?(t.b=N8(LDe,HVt,25,c,15,1),t.c=N8(MDe,ZQt,25,c,16,1)):Zv(t.c),t.d=l,t.p=new OD(tet(t.d.c.length)),t.j=1}function zHt(t,e){var n,i,r,a,o,s,c,u,l;if(!(e.e.c.length<=1)){for(t.f=e,t.d=$z(yTt(t.f,(ixt(),boe)),379),t.g=$z(yTt(t.f,voe),19).a,t.e=Hv(_B(yTt(t.f,woe))),t.c=Hv(_B(yTt(t.f,poe))),iY(t.b),r=new Kd(t.f.c);r.a<r.c.c.length;)i=$z(Z1(r),282),mRt(t.b,i.c,i,null),mRt(t.b,i.d,i,null);for(s=t.f.e.c.length,t.a=mU(LDe,[cXt,HVt],[104,25],15,[s,s],2),u=new Kd(t.f.e);u.a<u.c.c.length;)Szt(t,c=$z(Z1(u),144),t.a[c.b]);for(t.i=mU(LDe,[cXt,HVt],[104,25],15,[s,s],2),a=0;a<s;++a)for(o=0;o<s;++o)l=1/((n=t.a[a][o])*n),t.i[a][o]=l}}function HHt(t){var e,n,i,r;if(!(null==t.b||t.b.length<=2||t.a)){for(e=0,r=0;r<t.b.length;){for(e!=r?(t.b[e]=t.b[r++],t.b[e+1]=t.b[r++]):r+=2,n=t.b[e+1];r<t.b.length&&!(n+1<t.b[r]);)if(n+1==t.b[r])t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2;else if(n>=t.b[r+1])r+=2;else{if(!(n<t.b[r+1]))throw Fw(new dv("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[r]+","+t.b[r+1]+"]"));t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2}e+=2}e!=t.b.length&&(i=N8(ADe,uVt,25,e,15,1),aHt(t.b,0,i,0,e),t.b=i),t.a=!0}}function UHt(t,e){var n,i,r,a,o,s,c;for(o=gq(t.a).Kc();o.Ob();){if((a=$z(o.Pb(),17)).b.c.length>0)for(i=new JR($z(c6(t.a,a),21)),EV(),wL(i,new jg(e)),r=new _2(a.b,0);r.b<r.d.gc();){switch(TP(r.b<r.d.gc()),n=$z(r.d.Xb(r.c=r.b++),70),s=-1,$z(yTt(n,(zYt(),Xpe)),272).g){case 1:s=i.c.length-1;break;case 0:s=Qkt(i);break;case 2:s=0}-1!=s&&(l1(s,i.c.length),Kz((c=$z(i.c[s],243)).b.b,n),$z(yTt(bW(c.b.c.i),(uWt(),Qhe)),21).Fc((fBt(),lhe)),$z(yTt(bW(c.b.c.i),Qhe),21).Fc(che),uW(r),uct(n,bfe,a))}EJ(a,null),_J(a,null)}}function GHt(t,e){var n,i,r,a;return n=new Rt,1==(r=2==(r=(i=$z(T4(IX(new PU(null,new f1(t.f,16)),n),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Vne),Xne]))),21)).gc())?1:0)&&WM(hpt($z(T4(MX(i.Lc(),new $t),Yat(xbt(0),new nt)),162).a,2),0)&&(r=0),1==(a=2==(a=(i=$z(T4(IX(new PU(null,new f1(e.f,16)),n),N9(new V,new Q,new rt,new at,Cst(Hx(Zne,1),OXt,132,0,[Vne,Xne]))),21)).gc())?1:0)&&WM(hpt($z(T4(MX(i.Lc(),new Ft),Yat(xbt(0),new nt)),162).a,2),0)&&(a=0),r<a?-1:r==a?0:1}function qHt(t){var e,n,i,r,a,o,s,c,u,l,h;if(c=new Lw,!OP(t,(uWt(),Khe)))return c;for(i=$z(yTt(t,Khe),15).Kc();i.Ob();)gUt(e=$z(i.Pb(),10),t),c.c[c.c.length]=e;for(r=new Kd(t.b);r.a<r.c.c.length;)for(o=new Kd($z(Z1(r),29).a);o.a<o.c.c.length;)(a=$z(Z1(o),10)).k==(oCt(),Ese)&&(s=$z(yTt(a,Yhe),10))&&(CJ(u=new SCt,a),HAt(u,$z(yTt(a,Whe),61)),l=$z(NU(s.j,0),11),EJ(h=new fQ,u),_J(h,l));for(n=new Kd(c);n.a<n.c.c.length;)TJ(e=$z(Z1(n),10),$z(NU(t.b,t.b.c.length-1),29));return c}function KHt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(a=zv(kB(ZOt(e=KZ(t),(zYt(),fbe)))),l=0,r=0,u=new MN((!t.e&&(t.e=new cR(BIe,t,7,4)),t.e));u.e!=u.i.gc();)o=(s=XMt(c=$z(vwt(u),79)))&&a&&zv(kB(ZOt(c,dbe))),f=CEt($z(Yet((!c.c&&(c.c=new cR(PIe,c,5,8)),c.c),0),82)),s&&o?++r:s&&!o?++l:VZ(f)==e||f==e?++r:++l;for(i=new MN((!t.d&&(t.d=new cR(BIe,t,8,5)),t.d));i.e!=i.i.gc();)o=(s=XMt(n=$z(vwt(i),79)))&&a&&zv(kB(ZOt(n,dbe))),h=CEt($z(Yet((!n.b&&(n.b=new cR(PIe,n,4,7)),n.b),0),82)),s&&o?++l:s&&!o?++r:VZ(h)==e||h==e?++l:++r;return l-r}function YHt(t,e){var n,i,r,a,o,s,c,u,l;if(MEt(e,"Edge splitting",1),t.b.c.length<=2)zCt(e);else{for(TP((a=new _2(t.b,0)).b<a.d.gc()),o=$z(a.d.Xb(a.c=a.b++),29);a.b<a.d.gc();)for(r=o,TP(a.b<a.d.gc()),o=$z(a.d.Xb(a.c=a.b++),29),s=new Kd(r.a);s.a<s.c.c.length;)for(c=new Kd($z(Z1(s),10).j);c.a<c.c.c.length;)for(i=new Kd($z(Z1(c),11).g);i.a<i.c.c.length;)(u=(n=$z(Z1(i),17)).d.i.c)!=r&&u!=o&&GPt(n,($f(l=new Oyt(t),(oCt(),Cse)),uct(l,(uWt(),dfe),n),uct(l,(zYt(),twe),(X_t(),KAe)),TJ(l,o),l));zCt(e)}}function WHt(t,e){var n,i,r,a,o,s,c,u,l;if((o=null!=e.p&&!e.b)||MEt(e,aJt,1),a=1/(n=$z(yTt(t,(uWt(),_fe)),15)).gc(),e.n)for(AH(e,"ELK Layered uses the following "+n.gc()+" modules:"),l=0,u=n.Kc();u.Ob();)AH(e," Slot "+(l<10?"0":"")+l+++": "+Zk(tut($z(u.Pb(),51))));for(c=n.Kc();c.Ob();)$z(c.Pb(),51).pf(t,yat(e,a));for(r=new Kd(t.b);r.a<r.c.c.length;)i=$z(Z1(r),29),pst(t.a,i.a),i.a.c=N8(Ite,zWt,1,0,5,1);for(s=new Kd(t.a);s.a<s.c.c.length;)TJ($z(Z1(s),10),null);t.b.c=N8(Ite,zWt,1,0,5,1),o||zCt(e)}function XHt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;r=Hv(_B(yTt(e,(zYt(),Dbe)))),f=4,a=3,k=20/(x=$z(yTt(e,Nwe),19).a),d=!1,u=0,s=PWt;do{for(o=1!=u,h=0!=u,_=0,y=0,v=(b=t.a).length;y<v;++y)(g=b[y]).f=null,Fqt(t,g,o,h,r),_+=i.Math.abs(g.a);do{c=q$t(t,e)}while(c);for(w=0,m=(p=t.a).length;w<m;++w)if(0!=(n=fK(g=p[w]).a))for(l=new Kd(g.e);l.a<l.c.c.length;)$z(Z1(l),10).n.b+=n;0==u||1==u?--f<=0&&(_<s||-f>x)?(u=2,s=PWt):0==u?(u=1,s=_):(u=0,s=_):(d=_>=s||s-_<k,s=_,d&&--a)}while(!(d&&a<=0))}function VHt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(g=new Nw,a=t.a.ec().Kc();a.Ob();)YW(g,i=$z(a.Pb(),168),n.Je(i));for(yY(t),wL(o=t?new JR(t):Fz(t.a.ec().Kc()),new xg(g)),s=E4(o),c=new CL(e),xAt((d=new Nw).f,e,c);0!=s.a.gc();){for(u=null,l=null,h=null,r=s.a.ec().Kc();r.Ob();)if(i=$z(r.Pb(),168),Hv(_B(zM(MQ(g.f,i))))<=BVt){if(cK(d,i.a)&&!cK(d,i.b)){l=i.b,h=i.a,u=i;break}if(cK(d,i.b)&&!cK(d,i.a)){l=i.a,h=i.b,u=i;break}}if(!u)break;f=new CL(l),Kz($z(zM(MQ(d.f,h)),221).a,f),xAt(d.f,l,f),s.a.Bc(u)}return c}function QHt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,"Depth-first cycle removal",1),c=(u=e.a).c.length,t.c=new Lw,t.d=N8(MDe,ZQt,25,c,16,1),t.a=N8(MDe,ZQt,25,c,16,1),t.b=new Lw,a=0,s=new Kd(u);s.a<s.c.c.length;)(o=$z(Z1(s),10)).p=a,c3(ldt(o))&&Kz(t.c,o),++a;for(l=new Kd(t.c);l.a<l.c.c.length;)USt(t,$z(Z1(l),10));for(r=0;r<c;r++)t.d[r]||(l1(r,u.c.length),USt(t,$z(u.c[r],10)));for(i=new Kd(t.b);i.a<i.c.c.length;)tzt($z(Z1(i),17),!0),uct(e,(uWt(),zhe),(cD(),!0));t.c=null,t.d=null,t.a=null,t.b=null,zCt(n)}function ZHt(t,e){var n,i,r,a,o,s,c;for(t.a.c=N8(Ite,zWt,1,0,5,1),i=cwt(e.b,0);i.b!=i.d.c;)0==(n=$z(h3(i),86)).b.b&&(uct(n,(HUt(),dxe),(cD(),!0)),Kz(t.a,n));switch(t.a.c.length){case 0:uct(r=new rut(0,e,"DUMMY_ROOT"),(HUt(),dxe),(cD(),!0)),uct(r,txe,!0),DH(e.b,r);break;case 1:break;default:for(a=new rut(0,e,"SUPER_ROOT"),s=new Kd(t.a);s.a<s.c.c.length;)uct(c=new GV(a,o=$z(Z1(s),86)),(HUt(),txe),(cD(),!0)),DH(a.a.a,c),DH(a.d,c),DH(o.b,c),uct(o,dxe,!1);uct(a,(HUt(),dxe),(cD(),!0)),uct(a,txe,!0),DH(e.b,a)}}function JHt(t,e){var n,r,a,o,s,c;return xBt(),o=e.c-(t.c+t.b),a=t.c-(e.c+e.b),s=t.d-(e.d+e.a),n=e.d-(t.d+t.a),r=i.Math.max(a,o),c=i.Math.max(s,n),cL(),iit(I3t),(i.Math.abs(r)<=I3t||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:UI(isNaN(r),isNaN(0)))>=0^(iit(I3t),(i.Math.abs(c)<=I3t||0==c||isNaN(c)&&isNaN(0)?0:c<0?-1:c>0?1:UI(isNaN(c),isNaN(0)))>=0)?i.Math.max(c,r):(iit(I3t),(i.Math.abs(r)<=I3t||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:UI(isNaN(r),isNaN(0)))>0?i.Math.sqrt(c*c+r*r):-i.Math.sqrt(c*c+r*r))}function tUt(t,e){var n,i,r,a,o;if(e){if(!t.a&&(t.a=new jy),2==t.e)return void Cy(t.a,e);if(1==e.e){for(r=0;r<e.em();r++)tUt(t,e.am(r));return}if(0==(o=t.a.a.c.length))return void Cy(t.a,e);if(0!=(a=$z(hW(t.a,o-1),117)).e&&10!=a.e||0!=e.e&&10!=e.e)return void Cy(t.a,e);0==e.e||e.bm().length,0==a.e?(n=new Tx,(i=a._l())>=FVt?iI(n,Kft(i)):LY(n,i&XXt),a=new bZ(10,null,0),mK(t.a,a,o-1)):(a.bm().length,iI(n=new Tx,a.bm())),0==e.e?(i=e._l())>=FVt?iI(n,Kft(i)):LY(n,i&XXt):iI(n,e.bm()),$z(a,521).b=n.a}}function eUt(t){var e,n,i,r,a;return null!=t.g?t.g:t.a<32?(t.g=PKt(lot(t.f),CZ(t.e)),t.g):(r=HYt((!t.c&&(t.c=mlt(t.f)),t.c),0),0==t.e?r:(e=(!t.c&&(t.c=mlt(t.f)),t.c).e<0?2:1,n=r.length,i=-t.e+n-e,(a=new Cx).a+=""+r,t.e>0&&i>=-6?i>=0?mJ(a,n-CZ(t.e),String.fromCharCode(46)):(a.a=uP(a.a,0,e-1)+"0."+ZM(a.a,e-1),mJ(a,e+1,Fpt(Uee,0,-CZ(i)-1))):(n-e>=1&&(mJ(a,e,String.fromCharCode(46)),++n),mJ(a,n,String.fromCharCode(69)),i>0&&mJ(a,++n,String.fromCharCode(43)),mJ(a,++n,""+bq(lot(i)))),t.g=a.a,t.g))}function nUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!n.dc()){for(o=0,l=0,f=$z((i=n.Kc()).Pb(),19).a;o<e.f;){if(o==f&&(l=0,f=i.Ob()?$z(i.Pb(),19).a:e.f+1),o!=l)for(d=$z(NU(t.b,o),29),h=$z(NU(t.b,l),29),u=new Kd(r0(d.a));u.a<u.c.c.length;)if(Xvt(c=$z(Z1(u),10),h.a.c.length,h),0==l)for(a=new Kd(r0(ldt(c)));a.a<a.c.c.length;)tzt(r=$z(Z1(a),17),!0),uct(t,(uWt(),zhe),(cD(),!0)),nGt(t,r,1);++l,++o}for(s=new _2(t.b,0);s.b<s.d.gc();)TP(s.b<s.d.gc()),0==$z(s.d.Xb(s.c=s.b++),29).a.c.length&&uW(s)}}function iUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(l=(o=e.b).o,c=o.d,i=Hv(_B(pwt(o,(zYt(),ywe)))),r=Hv(_B(pwt(o,vwe))),u=Hv(_B(pwt(o,Iwe))),nH(s=new um,c.d,c.c,c.a,c.b),f=Ejt(e,i,r,u),w=new Kd(e.d);w.a<w.c.c.length;){for(g=(b=$z(Z1(w),101)).f.a.ec().Kc();g.Ob();)a=(d=$z(g.Pb(),409)).a,h=kEt(d),y=new mm,fEt(d,d.c,f,y),$Tt(d,h,f,y),fEt(d,d.d,f,y),n=y,n=t.Uf(d,h,n),yV(a.a),$rt(a.a,n),VE(new PU(null,new f1(n,16)),new fS(l,s));(p=b.i)&&(aEt(b,p,f,r),bbt(l,s,m=new fO(p.g)),Gj(m,p.j),bbt(l,s,m))}nH(c,s.d,s.c,s.a,s.b)}function rUt(t,e,n){var i,r,a;if((r=$z(yTt(e,(zYt(),Tpe)),275))!=(QTt(),rhe)){switch(1===(MEt(n,"Horizontal Compaction",1),t.a=e,Yx(i=new mIt(((a=new S9).d=e,a.c=$z(yTt(a.d,Qpe),218),qBt(a),TGt(a),cjt(a),a.a)),t.b),$z(yTt(e,Epe),422).g)?Kx(i,new prt(t.a)):Kx(i,(CV(),lie)),r.g){case 1:SLt(i);break;case 2:SLt(_qt(i,($ht(),$Se)));break;case 3:SLt(Gx(_qt(SLt(i),($ht(),$Se)),new br));break;case 4:SLt(Gx(_qt(SLt(i),($ht(),$Se)),new mp(a)));break;case 5:SLt(qx(i,fue))}_qt(i,($ht(),RSe)),i.e=!0,Lqt(a),zCt(n)}}function aUt(t,e,n,i,r,a,o,s){var c,u,l,h;switch(c=a6(Cst(Hx(N_e,1),zWt,220,0,[e,n,i,r])),h=null,t.b.g){case 1:h=a6(Cst(Hx(Vke,1),zWt,526,0,[new Jo,new Qo,new Zo]));break;case 0:h=a6(Cst(Hx(Vke,1),zWt,526,0,[new Zo,new Qo,new Jo]));break;case 2:h=a6(Cst(Hx(Vke,1),zWt,526,0,[new Qo,new Jo,new Zo]))}for(l=new Kd(h);l.a<l.c.c.length;)u=$z(Z1(l),526),c.c.length>1&&(c=u.mg(c,t.a,s));return 1==c.c.length?$z(NU(c,c.c.length-1),220):2==c.c.length?$Ht((l1(0,c.c.length),$z(c.c[0],220)),(l1(1,c.c.length),$z(c.c[1],220)),o,a):null}function oUt(t){var e,n,r,a,o,s;for(Met(t.a,new Jt),n=new Kd(t.a);n.a<n.c.c.length;)e=$z(Z1(n),221),r=qj($L($z(t.b,65).c),$z(e.b,65).c),Vre?(s=$z(t.b,65).b,o=$z(e.b,65).b,i.Math.abs(r.a)>=i.Math.abs(r.b)?(r.b=0,o.d+o.a>s.d&&o.d<s.d+s.a&&LH(r,i.Math.max(s.c-(o.c+o.b),o.c-(s.c+s.b)))):(r.a=0,o.c+o.b>s.c&&o.c<s.c+s.b&&LH(r,i.Math.max(s.d-(o.d+o.a),o.d-(s.d+s.a))))):LH(r,_Ft($z(t.b,65),$z(e.b,65))),a=i.Math.sqrt(r.a*r.a+r.b*r.b),LH(r,a=z_t(Kre,e,a,r)),OG($z(e.b,65),r),Met(e.a,new Mg(r)),$z(Kre.b,65),B8(Kre,Yre,e)}function sUt(t){var e,n,r,a,o,s,c,u,h,f,d,g;for(t.f=new Ry,c=0,r=0,a=new Kd(t.e.b);a.a<a.c.c.length;)for(s=new Kd($z(Z1(a),29).a);s.a<s.c.c.length;){for((o=$z(Z1(s),10)).p=c++,n=new oq(QN(hdt(o).a.Kc(),new l));gOt(n);)$z(G5(n),17).p=r++;for(e=IHt(o),f=new Kd(o.j);f.a<f.c.c.length;)h=$z(Z1(f),11),e&&(g=h.a.b)!=i.Math.floor(g)&&(u=g-v2(lot(i.Math.round(g))),h.a.b-=u),(d=h.n.b+h.a.b)!=i.Math.floor(d)&&(u=d-v2(lot(i.Math.round(d))),h.n.b-=u)}t.g=c,t.b=r,t.i=N8(Zme,zWt,401,c,0,1),t.c=N8(Vme,zWt,649,r,0,1),t.d.a.$b()}function cUt(t){var e,n,i,r,a,o,s,c,u;if(t.ej())if(c=t.fj(),t.i>0){if(e=new DM(t.i,t.g),a=(n=t.i)<100?null:new Rk(n),t.ij())for(i=0;i<t.i;++i)o=t.g[i],a=t.kj(o,a);if(r6(t),r=1==n?t.Zi(4,Yet(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new rP(e);i.e!=i.i.gc();)a=t.dj(xwt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r)}else a?(a.Ei(r),a.Fi()):t.$i(r)}else r6(t),t.$i(t.Zi(6,(EV(),cne),null,-1,c));else if(t.bj())if(t.i>0){for(s=t.g,u=t.i,r6(t),a=u<100?null:new Rk(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi()}else r6(t);else r6(t)}function uUt(t,e,n){var r,a,o,s,c,u,l,h,f;for(Rot(this),n==(dZ(),Lve)?kK(this.r,t):kK(this.w,t),h=BVt,l=jVt,s=e.a.ec().Kc();s.Ob();)a=$z(s.Pb(),46),c=$z(a.a,455),(u=(r=$z(a.b,17)).c)==t&&(u=r.d),kK(c==Lve?this.r:this.w,u),f=(vKt(),mMe).Hc(u.j)?Hv(_B(yTt(u,(uWt(),Ofe)))):Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).b,h=i.Math.min(h,f),l=i.Math.max(l,f);for(KTt(this,(vKt(),mMe).Hc(t.j)?Hv(_B(yTt(t,(uWt(),Ofe)))):Ict(Cst(Hx(TTe,1),cXt,8,0,[t.i.n,t.n,t.a])).b,h,l),o=e.a.ec().Kc();o.Ob();)a=$z(o.Pb(),46),tSt(this,$z(a.b,17));this.o=!1}function lUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return n=8191&t.l,i=t.l>>13|(15&t.m)<<9,r=t.m>>4&8191,a=t.m>>17|(255&t.h)<<5,o=(1048320&t.h)>>8,b=i*(s=8191&e.l),w=r*s,y=a*s,m=o*s,0!=(c=e.l>>13|(15&e.m)<<9)&&(b+=n*c,w+=i*c,y+=r*c,m+=a*c),0!=(u=e.m>>4&8191)&&(w+=n*u,y+=i*u,m+=r*u),0!=(l=e.m>>17|(255&e.h)<<5)&&(y+=n*l,m+=i*l),0!=(h=(1048320&e.h)>>8)&&(m+=n*h),d=((p=n*s)>>22)+(b>>9)+((262143&w)<<4)+((31&y)<<17),g=(w>>18)+(y>>5)+((4095&m)<<8),g+=(d+=(f=(p&TVt)+((511&b)<<13))>>22)>>22,_L(f&=TVt,d&=TVt,g&=CVt)}function hUt(t){var e,n,r,a,o,s,c;if(0!=(c=$z(NU(t.j,0),11)).g.c.length&&0!=c.e.c.length)throw Fw(new Rv("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=c.g.c.length){for(o=BVt,n=new Kd(c.g);n.a<n.c.c.length;)e=$z(Z1(n),17),r=$z(yTt(s=e.d.i,(zYt(),Cbe)),142),o=i.Math.min(o,s.n.a-r.b);return new Fh(yY(o))}if(0!=c.e.c.length){for(a=jVt,n=new Kd(c.e);n.a<n.c.c.length;)e=$z(Z1(n),17),r=$z(yTt(s=e.c.i,(zYt(),Cbe)),142),a=i.Math.max(a,s.n.a+s.o.a+r.c);return new Fh(yY(a))}return ev(),ev(),Mte}function fUt(t,e){var n,i,r,a,o,s;if(t.Fk()){if(t.i>4){if(!t.wj(e))return!1;if(t.rk()){if(s=(n=(i=$z(e,49)).Ug())==t.e&&(t.Dk()?i.Og(i.Vg(),t.zk())==t.Ak():-1-i.Vg()==t.aj()),t.Ek()&&!s&&!n&&i.Zg())for(r=0;r<t.i;++r)if(HM(t.Gk($z(t.g[r],56)))===HM(e))return!0;return s}if(t.Dk()&&!t.Ck()){if(HM(a=$z(e,56).ah(Syt($z(t.ak(),18))))===HM(t.e))return!0;if(null==a||!$z(a,56).kh())return!1}}if(o=Tkt(t,e),t.Ek()&&!o)for(r=0;r<t.i;++r)if(HM(i=t.Gk($z(t.g[r],56)))===HM(e))return!0;return o}return Tkt(t,e)}function dUt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(l=new Lw,f=new Py,o=e.b,r=0;r<o.c.length;r++){for(u=(l1(r,o.c.length),$z(o.c[r],29)).a,l.c=N8(Ite,zWt,1,0,5,1),a=0;a<u.c.length;a++)(s=t.a[r][a]).p=a,s.k==(oCt(),Ase)&&(l.c[l.c.length]=s),i5($z(NU(e.b,r),29).a,a,s),s.j.c=N8(Ite,zWt,1,0,5,1),pst(s.j,$z($z(NU(t.b,r),15).Xb(a),14)),OR($z(yTt(s,(zYt(),twe)),98))||uct(s,twe,(X_t(),qAe));for(i=new Kd(l);i.a<i.c.c.length;)h=Xjt(n=$z(Z1(i),10)),f.a.zc(h,f),f.a.zc(n,f)}for(c=f.a.ec().Kc();c.Ob();)s=$z(c.Pb(),10),EV(),wL(s.j,(Gut(),sue)),s.i=!0,eMt(s)}function gUt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=$z(yTt(t,(uWt(),Whe)),61),i=$z(NU(t.j,0),11),l==(vKt(),cMe)?HAt(i,TMe):l==TMe&&HAt(i,cMe),$z(yTt(e,(zYt(),Rbe)),174).Hc((ypt(),RMe))){if(c=Hv(_B(yTt(t,Cwe))),u=Hv(_B(yTt(t,Swe))),o=Hv(_B(yTt(t,Ewe))),(s=$z(yTt(e,iwe),21)).Hc((hMt(),eMe)))for(n=u,h=t.o.a/2-i.n.a,a=new Kd(i.f);a.a<a.c.c.length;)(r=$z(Z1(a),70)).n.b=n,r.n.a=h-r.o.a/2,n+=r.o.b+o;else if(s.Hc(iMe))for(a=new Kd(i.f);a.a<a.c.c.length;)(r=$z(Z1(a),70)).n.a=c+t.o.a-i.n.a;u0(new Tg((gT(),new FX(e,!1,!1,new $e))),new j$(null,t,!1))}}function pUt(t,e){var n,r,a,o,s,c,u;if(0!=e.c.length){for(EV(),yG(e.c,e.c.length,null),r=$z(Z1(a=new Kd(e)),145);a.a<a.c.c.length;)n=$z(Z1(a),145),!ant(r.e.c,n.e.c)||jpt($B(r.e).b,n.e.d)||jpt($B(n.e).b,r.e.d)?(eFt(t,r),r=n):(pst(r.k,n.k),pst(r.b,n.b),pst(r.c,n.c),$rt(r.i,n.i),pst(r.d,n.d),pst(r.j,n.j),o=i.Math.min(r.e.c,n.e.c),s=i.Math.min(r.e.d,n.e.d),c=i.Math.max(r.e.c+r.e.b,n.e.c+n.e.b)-o,u=i.Math.max(r.e.d+r.e.a,n.e.d+n.e.a)-s,NH(r.e,o,s,c,u),J1(r.f,n.f),!r.a&&(r.a=n.a),pst(r.g,n.g),Kz(r.g,n));eFt(t,r)}}function bUt(t,e,n,i){var r,a,o,s,c,u;if((s=t.j)==(vKt(),CMe)&&e!=(X_t(),XAe)&&e!=(X_t(),VAe)&&(HAt(t,s=G$t(t,n)),!(t.q?t.q:(EV(),EV(),une))._b((zYt(),Jbe))&&s!=CMe&&(0!=t.n.a||0!=t.n.b)&&uct(t,Jbe,xxt(t,s))),e==(X_t(),YAe)){switch(u=0,s.g){case 1:case 3:(a=t.i.o.a)>0&&(u=t.n.a/a);break;case 2:case 4:(r=t.i.o.b)>0&&(u=t.n.b/r)}uct(t,(uWt(),kfe),u)}if(c=t.o,o=t.a,i)o.a=i.a,o.b=i.b,t.d=!0;else if(e!=XAe&&e!=VAe&&s!=CMe)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2}else o.a=c.a/2,o.b=c.b/2}function wUt(t){var e,n,i,r,a,o,s,c,u,l;if(t.ej())if(l=t.Vi(),c=t.fj(),l>0)if(e=new xat(t.Gi()),a=(n=l)<100?null:new Rk(n),VB(t,n,e.g),r=1==n?t.Zi(4,Yet(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new MN(e);i.e!=i.i.gc();)a=t.dj(vwt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r)}else a?(a.Ei(r),a.Fi()):t.$i(r);else VB(t,t.Vi(),t.Wi()),t.$i(t.Zi(6,(EV(),cne),null,-1,c));else if(t.bj())if((l=t.Vi())>0){for(s=t.Wi(),u=l,VB(t,l,s),a=u<100?null:new Rk(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi()}else VB(t,t.Vi(),t.Wi());else VB(t,t.Vi(),t.Wi())}function yUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(s=new Kd(e);s.a<s.c.c.length;)(a=$z(Z1(s),233)).e=null,a.c=0;for(c=null,o=new Kd(e);o.a<o.c.c.length;)if(h=(a=$z(Z1(o),233)).d[0],!n||h.k==(oCt(),Sse)){for(d=$z(yTt(h,(uWt(),ife)),15).Kc();d.Ob();)f=$z(d.Pb(),10),(!n||f.k==(oCt(),Sse))&&((!a.e&&(a.e=new Lw),a.e).Fc(t.b[f.c.p][f.p]),++t.b[f.c.p][f.p].c);if(!n&&h.k==(oCt(),Sse)){if(c)for(l=$z(c6(t.d,c),21).Kc();l.Ob();)for(u=$z(l.Pb(),10),r=$z(c6(t.d,h),21).Kc();r.Ob();)i=$z(r.Pb(),10),Gz(t.b[u.c.p][u.p]).Fc(t.b[i.c.p][i.p]),++t.b[i.c.p][i.p].c;c=h}}}function mUt(t,e){var n,i,r,a,o,s,c;for(n=0,c=new Lw,a=new Kd(e);a.a<a.c.c.length;){switch(r=$z(Z1(a),11),Jut(t.b,t.d[r.p]),c.c=N8(Ite,zWt,1,0,5,1),r.i.k.g){case 0:Met($z(yTt(r,(uWt(),xfe)),10).j,new Qp(c));break;case 1:EL(Xct(MX(new PU(null,new f1(r.i.j,16)),new Zp(r))),new Jp(c));break;case 3:Kz(c,new nM($z(yTt(r,(uWt(),dfe)),11),nft(r.e.c.length+r.g.c.length)))}for(s=new Kd(c);s.a<s.c.c.length;)o=$z(Z1(s),46),(i=__(t,$z(o.a,11)))>t.d[r.p]&&(n+=Z4(t.b,i)*$z(o.b,19).a,d3(t.a,nft(i)));for(;!Kv(t.a);)_tt(t.b,$z(dK(t.a),19).a)}return n}function vUt(t,e,n,r){var a,o,s,c,u,l,h,f,d,g;for((h=new fO($z(ZOt(t,(TTt(),FTe)),8))).a=i.Math.max(h.a-n.b-n.c,0),h.b=i.Math.max(h.b-n.d-n.a,0),(null==(a=_B(ZOt(t,DTe)))||(mW(a),a<=0))&&(a=1.3),s=new Lw,f=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));f.e!=f.i.gc();)o=new UP($z(vwt(f),33)),s.c[s.c.length]=o;switch($z(ZOt(t,PTe),311).g){case 3:g=aFt(s,e,h.a,h.b,(u=r,mW(a),u));break;case 1:g=wzt(s,e,h.a,h.b,(l=r,mW(a),l));break;default:g=EUt(s,e,h.a,h.b,(c=r,mW(a),c))}jKt(t,(d=mYt(new Uet(g),e,n,h.a,h.b,r,(mW(a),a))).a,d.b,!1,!0)}function xUt(t,e){var n,i,r,a;a=new JR((n=e.b).j),r=0,(i=n.j).c=N8(Ite,zWt,1,0,5,1),tY($z(pot(t.b,(vKt(),cMe),(Srt(),Bue)),15),n),r=Qmt(a,r,new Pr,i),tY($z(pot(t.b,cMe,Pue),15),n),r=Qmt(a,r,new Dr,i),tY($z(pot(t.b,cMe,Due),15),n),tY($z(pot(t.b,sMe,Bue),15),n),tY($z(pot(t.b,sMe,Pue),15),n),r=Qmt(a,r,new Br,i),tY($z(pot(t.b,sMe,Due),15),n),tY($z(pot(t.b,TMe,Bue),15),n),r=Qmt(a,r,new jr,i),tY($z(pot(t.b,TMe,Pue),15),n),r=Qmt(a,r,new Rr,i),tY($z(pot(t.b,TMe,Due),15),n),tY($z(pot(t.b,SMe,Bue),15),n),r=Qmt(a,r,new Vr,i),tY($z(pot(t.b,SMe,Pue),15),n),tY($z(pot(t.b,SMe,Due),15),n)}function kUt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(e,"Layer size calculation",1),h=BVt,l=jVt,a=!1,c=new Kd(t.b);c.a<c.c.c.length;)if((u=(s=$z(Z1(c),29)).c).a=0,u.b=0,0!=s.a.c.length){for(a=!0,d=new Kd(s.a);d.a<d.c.c.length;)p=(f=$z(Z1(d),10)).o,g=f.d,u.a=i.Math.max(u.a,p.a+g.b+g.c);b=(r=$z(NU(s.a,0),10)).n.b-r.d.d,r.k==(oCt(),Ese)&&(b-=$z(yTt(t,(zYt(),Owe)),142).d),n=(o=$z(NU(s.a,s.a.c.length-1),10)).n.b+o.o.b+o.d.a,o.k==Ese&&(n+=$z(yTt(t,(zYt(),Owe)),142).a),u.b=n-b,h=i.Math.min(h,b),l=i.Math.max(l,n)}a||(h=0,l=0),t.f.b=l-h,t.c.b-=h,zCt(e)}function _Ut(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(a=0,o=0,u=new Kd(t.a);u.a<u.c.c.length;)s=$z(Z1(u),10),a=i.Math.max(a,s.d.b),o=i.Math.max(o,s.d.c);for(c=new Kd(t.a);c.a<c.c.c.length;){switch(s=$z(Z1(c),10),$z(yTt(s,(zYt(),mpe)),248).g){case 1:g=0;break;case 2:g=1;break;case 5:g=.5;break;default:for(n=0,h=0,d=new Kd(s.j);d.a<d.c.c.length;)0==(f=$z(Z1(d),11)).e.c.length||++n,0==f.g.c.length||++h;g=n+h==0?.5:h/(n+h)}b=t.c,l=s.o.a,w=(b.a-l)*g,g>.5?w-=2*o*(g-.5):g<.5&&(w+=2*a*(.5-g)),w<(r=s.d.b)&&(w=r),p=s.d.c,w>b.a-p-l&&(w=b.a-p-l),s.n.a=e+w}}function EUt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(s=N8(LDe,HVt,25,t.c.length,15,1),nxt(f=new qq(new Ys),t),u=0,d=new Lw;0!=f.b.c.length;)if(o=$z(0==f.b.c.length?null:NU(f.b,0),157),u>1&&eG(o)*tG(o)/2>s[0]){for(a=0;a<d.c.length-1&&eG(o)*tG(o)/2>s[a];)++a;h=new Uet(new s1(d,0,a+1)),l=eG(o)/tG(o),c=mYt(h,e,new hm,n,i,r,l),Gj(mI(h.e),c),R8(eTt(f,h)),nxt(f,new s1(d,a+1,d.c.length)),d.c=N8(Ite,zWt,1,0,5,1),u=0,vG(s,s.length,0)}else null!=(0==f.b.c.length?null:NU(f.b,0))&&urt(f,0),u>0&&(s[u]=s[u-1]),s[u]+=eG(o)*tG(o),++u,d.c[d.c.length]=o;return d}function TUt(t){var e,n,i;if((n=$z(yTt(t,(zYt(),mbe)),163))==(_dt(),$fe)){for(e=new oq(QN(ldt(t).a.Kc(),new l));gOt(e);)if(!q5($z(G5(e),17)))throw Fw(new nx(C1t+pvt(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(n==zfe)for(i=new oq(QN(hdt(t).a.Kc(),new l));gOt(i);)if(!q5($z(G5(i),17)))throw Fw(new nx(C1t+pvt(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}function CUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(MEt(e,"Label dummy removal",1),i=Hv(_B(yTt(t,(zYt(),vwe)))),r=Hv(_B(yTt(t,Ewe))),c=$z(yTt(t,Gpe),103),s=new Kd(t.b);s.a<s.c.c.length;)for(l=new _2($z(Z1(s),29).a,0);l.b<l.d.gc();)TP(l.b<l.d.gc()),(u=$z(l.d.Xb(l.c=l.b++),10)).k==(oCt(),Tse)&&(h=$z(yTt(u,(uWt(),dfe)),17),d=Hv(_B(yTt(h,rbe))),o=HM(yTt(u,afe))===HM((Kvt(),kAe)),n=new fO(u.n),o&&(n.b+=d+i),a=new NA(u.o.a,u.o.b-d-i),f=$z(yTt(u,Tfe),15),c==($ht(),zSe)||c==jSe?IBt(f,n,r,a,o,c):Hlt(f,n,r,a),pst(h.b,f),iGt(u,HM(yTt(t,Qpe))===HM((Edt(),VSe))),uW(l));zCt(e)}function SUt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(s=new Lw,r=new Kd(e.a);r.a<r.c.c.length;)for(o=new Kd($z(Z1(r),10).j);o.a<o.c.c.length;){for(u=null,m=0,v=(y=Q0((a=$z(Z1(o),11)).g)).length;m<v;++m)dot((w=y[m]).d.i,n)||((b=LHt(t,e,n,w,w.c,(ait(),Hye),u))!=u&&(s.c[s.c.length]=b),b.c&&(u=b));for(c=null,g=0,p=(d=Q0(a.e)).length;g<p;++g)dot((f=d[g]).c.i,n)||((b=LHt(t,e,n,f,f.d,(ait(),zye),c))!=c&&(s.c[s.c.length]=b),b.c&&(c=b))}for(h=new Kd(s);h.a<h.c.c.length;)l=$z(Z1(h),441),-1!=x9(e.a,l.a,0)||Kz(e.a,l.a),l.c&&(i.c[i.c.length]=l)}function AUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(MEt(n,"Interactive cycle breaking",1),l=new Lw,f=new Kd(e.a);f.a<f.c.c.length;)for((h=$z(Z1(f),10)).p=1,d=$kt(h).a,u=Dgt(h,(ait(),Hye)).Kc();u.Ob();)for(a=new Kd($z(u.Pb(),11).g);a.a<a.c.c.length;)(g=(i=$z(Z1(a),17)).d.i)!=h&&$kt(g).a<d&&(l.c[l.c.length]=i);for(o=new Kd(l);o.a<o.c.c.length;)tzt(i=$z(Z1(o),17),!0);for(l.c=N8(Ite,zWt,1,0,5,1),c=new Kd(e.a);c.a<c.c.c.length;)(s=$z(Z1(c),10)).p>0&&hSt(t,s,l);for(r=new Kd(l);r.a<r.c.c.length;)tzt(i=$z(Z1(r),17),!0);l.c=N8(Ite,zWt,1,0,5,1),zCt(n)}function MUt(t,e){var n,i,r,a,o,s,c,u,l;return u="",0==e.length?t.de(KXt,GXt,-1,-1):(wR((l=BTt(e)).substr(0,3),"at ")&&(l=l.substr(3)),-1==(o=(l=l.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=l.indexOf("@"))?(u=l,l=""):(u=BTt(l.substr(o+1)),l=BTt(l.substr(0,o))):(n=l.indexOf(")",o),u=l.substr(o+1,n-(o+1)),l=BTt(l.substr(0,o))),-1!=(o=HI(l,VEt(46)))&&(l=l.substr(o+1)),(0==l.length||wR(l,"Anonymous function"))&&(l=GXt),s=wD(u,VEt(58)),r=_R(u,VEt(58),s-1),c=-1,i=-1,a=KXt,-1!=s&&-1!=r&&(a=u.substr(0,r),c=cP(u.substr(r+1,s-(r+1))),i=cP(u.substr(s+1))),t.de(a,l,c,i))}function IUt(t,e,n){var i,r,a,o,s,c;if(0==e.l&&0==e.m&&0==e.h)throw Fw(new Av("divide by zero"));if(0==t.l&&0==t.m&&0==t.h)return n&&(hee=_L(0,0,0)),_L(0,0,0);if(e.h==SVt&&0==e.m&&0==e.l)return $dt(t,n);if(c=!1,e.h>>19&&(e=act(e),c=!c),o=MNt(e),a=!1,r=!1,i=!1,t.h==SVt&&0==t.m&&0==t.l){if(r=!0,a=!0,-1!=o)return s=xOt(t,o),c&&Mct(s),n&&(hee=_L(0,0,0)),s;t=KI((q9(),fee)),i=!0,c=!c}else t.h>>19&&(a=!0,t=act(t),i=!0,c=!c);return-1!=o?Fct(t,o,c,a,n):jxt(t,e)<0?(n&&(hee=a?act(t):_L(t.l,t.m,t.h)),_L(0,0,0)):u$t(i?t:_L(t.l,t.m,t.h),e,c,a,r,n)}function OUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(t.e&&t.c.c<t.f)throw Fw(new Rv("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(l=$z(Yk(t.g),9),d=sP(t.f),s=0,u=(a=l).length;s<u;++s)(h=$z(D9(t,(i=a[s]).g),246))?Kz(d,$z(sgt(t,h),123)):d.c[d.c.length]=null;for(g=new $2,VE(MX(IX(MX(new PU(null,new f1(d,16)),new hs),new xb(e)),new fs),new kb(g)),Qat(g,t.a),n=new Lw,o=0,c=(r=l).length;o<c;++o)pst(n,kst(t,VV($z(D9(g,(i=r[o]).g),20)))),(f=$z(NU(d,i.g),123))&&(n.c[n.c.length]=f);return pst(n,kst(t,VV($z(D9(g,l[l.length-1].g+1),20)))),n}function LUt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g;for(MEt(n,"Model order cycle breaking",1),t.a=0,t.b=0,f=new Lw,l=e.a.c.length,u=new Kd(e.a);u.a<u.c.c.length;)OP(c=$z(Z1(u),10),(uWt(),ffe))&&(l=i.Math.max(l,$z(yTt(c,ffe),19).a+1));for(g=new Kd(e.a);g.a<g.c.c.length;)for(s=GSt(t,d=$z(Z1(g),10),l),h=Dgt(d,(ait(),Hye)).Kc();h.Ob();)for(o=new Kd($z(h.Pb(),11).g);o.a<o.c.c.length;)GSt(t,(r=$z(Z1(o),17)).d.i,l)<s&&(f.c[f.c.length]=r);for(a=new Kd(f);a.a<a.c.c.length;)tzt(r=$z(Z1(a),17),!0),uct(e,(uWt(),zhe),(cD(),!0));f.c=N8(Ite,zWt,1,0,5,1),zCt(n)}function NUt(t,e){var n,i,r,a,o,s,c;if(!(t.g>e.f||e.g>t.f)){for(n=0,i=0,o=t.w.a.ec().Kc();o.Ob();)r=$z(o.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++n;for(s=t.r.a.ec().Kc();s.Ob();)r=$z(s.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--n;for(c=e.w.a.ec().Kc();c.Ob();)r=$z(c.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++i;for(a=e.r.a.ec().Kc();a.Ob();)r=$z(a.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--i;n<i?new E6(t,e,i-n):i<n?new E6(e,t,n-i):(new E6(e,t,0),new E6(t,e,0))}}function DUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(u=e.c,r=WO(t.e),h=mN($P($L(YO(t.e)),t.d*t.a,t.c*t.b),-.5),n=r.a-h.a,i=r.b-h.b,n=(o=e.a).c-n,i=o.d-i,c=new Kd(u);c.a<c.c.c.length;){switch(d=n+(f=(s=$z(Z1(c),395)).b).a,b=i+f.b,g=CZ(d/t.a),w=CZ(b/t.b),(a=s.a).g){case 0:zwt(),l=Fre;break;case 1:zwt(),l=$re;break;case 2:zwt(),l=zre;break;default:zwt(),l=Hre}a.a?(y=CZ((b+s.c)/t.b),Kz(t.f,new N$(l,nft(w),nft(y))),a==(Hwt(),tae)?dct(t,0,w,g,y):dct(t,g,w,t.d-1,y)):(p=CZ((d+s.c)/t.a),Kz(t.f,new N$(l,nft(g),nft(p))),a==(Hwt(),Zre)?dct(t,g,0,p,w):dct(t,g,w,p,t.c-1))}}function PUt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(f=new Lw,a=new Lw,p=null,s=e.Kc();s.Ob();)o=new Fp($z(s.Pb(),19).a),a.c[a.c.length]=o,p&&(o.d=p,p.e=o),p=o;for(m=GFt(t),l=0;l<a.c.length;++l){for(d=null,b=D6((l1(0,a.c.length),$z(a.c[0],652))),n=null,r=BVt,h=1;h<t.b.c.length;++h)w=b?i.Math.abs(b.b-h):i.Math.abs(h-d.b)+1,(g=d?i.Math.abs(h-d.b):w+1)<w?(u=d,c=g):(u=b,c=w),v=Hv(_B(yTt(t,(zYt(),Fwe)))),(y=m[h]+i.Math.pow(c,v))<r&&(r=y,(n=u).c=h),b&&h==b.b&&(d=b,b=Nq(b));n&&(Kz(f,nft(n.c)),n.a=!0,wft(n))}return EV(),yG(f.c,f.c.length,null),f}function BUt(t){var e,n,i,r,a,o,s,c,u,l;for(e=new Ec,n=new Ec,u=wR(j7t,(r=N$t(t.b,R7t))?EB(rpt((!r.b&&(r.b=new VP((pWt(),yLe),GLe,r)),r.b),$7t)):null),c=0;c<t.i;++c)iN(s=$z(t.g[c],170),99)?(o=$z(s,18)).Bb&u6t?(!(o.Bb&uXt)||!u&&null==((a=N$t(o,R7t))?EB(rpt((!a.b&&(a.b=new VP((pWt(),yLe),GLe,a)),a.b),J6t)):null))&&u7(e,o):(l=Syt(o))&&l.Bb&u6t||(!(o.Bb&uXt)||!u&&null==((i=N$t(o,R7t))?EB(rpt((!i.b&&(i.b=new VP((pWt(),yLe),GLe,i)),i.b),J6t)):null))&&u7(n,o):(QT(),$z(s,66).Oj()&&(s.Jj()||(u7(e,s),u7(n,s))));rlt(e),rlt(n),t.a=$z(e.g,247),$z(n.g,247)}function jUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(c=DCt(e),$z(yTt(e,(zYt(),zpe)),314)!=(Mit(),ule)&&t5(c,new we),t5(c,new Dg($z(yTt(e,Ppe),292))),d=0,u=new Lw,r=new hX(c);r.a!=r.b;)i=$z(Rlt(r),37),OGt(t.c,i),d+=(h=$z(yTt(i,(uWt(),_fe)),15)).gc(),Kz(u,new nM(i,h.Kc()));for(MEt(n,"Recursive hierarchical layout",d),f=$z($z(NU(u,u.c.length-1),46).b,47);f.Ob();)for(s=new Kd(u);s.a<s.c.c.length;)for(o=$z(Z1(s),46),h=$z(o.b,47),a=$z(o.a,37);h.Ob();){if(iN(l=$z(h.Pb(),51),507)){if(a.e)break;l.pf(a,yat(n,1));break}l.pf(a,yat(n,1))}zCt(n)}function RUt(t,e){var n,i,r,a,o,s,c,u;if(h1(s=e.length-1,e.length),93==(o=e.charCodeAt(s))){if((a=HI(e,VEt(91)))>=0)return r=gdt(t,e.substr(1,a-1)),VKt(t,e.substr(a+1,s-(a+1)),r)}else{if(n=-1,null==_ee&&(_ee=new RegExp("\\d")),_ee.test(String.fromCharCode(o))&&(n=_R(e,VEt(46),s-1))>=0){i=$z(Y5(t,Cet(t,e.substr(1,n-1)),!1),58),c=0;try{c=h$t(e.substr(n+1),RXt,PWt)}catch(l){throw iN(l=hst(l),127)?Fw(new O9(l)):Fw(l)}if(c<i.gc())return iN(u=i.Xb(c),72)&&(u=$z(u,72).dd()),$z(u,56)}if(n<0)return $z(Y5(t,Cet(t,e.substr(1)),!1),56)}return null}function $Ut(t,e,n){var i,r,a,o,s,c,u;if(Igt(e,n)>=0)return n;switch(DW($9(t,n))){case 2:if(wR("",Sht(t,n.Hj()).ne())){if(c=yLt(t,e,s=vX($9(t,n)),mX($9(t,n))))return c;for(o=0,u=(r=xRt(t,e)).gc();o<u;++o)if(aDt(AK($9(t,c=$z(r.Xb(o),170))),s))return c}return null;case 4:if(wR("",Sht(t,n.Hj()).ne())){for(i=n;i;i=V1($9(t,i)))if(c=mLt(t,e,vX($9(t,i)),mX($9(t,i))))return c;if(s=vX($9(t,n)),wR(T9t,s))return ykt(t,e);for(o=0,u=(a=kRt(t,e)).gc();o<u;++o)if(aDt(AK($9(t,c=$z(a.Xb(o),170))),s))return c}return null;default:return null}}function FUt(t,e,n){var i,r,a,o,s,c,u,l;if(0==n.gc())return!1;if(QT(),a=(s=$z(e,66).Oj())?n:new pet(n.gc()),OPt(t.e,e)){if(e.hi())for(u=n.Kc();u.Ob();)qFt(t,e,c=u.Pb(),iN(e,99)&&!!($z(e,18).Bb&FVt))||(r=Q3(e,c),a.Hc(r)||a.Fc(r));else if(!s)for(u=n.Kc();u.Ob();)r=Q3(e,c=u.Pb()),a.Fc(r)}else{if(n.gc()>1)throw Fw(new jv(A9t));for(l=aPt(t.e.Tg(),e),i=$z(t.g,119),o=0;o<t.i;++o)if(r=i[o],l.rl(r.ak())){if(n.Hc(s?r:r.dd()))return!1;for(u=n.Kc();u.Ob();)c=u.Pb(),$z(syt(t,o,s?$z(c,72):Q3(e,c)),72);return!0}s||(r=Q3(e,n.Kc().Pb()),a.Fc(r))}return pY(t,a)}function zUt(t,e){var n,r,a,o,s,c,u;for(u=new XE,c=new Bd(new Ad(t.c).a.vc().Kc());c.a.Ob();)a=$z(c.a.Pb(),42),0==(o=$z(a.dd(),458)).b&&n5(u,o,u.c.b,u.c);for(;0!=u.b;)for(null==(o=$z(0==u.b?null:(TP(0!=u.b),Iet(u,u.a.a)),458)).a&&(o.a=0),r=new Kd(o.d);r.a<r.c.c.length;)null==(n=$z(Z1(r),654)).b.a?n.b.a=Hv(o.a)+n.a:e.o==(oJ(),ive)?n.b.a=i.Math.min(Hv(n.b.a),Hv(o.a)+n.a):n.b.a=i.Math.max(Hv(n.b.a),Hv(o.a)+n.a),--n.b.b,0==n.b.b&&DH(u,n.b);for(s=new Bd(new Ad(t.c).a.vc().Kc());s.a.Ob();)a=$z(s.a.Pb(),42),o=$z(a.dd(),458),e.i[o.c.p]=o.a}function HUt(){HUt=I,sxe=new aw(MJt),new ej("DEPTH",nft(0)),exe=new ej("FAN",nft(0)),Jve=new ej(q3t,nft(0)),dxe=new ej("ROOT",(cD(),!1)),ixe=new ej("LEFTNEIGHBOR",null),hxe=new ej("RIGHTNEIGHBOR",null),rxe=new ej("LEFTSIBLING",null),fxe=new ej("RIGHTSIBLING",null),txe=new ej("DUMMY",!1),new ej("LEVEL",nft(0)),lxe=new ej("REMOVABLE_EDGES",new XE),gxe=new ej("XCOOR",nft(0)),pxe=new ej("YCOOR",nft(0)),axe=new ej("LEVELHEIGHT",0),nxe=new ej("ID",""),cxe=new ej("POSITION",nft(0)),uxe=new ej("PRELIM",0),oxe=new ej("MODIFIER",0),Zve=new aw(OJt),Qve=new aw(LJt)}function UUt(t,e,n,r){var a,o,s,c,u,l,h,f,d,g;for(h=n+e.c.c.a,g=new Kd(e.j);g.a<g.c.c.length;){if(d=$z(Z1(g),11),a=Ict(Cst(Hx(TTe,1),cXt,8,0,[d.i.n,d.n,d.a])),e.k==(oCt(),Ase)&&(c=$z(yTt(d,(uWt(),dfe)),11),a.a=Ict(Cst(Hx(TTe,1),cXt,8,0,[c.i.n,c.n,c.a])).a,e.n.a=a.a),s=new NA(0,a.b),d.j==(vKt(),sMe))s.a=h;else{if(d.j!=SMe)continue;s.a=n}if(!(i.Math.abs(a.a-s.a)<=r)||Nxt(e))for(o=d.g.c.length+d.e.c.length>1,l=new w6(d.b);yL(l.a)||yL(l.b);)f=(u=$z(yL(l.a)?Z1(l.a):Z1(l.b),17)).c==d?u.d:u.c,i.Math.abs(Ict(Cst(Hx(TTe,1),cXt,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&bPt(t,u,s,o,d)}}function GUt(t){var e,n,r,a,o,s;if(a=new _2(t.e,0),r=new _2(t.a,0),t.d)for(n=0;n<t.b;n++)TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(n=0;n<t.b-1;n++)TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),uW(a);for(e=Hv((TP(a.b<a.d.gc()),_B(a.d.Xb(a.c=a.b++))));t.f-e>P3t;){for(o=e,s=0;i.Math.abs(e-o)<P3t;)++s,e=Hv((TP(a.b<a.d.gc()),_B(a.d.Xb(a.c=a.b++)))),TP(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);s<t.b&&(TP(a.b>0),a.a.Xb(a.c=--a.b),PFt(t,t.b-s,o,r,a),TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),TP(r.b>0),r.a.Xb(r.c=--r.b)}if(!t.d)for(n=0;n<t.b-1;n++)TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),uW(a);t.d=!0,t.c=!0}function qUt(){qUt=I,gNe=(i_(),dNe).b,wNe=$z(Yet(WV(dNe.b),0),34),pNe=$z(Yet(WV(dNe.b),1),34),bNe=$z(Yet(WV(dNe.b),2),34),SNe=dNe.bb,$z(Yet(WV(dNe.bb),0),34),$z(Yet(WV(dNe.bb),1),34),MNe=dNe.fb,INe=$z(Yet(WV(dNe.fb),0),34),$z(Yet(WV(dNe.fb),1),34),$z(Yet(WV(dNe.fb),2),18),LNe=dNe.qb,PNe=$z(Yet(WV(dNe.qb),0),34),$z(Yet(WV(dNe.qb),1),18),$z(Yet(WV(dNe.qb),2),18),NNe=$z(Yet(WV(dNe.qb),3),34),DNe=$z(Yet(WV(dNe.qb),4),34),jNe=$z(Yet(WV(dNe.qb),6),34),BNe=$z(Yet(WV(dNe.qb),5),18),yNe=dNe.j,mNe=dNe.k,vNe=dNe.q,xNe=dNe.w,kNe=dNe.B,_Ne=dNe.A,ENe=dNe.C,TNe=dNe.D,CNe=dNe._,ANe=dNe.cb,ONe=dNe.hb}function KUt(t,e,n){var r,a,o,s,c,u,l,h,f;t.c=0,t.b=0,r=2*e.c.a.c.length+1;t:for(l=n.Kc();l.Ob();){if(f=0,s=(u=$z(l.Pb(),11)).j==(vKt(),cMe)||u.j==TMe){if(!(h=$z(yTt(u,(uWt(),xfe)),10)))continue;f+=njt(t,r,u,h)}else{for(c=new Kd(u.g);c.a<c.c.c.length;){if((a=$z(Z1(c),17).d).i.c==e.c){Kz(t.a,u);continue t}f+=t.g[a.p]}for(o=new Kd(u.e);o.a<o.c.c.length;){if((a=$z(Z1(o),17).c).i.c==e.c){Kz(t.a,u);continue t}f-=t.g[a.p]}}u.e.c.length+u.g.c.length>0?(t.f[u.p]=f/(u.e.c.length+u.g.c.length),t.c=i.Math.min(t.c,t.f[u.p]),t.b=i.Math.max(t.b,t.f[u.p])):s&&(t.f[u.p]=f)}}function YUt(t){t.b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function WUt(t,e,n){var i,r;for(MEt(n,"Graph transformation ("+t.a+")",1),r=r0(e.a),i=new Kd(e.b);i.a<i.c.c.length;)pst(r,$z(Z1(i),29).a);if($z(yTt(e,(zYt(),qpe)),419)==(jtt(),Tle))switch($z(yTt(e,Gpe),103).g){case 2:O2(e,r);break;case 3:fpt(e,r);break;case 4:t.a==(Trt(),Hse)?(fpt(e,r),I2(e,r)):(I2(e,r),fpt(e,r))}else if(t.a==(Trt(),Hse))switch($z(yTt(e,Gpe),103).g){case 2:O2(e,r),I2(e,r);break;case 3:fpt(e,r),O2(e,r);break;case 4:O2(e,r),fpt(e,r)}else switch($z(yTt(e,Gpe),103).g){case 2:O2(e,r),I2(e,r);break;case 3:O2(e,r),fpt(e,r);break;case 4:fpt(e,r),O2(e,r)}zCt(n)}function XUt(t,e,n){var i,r,a,o,s,c,u,h,f,d,g;for(c=new uO,u=new uO,d=new uO,g=new uO,s=Hv(_B(yTt(e,(zYt(),Awe)))),r=Hv(_B(yTt(e,ywe))),o=new Kd(n);o.a<o.c.c.length;)if(a=$z(Z1(o),10),(h=$z(yTt(a,(uWt(),Whe)),61))==(vKt(),cMe))for(u.a.zc(a,u),i=new oq(QN(ldt(a).a.Kc(),new l));gOt(i);)kK(c,$z(G5(i),17).c.i);else if(h==TMe)for(g.a.zc(a,g),i=new oq(QN(ldt(a).a.Kc(),new l));gOt(i);)kK(d,$z(G5(i),17).c.i);0!=c.a.gc()&&(f=IGt(new uY(2,r),e,c,u,-s-e.c.b))>0&&(t.a=s+(f-1)*r,e.c.b+=t.a,e.f.b+=t.a),0!=d.a.gc()&&(f=IGt(new uY(1,r),e,d,g,e.f.b+s-e.c.b))>0&&(e.f.b+=s+(f-1)*r)}function VUt(t,e){var n,i,r,a;a=t.F,null==e?(t.F=null,Put(t,null)):(t.F=(mW(e),e),-1!=(i=HI(e,VEt(60)))?(r=e.substr(0,i),-1==HI(e,VEt(46))&&!wR(r,OWt)&&!wR(r,T7t)&&!wR(r,C7t)&&!wR(r,S7t)&&!wR(r,A7t)&&!wR(r,M7t)&&!wR(r,I7t)&&!wR(r,O7t)&&(r=L7t),-1!=(n=wD(e,VEt(62)))&&(r+=""+e.substr(n+1)),Put(t,r)):(r=e,-1==HI(e,VEt(46))&&(-1!=(i=HI(e,VEt(91)))&&(r=e.substr(0,i)),wR(r,OWt)||wR(r,T7t)||wR(r,C7t)||wR(r,S7t)||wR(r,A7t)||wR(r,M7t)||wR(r,I7t)||wR(r,O7t)?r=e:(r=L7t,-1!=i&&(r+=""+e.substr(i)))),Put(t,r),r==e&&(t.F=t.D))),4&t.Db&&!(1&t.Db)&&fot(t,new Zq(t,1,5,a,e))}function QUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;if(!((p=e.b.c.length)<3)){for(d=N8(ADe,uVt,25,p,15,1),h=0,l=new Kd(e.b);l.a<l.c.c.length;)u=$z(Z1(l),29),d[h++]=u.a.c.length;for(f=new _2(e.b,2),i=1;i<p-1;i++)for(TP(f.b<f.d.gc()),g=new Kd((n=$z(f.d.Xb(f.c=f.b++),29)).a),a=0,s=0,c=0;c<d[i+1];c++)if(m=$z(Z1(g),10),c==d[i+1]-1||VCt(t,m,i+1,i)){for(o=d[i]-1,VCt(t,m,i+1,i)&&(o=t.c.e[$z($z($z(NU(t.c.b,m.p),15).Xb(0),46).a,10).p]);s<=c;){if(!VCt(t,y=$z(NU(n.a,s),10),i+1,i))for(w=$z(NU(t.c.b,y.p),15).Kc();w.Ob();)b=$z(w.Pb(),46),((r=t.c.e[$z(b.a,10).p])<a||r>o)&&kK(t.b,$z(b.b,17));++s}a=o}}}function ZUt(t,e){var n;if(null==e||wR(e,GWt)||0==e.length&&t.k!=(CSt(),bTe))return null;switch(t.k.g){case 1:return ybt(e,a5t)?(cD(),yee):ybt(e,o5t)?(cD(),wee):null;case 2:try{return nft(h$t(e,RXt,PWt))}catch(i){if(iN(i=hst(i),127))return null;throw Fw(i)}case 4:try{return fCt(e)}catch(i){if(iN(i=hst(i),127))return null;throw Fw(i)}case 3:return e;case 5:return ilt(t),zMt(t,e);case 6:return ilt(t),jLt(t,t.a,e);case 7:try{return(n=iOt(t)).Jf(e),n}catch(i){if(iN(i=hst(i),32))return null;throw Fw(i)}default:throw Fw(new Rv("Invalid type set for this layout option."))}}function JUt(t){var e,n,i,r,a,o,s;for(Dtt(),s=new Yy,n=new Kd(t);n.a<n.c.c.length;)e=$z(Z1(n),140),(!s.b||e.c>=s.b.c)&&(s.b=e),(!s.c||e.c<=s.c.c)&&(s.d=s.c,s.c=e),(!s.e||e.d>=s.e.d)&&(s.e=e),(!s.f||e.d<=s.f.d)&&(s.f=e);return i=new _wt((Ist(),Zoe)),e2(t,ose,new Vv(Cst(Hx(Voe,1),zWt,369,0,[i]))),o=new _wt(ese),e2(t,ase,new Vv(Cst(Hx(Voe,1),zWt,369,0,[o]))),r=new _wt(Joe),e2(t,rse,new Vv(Cst(Hx(Voe,1),zWt,369,0,[r]))),a=new _wt(tse),e2(t,ise,new Vv(Cst(Hx(Voe,1),zWt,369,0,[a]))),DNt(i.c,Zoe),DNt(r.c,Joe),DNt(a.c,tse),DNt(o.c,ese),s.a.c=N8(Ite,zWt,1,0,5,1),pst(s.a,i.c),pst(s.a,eot(r.c)),pst(s.a,a.c),pst(s.a,eot(o.c)),s}function tGt(t){var e;switch(t.d){case 1:if(t.hj())return-2!=t.o;break;case 2:if(t.hj())return-2==t.o;break;case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.gj(),t.p){case 0:return null!=e&&zv(kB(e))!=VM(t.k,0);case 1:return null!=e&&$z(e,217).a!=dG(t.k)<<24>>24;case 2:return null!=e&&$z(e,172).a!=(dG(t.k)&XXt);case 6:return null!=e&&VM($z(e,162).a,t.k);case 5:return null!=e&&$z(e,19).a!=dG(t.k);case 7:return null!=e&&$z(e,184).a!=dG(t.k)<<16>>16;case 3:return null!=e&&Hv(_B(e))!=t.j;case 4:return null!=e&&$z(e,155).a!=t.j;default:return null==e?null!=t.n:!Nht(e,t.n)}}function eGt(t,e,n){var i,r,a,o;return t.Fk()&&t.Ek()&&HM(o=Hq(t,$z(n,56)))!==HM(n)?(t.Oi(e),t.Ui(e,$7(t,e,o)),t.rk()&&(r=$z(n,49),a=t.Dk()?t.Bk()?r.ih(t.b,Syt($z(eet(vQ(t.b),t.aj()),18)).n,$z(eet(vQ(t.b),t.aj()).Yj(),26).Bj(),null):r.ih(t.b,Igt(r.Tg(),Syt($z(eet(vQ(t.b),t.aj()),18))),null,null):r.ih(t.b,-1-t.aj(),null,null),!$z(o,49).eh()&&(i=$z(o,49),a=t.Dk()?t.Bk()?i.gh(t.b,Syt($z(eet(vQ(t.b),t.aj()),18)).n,$z(eet(vQ(t.b),t.aj()).Yj(),26).Bj(),a):i.gh(t.b,Igt(i.Tg(),Syt($z(eet(vQ(t.b),t.aj()),18))),null,a):i.gh(t.b,-1-t.aj(),null,a)),a&&a.Fi()),wO(t.b)&&t.$i(t.Zi(9,n,o,e,!1)),o):n}function nGt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(h=Hv(_B(yTt(t,(zYt(),xwe)))),r=Hv(_B(yTt(t,Pwe))),uct(d=new Zs,xwe,h+r),y=(l=e).d,b=l.c.i,m=l.d.i,w=JI(b.c),v=JI(m.c),a=new Lw,f=w;f<=v;f++)$f(c=new Oyt(t),(oCt(),Cse)),uct(c,(uWt(),dfe),l),uct(c,twe,(X_t(),KAe)),uct(c,_we,d),g=$z(NU(t.b,f),29),f==w?Xvt(c,g.a.c.length-n,g):TJ(c,g),(x=Hv(_B(yTt(l,rbe))))<0&&uct(l,rbe,x=0),c.o.b=x,p=i.Math.floor(x/2),HAt(s=new SCt,(vKt(),SMe)),CJ(s,c),s.n.b=p,HAt(u=new SCt,sMe),CJ(u,c),u.n.b=p,_J(l,s),Hot(o=new fQ,l),uct(o,bbe,null),EJ(o,u),_J(o,y),Gxt(c,l,o),a.c[a.c.length]=o,l=o;return a}function iGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(s=$z(PCt(t,(vKt(),SMe)).Kc().Pb(),11).e,h=$z(PCt(t,sMe).Kc().Pb(),11).g,o=s.c.length,b=g1($z(NU(t.j,0),11));o-- >0;){for(l1(0,s.c.length),d=$z(s.c[0],17),l1(0,h.c.length),r=x9((i=$z(h.c[0],17)).d.e,i,0),M2(d,i.d,r),EJ(i,null),_J(i,null),f=d.a,e&&DH(f,new fO(b)),n=cwt(i.a,0);n.b!=n.d.c;)DH(f,new fO($z(h3(n),8)));for(p=d.b,l=new Kd(i.b);l.a<l.c.c.length;)u=$z(Z1(l),70),p.c[p.c.length]=u;if(g=$z(yTt(d,(zYt(),bbe)),74),a=$z(yTt(i,bbe),74))for(g||(g=new mm,uct(d,bbe,g)),c=cwt(a,0);c.b!=c.d.c;)DH(g,new fO($z(h3(c),8)))}}function rGt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g;if(n=$z(oX(t.b,e),124),(u=$z($z(c6(t.r,e),21),84)).dc())return n.n.b=0,void(n.n.c=0);for(l=t.u.Hc((hMt(),eMe)),s=0,c=u.Kc(),h=null,f=0,d=0;c.Ob();)a=Hv(_B((r=$z(c.Pb(),111)).b.We((DD(),Ore)))),o=r.b.rf().a,t.A.Hc((ypt(),RMe))&&mjt(t,e),h?(g=d+h.d.c+t.w+r.d.b,s=i.Math.max(s,(cL(),iit(lZt),i.Math.abs(f-a)<=lZt||f==a||isNaN(f)&&isNaN(a)?0:g/(a-f)))):t.C&&t.C.b>0&&(s=i.Math.max(s,hat(t.C.b+r.d.b,a))),h=r,f=a,d=o;t.C&&t.C.c>0&&(g=d+t.C.c,l&&(g+=h.d.c),s=i.Math.max(s,(cL(),iit(lZt),i.Math.abs(f-1)<=lZt||1==f||isNaN(f)&&isNaN(1)?0:g/(1-f)))),n.n.b=0,n.a.a=s}function aGt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g;if(n=$z(oX(t.b,e),124),(u=$z($z(c6(t.r,e),21),84)).dc())return n.n.d=0,void(n.n.a=0);for(l=t.u.Hc((hMt(),eMe)),s=0,t.A.Hc((ypt(),RMe))&&vjt(t,e),c=u.Kc(),h=null,d=0,f=0;c.Ob();)o=Hv(_B((r=$z(c.Pb(),111)).b.We((DD(),Ore)))),a=r.b.rf().b,h?(g=f+h.d.a+t.w+r.d.d,s=i.Math.max(s,(cL(),iit(lZt),i.Math.abs(d-o)<=lZt||d==o||isNaN(d)&&isNaN(o)?0:g/(o-d)))):t.C&&t.C.d>0&&(s=i.Math.max(s,hat(t.C.d+r.d.d,o))),h=r,d=o,f=a;t.C&&t.C.a>0&&(g=f+t.C.a,l&&(g+=h.d.a),s=i.Math.max(s,(cL(),iit(lZt),i.Math.abs(d-1)<=lZt||1==d||isNaN(d)&&isNaN(1)?0:g/(1-d)))),n.n.d=0,n.a.b=s}function oGt(t,e,n){var i,r,a,o,s,c;for(this.g=t,s=e.d.length,c=n.d.length,this.d=N8(kse,a1t,10,s+c,0,1),o=0;o<s;o++)this.d[o]=e.d[o];for(a=0;a<c;a++)this.d[s+a]=n.d[a];if(e.e){if(this.e=Uz(e.e),this.e.Mc(n),n.e)for(r=n.e.Kc();r.Ob();)(i=$z(r.Pb(),233))!=e&&(this.e.Hc(i)?--i.c:this.e.Fc(i))}else n.e&&(this.e=Uz(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?Qet(this,this.f/this.a):null!=lN(e.g,e.d[0]).a&&null!=lN(n.g,n.d[0]).a?Qet(this,(Hv(lN(e.g,e.d[0]).a)+Hv(lN(n.g,n.d[0]).a))/2):null!=lN(e.g,e.d[0]).a?Qet(this,lN(e.g,e.d[0]).a):null!=lN(n.g,n.d[0]).a&&Qet(this,lN(n.g,n.d[0]).a)}function sGt(t,e){var n,i,r,a,o,s,c,u,l;for(t.a=new $Y(Oat(USe)),i=new Kd(e.a);i.a<i.c.c.length;){for(n=$z(Z1(i),841),o=new Cbt(Cst(Hx(Yoe,1),zWt,81,0,[])),Kz(t.a.a,o),c=new Kd(n.d);c.a<c.c.c.length;)$Gt(u=new LD(t,s=$z(Z1(c),110)),$z(yTt(n.c,(uWt(),qhe)),21)),cK(t.g,n)||(YW(t.g,n,new NA(s.c,s.d)),YW(t.f,n,u)),Kz(t.a.b,u),g2(o,u);for(a=new Kd(n.b);a.a<a.c.c.length;)u=new LD(t,(r=$z(Z1(a),594)).kf()),YW(t.b,r,new nM(o,u)),$Gt(u,$z(yTt(n.c,(uWt(),qhe)),21)),r.hf()&&($Gt(l=new Tbt(t,r.hf(),1),$z(yTt(n.c,qhe),21)),g2(new Cbt(Cst(Hx(Yoe,1),zWt,81,0,[])),l),QMt(t.c,r.gf(),new nM(o,l)))}return t.a}function cGt(t){var e;this.a=t,e=(oCt(),Cst(Hx(Ise,1),OXt,267,0,[Sse,Cse,Ese,Ase,Tse,_se])).length,this.b=mU(aTe,[cXt,v3t],[593,146],0,[e,e],2),this.c=mU(aTe,[cXt,v3t],[593,146],0,[e,e],2),RQ(this,Sse,(zYt(),Awe),Mwe),tst(this,Sse,Cse,xwe,kwe),jQ(this,Sse,Ase,xwe),jQ(this,Sse,Ese,xwe),tst(this,Sse,Tse,Awe,Mwe),RQ(this,Cse,ywe,mwe),jQ(this,Cse,Ase,ywe),jQ(this,Cse,Ese,ywe),tst(this,Cse,Tse,xwe,kwe),QO(this,Ase,ywe),jQ(this,Ase,Ese,ywe),jQ(this,Ase,Tse,Twe),QO(this,Ese,Lwe),tst(this,Ese,Tse,Swe,Cwe),RQ(this,Tse,ywe,ywe),RQ(this,_se,ywe,mwe),tst(this,_se,Sse,xwe,kwe),tst(this,_se,Tse,xwe,kwe),tst(this,_se,Cse,xwe,kwe)}function uGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(iN(o=n.ak(),99)&&$z(o,18).Bb&FVt&&(f=$z(n.dd(),49),(p=tht(t.e,f))!=f)){if(vN(t,e,cEt(t,e,l=Q3(o,p))),h=null,wO(t.e)&&(i=$Ut((ASt(),VLe),t.e.Tg(),o))!=eet(t.e.Tg(),t.c)){for(b=aPt(t.e.Tg(),o),s=0,a=$z(t.g,119),c=0;c<e;++c)r=a[c],b.rl(r.ak())&&++s;(h=new h4(t.e,9,i,f,p,s,!1)).Ei(new L9(t.e,9,t.c,n,l,e,!1))}return(d=Syt(g=$z(o,18)))?(h=f.ih(t.e,Igt(f.Tg(),d),null,h),h=$z(p,49).gh(t.e,Igt(p.Tg(),d),null,h)):g.Bb&u6t&&(u=-1-Igt(t.e.Tg(),g),h=f.ih(t.e,u,null,null),!$z(p,49).eh()&&(h=$z(p,49).gh(t.e,u,null,h))),h&&h.Fi(),l}return n}function lGt(t){var e,n,r,a,o,s,c,u;for(o=new Kd(t.a.b);o.a<o.c.c.length;)(a=$z(Z1(o),81)).b.c=a.g.c,a.b.d=a.g.d;for(u=new NA(BVt,BVt),e=new NA(jVt,jVt),r=new Kd(t.a.b);r.a<r.c.c.length;)n=$z(Z1(r),81),u.a=i.Math.min(u.a,n.g.c),u.b=i.Math.min(u.b,n.g.d),e.a=i.Math.max(e.a,n.g.c+n.g.b),e.b=i.Math.max(e.b,n.g.d+n.g.a);for(c=kY(t.c).a.nc();c.Ob();)s=$z(c.Pb(),46),n=$z(s.b,81),u.a=i.Math.min(u.a,n.g.c),u.b=i.Math.min(u.b,n.g.d),e.a=i.Math.max(e.a,n.g.c+n.g.b),e.b=i.Math.max(e.b,n.g.d+n.g.a);t.d=zP(new NA(u.a,u.b)),t.e=qj(new NA(e.a,e.b),u),t.a.a.c=N8(Ite,zWt,1,0,5,1),t.a.b.c=N8(Ite,zWt,1,0,5,1)}function hGt(t){var e,n,i;for(vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new Oh])),n=new kf(t),i=0;i<n.a.length;++i)wR(e=dtt(n,i).je().a,"layered")?vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new sh])):wR(e,"force")?vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new Ul])):wR(e,"stress")?vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new ql])):wR(e,"mrtree")?vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new Eh])):wR(e,"radial")?vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new wh])):wR(e,"disco")?vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new Hl,new Fl])):wR(e,"sporeOverlap")||wR(e,"sporeCompaction")?vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new xh])):wR(e,"rectpacking")&&vut(uOe,Cst(Hx(Aie,1),zWt,130,0,[new Sh]))}function fGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(f=new fO(t.o),w=e.a/f.a,s=e.b/f.b,p=e.a-f.a,a=e.b-f.b,n)for(r=HM(yTt(t,(zYt(),twe)))===HM((X_t(),KAe)),g=new Kd(t.j);g.a<g.c.c.length;)switch(d=$z(Z1(g),11),d.j.g){case 1:r||(d.n.a*=w);break;case 2:d.n.a+=p,r||(d.n.b*=s);break;case 3:r||(d.n.a*=w),d.n.b+=a;break;case 4:r||(d.n.b*=s)}for(u=new Kd(t.b);u.a<u.c.c.length;)l=(c=$z(Z1(u),70)).n.a+c.o.a/2,h=c.n.b+c.o.b/2,(b=l/f.a)+(o=h/f.b)>=1&&(b-o>0&&h>=0?(c.n.a+=p,c.n.b+=a*o):b-o<0&&l>=0&&(c.n.a+=p*b,c.n.b+=a));t.o.a=e.a,t.o.b=e.b,uct(t,(zYt(),Rbe),(ypt(),new XR(i=$z(Yk(FMe),9),$z(Ej(i,i.length),9),0)))}function dGt(t,e,n,i,r,a){if(null!=e&&Kdt(e,AOe,MOe))throw Fw(new jv("invalid scheme: "+e));if(!(t||null!=n&&-1==HI(n,VEt(35))&&n.length>0&&(h1(0,n.length),47!=n.charCodeAt(0))))throw Fw(new jv("invalid opaquePart: "+n));if(t&&(null==e||!NE(mOe,e.toLowerCase()))&&null!=n&&Kdt(n,IOe,OOe))throw Fw(new jv(s7t+n));if(t&&null!=e&&NE(mOe,e.toLowerCase())&&!S_t(n))throw Fw(new jv(s7t+n));if(!qdt(i))throw Fw(new jv("invalid device: "+i));if(!Blt(r))throw Fw(new jv(null==r?"invalid segments: null":"invalid segment: "+clt(r)));if(null!=a&&-1!=HI(a,VEt(35)))throw Fw(new jv("invalid query: "+a))}function gGt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(MEt(e,"Calculate Graph Size",1),e.n&&t&&y0(e,o2(t),(Fut(),oIe)),c=ZZt,u=ZZt,o=J3t,s=J3t,f=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));f.e!=f.i.gc();)p=(l=$z(vwt(f),33)).i,b=l.j,y=l.g,r=l.f,a=$z(ZOt(l,(cWt(),ICe)),142),c=i.Math.min(c,p-a.b),u=i.Math.min(u,b-a.d),o=i.Math.max(o,p+y+a.c),s=i.Math.max(s,b+r+a.a);for(d=new NA(c-(g=$z(ZOt(t,(cWt(),qCe)),116)).b,u-g.d),h=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));h.e!=h.i.gc();)Cnt(l=$z(vwt(h),33),l.i-d.a),Snt(l,l.j-d.b);w=o-c+(g.b+g.c),n=s-u+(g.d+g.a),Tnt(t,w),Ent(t,n),e.n&&t&&y0(e,o2(t),(Fut(),oIe))}function pGt(t){var e,n,i,r,a,o,s,c,u,l;for(i=new Lw,o=new Kd(t.e.a);o.a<o.c.c.length;){for(l=0,(r=$z(Z1(o),121)).k.c=N8(Ite,zWt,1,0,5,1),n=new Kd(vdt(r));n.a<n.c.c.length;)(e=$z(Z1(n),213)).f&&(Kz(r.k,e),++l);1==l&&(i.c[i.c.length]=r)}for(a=new Kd(i);a.a<a.c.c.length;)for(r=$z(Z1(a),121);1==r.k.c.length;){for(u=$z(Z1(new Kd(r.k)),213),t.b[u.c]=u.g,s=u.d,c=u.e,n=new Kd(vdt(r));n.a<n.c.c.length;)Nht(e=$z(Z1(n),213),u)||(e.f?s==e.d||c==e.e?t.b[u.c]-=t.b[e.c]-e.g:t.b[u.c]+=t.b[e.c]-e.g:r==s?e.d==r?t.b[u.c]+=e.g:t.b[u.c]-=e.g:e.d==r?t.b[u.c]-=e.g:t.b[u.c]+=e.g);y9(s.k,u),y9(c.k,u),r=s==r?u.e:u.d}}function bGt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(null==e||0==e.length)return null;if(!(a=$z(EZ(t.f,e),23))){for(r=new Bd(new Ad(t.d).a.vc().Kc());r.a.Ob();)if(o=$z(r.a.Pb(),42),s=(n=$z(o.dd(),23)).f,f=e.length,wR(s.substr(s.length-f,f),e)&&(e.length==s.length||46==uX(s,s.length-e.length-1))){if(a)return null;a=n}if(!a)for(i=new Bd(new Ad(t.d).a.vc().Kc());i.a.Ob();)if(o=$z(i.a.Pb(),42),null!=(h=(n=$z(o.dd(),23)).g))for(u=0,l=(c=h).length;u<l;++u)if(s=c[u],f=e.length,wR(s.substr(s.length-f,f),e)&&(e.length==s.length||46==uX(s,s.length-e.length-1))){if(a)return null;a=n}a&&wJ(t.f,e,a)}return a}function wGt(t,e){var n,i,r,a,o;for(n=new Sx,o=!1,a=0;a<e.length;a++)if(h1(a,e.length),32!=(i=e.charCodeAt(a)))o?39==i?a+1<e.length&&(h1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+=String.fromCharCode(i),++a):o=!1:n.a+=String.fromCharCode(i):HI("GyMLdkHmsSEcDahKzZv",VEt(i))>0?(Cwt(t,n,0),n.a+=String.fromCharCode(i),Cwt(t,n,r=rbt(e,a)),a+=r-1):39==i?a+1<e.length&&(h1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+="'",++a):o=!0:n.a+=String.fromCharCode(i);else for(Cwt(t,n,0),n.a+=" ",Cwt(t,n,0);a+1<e.length&&(h1(a+1,e.length),32==e.charCodeAt(a+1));)++a;Cwt(t,n,0),bEt(t)}function yGt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(MEt(n,"Network simplex layering",1),t.b=e,w=4*$z(yTt(e,(zYt(),Nwe)),19).a,(b=t.b.a).c.length<1)zCt(n);else{for(p=null,a=cwt(o=ARt(t,b),0);a.b!=a.d.c;){for(r=$z(h3(a),15),c=w*CZ(i.Math.sqrt(r.gc())),YRt(Wx(Vx(Xx($$(s=s$t(r)),c),p),!0),yat(n,1)),f=t.b.b,g=new Kd(s.a);g.a<g.c.c.length;){for(d=$z(Z1(g),121);f.c.length<=d.e;)mG(f,f.c.length,new FY(t.b));TJ($z(d.f,10),$z(NU(f,d.e),29))}if(o.b>1)for(p=N8(ADe,uVt,25,t.b.b.c.length,15,1),h=0,l=new Kd(t.b.b);l.a<l.c.c.length;)u=$z(Z1(l),29),p[h++]=u.a.c.length}b.c=N8(Ite,zWt,1,0,5,1),t.a=null,t.b=null,t.c=null,zCt(n)}}function mGt(t){var e,n,r,a,o,s,c;for(e=0,o=new Kd(t.b.a);o.a<o.c.c.length;)(r=$z(Z1(o),189)).b=0,r.c=0;for(kCt(t,0),egt(t,t.g),vDt(t.c),Qv(t.c),$ht(),n=RSe,PRt(tI(Eqt(PRt(tI(Eqt(PRt(Eqt(t.c,n)),xft(n)))),n))),Eqt(t.c,RSe),Fft(t,t.g),vTt(t,0),bHt(t,0),ELt(t,1),kCt(t,1),egt(t,t.d),vDt(t.c),s=new Kd(t.b.a);s.a<s.c.c.length;)r=$z(Z1(s),189),e+=i.Math.abs(r.c);for(c=new Kd(t.b.a);c.a<c.c.c.length;)(r=$z(Z1(c),189)).b=0,r.c=0;for(n=zSe,PRt(tI(Eqt(PRt(tI(Eqt(PRt(Qv(Eqt(t.c,n))),xft(n)))),n))),Eqt(t.c,RSe),Fft(t,t.d),vTt(t,1),bHt(t,1),ELt(t,0),Qv(t.c),a=new Kd(t.b.a);a.a<a.c.c.length;)r=$z(Z1(a),189),e+=i.Math.abs(r.c);return e}function vGt(t,e){var n,i,r,a,o,s,c,u,l;if(null!=(u=e).b&&null!=t.b){for(_Lt(t),HHt(t),_Lt(u),HHt(u),n=N8(ADe,uVt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)i+=2;else if(a>=s&&r<=c)s<=r&&a<=c?(n[l++]=r,n[l++]=a,i+=2):s<=r?(n[l++]=r,n[l++]=c,t.b[i]=c+1,o+=2):a<=c?(n[l++]=s,n[l++]=a,i+=2):(n[l++]=s,n[l++]=c,t.b[i]=c+1);else{if(!(c<r))throw Fw(new dv("Token#intersectRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] & ["+u.b[o]+","+u.b[o+1]+"]"));o+=2}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=N8(ADe,uVt,25,l,15,1),aHt(n,0,t.b,0,l)}}function xGt(t){var e,n,r,a,o,s,c;for(e=new Lw,t.g=new Lw,t.d=new Lw,s=new out(new Td(t.f.b).a);s.b;)Kz(e,$z($z((o=tnt(s)).dd(),46).b,81)),dO($z(o.cd(),594).gf())?Kz(t.d,$z(o.dd(),46)):Kz(t.g,$z(o.dd(),46));for(egt(t,t.d),egt(t,t.g),t.c=new cIt(t.b),tk(t.c,(bT(),Hoe)),Fft(t,t.d),Fft(t,t.g),pst(e,t.c.a.b),t.e=new NA(BVt,BVt),t.a=new NA(jVt,jVt),r=new Kd(e);r.a<r.c.c.length;)n=$z(Z1(r),81),t.e.a=i.Math.min(t.e.a,n.g.c),t.e.b=i.Math.min(t.e.b,n.g.d),t.a.a=i.Math.max(t.a.a,n.g.c+n.g.b),t.a.b=i.Math.max(t.a.b,n.g.d+n.g.a);Jx(t.c,new xe),c=0;do{a=mGt(t),++c}while((c<2||a>jXt)&&c<10);Jx(t.c,new ke),mGt(t),SK(t.c),lGt(t.f)}function kGt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(zv(kB(yTt(n,(zYt(),fbe)))))for(r=new Kd(n.j);r.a<r.c.c.length;)for(s=0,c=(o=Q0($z(Z1(r),11).g)).length;s<c;++s)(a=o[s]).d.i==n&&zv(kB(yTt(a,dbe)))&&(l=a.c,(u=$z(PY(t.b,l),10))||(uct(u=fYt(l,(X_t(),XAe),l.j,-1,null,null,l.o,$z(yTt(e,Gpe),103),e),(uWt(),dfe),l),YW(t.b,l,u),Kz(e.a,u)),f=a.d,(h=$z(PY(t.b,f),10))||(uct(h=fYt(f,(X_t(),XAe),f.j,1,null,null,f.o,$z(yTt(e,Gpe),103),e),(uWt(),dfe),f),YW(t.b,f,h),Kz(e.a,h)),EJ(i=K5(a),$z(NU(u.j,0),11)),_J(i,$z(NU(h.j,0),11)),QMt(t.a,a,new O$(i,e,(ait(),Hye))),$z(yTt(e,(uWt(),Qhe)),21).Fc((fBt(),hhe)))}function _Gt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(MEt(n,"Label dummy switching",1),i=$z(yTt(e,(zYt(),Ype)),227),bat(e),r=xLt(e,i),t.a=N8(LDe,HVt,25,e.b.c.length,15,1),OSt(),l=0,d=(s=Cst(Hx(ile,1),OXt,227,0,[Zue,tle,Que,Jue,ele,Vue])).length;l<d;++l)if(((a=s[l])==ele||a==Vue||a==Jue)&&!$z(ED(r.a,a)?r.b[a.g]:null,15).dc()){Zat(t,e);break}for(h=0,g=(c=Cst(Hx(ile,1),OXt,227,0,[Zue,tle,Que,Jue,ele,Vue])).length;h<g;++h)(a=c[h])==ele||a==Vue||a==Jue||URt(t,$z(ED(r.a,a)?r.b[a.g]:null,15));for(u=0,f=(o=Cst(Hx(ile,1),OXt,227,0,[Zue,tle,Que,Jue,ele,Vue])).length;u<f;++u)((a=o[u])==ele||a==Vue||a==Jue)&&URt(t,$z(ED(r.a,a)?r.b[a.g]:null,15));t.a=null,zCt(n)}function EGt(t,e){var n,i,r,a,o,s,c,u,l,h,f;switch(t.k.g){case 1:if(i=$z(yTt(t,(uWt(),dfe)),17),(n=$z(yTt(i,gfe),74))?zv(kB(yTt(i,Cfe)))&&(n=Qct(n)):n=new mm,u=$z(yTt(t,cfe),11)){if(e<=(l=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a]))).a)return l.b;n5(n,l,n.a,n.a.a)}if(h=$z(yTt(t,ufe),11)){if((f=Ict(Cst(Hx(TTe,1),cXt,8,0,[h.i.n,h.n,h.a]))).a<=e)return f.b;n5(n,f,n.c.b,n.c)}if(n.b>=2){for(o=$z(h3(c=cwt(n,0)),8),s=$z(h3(c),8);s.a<e&&c.b!=c.d.c;)o=s,s=$z(h3(c),8);return o.b+(e-o.a)/(s.a-o.a)*(s.b-o.b)}break;case 3:switch(r=(a=$z(yTt($z(NU(t.j,0),11),(uWt(),dfe)),11)).i,a.j.g){case 1:return r.n.b;case 3:return r.n.b+r.o.b}}return $kt(t).b}function TGt(t){var e,n,i,r,a,o,s,c,u,h;for(a=new Kd(t.d.b);a.a<a.c.c.length;)for(s=new Kd($z(Z1(a),29).a);s.a<s.c.c.length;)!zv(kB(yTt(o=$z(Z1(s),10),(zYt(),kpe))))||c3(udt(o))?(r=new GX(o.n.a-o.d.b,o.n.b-o.d.d,o.o.a+o.d.b+o.d.c,o.o.b+o.d.d+o.d.a),e=AD(eT(JE(tT(new Ky,o),r),due),t.a),SD(ZE(Knt(new qy,Cst(Hx(cie,1),zWt,57,0,[e])),e),t.a),c=new Dw,YW(t.e,e,c),(n=R3(new oq(QN(ldt(o).a.Kc(),new l)))-R3(new oq(QN(hdt(o).a.Kc(),new l))))<0?qst(c,!0,($ht(),RSe)):n>0&&qst(c,!0,($ht(),$Se)),o.k==(oCt(),Ese)&&fX(c),YW(t.f,o,e)):((u=(i=$z(eQ(udt(o)),17)).c.i)==o&&(u=i.d.i),h=new nM(u,qj($L(o.n),u.n)),YW(t.b,o,h))}function CGt(t,e,n){var r,a,o,s,c,u,l,h;switch(MEt(n,"Node promotion heuristic",1),t.g=e,mKt(t),t.q=$z(yTt(e,(zYt(),Ebe)),260),h=$z(yTt(t.g,_be),19).a,o=new li,t.q.g){case 2:case 1:default:RHt(t,o);break;case 3:for(t.q=(cDt(),Mye),RHt(t,o),u=0,c=new Kd(t.a);c.a<c.c.c.length;)s=$z(Z1(c),19),u=i.Math.max(u,s.a);u>t.j&&(t.q=_ye,RHt(t,o));break;case 4:for(t.q=(cDt(),Mye),RHt(t,o),l=0,a=new Kd(t.b);a.a<a.c.c.length;)r=_B(Z1(a)),l=i.Math.max(l,(mW(r),r));l>t.k&&(t.q=Cye,RHt(t,o));break;case 6:RHt(t,new op(CZ(i.Math.ceil(t.f.length*h/100))));break;case 5:RHt(t,new sp(CZ(i.Math.ceil(t.d*h/100))))}sBt(t,e),zCt(n)}function SGt(t,e,n){var i,r,a,o;this.j=t,this.e=H_t(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?$z(NU(n,bW(this.o).p),214):null,r=$z(yTt(t,(uWt(),Qhe)),21),this.g=r.Hc((fBt(),hhe)),this.b=new Lw,this.d=new dpt(this.e),o=$z(yTt(this.j,Efe),230),this.q=zot(e,o,this.e),this.k=new rJ(this),a=a6(Cst(Hx(bue,1),zWt,225,0,[this,this.d,this.k,this.q])),e!=(sit(),Mme)||zv(kB(yTt(t,(zYt(),Npe))))?e==Mme&&zv(kB(yTt(t,(zYt(),Npe))))?(i=new q_t(this.e),a.c[a.c.length]=i,this.c=new brt(i,o,$z(this.q,402))):this.c=new bS(e,this):(i=new q_t(this.e),a.c[a.c.length]=i,this.c=new H2(i,o,$z(this.q,402))),Kz(a,this.c),SHt(a,this.e),this.s=dYt(this.k)}function AGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(f=(u=$z(eN(new fb(cwt(new hb(e).a.d,0))),86))?$z(yTt(u,(HUt(),ixe)),86):null,r=1;u&&f;){for(o=0,y=0,n=u,i=f,a=0;a<r;a++)n=H8(n),i=H8(i),y+=Hv(_B(yTt(n,(HUt(),oxe)))),o+=Hv(_B(yTt(i,oxe)));if(w=Hv(_B(yTt(f,(HUt(),uxe)))),b=Hv(_B(yTt(u,uxe))),l=x5(u,f),0<(h=w+o+t.a+l-b-y)){for(s=e,c=0;s&&s!=i;)++c,s=$z(yTt(s,rxe),86);if(!s)return;for(p=h/c,s=e;s!=i;)g=Hv(_B(yTt(s,uxe)))+h,uct(s,uxe,g),d=Hv(_B(yTt(s,oxe)))+h,uct(s,oxe,d),h-=p,s=$z(yTt(s,rxe),86)}++r,f=(u=0==u.d.b?ZRt(new hb(e),r):$z(eN(new fb(cwt(new hb(u).a.d,0))),86))?$z(yTt(u,ixe),86):null}}function MGt(t,e){var n,i,r,a,o,s,c,u,h;for(s=!0,r=0,c=t.f[e.p],u=e.o.b+t.n,n=t.c[e.p][2],i5(t.a,c,nft($z(NU(t.a,c),19).a-1+n)),i5(t.b,c,Hv(_B(NU(t.b,c)))-u+n*t.e),++c>=t.i?(++t.i,Kz(t.a,nft(1)),Kz(t.b,u)):(i=t.c[e.p][1],i5(t.a,c,nft($z(NU(t.a,c),19).a+1-i)),i5(t.b,c,Hv(_B(NU(t.b,c)))+u-i*t.e)),(t.q==(cDt(),_ye)&&($z(NU(t.a,c),19).a>t.j||$z(NU(t.a,c-1),19).a>t.j)||t.q==Cye&&(Hv(_B(NU(t.b,c)))>t.k||Hv(_B(NU(t.b,c-1)))>t.k))&&(s=!1),a=new oq(QN(ldt(e).a.Kc(),new l));gOt(a);)o=$z(G5(a),17).c.i,t.f[o.p]==c&&(r+=$z((h=MGt(t,o)).a,19).a,s=s&&zv(kB(h.b)));return t.f[e.p]=c,new nM(nft(r+=t.c[e.p][0]),(cD(),!!s))}function IGt(t,e,n,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y;for(f=new Nw,s=new Lw,iMt(t,n,t.d.fg(),s,f),iMt(t,r,t.d.gg(),s,f),t.b=.2*(b=FOt(ftt(new PU(null,new f1(s,16)),new So)),w=FOt(ftt(new PU(null,new f1(s,16)),new Ao)),i.Math.min(b,w)),o=0,c=0;c<s.c.length-1;c++)for(l1(c,s.c.length),u=$z(s.c[c],112),p=c+1;p<s.c.length;p++)o+=pHt(t,u,(l1(p,s.c.length),$z(s.c[p],112)));for(d=$z(yTt(e,(uWt(),Efe)),230),o>=2&&(y=XNt(s,!0,d),!t.e&&(t.e=new lb(t)),cbt(t.e,y,s,t.b)),nEt(s,d),rqt(s),g=-1,h=new Kd(s);h.a<h.c.c.length;)l=$z(Z1(h),112),!(i.Math.abs(l.s-l.c)<hJt)&&(g=i.Math.max(g,l.o),t.d.dg(l,a,t.c));return t.d.a.a.$b(),g+1}function OGt(t,e){var n,i;Hv(_B(yTt(e,(zYt(),ywe))))<2&&uct(e,ywe,2),$z(yTt(e,Gpe),103)==($ht(),FSe)&&uct(e,Gpe,Yft(e)),0==(n=$z(yTt(e,fwe),19)).a?uct(e,(uWt(),Efe),new cdt):uct(e,(uWt(),Efe),new C4(n.a)),null==kB(yTt(e,Nbe))&&uct(e,Nbe,(cD(),HM(yTt(e,Qpe))===HM((Edt(),XSe)))),VE(new PU(null,new f1(e.a,16)),new Pg(t)),VE(ftt(new PU(null,new f1(e.b,16)),new ye),new Bg(t)),i=new cGt(e),uct(e,(uWt(),Mfe),i),c2(t.a),CK(t.a,(mTt(),Boe),$z(yTt(e,Hpe),246)),CK(t.a,joe,$z(yTt(e,Tbe),246)),CK(t.a,Roe,$z(yTt(e,zpe),246)),CK(t.a,$oe,$z(yTt(e,jbe),246)),CK(t.a,Foe,Tot($z(yTt(e,Qpe),218))),rO(t.a,LYt(e)),uct(e,_fe,OUt(t.a,e))}function LGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;return f=t.c[e],d=t.c[n],!((g=$z(yTt(f,(uWt(),ife)),15))&&0!=g.gc()&&g.Hc(d)||(p=f.k!=(oCt(),Cse)&&d.k!=Cse,b=$z(yTt(f,nfe),10),w=$z(yTt(d,nfe),10),y=b!=w,m=!!b&&b!=f||!!w&&w!=d,v=smt(f,(vKt(),cMe)),x=smt(d,TMe),m|=smt(f,TMe)||smt(d,cMe),k=m&&y||v||x,p&&k)||f.k==(oCt(),Ase)&&d.k==Sse||d.k==(oCt(),Ase)&&f.k==Sse)&&(l=t.c[e],a=t.c[n],r=lkt(t.e,l,a,(vKt(),SMe)),c=lkt(t.i,l,a,sMe),_Dt(t.f,l,a),u=Nut(t.b,l,a)+$z(r.a,19).a+$z(c.a,19).a+t.f.d,s=Nut(t.b,a,l)+$z(r.b,19).a+$z(c.b,19).a+t.f.b,t.a&&(h=$z(yTt(l,dfe),11),o=$z(yTt(a,dfe),11),u+=$z((i=Hvt(t.g,h,o)).a,19).a,s+=$z(i.b,19).a),u>s)}function NGt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b;for(n=$z(yTt(t,(zYt(),twe)),98),s=t.f,o=t.d,c=s.a+o.b+o.c,u=0-o.d-t.c.b,h=s.b+o.d+o.a-t.c.b,l=new Lw,f=new Lw,a=new Kd(e);a.a<a.c.c.length;){switch(r=$z(Z1(a),10),n.g){case 1:case 2:case 3:RDt(r);break;case 4:g=(d=$z(yTt(r,Zbe),8))?d.a:0,r.n.a=c*Hv(_B(yTt(r,(uWt(),kfe))))-g,Qot(r,!0,!1);break;case 5:b=(p=$z(yTt(r,Zbe),8))?p.a:0,r.n.a=Hv(_B(yTt(r,(uWt(),kfe))))-b,Qot(r,!0,!1),s.a=i.Math.max(s.a,r.n.a+r.o.a/2)}switch($z(yTt(r,(uWt(),Whe)),61).g){case 1:r.n.b=u,l.c[l.c.length]=r;break;case 3:r.n.b=h,f.c[f.c.length]=r}}switch(n.g){case 1:case 2:Bht(l,t),Bht(f,t);break;case 3:jht(l,t),jht(f,t)}}function DGt(t,e){var n,i,r,a,o,s,c,u,l,h;for(l=new Lw,h=new Ow,a=null,r=0,i=0;i<e.length;++i)switch(n=e[i],But(a,n)&&(r=Spt(t,h,l,Bme,r)),OP(n,(uWt(),nfe))&&(a=$z(yTt(n,nfe),10)),n.k.g){case 0:for(c=zO(Bz(adt(n,(vKt(),cMe)),new Pa));Zit(c);)o=$z(T9(c),11),t.d[o.p]=r++,l.c[l.c.length]=o;for(r=Spt(t,h,l,Bme,r),u=zO(Bz(adt(n,TMe),new Pa));Zit(u);)o=$z(T9(u),11),t.d[o.p]=r++,l.c[l.c.length]=o;break;case 3:adt(n,Pme).dc()||(o=$z(adt(n,Pme).Xb(0),11),t.d[o.p]=r++,l.c[l.c.length]=o),adt(n,Bme).dc()||d3(h,n);break;case 1:for(s=adt(n,(vKt(),SMe)).Kc();s.Ob();)o=$z(s.Pb(),11),t.d[o.p]=r++,l.c[l.c.length]=o;adt(n,sMe).Jc(new QS(h,n))}return Spt(t,h,l,Bme,r),l}function PGt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(l=BVt,h=BVt,c=jVt,u=jVt,d=new Kd(e.i);d.a<d.c.c.length;)f=$z(Z1(d),65),EO(a=$z($z(PY(t.g,f.a),46).b,33),f.b.c,f.b.d),l=i.Math.min(l,a.i),h=i.Math.min(h,a.j),c=i.Math.max(c,a.i+a.g),u=i.Math.max(u,a.j+a.f);for(g=$z(ZOt(t.c,(ETt(),hEe)),116),jKt(t.c,c-l+(g.b+g.c),u-h+(g.d+g.a),!0,!0),hTt(t.c,-l+g.b,-h+g.d),r=new MN(eV(t.c));r.e!=r.i.gc();)s=rBt(n=$z(vwt(r),79),!0,!0),p=CTt(n),w=MTt(n),b=new NA(p.i+p.g/2,p.j+p.f/2),o=new NA(w.i+w.g/2,w.j+w.f/2),qxt(y=qj(new NA(o.a,o.b),b),p.g,p.f),Gj(b,y),qxt(m=qj(new NA(b.a,b.b),o),w.g,w.f),Gj(o,m),CO(s,b.a,b.b),TO(s,o.a,o.b)}function BGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;if(t.c=t.d,f=null==(d=kB(yTt(e,(zYt(),dwe))))||(mW(d),d),a=$z(yTt(e,(uWt(),Qhe)),21).Hc((fBt(),hhe)),n=!((r=$z(yTt(e,twe),98))==(X_t(),qAe)||r==YAe||r==KAe),!f||!n&&a)h=new Vv(Cst(Hx(vse,1),QJt,37,0,[e]));else{for(l=new Kd(e.a);l.a<l.c.c.length;)$z(Z1(l),10).p=0;for(h=new Lw,u=new Kd(e.a);u.a<u.c.c.length;)if(i=L$t(t,$z(Z1(u),10),null)){for(Hot(c=new yit,e),uct(c,qhe,$z(i.b,21)),mV(c.d,e.d),uct(c,Fbe,null),s=$z(i.a,15).Kc();s.Ob();)o=$z(s.Pb(),10),Kz(c.a,o),o.a=c;h.Fc(c)}a&&(HM(yTt(e,Cpe))===HM((Fht(),hse))?t.c=t.b:t.c=t.a)}return HM(yTt(e,Cpe))!==HM((Fht(),dse))&&(EV(),h.ad(new De)),h}function jGt(t){LT(t,new EEt(wk(dk(bk(fk(pk(gk(new bs,X3t),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new Po),V3t),Jft((uOt(),VIe))))),a2(t,X3t,XZt,Axe),a2(t,X3t,wJt,20),a2(t,X3t,WZt,gJt),a2(t,X3t,bJt,nft(1)),a2(t,X3t,vJt,(cD(),!0)),a2(t,X3t,K2t,ywt(xxe)),a2(t,X3t,CJt,ywt(_xe)),a2(t,X3t,FJt,ywt(Exe)),a2(t,X3t,TJt,ywt(Txe)),a2(t,X3t,SJt,ywt(kxe)),a2(t,X3t,EJt,ywt(Cxe)),a2(t,X3t,AJt,ywt(Mxe)),a2(t,X3t,K3t,ywt(Dxe)),a2(t,X3t,Y3t,ywt(Oxe))}function RGt(t){t.q||(t.q=!0,t.p=vot(t,0),t.a=vot(t,1),jrt(t.a,0),t.f=vot(t,2),jrt(t.f,1),Brt(t.f,2),t.n=vot(t,3),Brt(t.n,3),Brt(t.n,4),Brt(t.n,5),Brt(t.n,6),t.g=vot(t,4),jrt(t.g,7),Brt(t.g,8),t.c=vot(t,5),jrt(t.c,7),jrt(t.c,8),t.i=vot(t,6),jrt(t.i,9),jrt(t.i,10),jrt(t.i,11),jrt(t.i,12),Brt(t.i,13),t.j=vot(t,7),jrt(t.j,9),t.d=vot(t,8),jrt(t.d,3),jrt(t.d,4),jrt(t.d,5),jrt(t.d,6),Brt(t.d,7),Brt(t.d,8),Brt(t.d,9),Brt(t.d,10),t.b=vot(t,9),Brt(t.b,0),Brt(t.b,1),t.e=vot(t,10),Brt(t.e,1),Brt(t.e,2),Brt(t.e,3),Brt(t.e,4),jrt(t.e,5),jrt(t.e,6),jrt(t.e,7),jrt(t.e,8),jrt(t.e,9),jrt(t.e,10),Brt(t.e,11),t.k=vot(t,11),Brt(t.k,0),Brt(t.k,1),t.o=xot(t,12),t.s=xot(t,13))}function $Gt(t,e){e.dc()&&tH(t.j,!0,!0,!0,!0),Nht(e,(vKt(),gMe))&&tH(t.j,!0,!0,!0,!1),Nht(e,uMe)&&tH(t.j,!1,!0,!0,!0),Nht(e,kMe)&&tH(t.j,!0,!0,!1,!0),Nht(e,EMe)&&tH(t.j,!0,!1,!0,!0),Nht(e,pMe)&&tH(t.j,!1,!0,!0,!1),Nht(e,lMe)&&tH(t.j,!1,!0,!1,!0),Nht(e,_Me)&&tH(t.j,!0,!1,!1,!0),Nht(e,xMe)&&tH(t.j,!0,!1,!0,!1),Nht(e,mMe)&&tH(t.j,!0,!0,!0,!0),Nht(e,fMe)&&tH(t.j,!0,!0,!0,!0),Nht(e,mMe)&&tH(t.j,!0,!0,!0,!0),Nht(e,hMe)&&tH(t.j,!0,!0,!0,!0),Nht(e,vMe)&&tH(t.j,!0,!0,!0,!0),Nht(e,yMe)&&tH(t.j,!0,!0,!0,!0),Nht(e,wMe)&&tH(t.j,!0,!0,!0,!0)}function FGt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(a=new Lw,u=new Kd(i);u.a<u.c.c.length;)if(o=null,(s=$z(Z1(u),441)).f==(ait(),Hye))for(g=new Kd(s.e);g.a<g.c.c.length;)bW(b=(d=$z(Z1(g),17)).d.i)==e?Tet(t,e,s,d,s.b,d.d):!n||dot(b,n)?UTt(t,e,s,i,d):((f=LHt(t,e,n,d,s.b,Hye,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f));else for(h=new Kd(s.e);h.a<h.c.c.length;)if(bW(p=(l=$z(Z1(h),17)).c.i)==e)Tet(t,e,s,l,l.c,s.b);else{if(!n||dot(p,n))continue;(f=LHt(t,e,n,l,s.b,zye,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f)}for(c=new Kd(a);c.a<c.c.c.length;)s=$z(Z1(c),441),-1!=x9(e.a,s.a,0)||Kz(e.a,s.a),s.c&&(r.c[r.c.length]=s)}function zGt(t,e,n){var i,r,a,o,s,c,u,l;for(c=new Lw,s=new Kd(e.a);s.a<s.c.c.length;)for(l=adt($z(Z1(s),10),(vKt(),sMe)).Kc();l.Ob();)for(r=new Kd($z(l.Pb(),11).g);r.a<r.c.c.length;)(h5(i=$z(Z1(r),17))||i.c.i.c!=i.d.i.c)&&!h5(i)&&i.d.i.c==n&&(c.c[c.c.length]=i);for(o=eot(n.a).Kc();o.Ob();)for(l=adt($z(o.Pb(),10),(vKt(),SMe)).Kc();l.Ob();)for(r=new Kd($z(l.Pb(),11).e);r.a<r.c.c.length;)if((h5(i=$z(Z1(r),17))||i.c.i.c!=i.d.i.c)&&!h5(i)&&i.c.i.c==e){for(TP((u=new _2(c,c.c.length)).b>0),a=$z(u.a.Xb(u.c=--u.b),17);a!=i&&u.b>0;)t.a[a.p]=!0,t.a[i.p]=!0,TP(u.b>0),a=$z(u.a.Xb(u.c=--u.b),17);u.b>0&&uW(u)}}function HGt(t,e,n){var i,r,a,o,s,c,u,l,h;if(t.a!=e.Aj())throw Fw(new jv(g6t+e.ne()+p6t));if(i=Sht((ASt(),VLe),e).$k())return i.Aj().Nh().Ih(i,n);if(o=Sht(VLe,e).al()){if(null==n)return null;if((s=$z(n,15)).dc())return"";for(h=new Ex,a=s.Kc();a.Ob();)r=a.Pb(),iI(h,o.Aj().Nh().Ih(o,r)),h.a+=" ";return BI(h,h.a.length-1)}if(!(l=Sht(VLe,e).bl()).dc()){for(u=l.Kc();u.Ob();)if((c=$z(u.Pb(),148)).wj(n))try{if(null!=(h=c.Aj().Nh().Ih(c,n)))return h}catch(f){if(!iN(f=hst(f),102))throw Fw(f)}throw Fw(new jv("Invalid value: '"+n+"' for datatype :"+e.ne()))}return $z(e,834).Fj(),null==n?null:iN(n,172)?""+$z(n,172).a:tut(n)==bee?FL(SIe[0],$z(n,199)):Fdt(n)}function UGt(t){var e,n,r,a,o,s,c,u,l;for(u=new XE,s=new XE,a=new Kd(t);a.a<a.c.c.length;)(n=$z(Z1(a),128)).v=0,n.n=n.i.c.length,n.u=n.t.c.length,0==n.n&&n5(u,n,u.c.b,u.c),0==n.u&&0==n.r.a.gc()&&n5(s,n,s.c.b,s.c);for(o=-1;0!=u.b;)for(e=new Kd((n=$z(txt(u,0),128)).t);e.a<e.c.c.length;)(l=$z(Z1(e),268).b).v=i.Math.max(l.v,n.v+1),o=i.Math.max(o,l.v),--l.n,0==l.n&&n5(u,l,u.c.b,u.c);if(o>-1){for(r=cwt(s,0);r.b!=r.d.c;)(n=$z(h3(r),128)).v=o;for(;0!=s.b;)for(e=new Kd((n=$z(txt(s,0),128)).i);e.a<e.c.c.length;)0==(c=$z(Z1(e),268).a).r.a.gc()&&(c.v=i.Math.min(c.v,n.v-1),--c.u,0==c.u&&n5(s,c,s.c.b,s.c))}}function GGt(t,e,n,r,a){var o,s,c,u;return u=BVt,s=!1,o=!!(c=Gzt(t,qj(new NA(e.a,e.b),t),Gj(new NA(n.a,n.b),a),qj(new NA(r.a,r.b),n)))&&!(i.Math.abs(c.a-t.a)<=c5t&&i.Math.abs(c.b-t.b)<=c5t||i.Math.abs(c.a-e.a)<=c5t&&i.Math.abs(c.b-e.b)<=c5t),(c=Gzt(t,qj(new NA(e.a,e.b),t),n,a))&&((i.Math.abs(c.a-t.a)<=c5t&&i.Math.abs(c.b-t.b)<=c5t)==(i.Math.abs(c.a-e.a)<=c5t&&i.Math.abs(c.b-e.b)<=c5t)||o?u=i.Math.min(u,lW(qj(c,n))):s=!0),(c=Gzt(t,qj(new NA(e.a,e.b),t),r,a))&&(s||(i.Math.abs(c.a-t.a)<=c5t&&i.Math.abs(c.b-t.b)<=c5t)==(i.Math.abs(c.a-e.a)<=c5t&&i.Math.abs(c.b-e.b)<=c5t)||o)&&(u=i.Math.min(u,lW(qj(c,r)))),u}function qGt(t){LT(t,new EEt(dk(bk(fk(pk(gk(new bs,RJt),$Jt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new pe),pJt))),a2(t,RJt,xJt,ywt(moe)),a2(t,RJt,_Jt,(cD(),!0)),a2(t,RJt,CJt,ywt(koe)),a2(t,RJt,FJt,ywt(_oe)),a2(t,RJt,TJt,ywt(Eoe)),a2(t,RJt,SJt,ywt(xoe)),a2(t,RJt,EJt,ywt(Toe)),a2(t,RJt,AJt,ywt(Coe)),a2(t,RJt,NJt,ywt(yoe)),a2(t,RJt,PJt,ywt(boe)),a2(t,RJt,BJt,ywt(woe)),a2(t,RJt,jJt,ywt(voe)),a2(t,RJt,DJt,ywt(poe))}function KGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(e,"Interactive crossing minimization",1),o=0,a=new Kd(t.b);a.a<a.c.c.length;)(i=$z(Z1(a),29)).p=o++;for(p=new Pk((f=H_t(t)).length),SHt(new Vv(Cst(Hx(bue,1),zWt,225,0,[p])),f),g=0,o=0,r=new Kd(t.b);r.a<r.c.c.length;){for(n=0,h=0,l=new Kd((i=$z(Z1(r),29)).a);l.a<l.c.c.length;)for((c=$z(Z1(l),10)).n.a>0&&(n+=c.n.a+c.o.a/2,++h),d=new Kd(c.j);d.a<d.c.c.length;)$z(Z1(d),11).p=g++;for(h>0&&(n/=h),b=N8(LDe,HVt,25,i.a.c.length,15,1),s=0,u=new Kd(i.a);u.a<u.c.c.length;)(c=$z(Z1(u),10)).p=s++,b[c.p]=EGt(c,n),c.k==(oCt(),Cse)&&uct(c,(uWt(),pfe),b[c.p]);EV(),wL(i.a,new Hp(b)),i$t(p,f,o,!0),++o}zCt(e)}function YGt(t,e){var n,i,r,a,o,s,c,u,l;if(5!=e.e){if(null!=(u=e).b&&null!=t.b){for(_Lt(t),HHt(t),_Lt(u),HHt(u),n=N8(ADe,uVt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)n[l++]=t.b[i++],n[l++]=t.b[i++];else if(a>=s&&r<=c)s<=r&&a<=c?i+=2:s<=r?(t.b[i]=c+1,o+=2):a<=c?(n[l++]=r,n[l++]=s-1,i+=2):(n[l++]=r,n[l++]=s-1,t.b[i]=c+1,o+=2);else{if(!(c<r))throw Fw(new dv("Token#subtractRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] - ["+u.b[o]+","+u.b[o+1]+"]"));o+=2}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=N8(ADe,uVt,25,l,15,1),aHt(n,0,t.b,0,l)}}else vGt(t,e)}function WGt(t){var e,n,i,r,a,o,s;if(!t.A.dc()){if(t.A.Hc((ypt(),jMe))&&($z(oX(t.b,(vKt(),cMe)),124).k=!0,$z(oX(t.b,TMe),124).k=!0,e=t.q!=(X_t(),YAe)&&t.q!=KAe,Lf($z(oX(t.b,sMe),124),e),Lf($z(oX(t.b,SMe),124),e),Lf(t.g,e),t.A.Hc(RMe)&&($z(oX(t.b,cMe),124).j=!0,$z(oX(t.b,TMe),124).j=!0,$z(oX(t.b,sMe),124).k=!0,$z(oX(t.b,SMe),124).k=!0,t.g.k=!0)),t.A.Hc(BMe))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,s=t.B.Hc((JRt(),KMe)),a=0,o=(r=twt()).length;a<o;++a)i=r[a],(n=$z(oX(t.i,i),306))&&(abt(i)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));t.A.Hc(PMe)&&t.B.Hc((JRt(),qMe))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}function XGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;for(n=new Kd(t.e.b);n.a<n.c.c.length;)for(r=new Kd($z(Z1(n),29).a);r.a<r.c.c.length;)if(i=$z(Z1(r),10),c=(h=t.i[i.p]).a.e,s=h.d.e,i.n.b=c,p=s-c-i.o.b,e=IHt(i),fyt(),l=(i.q?i.q:(EV(),EV(),une))._b((zYt(),Pbe))?$z(yTt(i,Pbe),197):$z(yTt(bW(i),Bbe),197),e&&(l==lye||l==uye)&&(i.o.b+=p),e&&(l==fye||l==lye||l==uye)){for(d=new Kd(i.j);d.a<d.c.c.length;)f=$z(Z1(d),11),(vKt(),fMe).Hc(f.j)&&(u=$z(PY(t.k,f),121),f.n.b=u.e-c);for(o=new Kd(i.b);o.a<o.c.c.length;)a=$z(Z1(o),70),(g=$z(yTt(i,Ibe),21)).Hc((JOt(),NAe))?a.n.b+=p:g.Hc(DAe)&&(a.n.b+=p/2);(l==lye||l==uye)&&adt(i,(vKt(),TMe)).Jc(new rb(p))}}function VGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!t.b)return!1;for(o=null,f=null,r=1,(c=new F8(null,null)).a[1]=t.b,h=c;h.a[r];)u=r,s=f,f=h,h=h.a[r],r=(i=t.a.ue(e,h.d))<0?0:1,0==i&&(!n.c||iX(h.e,n.d))&&(o=h),(!h||!h.b)&&!Yv(h.a[r])&&(Yv(h.a[1-r])?f=f.a[u]=drt(h,r):Yv(h.a[1-r])||(d=f.a[1-u])&&(Yv(d.a[1-u])||Yv(d.a[u])?(a=s.a[1]==f?1:0,Yv(d.a[u])?s.a[a]=n2(f,u):Yv(d.a[1-u])&&(s.a[a]=drt(f,u)),h.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1):(f.b=!1,d.b=!0,h.b=!0)));return o&&(n.b=!0,n.d=o.e,h!=o&&(fTt(t,c,o,l=new F8(h.d,h.e)),f==o&&(f=l)),f.a[f.a[1]==h?1:0]=h.a[h.a[0]?0:1],--t.c),t.b=c.a[1],t.b&&(t.b.b=!1),n.b}function QGt(t){var e,n,r,a,o,s,c,u,l,h,f,d;for(a=new Kd(t.a.a.b);a.a<a.c.c.length;)for(u=(r=$z(Z1(a),57)).c.Kc();u.Ob();)c=$z(u.Pb(),57),r.a!=c.a&&(f=dO(t.a.d)?t.a.g.Oe(r,c):t.a.g.Pe(r,c),o=r.b.a+r.d.b+f-c.b.a,o=i.Math.ceil(o),o=i.Math.max(0,o),Q9(r,c)?(s=MD(new zy,t.d),e=(l=CZ(i.Math.ceil(c.b.a-r.b.a)))-(c.b.a-r.b.a),n=r,(h=u3(r).a)||(h=u3(c).a,e=-e,n=c),h&&(n.b.a-=e,h.n.a-=e),qDt(rT(iT(aT(nT(new Fy,i.Math.max(0,l)),1),s),t.c[r.a.d])),qDt(rT(iT(aT(nT(new Fy,i.Math.max(0,-l)),1),s),t.c[c.a.d]))):(d=1,(iN(r.g,145)&&iN(c.g,10)||iN(c.g,145)&&iN(r.g,10))&&(d=2),qDt(rT(iT(aT(nT(new Fy,CZ(o)),d),t.c[r.a.d]),t.c[c.a.d]))))}function ZGt(t,e,n){var r,a,o,s,c,u,l,h,f,d;if(n)for(r=-1,h=new _2(e,0);h.b<h.d.gc();){if(TP(h.b<h.d.gc()),c=$z(h.d.Xb(h.c=h.b++),10),null==(f=t.c[c.c.p][c.p].a)){for(s=r+1,o=new _2(e,h.b);o.b<o.d.gc();)if(null!=(d=fN(t,(TP(o.b<o.d.gc()),$z(o.d.Xb(o.c=o.b++),10))).a)){mW(d),s=d;break}f=(r+s)/2,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=(mW(f),f),t.c[c.c.p][c.p].b=1}mW(f),r=f}else{for(a=0,l=new Kd(e);l.a<l.c.c.length;)c=$z(Z1(l),10),null!=t.c[c.c.p][c.p].a&&(a=i.Math.max(a,Hv(t.c[c.c.p][c.p].a)));for(a+=2,u=new Kd(e);u.a<u.c.c.length;)c=$z(Z1(u),10),null==t.c[c.c.p][c.p].a&&(f=zLt(t.i,24)*oQt*a-1,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=f,t.c[c.c.p][c.p].b=1)}}function JGt(){PI(ROe,new eu),PI(POe,new fu),PI(FOe,new _u),PI($Oe,new Mu),PI(zOe,new Iu),PI(GOe,new Ou),PI(qOe,new Lu),PI($Ie,new Nu),PI(RIe,new qc),PI(FIe,new Kc),PI(IIe,new Yc),PI(YOe,new Wc),PI(zIe,new Xc),PI(WOe,new Vc),PI(XOe,new Qc),PI(jOe,new Zc),PI(BOe,new Jc),PI(GLe,new tu),PI(KOe,new nu),PI(SLe,new iu),PI(vee,new ru),PI(Hx(ODe,1),new au),PI(kee,new ou),PI(Tee,new su),PI(bee,new cu),PI(BDe,new uu),PI(Cee,new lu),PI(rOe,new hu),PI(wOe,new du),PI(aNe,new gu),PI(MLe,new pu),PI(See,new bu),PI(Iee,new wu),PI(Ote,new yu),PI(Bee,new mu),PI(Nte,new vu),PI(tNe,new xu),PI(jDe,new ku),PI(Ree,new Eu),PI(zee,new Tu),PI(oOe,new Cu),PI(RDe,new Su)}function tqt(t,e,n){var i,r,a,o,s,c,u,l,h;for(!n&&(n=Ust(e.q.getTimezoneOffset())),r=6e4*(e.q.getTimezoneOffset()-n.a),c=s=new TB(idt(lot(e.q.getTime()),r)),s.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,c=new TB(idt(lot(e.q.getTime()),r))),l=new Sx,u=t.a.length,a=0;a<u;)if((i=uX(t.a,a))>=97&&i<=122||i>=65&&i<=90){for(o=a+1;o<u&&uX(t.a,o)==i;++o);aWt(l,i,o-a,s,c,n),a=o}else if(39==i){if(++a<u&&39==uX(t.a,a)){l.a+="'",++a;continue}for(h=!1;!h;){for(o=a;o<u&&39!=uX(t.a,o);)++o;if(o>=u)throw Fw(new jv("Missing trailing '"));o+1<u&&39==uX(t.a,o+1)?++o:h=!0,oI(l,uP(t.a,a,o)),a=o+1}}else l.a+=String.fromCharCode(i),++a;return l.a}function eqt(t){var e,n,i,r,a,o,s,c;for(e=null,i=new Kd(t);i.a<i.c.c.length;)Hv(lN((n=$z(Z1(i),233)).g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&0==n.c&&(!e&&(e=new Lw),e.c[e.c.length]=n);if(e)for(;0!=e.c.length;){if((n=$z(s6(e,0),233)).b&&n.b.c.length>0)for(!n.b&&(n.b=new Lw),a=new Kd(n.b);a.a<a.c.c.length;)if(Uv(lN((r=$z(Z1(a),233)).g,r.d[0]).a)==Uv(lN(n.g,n.d[0]).a)){if(x9(t,r,0)>x9(t,n,0))return new nM(r,n)}else if(Hv(lN(r.g,r.d[0]).a)>Hv(lN(n.g,n.d[0]).a))return new nM(r,n);for(s=(!n.e&&(n.e=new Lw),n.e).Kc();s.Ob();)!(o=$z(s.Pb(),233)).b&&(o.b=new Lw),OJ(0,(c=o.b).c.length),_C(c.c,0,n),o.c==c.c.length&&(e.c[e.c.length]=o)}return null}function nqt(t,e){var n,i,r,a,o,s;if(null==t)return GWt;if(null!=e.a.zc(t,e))return"[...]";for(n=new Oot($Wt,"[","]"),a=0,o=(r=t).length;a<o;++a)null!=(i=r[a])&&4&tut(i).i?!Array.isArray(i)||(s=btt(i))>=14&&s<=16?iN(i,177)?h6(n,BAt($z(i,177))):iN(i,190)?h6(n,Q_t($z(i,190))):iN(i,195)?h6(n,vCt($z(i,195))):iN(i,2012)?h6(n,Z_t($z(i,2012))):iN(i,48)?h6(n,PAt($z(i,48))):iN(i,364)?h6(n,pMt($z(i,364))):iN(i,832)?h6(n,DAt($z(i,832))):iN(i,104)&&h6(n,NAt($z(i,104))):e.a._b(i)?(n.a?oI(n.a,n.b):n.a=new lD(n.d),rI(n.a,"[...]")):h6(n,nqt(ent(i),new IU(e))):h6(n,null==i?GWt:Fdt(i));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function iqt(t,e,n,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(g=HCt(rBt(e,!1,!1)),r&&(g=Qct(g)),b=Hv(_B(ZOt(e,(kwt(),pae)))),TP(0!=g.b),d=$z(g.a.a.c,8),l=$z(Pwt(g,1),8),g.b>2?(pst(u=new Lw,new s1(g,1,g.b)),Hot(p=new kOt(KYt(u,b+t.a)),e),n.c[n.c.length]=p):p=$z(PY(t.b,r?CTt(e):MTt(e)),266),s=CTt(e),r&&(s=MTt(e)),o=nSt(d,s),c=b+t.a,o.a?(c+=i.Math.abs(d.b-l.b),f=new NA(l.a,(l.b+d.b)/2)):(c+=i.Math.abs(d.a-l.a),f=new NA((l.a+d.a)/2,l.b)),YW(r?t.d:t.c,e,new Amt(p,o,f,c)),YW(t.b,e,p),!e.n&&(e.n=new tK(HIe,e,1,7)),h=new MN(e.n);h.e!=h.i.gc();)a=Qjt(t,$z(vwt(h),137),!0,0,0),n.c[n.c.length]=a}function rqt(t){var e,n,r,a,o,s,c,u,l;for(u=new Lw,s=new Lw,o=new Kd(t);o.a<o.c.c.length;)Yf(r=$z(Z1(o),112),r.f.c.length),Wf(r,r.k.c.length),0==r.d&&(u.c[u.c.length]=r),0==r.i&&0==r.e.b&&(s.c[s.c.length]=r);for(n=-1;0!=u.c.length;)for(e=new Kd((r=$z(s6(u,0),112)).k);e.a<e.c.c.length;)Xf(l=$z(Z1(e),129).b,i.Math.max(l.o,r.o+1)),n=i.Math.max(n,l.o),Yf(l,l.d-1),0==l.d&&(u.c[u.c.length]=l);if(n>-1){for(a=new Kd(s);a.a<a.c.c.length;)(r=$z(Z1(a),112)).o=n;for(;0!=s.c.length;)for(e=new Kd((r=$z(s6(s,0),112)).f);e.a<e.c.c.length;)!((c=$z(Z1(e),129).a).e.b>0)&&(Xf(c,i.Math.min(c.o,r.o-1)),Wf(c,c.i-1),0==c.i&&(s.c[s.c.length]=c))}}function aqt(t,e,n){var i,r,a,o,s;if(s=t.c,!e&&(e=ILe),t.c=e,4&t.Db&&!(1&t.Db)&&(o=new Zq(t,1,2,s,t.c),n?n.Ei(o):n=o),s!=e)if(iN(t.Cb,284))t.Db>>16==-10?n=$z(t.Cb,284).nk(e,n):t.Db>>16==-15&&(!e&&(pWt(),e=uLe),!s&&(pWt(),s=uLe),t.Cb.nh()&&(o=new L9(t.Cb,1,13,s,e,oyt(F9($z(t.Cb,59)),t),!1),n?n.Ei(o):n=o));else if(iN(t.Cb,88))t.Db>>16==-23&&(iN(e,88)||(pWt(),e=fLe),iN(s,88)||(pWt(),s=fLe),t.Cb.nh()&&(o=new L9(t.Cb,1,10,s,e,oyt(r4($z(t.Cb,26)),t),!1),n?n.Ei(o):n=o));else if(iN(t.Cb,444))for(!(a=$z(t.Cb,836)).b&&(a.b=new kw(new Nm)),r=new _w(new out(new Td(a.b.a).a));r.a.b;)n=aqt(i=$z(tnt(r.a).cd(),87),vNt(i,a),n);return n}function oqt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(o=zv(kB(ZOt(t,(zYt(),fbe)))),f=$z(ZOt(t,iwe),21),c=!1,u=!1,h=new MN((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));!(h.e==h.i.gc()||c&&u);){for(a=$z(vwt(h),118),s=0,r=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[(!a.d&&(a.d=new cR(BIe,a,8,5)),a.d),(!a.e&&(a.e=new cR(BIe,a,7,4)),a.e)])));gOt(r)&&(i=$z(G5(r),79),l=o&&XMt(i)&&zv(kB(ZOt(i,dbe))),n=fUt((!i.b&&(i.b=new cR(PIe,i,4,7)),i.b),a)?t==VZ(CEt($z(Yet((!i.c&&(i.c=new cR(PIe,i,5,8)),i.c),0),82))):t==VZ(CEt($z(Yet((!i.b&&(i.b=new cR(PIe,i,4,7)),i.b),0),82))),!((l||n)&&(++s,s>1))););(s>0||f.Hc((hMt(),eMe))&&(!a.n&&(a.n=new tK(HIe,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(u=!0)}c&&e.Fc((fBt(),hhe)),u&&e.Fc((fBt(),fhe))}function sqt(t){var e,n,r,a,o,s,c,u,l,h,f,d;if((d=$z(ZOt(t,(cWt(),BCe)),21)).dc())return null;if(c=0,s=0,d.Hc((ypt(),jMe))){for(h=$z(ZOt(t,aSe),98),r=2,n=2,a=2,o=2,e=VZ(t)?$z(ZOt(VZ(t),hCe),103):$z(ZOt(t,hCe),103),l=new MN((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));l.e!=l.i.gc();)if(u=$z(vwt(l),118),(f=$z(ZOt(u,fSe),61))==(vKt(),CMe)&&(f=MFt(u,e),Vwt(u,fSe,f)),h==(X_t(),KAe))switch(f.g){case 1:r=i.Math.max(r,u.i+u.g);break;case 2:n=i.Math.max(n,u.j+u.f);break;case 3:a=i.Math.max(a,u.i+u.g);break;case 4:o=i.Math.max(o,u.j+u.f)}else switch(f.g){case 1:r+=u.g+2;break;case 2:n+=u.f+2;break;case 3:a+=u.g+2;break;case 4:o+=u.f+2}c=i.Math.max(r,a),s=i.Math.max(n,o)}return jKt(t,c,s,!0,!0)}function cqt(t,e,n,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(m=$z(T4(met(MX(new PU(null,new f1(e.d,16)),new Ip(n)),new Op(n)),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)]))),15),f=PWt,h=RXt,u=new Kd(e.b.j);u.a<u.c.c.length;)(c=$z(Z1(u),11)).j==n&&(f=i.Math.min(f,c.p),h=i.Math.max(h,c.p));if(f==PWt)for(s=0;s<m.gc();s++)g7($z(m.Xb(s),101),n,s);else for(QU(v=N8(ADe,uVt,25,a.length,15,1),v.length),y=m.Kc();y.Ob();){for(w=$z(y.Pb(),101),o=$z(PY(t.b,w),177),l=0,b=f;b<=h;b++)o[b]&&(l=i.Math.max(l,r[b]));if(w.i){for(g=w.i.c,x=new Py,d=0;d<a.length;d++)a[g][d]&&kK(x,nft(v[d]));for(;RE(x,nft(l));)++l}for(g7(w,n,l),p=f;p<=h;p++)o[p]&&(r[p]=l+1);w.i&&(v[w.i.c]=l)}}function uqt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p;for(a=null,r=new Kd(e.a);r.a<r.c.c.length;)IHt(n=$z(Z1(r),10))?(l=new HX(n,!0,c=MD(oT(new zy,n),t.f),u=MD(oT(new zy,n),t.f)),h=n.o.b,fyt(),d=1e4,(f=(n.q?n.q:(EV(),EV(),une))._b((zYt(),Pbe))?$z(yTt(n,Pbe),197):$z(yTt(bW(n),Bbe),197))==uye&&(d=1),g=qDt(rT(iT(nT(aT(new Fy,d),CZ(i.Math.ceil(h))),c),u)),f==lye&&kK(t.d,g),M$t(t,eot(adt(n,(vKt(),SMe))),l),M$t(t,adt(n,sMe),l),o=l):(p=MD(oT(new zy,n),t.f),VE(MX(new PU(null,new f1(n.j,16)),new za),new JS(t,p)),o=new HX(n,!1,p,p)),t.i[n.p]=o,a&&(s=a.c.d.a+BL(t.n,a.c,n)+n.d.d,a.b||(s+=a.c.o.b),qDt(rT(iT(aT(nT(new Fy,CZ(i.Math.ceil(s))),0),a.d),o.a))),a=o}function lqt(t,e){var n,r,a,o,s,c,u,h,f,d,g,p,b;for(MEt(e,"Label dummy insertions",1),d=new Lw,s=Hv(_B(yTt(t,(zYt(),vwe)))),h=Hv(_B(yTt(t,Ewe))),f=$z(yTt(t,Gpe),103),g=new Kd(t.a);g.a<g.c.c.length;)for(o=new oq(QN(hdt($z(Z1(g),10)).a.Kc(),new l));gOt(o);)if((a=$z(G5(o),17)).c.i!=a.d.i&&JL(a.b,Zce)){for(n=sNt(t,a,b=ket(a),p=sP(a.b.c.length)),d.c[d.c.length]=n,r=n.o,c=new _2(a.b,0);c.b<c.d.gc();)TP(c.b<c.d.gc()),HM(yTt(u=$z(c.d.Xb(c.c=c.b++),70),Xpe))===HM((Bet(),GSe))&&(f==($ht(),zSe)||f==jSe?(r.a+=u.o.a+h,r.b=i.Math.max(r.b,u.o.b)):(r.a=i.Math.max(r.a,u.o.a),r.b+=u.o.b+h),p.c[p.c.length]=u,uW(c));f==($ht(),zSe)||f==jSe?(r.a-=h,r.b+=s+b):r.b+=s-h+b}pst(t.a,d),zCt(e)}function hqt(t,e,n,r){var a,o,s,c,u,l,h,f,d,g;for(f=KBt(t,e,o=new gIt(e)),g=i.Math.max(Hv(_B(yTt(e,(zYt(),rbe)))),1),h=new Kd(f.a);h.a<h.c.c.length;)l=$z(Z1(h),46),u=Fbt($z(l.a,8),$z(l.b,8),g),UH(n,new NA(u.c,u.d)),UH(n,jP(new NA(u.c,u.d),u.b,0)),UH(n,jP(new NA(u.c,u.d),0,u.a)),UH(n,jP(new NA(u.c,u.d),u.b,u.a));switch(d=o.d,c=Fbt($z(f.b.a,8),$z(f.b.b,8),g),d==(vKt(),SMe)||d==sMe?(r.c[d.g]=i.Math.min(r.c[d.g],c.d),r.b[d.g]=i.Math.max(r.b[d.g],c.d+c.a)):(r.c[d.g]=i.Math.min(r.c[d.g],c.c),r.b[d.g]=i.Math.max(r.b[d.g],c.c+c.b)),a=jVt,s=o.c.i.d,d.g){case 4:a=s.c;break;case 2:a=s.b;break;case 1:a=s.a;break;case 3:a=s.d}return r.a[d.g]=i.Math.max(r.a[d.g],a),o}function fqt(t){var e,n,i,r;if(-1!=(e=HI(n=null!=t.D?t.D:t.B,VEt(91)))){i=n.substr(0,e),r=new Ex;do{r.a+="["}while(-1!=(e=lP(n,91,++e)));wR(i,OWt)?r.a+="Z":wR(i,T7t)?r.a+="B":wR(i,C7t)?r.a+="C":wR(i,S7t)?r.a+="D":wR(i,A7t)?r.a+="F":wR(i,M7t)?r.a+="I":wR(i,I7t)?r.a+="J":wR(i,O7t)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(a){if(!iN(a=hst(a),60))throw Fw(a)}}else if(-1==HI(n,VEt(46))){if(wR(n,OWt))return MDe;if(wR(n,T7t))return ODe;if(wR(n,C7t))return SDe;if(wR(n,S7t))return LDe;if(wR(n,A7t))return NDe;if(wR(n,M7t))return ADe;if(wR(n,I7t))return IDe;if(wR(n,O7t))return DDe}return null}function dqt(t,e,n){var i,r,a,o,s,c,u,l;for(Hot(u=new Oyt(n),e),uct(u,(uWt(),dfe),e),u.o.a=e.g,u.o.b=e.f,u.n.a=e.i,u.n.b=e.j,Kz(n.a,u),YW(t.a,e,u),(0!=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i||zv(kB(ZOt(e,(zYt(),fbe)))))&&uct(u,jhe,(cD(),!0)),c=$z(yTt(n,Qhe),21),(l=$z(yTt(u,(zYt(),twe)),98))==(X_t(),VAe)?uct(u,twe,XAe):l!=XAe&&c.Fc((fBt(),ghe)),i=$z(yTt(n,Gpe),103),s=new MN((!e.c&&(e.c=new tK(GIe,e,9,9)),e.c));s.e!=s.i.gc();)zv(kB(ZOt(o=$z(vwt(s),118),Hbe)))||Zqt(t,o,u,c,i,l);for(a=new MN((!e.n&&(e.n=new tK(HIe,e,1,7)),e.n));a.e!=a.i.gc();)!zv(kB(ZOt(r=$z(vwt(a),137),Hbe)))&&r.a&&Kz(u.b,zlt(r));return zv(kB(yTt(u,kpe)))&&c.Fc((fBt(),uhe)),zv(kB(yTt(u,hbe)))&&(c.Fc((fBt(),dhe)),c.Fc(fhe),uct(u,twe,XAe)),u}function gqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;s=$z(PY(e.c,t),459),b=e.a.c,c=e.a.c+e.a.b,o=(_=s.f)<(E=s.a),d=new NA(b,_),w=new NA(c,E),g=new NA(r=(b+c)/2,_),y=new NA(r,E),a=eDt(t,_,E),v=g1(e.B),x=new NA(r,a),k=g1(e.D),n=hct(Cst(Hx(TTe,1),cXt,8,0,[v,x,k])),h=!1,(p=e.B.i)&&p.c&&s.d&&((u=o&&p.p<p.c.a.c.length-1||!o&&p.p>0)?u&&(l=p.p,o?++l:--l,h=!(rDt(i=nct($z(NU(p.c.a,l),10)),v,n[0])||$q(i,v,n[0]))):h=!0),f=!1,(m=e.D.i)&&m.c&&s.e&&(o&&m.p>0||!o&&m.p<m.c.a.c.length-1?(l=m.p,o?--l:++l,f=!(rDt(i=nct($z(NU(m.c.a,l),10)),n[0],k)||$q(i,n[0],k))):f=!0),h&&f&&DH(t.a,x),h||Jnt(t.a,Cst(Hx(TTe,1),cXt,8,0,[d,g])),f||Jnt(t.a,Cst(Hx(TTe,1),cXt,8,0,[y,w]))}function pqt(t,e){var n,i,r,a,o,s,c;if(iN(t.Ug(),160)?(pqt($z(t.Ug(),160),e),e.a+=" > "):e.a+="Root ",wR((n=t.Tg().zb).substr(0,3),"Elk")?oI(e,n.substr(3)):e.a+=""+n,r=t.zg())oI((e.a+=" ",e),r);else if(iN(t,354)&&(c=$z(t,137).a))oI((e.a+=" ",e),c);else{for(a=new MN(t.Ag());a.e!=a.i.gc();)if(c=$z(vwt(a),137).a)return void oI((e.a+=" ",e),c);if(iN(t,352)&&(!(i=$z(t,79)).b&&(i.b=new cR(PIe,i,4,7)),0!=i.b.i&&(!i.c&&(i.c=new cR(PIe,i,5,8)),0!=i.c.i))){for(e.a+=" (",o=new iP((!i.b&&(i.b=new cR(PIe,i,4,7)),i.b));o.e!=o.i.gc();)o.e>0&&(e.a+=$Wt),pqt($z(vwt(o),160),e);for(e.a+=e1t,s=new iP((!i.c&&(i.c=new cR(PIe,i,5,8)),i.c));s.e!=s.i.gc();)s.e>0&&(e.a+=$Wt),pqt($z(vwt(s),160),e);e.a+=")"}}}function bqt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(a=$z(yTt(t,(uWt(),dfe)),79)){for(i=t.a,Gj(r=new fO(n),Okt(t)),dot(t.d.i,t.c.i)?(f=t.c,qj(h=Ict(Cst(Hx(TTe,1),cXt,8,0,[f.n,f.a])),n)):h=g1(t.c),n5(i,h,i.a,i.a.a),d=g1(t.d),null!=yTt(t,Pfe)&&Gj(d,$z(yTt(t,Pfe),8)),n5(i,d,i.c.b,i.c),Zet(i,r),Lit(o=rBt(a,!0,!0),$z(Yet((!a.b&&(a.b=new cR(PIe,a,4,7)),a.b),0),82)),Nit(o,$z(Yet((!a.c&&(a.c=new cR(PIe,a,5,8)),a.c),0),82)),WFt(i,o),l=new Kd(t.b);l.a<l.c.c.length;)u=$z(Z1(l),70),Tnt(s=$z(yTt(u,dfe),137),u.o.a),Ent(s,u.o.b),EO(s,u.n.a+r.a,u.n.b+r.b),Vwt(s,(Art(),Jce),kB(yTt(u,Jce)));(c=$z(yTt(t,(zYt(),bbe)),74))?(Zet(c,r),Vwt(a,bbe,c)):Vwt(a,bbe,null),e==(Edt(),QSe)?Vwt(a,Qpe,QSe):Vwt(a,Qpe,null)}}function wqt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(d=e.c.length,f=0,h=new Kd(t.b);h.a<h.c.c.length;)if(0!=(w=(l=$z(Z1(h),29)).a).c.length){for(u=0,y=null,r=$z(Z1(b=new Kd(w)),10),a=null;r;){if((a=$z(NU(e,r.p),257)).c>=0){for(c=null,s=new _2(l.a,u+1);s.b<s.d.gc()&&(TP(s.b<s.d.gc()),o=$z(s.d.Xb(s.c=s.b++),10),!((c=$z(NU(e,o.p),257)).d==a.d&&c.c<a.c));)c=null;c&&(y&&(i5(i,r.p,nft($z(NU(i,r.p),19).a-1)),$z(NU(n,y.p),15).Mc(a)),a=dEt(a,r,d++),e.c[e.c.length]=a,Kz(n,new Lw),y?($z(NU(n,y.p),15).Fc(a),Kz(i,nft(1))):Kz(i,nft(0)))}g=null,b.a<b.c.c.length&&(g=$z(Z1(b),10),p=$z(NU(e,g.p),257),$z(NU(n,r.p),15).Fc(p),i5(i,g.p,nft($z(NU(i,g.p),19).a+1))),a.d=f,a.c=u++,y=r,r=g}++f}}function yqt(t,e,n,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return c=t,l=qj(new NA(e.a,e.b),t),u=n,h=qj(new NA(r.a,r.b),n),f=c.a,b=c.b,g=u.a,y=u.b,d=l.a,w=l.b,a=(p=h.a)*w-d*(m=h.b),cL(),iit(I3t),!(i.Math.abs(0-a)<=I3t||0==a||isNaN(0)&&isNaN(a))&&(o=1/a*((f-g)*w-(b-y)*d),s=1/a*-(-(f-g)*m+(b-y)*p),iit(I3t),(i.Math.abs(0-o)<=I3t||0==o||isNaN(0)&&isNaN(o)?0:0<o?-1:0>o?1:UI(isNaN(0),isNaN(o)))<0&&(iit(I3t),(i.Math.abs(o-1)<=I3t||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:UI(isNaN(o),isNaN(1)))<0)&&(iit(I3t),(i.Math.abs(0-s)<=I3t||0==s||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:UI(isNaN(0),isNaN(s)))<0)&&(iit(I3t),(i.Math.abs(s-1)<=I3t||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:UI(isNaN(s),isNaN(1)))<0))}function mqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;for(h=new cW(new eg(t));h.b!=h.c.a.d;)for(s=$z((l=s7(h)).d,56),e=$z(l.e,56),p=0,v=(null==(o=s.Tg()).i&&HFt(o),o.i).length;p<v;++p)if(null==o.i&&HFt(o),a=o.i,(u=p>=0&&p<a.length?a[p]:null).Ij()&&!u.Jj())if(iN(u,99))!((c=$z(u,18)).Bb&u6t)&&!((k=Syt(c))&&k.Bb&u6t)&&yzt(t,c,s,e);else if(QT(),$z(u,66).Oj()&&(n=$z((x=u)?$z(e,49).xh(x):null,153)))for(d=$z(s.ah(u),153),i=n.gc(),b=0,g=d.gc();b<g;++b)if(iN(f=d.il(b),99)){if(null==(r=ltt(t,m=d.jl(b)))&&null!=m){if(y=$z(f,18),!t.b||y.Bb&u6t||Syt(y))continue;r=m}if(!n.dl(f,r))for(w=0;w<i;++w)if(n.il(w)==f&&HM(n.jl(w))===HM(r)){n.ii(n.gc()-1,w),--i;break}}else n.dl(d.il(b),d.jl(b))}function vqt(t,e,n,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m;if(w=Xzt(e,n,t.g),a.n&&a.n&&o&&y0(a,o2(o),(Fut(),oIe)),t.b)for(b=0;b<w.c.length;b++)l1(b,w.c.length),h=$z(w.c[b],200),0!=b&&(l1(b-1,w.c.length),plt(h,(d=$z(w.c[b-1],200)).f+d.b+t.g)),yYt(b,w,n,t.g),zxt(t,h),a.n&&o&&y0(a,o2(o),(Fut(),oIe));else for(p=new Kd(w);p.a<p.c.c.length;)for(l=new Kd((g=$z(Z1(p),200)).a);l.a<l.c.c.length;)Dat(y=new BZ((u=$z(Z1(l),187)).s,u.t,t.g),u),Kz(g.d,y);return Gmt(t,w),a.n&&a.n&&o&&y0(a,o2(o),(Fut(),oIe)),m=i.Math.max(t.d,r.a-(s.b+s.c)),c=(f=i.Math.max(t.c,r.b-(s.d+s.a)))-t.c,t.e&&t.f&&(m/f<t.a?m=f*t.a:c+=m/t.a-f),t.e&&Mpt(w,m,c),a.n&&a.n&&o&&y0(a,o2(o),(Fut(),oIe)),new tU(t.a,m,t.c+c,(VNt(),R_e))}function xqt(t){var e,n,r,a,o,s,c,u,l,h;for(t.j=N8(ADe,uVt,25,t.g,15,1),t.o=new Lw,VE(ftt(new PU(null,new f1(t.e.b,16)),new Wa),new ab(t)),t.a=N8(MDe,ZQt,25,t.b,16,1),Oht(new PU(null,new f1(t.e.b,16)),new sb(t)),h=new Lw,VE(MX(ftt(new PU(null,new f1(t.e.b,16)),new Va),new ob(t)),new tA(t,h)),c=new Kd(h);c.a<c.c.c.length;)if(!((s=$z(Z1(c),508)).c.length<=1)){if(2==s.c.length){GOt(s),IHt((l1(0,s.c.length),$z(s.c[0],17)).d.i)||Kz(t.o,s);continue}if(!K_t(s)&&!NSt(s,new Xa))for(u=new Kd(s),r=null;u.a<u.c.c.length;)e=$z(Z1(u),17),n=t.c[e.p],l=!r||u.a>=u.c.c.length?q3((oCt(),Sse),Cse):q3((oCt(),Cse),Cse),l*=2,a=n.a.g,n.a.g=i.Math.max(a,a+(l-a)),o=n.b.g,n.b.g=i.Math.max(o,o+(l-o)),r=e}}function kqt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(m=Hz(t),c=new Lw,u=(a=t.c.length)-1,l=a+1;0!=m.a.c;){for(;0!=n.b;)TP(0!=n.b),w=$z(Iet(n,n.a.a),112),IZ(m.a,w),w.g=u--,NFt(w,e,n,i);for(;0!=e.b;)TP(0!=e.b),y=$z(Iet(e,e.a.a),112),IZ(m.a,y),y.g=l++,NFt(y,e,n,i);for(s=RXt,p=new Rd(new $j(new ND(new jd(m.a).a).b));rC(p.a.a);){if(g=$z(wP(p.a).cd(),112),!i&&g.b>0&&g.a<=0){c.c=N8(Ite,zWt,1,0,5,1),c.c[c.c.length]=g;break}(d=g.i-g.d)>=s&&(d>s&&(c.c=N8(Ite,zWt,1,0,5,1),s=d),c.c[c.c.length]=g)}0!=c.c.length&&(o=$z(NU(c,byt(r,c.c.length)),112),IZ(m.a,o),o.g=l++,NFt(o,e,n,i),c.c=N8(Ite,zWt,1,0,5,1))}for(b=t.c.length+1,f=new Kd(t);f.a<f.c.c.length;)(h=$z(Z1(f),112)).g<a&&(h.g=h.g+b)}function _qt(t,e){var n;if(t.e)throw Fw(new Rv((xB(fie),IQt+fie.k+OQt)));if(!EC(t.a,e))throw Fw(new dv(LQt+e+NQt));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:zmt(t);break;case 1:Sct(t),zmt(t);break;case 4:Jkt(t),zmt(t);break;case 3:Jkt(t),Sct(t),zmt(t)}break;case 2:switch(e.g){case 1:Sct(t),Bjt(t);break;case 4:Jkt(t),zmt(t);break;case 3:Jkt(t),Sct(t),zmt(t)}break;case 1:switch(e.g){case 2:Sct(t),Bjt(t);break;case 4:Sct(t),Jkt(t),zmt(t);break;case 3:Sct(t),Jkt(t),Sct(t),zmt(t)}break;case 4:switch(e.g){case 2:Jkt(t),zmt(t);break;case 1:Jkt(t),Sct(t),zmt(t);break;case 3:Sct(t),Bjt(t)}break;case 3:switch(e.g){case 2:Sct(t),Jkt(t),zmt(t);break;case 1:Sct(t),Jkt(t),Sct(t),zmt(t);break;case 4:Sct(t),Bjt(t)}}return t}function Eqt(t,e){var n;if(t.d)throw Fw(new Rv((xB(Xoe),IQt+Xoe.k+OQt)));if(!TA(t.a,e))throw Fw(new dv(LQt+e+NQt));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:Zct(t);break;case 1:Cct(t),Zct(t);break;case 4:t_t(t),Zct(t);break;case 3:t_t(t),Cct(t),Zct(t)}break;case 2:switch(e.g){case 1:Cct(t),jjt(t);break;case 4:t_t(t),Zct(t);break;case 3:t_t(t),Cct(t),Zct(t)}break;case 1:switch(e.g){case 2:Cct(t),jjt(t);break;case 4:Cct(t),t_t(t),Zct(t);break;case 3:Cct(t),t_t(t),Cct(t),Zct(t)}break;case 4:switch(e.g){case 2:t_t(t),Zct(t);break;case 1:t_t(t),Cct(t),Zct(t);break;case 3:Cct(t),jjt(t)}break;case 3:switch(e.g){case 2:Cct(t),t_t(t),Zct(t);break;case 1:Cct(t),t_t(t),Cct(t),Zct(t);break;case 4:Cct(t),jjt(t)}}return t}function Tqt(t,e,n){var r,a,o,s,c,u,h,f;for(u=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));u.e!=u.i.gc();)for(a=new oq(QN(gNt(c=$z(vwt(u),33)).a.Kc(),new l));gOt(a);){if(!(r=$z(G5(a),79)).b&&(r.b=new cR(PIe,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new cR(PIe,r,5,8)),r.c.i<=1)))throw Fw(new ix("Graph must not contain hyperedges."));if(!JIt(r)&&c!=CEt($z(Yet((!r.c&&(r.c=new cR(PIe,r,5,8)),r.c),0),82)))for(Hot(h=new Sj,r),uct(h,(Ert(),soe),r),Pf(h,$z(zM(MQ(n.f,c)),144)),Bf(h,$z(PY(n,CEt($z(Yet((!r.c&&(r.c=new cR(PIe,r,5,8)),r.c),0),82))),144)),Kz(e.c,h),s=new MN((!r.n&&(r.n=new tK(HIe,r,1,7)),r.n));s.e!=s.i.gc();)Hot(f=new w4(h,(o=$z(vwt(s),137)).a),o),uct(f,soe,o),f.e.a=i.Math.max(o.g,1),f.e.b=i.Math.max(o.f,1),Rzt(f),Kz(e.d,f)}}function Cqt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(xZ(f=new eKt(t),!(e==($ht(),zSe)||e==jSe)),h=f.a,d=new hm,Pet(),s=0,u=(a=Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length;s<u;++s)n=a[s],(l=uN(h,Uie,n))&&(d.d=i.Math.max(d.d,l.Re()));for(o=0,c=(r=Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length;o<c;++o)n=r[o],(l=uN(h,qie,n))&&(d.a=i.Math.max(d.a,l.Re()));for(w=0,m=(p=Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length;w<m;++w)(l=uN(h,p[w],Uie))&&(d.b=i.Math.max(d.b,l.Se()));for(b=0,y=(g=Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length;b<y;++b)(l=uN(h,g[b],qie))&&(d.c=i.Math.max(d.c,l.Se()));return d.d>0&&(d.d+=h.n.d,d.d+=h.d),d.a>0&&(d.a+=h.n.a,d.a+=h.d),d.b>0&&(d.b+=h.n.b,d.b+=h.d),d.c>0&&(d.c+=h.n.c,d.c+=h.d),d}function Sqt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p;for(d=n.d,f=n.c,s=(o=new NA(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a)).b,l=new Kd(t.a);l.a<l.c.c.length;)if((c=$z(Z1(l),10)).k==(oCt(),Ese)){switch(r=$z(yTt(c,(uWt(),Whe)),61),a=$z(yTt(c,Xhe),8),h=c.n,r.g){case 2:h.a=n.f.a+d.c-f.a;break;case 4:h.a=-f.a-d.b}switch(p=0,r.g){case 2:case 4:e==(X_t(),YAe)?(g=Hv(_B(yTt(c,kfe))),h.b=o.b*g-$z(yTt(c,(zYt(),Zbe)),8).b,p=h.b+a.b,Qot(c,!1,!0)):e==KAe&&(h.b=Hv(_B(yTt(c,kfe)))-$z(yTt(c,(zYt(),Zbe)),8).b,p=h.b+a.b,Qot(c,!1,!0))}s=i.Math.max(s,p)}for(n.f.b+=s-o.b,u=new Kd(t.a);u.a<u.c.c.length;)if((c=$z(Z1(u),10)).k==(oCt(),Ese))switch(r=$z(yTt(c,(uWt(),Whe)),61),h=c.n,r.g){case 1:h.b=-f.b-d.d;break;case 3:h.b=n.f.b+d.a-f.b}}function Aqt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;for(r=$z(yTt(t,(HUt(),sxe)),33),c=PWt,u=PWt,o=RXt,s=RXt,x=cwt(t.b,0);x.b!=x.d.c;)g=(m=$z(h3(x),86)).e,p=m.f,c=i.Math.min(c,g.a-p.a/2),u=i.Math.min(u,g.b-p.b/2),o=i.Math.max(o,g.a+p.a/2),s=i.Math.max(s,g.b+p.b/2);for(f=new NA((d=$z(ZOt(r,(SOt(),Sxe)),116)).b-c,d.d-u),v=cwt(t.b,0);v.b!=v.d.c;)iN(h=yTt(m=$z(h3(v),86),sxe),239)&&EO(a=$z(h,33),(l=Gj(m.e,f)).a-a.g/2,l.b-a.f/2);for(y=cwt(t.a,0);y.b!=y.d.c;)w=$z(h3(y),188),(n=$z(yTt(w,sxe),79))&&(n5(e=w.a,b=new fO(w.b.e),e.a,e.a.a),n5(e,k=new fO(w.c.e),e.c.b,e.c),ZTt(b,$z(Pwt(e,1),8),w.b.f),ZTt(k,$z(Pwt(e,e.b-2),8),w.c.f),WFt(e,rBt(n,!0,!0)));jKt(r,o-c+(d.b+d.c),s-u+(d.d+d.a),!1,!1)}function Mqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(yj(c=new _2(u=t.b,0),new FY(t)),b=!1,a=1;c.b<c.d.gc();){for(TP(c.b<c.d.gc()),s=$z(c.d.Xb(c.c=c.b++),29),l1(a,u.c.length),d=$z(u.c[a],29),p=(g=r0(s.a)).c.length,f=new Kd(g);f.a<f.c.c.length;)TJ(l=$z(Z1(f),10),d);if(b){for(h=K1(new uv(g),0);h.c.Sb();)for(r=new Kd(r0(ldt(l=$z(f5(h),10))));r.a<r.c.c.length;)tzt(i=$z(Z1(r),17),!0),uct(t,(uWt(),zhe),(cD(),!0)),n=nGt(t,i,p),e=$z(yTt(l,Phe),305),w=$z(NU(n,n.c.length-1),17),e.k=w.c.i,e.n=w,e.b=i.d.i,e.c=i;b=!1}else 0!=g.c.length&&(l1(0,g.c.length),$z(g.c[0],10).k==(oCt(),_se)&&(b=!0,a=-1));++a}for(o=new _2(t.b,0);o.b<o.d.gc();)TP(o.b<o.d.gc()),0==$z(o.d.Xb(o.c=o.b++),29).a.c.length&&uW(o)}function Iqt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if((h=$z($z(c6(t.r,e),21),84)).gc()<=2||e==(vKt(),sMe)||e==(vKt(),SMe))QKt(t,e);else{for(b=t.u.Hc((hMt(),rMe)),n=e==(vKt(),cMe)?(Pot(),Bre):(Pot(),Nre),y=e==cMe?(H9(),nre):(H9(),rre),r=Qx(F$(n),t.s),w=e==cMe?BVt:jVt,l=h.Kc();l.Ob();)(c=$z(l.Pb(),111)).c&&!(c.c.d.c.length<=0)&&(p=c.b.rf(),g=c.e,(d=(f=c.c).i).b=(o=f.n,f.e.a+o.b+o.c),d.a=(s=f.n,f.e.b+s.d+s.a),b?(d.c=g.a-(a=f.n,f.e.a+a.b+a.c)-t.s,b=!1):d.c=g.a+p.a+t.s,AQ(y,oZt),f.f=y,l7(f,(V7(),Zie)),Kz(r.d,new NG(d,vft(r,d))),w=e==cMe?i.Math.min(w,g.b):i.Math.max(w,g.b+c.b.rf().b));for(w+=e==cMe?-t.t:t.t,Cgt((r.e=w,r)),u=h.Kc();u.Ob();)(c=$z(u.Pb(),111)).c&&!(c.c.d.c.length<=0)&&((d=c.c.i).c-=c.e.a,d.d-=c.e.b)}}function Oqt(t,e,n){var r;if(MEt(n,"StretchWidth layering",1),0!=e.a.c.length){for(t.c=e,t.t=0,t.u=0,t.i=BVt,t.g=jVt,t.d=Hv(_B(yTt(e,(zYt(),ywe)))),Gwt(t),COt(t),TOt(t),Dkt(t),gpt(t),t.i=i.Math.max(1,t.i),t.g=i.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=Ryt(t),r=new FY(t.c),Kz(t.c.b,r),t.r=r0(t.p),t.n=kZ(t.k,t.k.length);0!=t.r.c.length;)t.o=Glt(t),!t.o||_ct(t)&&0!=t.b.a.gc()?(D_t(t,r),r=new FY(t.c),Kz(t.c.b,r),$rt(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):_ct(t)?(t.c.b.c=N8(Ite,zWt,1,0,5,1),r=new FY(t.c),Kz(t.c.b,r),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=r0(t.p),t.n=kZ(t.k,t.k.length)):(TJ(t.o,r),y9(t.r,t.o),kK(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);e.a.c=N8(Ite,zWt,1,0,5,1),QSt(e.b),zCt(n)}else zCt(n)}function Lqt(t){var e,n,r,a;for(VE(MX(new PU(null,new f1(t.a.b,16)),new vr),new xr),l_t(t),VE(MX(new PU(null,new f1(t.a.b,16)),new kr),new _r),t.c==(Edt(),QSe)&&(VE(MX(ftt(new PU(null,new f1(new Cd(t.f),1)),new Er),new Tr),new _p(t)),VE(MX(IX(ftt(ftt(new PU(null,new f1(t.d.b,16)),new Cr),new Sr),new Ar),new Mr),new Tp(t))),a=new NA(BVt,BVt),e=new NA(jVt,jVt),r=new Kd(t.a.b);r.a<r.c.c.length;)n=$z(Z1(r),57),a.a=i.Math.min(a.a,n.d.c),a.b=i.Math.min(a.b,n.d.d),e.a=i.Math.max(e.a,n.d.c+n.d.b),e.b=i.Math.max(e.b,n.d.d+n.d.a);Gj(mI(t.d.c),zP(new NA(a.a,a.b))),Gj(mI(t.d.f),qj(new NA(e.a,e.b),a)),sDt(t,a,e),IK(t.f),IK(t.b),IK(t.g),IK(t.e),t.a.a.c=N8(Ite,zWt,1,0,5,1),t.a.b.c=N8(Ite,zWt,1,0,5,1),t.a=null,t.d=null}function Nqt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(i=new Lw,g=new Kd(e.a);g.a<g.c.c.length;)if((f=(d=$z(Z1(g),10)).e)&&(pst(i,Nqt(t,f,d)),kGt(t,f,d),$z(yTt(f,(uWt(),Qhe)),21).Hc((fBt(),hhe))))for(w=$z(yTt(d,(zYt(),twe)),98),h=$z(yTt(d,iwe),174).Hc((hMt(),eMe)),b=new Kd(d.j);b.a<b.c.c.length;)for(p=$z(Z1(b),11),(r=$z(PY(t.b,p),10))||(uct(r=fYt(p,w,p.j,-(p.e.c.length-p.g.c.length),null,new Hk,p.o,$z(yTt(f,Gpe),103),f),dfe,p),YW(t.b,p,r),Kz(f.a,r)),a=$z(NU(r.j,0),11),u=new Kd(p.f);u.a<u.c.c.length;)c=$z(Z1(u),70),(o=new zk).o.a=c.o.a,o.o.b=c.o.b,Kz(a.f,o),h||(y=p.j,l=0,Fq($z(yTt(d,iwe),21))&&(l=OMt(c.n,c.o,p.o,0,y)),w==(X_t(),XAe)||(vKt(),fMe).Hc(y)?o.o.a=l:o.o.b=l);return FGt(t,e,n,i,s=new Lw),n&&SUt(t,e,n,s),s}function Dqt(t,e,n){var i,r,a,o,s,c,u,l;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,l=new Kd(e.j);l.a<l.c.c.length;)for(u=$z(Z1(l),11),c=(n?new Fg(u):new Hg(u)).Kc();c.Ob();)(o=(s=$z(c.Pb(),11)).i).c==e.c?o!=e&&(Dqt(t,o,n),t.c[e.c.p][e.p].b+=t.c[o.c.p][o.p].b,t.c[e.c.p][e.p].d+=t.c[o.c.p][o.p].d):(t.c[e.c.p][e.p].d+=t.g[s.p],++t.c[e.c.p][e.p].b);if(a=$z(yTt(e,(uWt(),Nhe)),15))for(r=a.Kc();r.Ob();)i=$z(r.Pb(),10),e.c==i.c&&(Dqt(t,i,n),t.c[e.c.p][e.p].b+=t.c[i.c.p][i.p].b,t.c[e.c.p][e.p].d+=t.c[i.c.p][i.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=zLt(t.i,24)*oQt*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}}function Pqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(f=new Kd(t);f.a<f.c.c.length;){for(ZD((h=$z(Z1(f),10)).n),ZD(h.o),Y6(h.f),Wjt(h),ajt(h),g=new Kd(h.j);g.a<g.c.c.length;){for(ZD((d=$z(Z1(g),11)).n),ZD(d.a),ZD(d.o),HAt(d,amt(d.j)),(r=$z(yTt(d,(zYt(),ewe)),19))&&uct(d,ewe,nft(-r.a)),i=new Kd(d.g);i.a<i.c.c.length;){for(e=cwt((n=$z(Z1(i),17)).a,0);e.b!=e.d.c;)ZD($z(h3(e),8));if(o=$z(yTt(n,bbe),74))for(a=cwt(o,0);a.b!=a.d.c;)ZD($z(h3(a),8));for(u=new Kd(n.b);u.a<u.c.c.length;)ZD((s=$z(Z1(u),70)).n),ZD(s.o)}for(l=new Kd(d.f);l.a<l.c.c.length;)ZD((s=$z(Z1(l),70)).n),ZD(s.o)}for(h.k==(oCt(),Ese)&&(uct(h,(uWt(),Whe),amt($z(yTt(h,Whe),61))),dPt(h)),c=new Kd(h.b);c.a<c.c.c.length;)Wjt(s=$z(Z1(c),70)),ZD(s.o),ZD(s.n)}}function Bqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(t.e=e,s=JMt(e),m=new Lw,i=new Kd(s);i.a<i.c.c.length;){for(n=$z(Z1(i),15),v=new Lw,m.c[m.c.length]=v,c=new Py,f=n.Kc();f.Ob();){for(a=Qjt(t,h=$z(f.Pb(),33),!0,0,0),v.c[v.c.length]=a,d=h.i,g=h.j,!h.n&&(h.n=new tK(HIe,h,1,7)),l=new MN(h.n);l.e!=l.i.gc();)r=Qjt(t,$z(vwt(l),137),!1,d,g),v.c[v.c.length]=r;for(!h.c&&(h.c=new tK(GIe,h,9,9)),b=new MN(h.c);b.e!=b.i.gc();)for(o=Qjt(t,p=$z(vwt(b),118),!1,d,g),v.c[v.c.length]=o,w=p.i+d,y=p.j+g,!p.n&&(p.n=new tK(HIe,p,1,7)),u=new MN(p.n);u.e!=u.i.gc();)r=Qjt(t,$z(vwt(u),137),!1,w,y),v.c[v.c.length]=r;$rt(c,VV(Ynt(Cst(Hx(Dte,1),zWt,20,0,[gNt(h),dNt(h)]))))}qNt(t,c,v)}return t.f=new jk(m),Hot(t.f,e),t.f}function jqt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;null==(g=PY(t.e,i))&&(u=$z(g=new pv,183),c=new HY(e+"_s"+r),net(u,H6t,c)),ZY(n,d=$z(g,183)),zV(b=new pv,"x",i.j),zV(b,"y",i.k),net(d,q6t,b),zV(h=new pv,"x",i.b),zV(h,"y",i.c),net(d,"endPoint",h),!K_((!i.a&&(i.a=new IN(LIe,i,5)),i.a))&&(a=new Kb(l=new Cf),t5((!i.a&&(i.a=new IN(LIe,i,5)),i.a),a),net(d,P6t,l)),!!Tyt(i)&&rTt(t.a,d,j6t,BSt(t,Tyt(i))),!!Cyt(i)&&rTt(t.a,d,B6t,BSt(t,Cyt(i))),!(0==(!i.e&&(i.e=new cR(jIe,i,10,9)),i.e).i)&&(o=new EM(t,f=new Cf),t5((!i.e&&(i.e=new cR(jIe,i,10,9)),i.e),o),net(d,$6t,f)),0!=(!i.g&&(i.g=new cR(jIe,i,9,10)),i.g).i&&(s=new TM(t,p=new Cf),t5((!i.g&&(i.g=new cR(jIe,i,9,10)),i.g),s),net(d,R6t,p))}function Rqt(t){var e,n,r,a,o,s,c;for(zB(),r=t.f.n,s=xY(t.r).a.nc();s.Ob();){if(a=0,(o=$z(s.Pb(),111)).b.Xe((cWt(),rSe))&&(a=Hv(_B(o.b.We(rSe))))<0)switch(o.b.Hf().g){case 1:r.d=i.Math.max(r.d,-a);break;case 3:r.a=i.Math.max(r.a,-a);break;case 2:r.c=i.Math.max(r.c,-a);break;case 4:r.b=i.Math.max(r.b,-a)}if(Fq(t.u))switch(e=wat(o.b,a),c=!$z(t.e.We(zCe),174).Hc((JRt(),zMe)),n=!1,o.b.Hf().g){case 1:n=e>r.d,r.d=i.Math.max(r.d,e),c&&n&&(r.d=i.Math.max(r.d,r.a),r.a=r.d+a);break;case 3:n=e>r.a,r.a=i.Math.max(r.a,e),c&&n&&(r.a=i.Math.max(r.a,r.d),r.d=r.a+a);break;case 2:n=e>r.c,r.c=i.Math.max(r.c,e),c&&n&&(r.c=i.Math.max(r.b,r.c),r.b=r.c+a);break;case 4:n=e>r.b,r.b=i.Math.max(r.b,e),c&&n&&(r.b=i.Math.max(r.b,r.c),r.c=r.b+a)}}}function $qt(t){var e,n,i,r,a,o,s,c,u,l,h;for(u=new Kd(t);u.a<u.c.c.length;){switch(c=$z(Z1(u),10),a=null,(o=$z(yTt(c,(zYt(),mbe)),163)).g){case 1:case 2:Qst(),a=Ole;break;case 3:case 4:Qst(),a=Mle}if(a)uct(c,(uWt(),Hhe),(Qst(),Ole)),a==Mle?BDt(c,o,(ait(),zye)):a==Ole&&BDt(c,o,(ait(),Hye));else if(bO($z(yTt(c,twe),98))&&0!=c.j.c.length){for(e=!0,h=new Kd(c.j);h.a<h.c.c.length;){if(!((l=$z(Z1(h),11)).j==(vKt(),sMe)&&l.e.c.length-l.g.c.length>0||l.j==SMe&&l.e.c.length-l.g.c.length<0)){e=!1;break}for(r=new Kd(l.g);r.a<r.c.c.length;)if(n=$z(Z1(r),17),(s=$z(yTt(n.d.i,mbe),163))==(_dt(),Ffe)||s==zfe){e=!1;break}for(i=new Kd(l.e);i.a<i.c.c.length;)if(n=$z(Z1(i),17),(s=$z(yTt(n.c.i,mbe),163))==(_dt(),Rfe)||s==$fe){e=!1;break}}e&&BDt(c,o,(ait(),Uye))}}}function Fqt(t,e,n,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(_=0,g=0,f=new Kd(e.e);f.a<f.c.c.length;){for(h=$z(Z1(f),10),d=0,c=0,u=n?$z(yTt(h,qme),19).a:RXt,y=r?$z(yTt(h,Kme),19).a:RXt,l=i.Math.max(u,y),v=new Kd(h.j);v.a<v.c.c.length;){if(m=$z(Z1(v),11),x=h.n.b+m.n.b+m.a.b,r)for(s=new Kd(m.g);s.a<s.c.c.length;)p=(b=(o=$z(Z1(s),17)).d).i,e!=t.a[p.p]&&(w=i.Math.max($z(yTt(p,qme),19).a,$z(yTt(p,Kme),19).a),(k=$z(yTt(o,(zYt(),hwe)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c));if(n)for(s=new Kd(m.e);s.a<s.c.c.length;)p=(b=(o=$z(Z1(s),17)).c).i,e!=t.a[p.p]&&(w=i.Math.max($z(yTt(p,qme),19).a,$z(yTt(p,Kme),19).a),(k=$z(yTt(o,(zYt(),hwe)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c))}c>0&&(_+=d/c,++g)}g>0?(e.a=a*_/g,e.g=g):(e.a=0,e.g=0)}function zqt(t,e){var n,i,r,a,o,s,c,u,l,h;for(i=new Kd(t.a.b);i.a<i.c.c.length;)for(s=new Kd($z(Z1(i),29).a);s.a<s.c.c.length;)o=$z(Z1(s),10),e.j[o.p]=o,e.i[o.p]=e.o==(oJ(),rve)?jVt:BVt;for(IK(t.c),a=t.a.b,e.c==(gZ(),Jme)&&(a=iN(a,152)?o6($z(a,152)):iN(a,131)?$z(a,131).a:iN(a,54)?new uv(a):new CE(a)),P7(t.e,e,t.b),yC(e.p,null),r=a.Kc();r.Ob();)for(c=$z(r.Pb(),29).a,e.o==(oJ(),rve)&&(c=iN(c,152)?o6($z(c,152)):iN(c,131)?$z(c,131).a:iN(c,54)?new uv(c):new CE(c)),h=c.Kc();h.Ob();)l=$z(h.Pb(),10),e.g[l.p]==l&&sYt(t,l,e);for(zUt(t,e),n=a.Kc();n.Ob();)for(h=new Kd($z(n.Pb(),29).a);h.a<h.c.c.length;)l=$z(Z1(h),10),e.p[l.p]=e.p[e.g[l.p].p],l==e.g[l.p]&&(u=Hv(e.i[e.j[l.p].p]),(e.o==(oJ(),rve)&&u>jVt||e.o==ive&&u<BVt)&&(e.p[l.p]=Hv(e.p[l.p])+u));t.e.cg()}function Hqt(t,e,n,i){var r,a,o,s,c;return bDt(s=new eKt(e),i),r=!0,t&&t.Xe((cWt(),hCe))&&(r=(a=$z(t.We((cWt(),hCe)),103))==($ht(),FSe)||a==RSe||a==$Se),sjt(s,!1),Met(s.e.wf(),new I$(s,!1,r)),OZ(s,s.f,(Pet(),Uie),(vKt(),cMe)),OZ(s,s.f,qie,TMe),OZ(s,s.g,Uie,SMe),OZ(s,s.g,qie,sMe),Fwt(s,cMe),Fwt(s,TMe),cX(s,sMe),cX(s,SMe),zB(),(o=s.A.Hc((ypt(),PMe))&&s.B.Hc((JRt(),qMe))?Jgt(s):null)&&nk(s.a,o),Rqt(s),ivt(s),rvt(s),WGt(s),ERt(s),yxt(s),Rbt(s,cMe),Rbt(s,TMe),Sjt(s),CHt(s),n&&(Udt(s),mxt(s),Rbt(s,sMe),Rbt(s,SMe),c=s.B.Hc((JRt(),KMe)),EAt(s,c,cMe),EAt(s,c,TMe),TAt(s,c,sMe),TAt(s,c,SMe),VE(new PU(null,new f1(new Ad(s.i),0)),new At),VE(MX(new PU(null,xY(s.r).a.oc()),new Mt),new It),F_t(s),s.e.uf(s.o),VE(new PU(null,xY(s.r).a.oc()),new Lt)),s.o}function Uqt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=BVt,r=new Kd(t.a.b);r.a<r.c.c.length;)e=$z(Z1(r),81),l=i.Math.min(l,e.d.f.g.c+e.e.a);for(g=new XE,s=new Kd(t.a.a);s.a<s.c.c.length;)(o=$z(Z1(s),189)).i=l,0==o.e&&n5(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=$z(0==g.b?null:(TP(0!=g.b),Iet(g,g.a.a)),189)).f.g.c,d=o.a.a.ec().Kc();d.Ob();)h=$z(d.Pb(),81),b=o.i+h.e.a,h.d.g||h.g.c<b?h.o=b:h.o=h.g.c;for(a-=o.f.o,o.b+=a,t.c==($ht(),$Se)||t.c==jSe?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=$z(f.Pb(),81)).f.Kc();u.Ob();)c=$z(u.Pb(),81),p=dO(t.c)?t.f.ef(h,c):t.f.ff(h,c),c.d.i=i.Math.max(c.d.i,h.o+h.g.b+p-c.e.a),c.k||(c.d.i=i.Math.max(c.d.i,c.g.c-c.e.a)),--c.d.e,0==c.d.e&&DH(g,c.d)}for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Z1(n),81)).g.c=e.o}function Gqt(t){var e,n,i,r,a,o,s,c;switch(0===(s=t.b,e=t.a,$z(yTt(t,(Rxt(),_ie)),427).g)?wL(s,new Zd(new Ut)):wL(s,new Zd(new Gt)),1===$z(yTt(t,xie),428).g?(wL(s,new Ht),wL(s,new qt),wL(s,new jt)):(wL(s,new Ht),wL(s,new zt)),$z(yTt(t,Tie),250).g){case 0:c=new Vt;break;case 1:c=new Wt;break;case 2:c=new Xt;break;case 3:c=new Yt;break;case 5:c=new Ag(new Xt);break;case 4:c=new Ag(new Wt);break;case 7:c=new DC(new Ag(new Wt),new Ag(new Xt));break;case 8:c=new DC(new Ag(new Yt),new Ag(new Xt));break;default:c=new Ag(new Yt)}for(o=new Kd(s);o.a<o.c.c.length;){for(a=$z(Z1(o),167),r=0,n=new nM(nft(i=0),nft(r));F$t(e,a,i,r);)n=$z(c.Ce(n,a),46),i=$z(n.a,19).a,r=$z(n.b,19).a;Rjt(e,a,i,r)}}function qqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(f=(a=t.f.b).a,l=a.b,g=t.e.g,d=t.e.f,_O(t.e,a.a,a.b),k=f/g,_=l/d,u=new MN(wX(t.e));u.e!=u.i.gc();)Cnt(c=$z(vwt(u),137),c.i*k),Snt(c,c.j*_);for(y=new MN(yX(t.e));y.e!=y.i.gc();)v=(w=$z(vwt(y),118)).i,x=w.j,v>0&&Cnt(w,v*k),x>0&&Snt(w,x*_);for(Jat(t.b,new he),e=new Lw,s=new out(new Td(t.c).a);s.b;)i=$z((o=tnt(s)).cd(),79),n=$z(o.dd(),395).a,r=rBt(i,!1,!1),WFt(h=hEt(CTt(i),HCt(r),n),r),(m=STt(i))&&-1==x9(e,m,0)&&(e.c[e.c.length]=m,sV(m,(TP(0!=h.b),$z(h.a.a.c,8)),n));for(b=new out(new Td(t.d).a);b.b;)i=$z((p=tnt(b)).cd(),79),n=$z(p.dd(),395).a,r=rBt(i,!1,!1),h=hEt(MTt(i),Qct(HCt(r)),n),WFt(h=Qct(h),r),(m=ATt(i))&&-1==x9(e,m,0)&&(e.c[e.c.length]=m,sV(m,(TP(0!=h.b),$z(h.c.b.c,8)),n))}function Kqt(t,e,n,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(0!=n.c.length){for(g=new Lw,d=new Kd(n);d.a<d.c.c.length;)Kz(g,new NA((f=$z(Z1(d),33)).i,f.j));for(r.n&&e&&y0(r,o2(e),(Fut(),oIe));NTt(t,n);)kLt(t,n,!1);for(r.n&&e&&y0(r,o2(e),(Fut(),oIe)),s=0,c=0,a=null,0!=n.c.length&&(l1(0,n.c.length),s=(a=$z(n.c[0],33)).i-(l1(0,g.c.length),$z(g.c[0],8)).a,c=a.j-(l1(0,g.c.length),$z(g.c[0],8)).b),o=i.Math.sqrt(s*s+c*c),h=qlt(n);0!=h.a.gc();){for(l=h.a.ec().Kc();l.Ob();)u=$z(l.Pb(),33),b=(p=t.f).i+p.g/2,w=p.j+p.f/2,y=u.i+u.g/2,v=u.j+u.f/2-w,k=(m=y-b)/(x=i.Math.sqrt(m*m+v*v)),_=v/x,Cnt(u,u.i+k*o),Snt(u,u.j+_*o);r.n&&e&&y0(r,o2(e),(Fut(),oIe)),h=qlt(new JR(h))}t.a&&t.a.lg(new JR(h)),r.n&&e&&y0(r,o2(e),(Fut(),oIe)),Kqt(t,e,new JR(h),r)}}function Yqt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(b=t.n,w=t.o,d=t.d,f=Hv(_B(ept(t,(zYt(),pwe)))),e){for(h=f*(e.gc()-1),g=0,u=e.Kc();u.Ob();)h+=(s=$z(u.Pb(),10)).o.a,g=i.Math.max(g,s.o.b);for(y=b.a-(h-w.a)/2,o=b.b-d.d+g,a=r=w.a/(e.gc()+1),c=e.Kc();c.Ob();)(s=$z(c.Pb(),10)).n.a=y,s.n.b=o-s.o.b,y+=s.o.a+f,(l=PNt(s)).n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,(p=$z(yTt(s,(uWt(),Bhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=0,CJ(p,t)),a+=r}if(n){for(h=f*(n.gc()-1),g=0,u=n.Kc();u.Ob();)h+=(s=$z(u.Pb(),10)).o.a,g=i.Math.max(g,s.o.b);for(y=b.a-(h-w.a)/2,o=b.b+w.b+d.a-g,a=r=w.a/(n.gc()+1),c=n.Kc();c.Ob();)(s=$z(c.Pb(),10)).n.a=y,s.n.b=o,y+=s.o.a+f,(l=PNt(s)).n.a=s.o.a/2-l.a.a,l.n.b=0,(p=$z(yTt(s,(uWt(),Bhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=w.b,CJ(p,t)),a+=r}}function Wqt(t,e){var n,r,a,o,s,c;if($z(yTt(e,(uWt(),Qhe)),21).Hc((fBt(),hhe))){for(c=new Kd(e.a);c.a<c.c.c.length;)(o=$z(Z1(c),10)).k==(oCt(),Sse)&&(a=$z(yTt(o,(zYt(),Cbe)),142),t.c=i.Math.min(t.c,o.n.a-a.b),t.a=i.Math.max(t.a,o.n.a+o.o.a+a.c),t.d=i.Math.min(t.d,o.n.b-a.d),t.b=i.Math.max(t.b,o.n.b+o.o.b+a.a));for(s=new Kd(e.a);s.a<s.c.c.length;)if((o=$z(Z1(s),10)).k!=(oCt(),Sse))switch(o.k.g){case 2:if((r=$z(yTt(o,(zYt(),mbe)),163))==(_dt(),$fe)){o.n.a=t.c-10,Vvt(o,new Gn).Jb(new np(o));break}if(r==zfe){o.n.a=t.a+10,Vvt(o,new qn).Jb(new ip(o));break}if((n=$z(yTt(o,efe),303))==(U9(),She)){hUt(o).Jb(new rp(o)),o.n.b=t.d-10;break}if(n==The){hUt(o).Jb(new ap(o)),o.n.b=t.b+10;break}break;default:throw Fw(new jv("The node type "+o.k+" is not supported by the "+Yse))}}}function Xqt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(c=new NA(i.i+i.g/2,i.j+i.f/2),f=KHt(i),d=$z(ZOt(e,(zYt(),twe)),98),p=$z(ZOt(i,awe),61),$M(hwt(i),Jbe)||(g=0==i.i&&0==i.j?0:tTt(i,p),Vwt(i,Jbe,g)),uct(r=fYt(i,d,p,f,new NA(e.g,e.f),c,new NA(i.g,i.f),$z(yTt(n,Gpe),103),n),(uWt(),dfe),i),Ff(a=$z(NU(r.j,0),11),x$t(i)),uct(r,iwe,(hMt(),Jft(iMe))),l=$z(ZOt(e,iwe),174).Hc(eMe),s=new MN((!i.n&&(i.n=new tK(HIe,i,1,7)),i.n));s.e!=s.i.gc();)if(!zv(kB(ZOt(o=$z(vwt(s),137),Hbe)))&&o.a&&(h=zlt(o),Kz(a.f,h),!l))switch(u=0,Fq($z(ZOt(e,iwe),21))&&(u=OMt(new NA(o.i,o.j),new NA(o.g,o.f),new NA(i.g,i.f),0,p)),p.g){case 2:case 4:h.o.a=u;break;case 1:case 3:h.o.b=u}uct(r,Cwe,_B(ZOt(VZ(e),Cwe))),uct(r,Swe,_B(ZOt(VZ(e),Swe))),uct(r,Ewe,_B(ZOt(VZ(e),Ewe))),Kz(n.a,r),YW(t.a,i,r)}function Vqt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(MEt(n,"Processor arrange level",1),l=0,EV(),Rrt(e,new rw((HUt(),exe))),a=e.b,s=cwt(e,e.b),u=!0;u&&s.b.b!=s.d.a;)b=$z(G0(s),86),0==$z(yTt(b,exe),19).a?--a:u=!1;if(o=new ZR(new s1(e,0,a)),c=new ZR(new s1(e,a,e.b)),0==o.b)for(d=cwt(c,0);d.b!=d.d.c;)uct($z(h3(d),86),cxe,nft(l++));else for(h=o.b,m=cwt(o,0);m.b!=m.d.c;){for(uct(y=$z(h3(m),86),cxe,nft(l++)),Vqt(t,i=Dst(y),yat(n,1/h|0)),Rrt(i,WW(new rw(cxe))),f=new XE,w=cwt(i,0);w.b!=w.d.c;)for(b=$z(h3(w),86),p=cwt(y.d,0);p.b!=p.d.c;)(g=$z(h3(p),188)).c==b&&n5(f,g,f.c.b,f.c);for(yV(y.d),$rt(y.d,f),s=cwt(c,c.b),r=y.d.b,u=!0;0<r&&u&&s.b.b!=s.d.a;)b=$z(G0(s),86),0==$z(yTt(b,exe),19).a?(uct(b,cxe,nft(l++)),--r,yet(s)):u=!1}zCt(n)}function Qqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(e,"Inverted port preprocessing",1),s=new _2(t.b,0),n=null,b=new Lw;s.b<s.d.gc();){for(p=n,TP(s.b<s.d.gc()),n=$z(s.d.Xb(s.c=s.b++),29),l=new Kd(b);l.a<l.c.c.length;)TJ(c=$z(Z1(l),10),p);for(b.c=N8(Ite,zWt,1,0,5,1),h=new Kd(n.a);h.a<h.c.c.length;)if((c=$z(Z1(h),10)).k==(oCt(),Sse)&&bO($z(yTt(c,(zYt(),twe)),98))){for(g=rjt(c,(ait(),zye),(vKt(),sMe)).Kc();g.Ob();)for(f=$z(g.Pb(),11),r=0,a=(i=$z(Xbt(o=f.e,N8(yse,r1t,17,o.c.length,0,1)),474)).length;r<a;++r)Ozt(t,f,i[r],b);for(d=rjt(c,Hye,SMe).Kc();d.Ob();)for(f=$z(d.Pb(),11),r=0,a=(i=$z(Xbt(o=f.g,N8(yse,r1t,17,o.c.length,0,1)),474)).length;r<a;++r)Izt(t,f,i[r],b)}}for(u=new Kd(b);u.a<u.c.c.length;)TJ(c=$z(Z1(u),10),n);zCt(e)}function Zqt(t,e,n,i,r,a){var o,s,c,u,l,h;for(Hot(u=new SCt,e),HAt(u,$z(ZOt(e,(zYt(),awe)),61)),uct(u,(uWt(),dfe),e),CJ(u,n),(h=u.o).a=e.g,h.b=e.f,(l=u.n).a=e.i,l.b=e.j,YW(t.a,e,u),(o=o5(IX(ftt(new PU(null,(!e.e&&(e.e=new cR(BIe,e,7,4)),new f1(e.e,16))),new We),new Ke),new Kg(e)))||(o=o5(IX(ftt(new PU(null,(!e.d&&(e.d=new cR(BIe,e,8,5)),new f1(e.d,16))),new Xe),new Ye),new Yg(e))),o||(o=o5(new PU(null,(!e.e&&(e.e=new cR(BIe,e,7,4)),new f1(e.e,16))),new Ve)),uct(u,tfe,(cD(),!!o)),bUt(u,a,r,$z(ZOt(e,Zbe),8)),c=new MN((!e.n&&(e.n=new tK(HIe,e,1,7)),e.n));c.e!=c.i.gc();)!zv(kB(ZOt(s=$z(vwt(c),137),Hbe)))&&s.a&&Kz(u.f,zlt(s));switch(r.g){case 2:case 1:(u.j==(vKt(),cMe)||u.j==TMe)&&i.Fc((fBt(),phe));break;case 4:case 3:(u.j==(vKt(),sMe)||u.j==SMe)&&i.Fc((fBt(),phe))}return u}function Jqt(t,e,n,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m;for(f=null,r==(dZ(),Lve)?f=e:r==Nve&&(f=n),p=f.a.ec().Kc();p.Ob();){for(g=$z(p.Pb(),11),b=Ict(Cst(Hx(TTe,1),cXt,8,0,[g.i.n,g.n,g.a])).b,m=new Py,c=new Py,l=new w6(g.b);yL(l.a)||yL(l.b);)if(zv(kB(yTt(u=$z(yL(l.a)?Z1(l.a):Z1(l.b),17),(uWt(),Cfe))))==a&&-1!=x9(o,u,0)){if(w=u.d==g?u.c:u.d,y=Ict(Cst(Hx(TTe,1),cXt,8,0,[w.i.n,w.n,w.a])).b,i.Math.abs(y-b)<.2)continue;y<b?e.a._b(w)?kK(m,new nM(Lve,u)):kK(m,new nM(Nve,u)):e.a._b(w)?kK(c,new nM(Lve,u)):kK(c,new nM(Nve,u))}if(m.a.gc()>1)for(t5(m,new sA(t,d=new uUt(g,m,r))),s.c[s.c.length]=d,h=m.a.ec().Kc();h.Ob();)y9(o,$z(h.Pb(),46).b);if(c.a.gc()>1)for(t5(c,new cA(t,d=new uUt(g,c,r))),s.c[s.c.length]=d,h=c.a.ec().Kc();h.Ob();)y9(o,$z(h.Pb(),46).b)}}function tKt(t){LT(t,new EEt(dk(bk(fk(pk(gk(new bs,d4t),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Uo),d4t))),a2(t,d4t,p3t,ywt(Nke)),a2(t,d4t,wJt,ywt(Bke)),a2(t,d4t,CJt,ywt(Cke)),a2(t,d4t,FJt,ywt(Ske)),a2(t,d4t,TJt,ywt(Ake)),a2(t,d4t,SJt,ywt(Tke)),a2(t,d4t,EJt,ywt(Mke)),a2(t,d4t,AJt,ywt(Lke)),a2(t,d4t,u4t,ywt(_ke)),a2(t,d4t,c4t,ywt(Eke)),a2(t,d4t,f4t,ywt(Ike)),a2(t,d4t,o4t,ywt(Oke)),a2(t,d4t,s4t,ywt(Dke)),a2(t,d4t,l4t,ywt(Pke)),a2(t,d4t,h4t,ywt(jke))}function eKt(t){var e;if(this.r=NX(new Ct,new St),this.b=new zdt($z(yY(DMe),290)),this.p=new zdt($z(yY(DMe),290)),this.i=new zdt($z(yY(Lre),290)),this.e=t,this.o=new fO(t.rf()),this.D=t.Df()||zv(kB(t.We((cWt(),ECe)))),this.A=$z(t.We((cWt(),BCe)),21),this.B=$z(t.We(zCe),21),this.q=$z(t.We(aSe),98),this.u=$z(t.We(uSe),21),!dTt(this.u))throw Fw(new nx("Invalid port label placement: "+this.u));if(this.v=zv(kB(t.We(hSe))),this.j=$z(t.We(DCe),21),!tNt(this.j))throw Fw(new nx("Invalid node label placement: "+this.j));this.n=$z(Jvt(t,LCe),116),this.k=Hv(_B(Jvt(t,ASe))),this.d=Hv(_B(Jvt(t,SSe))),this.w=Hv(_B(Jvt(t,PSe))),this.s=Hv(_B(Jvt(t,MSe))),this.t=Hv(_B(Jvt(t,ISe))),this.C=$z(Jvt(t,NSe),142),this.c=2*this.d,e=!this.B.Hc((JRt(),zMe)),this.f=new Abt(0,e,0),this.g=new Abt(1,e,0),vv(this.f,(Pet(),Gie),this.g)}function nKt(t,e,n,r,a){var o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(v=0,b=0,p=0,g=1,m=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));m.e!=m.i.gc();)g+=R3(new oq(QN(gNt(w=$z(vwt(m),33)).a.Kc(),new l))),E=w.g,b=i.Math.max(b,E),d=w.f,p=i.Math.max(p,d),v+=E*d;for(s=v+2*r*r*g*(!t.a&&(t.a=new tK(UIe,t,10,11)),t.a).i,o=i.Math.sqrt(s),u=i.Math.max(o*n,b),c=i.Math.max(o/n,p),y=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));y.e!=y.i.gc();)w=$z(vwt(y),33),T=a.b+(zLt(e,26)*iQt+zLt(e,27)*rQt)*(u-w.g),C=a.b+(zLt(e,26)*iQt+zLt(e,27)*rQt)*(c-w.f),Cnt(w,T),Snt(w,C);for(_=u+(a.b+a.c),k=c+(a.d+a.a),x=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));x.e!=x.i.gc();)for(f=new oq(QN(gNt($z(vwt(x),33)).a.Kc(),new l));gOt(f);)JIt(h=$z(G5(f),79))||FYt(h,e,_,k);jKt(t,_+=a.b+a.c,k+=a.d+a.a,!1,!0)}function iKt(t){var e,n,i,r,a,o,s,c,u,l,h;if(null==t)throw Fw(new _x(GWt));if(u=t,c=!1,(a=t.length)>0&&(h1(0,t.length),(45==(e=t.charCodeAt(0))||43==e)&&(t=t.substr(1),--a,c=45==e)),0==a)throw Fw(new _x(PVt+u+'"'));for(;t.length>0&&(h1(0,t.length),48==t.charCodeAt(0));)t=t.substr(1),--a;if(a>(nFt(),Dee)[10])throw Fw(new _x(PVt+u+'"'));for(r=0;r<a;r++)if(-1==ebt((h1(r,t.length),t.charCodeAt(r))))throw Fw(new _x(PVt+u+'"'));for(h=0,o=Lee[10],l=Nee[10],s=v9(Pee[10]),n=!0,(i=a%o)>0&&(h=-parseInt(t.substr(0,i),10),t=t.substr(i),a-=i,n=!1);a>=o;){if(i=parseInt(t.substr(0,o),10),t=t.substr(o),a-=o,n)n=!1;else{if(Wlt(h,s)<0)throw Fw(new _x(PVt+u+'"'));h=rdt(h,l)}h=ndt(h,i)}if(Wlt(h,0)>0)throw Fw(new _x(PVt+u+'"'));if(!c&&Wlt(h=v9(h),0)<0)throw Fw(new _x(PVt+u+'"'));return h}function rKt(t,e){var n,i,r,a,o,s,c;if(QH(),this.a=new qL(this),this.b=t,this.c=e,this.f=AK($9((ASt(),VLe),e)),this.f.dc())if((s=ykt(VLe,t))==e)for(this.e=!0,this.d=new Lw,this.f=new fc,this.f.Fc(T9t),$z(NHt(R9(VLe,qet(t)),""),26)==t&&this.f.Fc(rq(VLe,qet(t))),r=kRt(VLe,t).Kc();r.Ob();)switch(i=$z(r.Pb(),170),DW($9(VLe,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(AK($9(VLe,i)))}else if(QT(),$z(e,66).Oj())for(this.e=!0,this.f=null,this.d=new Lw,o=0,c=(null==t.i&&HFt(t),t.i).length;o<c;++o)for(null==t.i&&HFt(t),n=t.i,i=o>=0&&o<n.length?n[o]:null,a=Q1($9(VLe,i));a;a=Q1($9(VLe,a)))a==e&&this.d.Fc(i);else 1==DW($9(VLe,e))&&s?(this.f=null,this.d=(_It(),lNe)):(this.f=null,this.e=!0,this.d=(EV(),new Hd(e)));else this.e=5==DW($9(VLe,e)),this.f.Fb(rNe)&&(this.f=rNe)}function aKt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p;for(n=0,r=Cmt(t,e),d=t.s,g=t.t,l=$z($z(c6(t.r,e),21),84).Kc();l.Ob();)if((u=$z(l.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(p=u.b.rf(),c=u.b.Xe((cWt(),rSe))?Hv(_B(u.b.We(rSe))):0,(f=(h=u.c).i).b=(s=h.n,h.e.a+s.b+s.c),f.a=(o=h.n,h.e.b+o.d+o.a),e.g){case 1:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=p.b+c+r,l7(h,(V7(),Vie)),KB(h,(H9(),rre));break;case 3:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=-c-r-f.a,l7(h,(V7(),Vie)),KB(h,(H9(),nre));break;case 2:f.c=-c-r-f.b,u.a?(a=t.v?f.a:$z(NU(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,l7(h,(V7(),Zie)),KB(h,(H9(),ire));break;case 4:f.c=p.a+c+r,u.a?(a=t.v?f.a:$z(NU(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,l7(h,(V7(),Qie)),KB(h,(H9(),ire))}(e==(vKt(),cMe)||e==TMe)&&(n=i.Math.max(n,f.a))}n>0&&($z(oX(t.b,e),124).a.b=n)}function oKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(e,"Comment pre-processing",1),n=0,c=new Kd(t.a);c.a<c.c.c.length;)if(zv(kB(yTt(s=$z(Z1(c),10),(zYt(),kpe))))){for(++n,r=0,i=null,u=null,g=new Kd(s.j);g.a<g.c.c.length;)r+=(f=$z(Z1(g),11)).e.c.length+f.g.c.length,1==f.e.c.length&&(u=(i=$z(NU(f.e,0),17)).c),1==f.g.c.length&&(u=(i=$z(NU(f.g,0),17)).d);if(1!=r||u.e.c.length+u.g.c.length!=1||zv(kB(yTt(u.i,kpe)))){for(b=new Lw,d=new Kd(s.j);d.a<d.c.c.length;){for(h=new Kd((f=$z(Z1(d),11)).g);h.a<h.c.c.length;)0==(l=$z(Z1(h),17)).d.g.c.length||(b.c[b.c.length]=l);for(o=new Kd(f.e);o.a<o.c.c.length;)0==(a=$z(Z1(o),17)).c.e.c.length||(b.c[b.c.length]=a)}for(p=new Kd(b);p.a<p.c.c.length;)tzt($z(Z1(p),17),!0)}else JKt(s,i,u,u.i),MK(c)}e.n&&AH(e,"Found "+n+" comment boxes"),zCt(e)}function sKt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(f=Hv(_B(yTt(t,(zYt(),Cwe)))),d=Hv(_B(yTt(t,Swe))),h=Hv(_B(yTt(t,Ewe))),s=t.o,o=(a=$z(NU(t.j,0),11)).n,p=_St(a,h)){if(e.Hc((hMt(),eMe)))switch($z(yTt(t,(uWt(),Whe)),61).g){case 1:p.c=(s.a-p.b)/2-o.a,p.d=d;break;case 3:p.c=(s.a-p.b)/2-o.a,p.d=-d-p.a;break;case 2:n&&0==a.e.c.length&&0==a.g.c.length?(l=i?p.a:$z(NU(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=s.b+d-o.b,p.c=-f-p.b;break;case 4:n&&0==a.e.c.length&&0==a.g.c.length?(l=i?p.a:$z(NU(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=s.b+d-o.b,p.c=f}else if(e.Hc(iMe))switch($z(yTt(t,(uWt(),Whe)),61).g){case 1:case 3:p.c=o.a+f;break;case 2:case 4:n&&!a.c?(l=i?p.a:$z(NU(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=o.b+d}for(r=p.d,u=new Kd(a.f);u.a<u.c.c.length;)(g=(c=$z(Z1(u),70)).n).a=p.c,g.b=r,r+=c.o.b+h}}function cKt(){PI(hNe,new Xu),PI(HNe,new ol),PI(UNe,new wl),PI(GNe,new Al),PI(zee,new Ll),PI(Hx(ODe,1),new Nl),PI(vee,new Dl),PI(kee,new Pl),PI(zee,new $u),PI(zee,new Fu),PI(zee,new zu),PI(Cee,new Hu),PI(zee,new Uu),PI(Bte,new Gu),PI(Bte,new qu),PI(zee,new Ku),PI(See,new Yu),PI(zee,new Wu),PI(zee,new Vu),PI(zee,new Qu),PI(zee,new Zu),PI(zee,new Ju),PI(Hx(ODe,1),new tl),PI(zee,new el),PI(zee,new nl),PI(Bte,new il),PI(Bte,new rl),PI(zee,new al),PI(Iee,new sl),PI(zee,new cl),PI(Bee,new ul),PI(zee,new ll),PI(zee,new hl),PI(zee,new fl),PI(zee,new dl),PI(Bte,new gl),PI(Bte,new pl),PI(zee,new bl),PI(zee,new yl),PI(zee,new ml),PI(zee,new vl),PI(zee,new xl),PI(zee,new kl),PI(Ree,new _l),PI(zee,new El),PI(zee,new Tl),PI(zee,new Cl),PI(Ree,new Sl),PI(Bee,new Ml),PI(zee,new Il),PI(Iee,new Ol)}function uKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if((h=e.length)>0&&(h1(0,e.length),64!=(s=e.charCodeAt(0)))){if(37==s&&(c=!1,0!=(l=e.lastIndexOf("%"))&&(l==h-1||(h1(l+1,e.length),c=46==e.charCodeAt(l+1))))){if(y=wR("%",o=e.substr(1,l-1))?null:OKt(o),i=0,c)try{i=h$t(e.substr(l+2),RXt,PWt)}catch(m){throw iN(m=hst(m),127)?Fw(new O9(m)):Fw(m)}for(p=krt(t.Wg());p.Ob();)if(iN(d=Eot(p),510)&&(w=(r=$z(d,590)).d,(null==y?null==w:wR(y,w))&&0==i--))return r;return null}if(f=-1==(u=e.lastIndexOf("."))?e:e.substr(0,u),n=0,-1!=u)try{n=h$t(e.substr(u+1),RXt,PWt)}catch(m){if(!iN(m=hst(m),127))throw Fw(m);f=e}for(f=wR("%",f)?null:OKt(f),g=krt(t.Wg());g.Ob();)if(iN(d=Eot(g),191)&&(b=(a=$z(d,191)).ne(),(null==f?null==b:wR(f,b))&&0==n--))return a;return null}return RUt(t,e)}function lKt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(m=new Lw,h=new Kd(t.b);h.a<h.c.c.length;)for(g=new Kd($z(Z1(h),29).a);g.a<g.c.c.length;)if((f=$z(Z1(g),10)).k==(oCt(),Ese)&&OP(f,(uWt(),Yhe))){for(p=null,w=null,b=null,k=new Kd(f.j);k.a<k.c.c.length;)switch(x=$z(Z1(k),11),x.j.g){case 4:p=x;break;case 2:w=x;break;default:b=x}for(u=new Bk((y=$z(NU(b.g,0),17)).a),Gj(c=new fO(b.n),f.n),ZK(cwt(u,0),c),v=Qct(y.a),Gj(l=new fO(b.n),f.n),n5(v,l,v.c.b,v.c),_=$z(yTt(f,Yhe),10),E=$z(NU(_.j,0),11),a=0,s=(i=$z(Xbt(p.e,N8(yse,r1t,17,0,0,1)),474)).length;a<s;++a)_J(e=i[a],E),Yut(e.a,e.a.b,u);for(r=0,o=(n=Q0(w.g)).length;r<o;++r)EJ(e=n[r],E),Yut(e.a,0,v);EJ(y,null),_J(y,null),m.c[m.c.length]=f}for(d=new Kd(m);d.a<d.c.c.length;)TJ(f=$z(Z1(d),10),null)}function hKt(){var t,e,n;for(hKt=I,new mtt(1,0),new mtt(10,0),new mtt(0,0),Hee=N8(Vee,cXt,240,11,0,1),Uee=N8(SDe,YXt,25,100,15,1),Gee=Cst(Hx(LDe,1),HVt,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),qee=N8(ADe,uVt,25,Gee.length,15,1),Kee=Cst(Hx(LDe,1),HVt,25,15,[1,10,100,WXt,1e4,UVt,1e6,1e7,1e8,IVt,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),Yee=N8(ADe,uVt,25,Kee.length,15,1),Wee=N8(Vee,cXt,240,11,0,1),t=0;t<Wee.length;t++)Hee[t]=new mtt(t,0),Wee[t]=new mtt(0,t),Uee[t]=48;for(;t<Uee.length;t++)Uee[t]=48;for(n=0;n<qee.length;n++)qee[n]=aMt(Gee[n]);for(e=0;e<Yee.length;e++)Yee[e]=aMt(Kee[e]);OIt()}function fKt(){function t(){this.obj=this.createObject()}return t.prototype.createObject=function(t){return Object.create(null)},t.prototype.get=function(t){return this.obj[t]},t.prototype.set=function(t,e){this.obj[t]=e},t.prototype[nQt]=function(t){delete this.obj[t]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var t=this.keys(),e=this,n=0;return{next:function(){if(n>=t.length)return{done:!0};var i=t[n++];return{value:[i,e.get(i)],done:!1}}}},GBt()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(t){return this.obj[":"+t]},t.prototype.set=function(t,e){this.obj[":"+t]=e},t.prototype[nQt]=function(t){delete this.obj[":"+t]},t.prototype.keys=function(){var t=[];for(var e in this.obj)58==e.charCodeAt(0)&&t.push(e.substring(1));return t}),t}function dKt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(CFt(),null==t)return null;if(0==(h=8*t.length))return"";for(f=h/24|0,a=null,a=N8(SDe,YXt,25,4*(0!=(s=h%24)?f+1:f),15,1),u=0,l=0,e=0,n=0,i=0,o=0,r=0,c=0;c<f;c++)e=t[r++],l=(15&(n=t[r++]))<<24>>24,u=(3&e)<<24>>24,d=-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24,g=-128&n?(n>>4^240)<<24>>24:n>>4<<24>>24,p=-128&(i=t[r++])?(i>>6^252)<<24>>24:i>>6<<24>>24,a[o++]=KNe[d],a[o++]=KNe[g|u<<4],a[o++]=KNe[l<<2|p],a[o++]=KNe[63&i];return 8==s?(u=(3&(e=t[r]))<<24>>24,d=-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24,a[o++]=KNe[d],a[o++]=KNe[u<<4],a[o++]=61,a[o++]=61):16==s&&(e=t[r],l=(15&(n=t[r+1]))<<24>>24,u=(3&e)<<24>>24,d=-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24,g=-128&n?(n>>4^240)<<24>>24:n>>4<<24>>24,a[o++]=KNe[d],a[o++]=KNe[g|u<<4],a[o++]=KNe[l<<2],a[o++]=61),Fpt(a,0,a.length)}function gKt(t,e){var n,r,a,o,s,c;if(0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>RXt&&t4(e,t.p-cVt),s=e.q.getDate(),RZ(e,1),t.k>=0&&bJ(e,t.k),t.c>=0?RZ(e,t.c):t.k>=0?(r=35-new wct(e.q.getFullYear()-cVt,e.q.getMonth(),35).q.getDate(),RZ(e,i.Math.min(r,s))):RZ(e,s),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),rN(e,24==t.f&&t.g?0:t.f),t.j>=0&&g6(e,t.j),t.n>=0&&G8(e,t.n),t.i>=0&&dI(e,idt(rdt(Mkt(lot(e.q.getTime()),WXt),WXt),t.i)),t.a&&(t4(a=new ME,a.q.getFullYear()-cVt-80),sC(lot(e.q.getTime()),lot(a.q.getTime()))&&t4(e,a.q.getFullYear()-cVt+100)),t.d>=0)if(-1==t.c)(n=(7+t.d-e.q.getDay())%7)>3&&(n-=7),c=e.q.getMonth(),RZ(e,e.q.getDate()+n),e.q.getMonth()!=c&&RZ(e,e.q.getDate()+(n>0?-7:7));else if(e.q.getDay()!=t.d)return!1;return t.o>RXt&&(o=e.q.getTimezoneOffset(),dI(e,idt(lot(e.q.getTime()),60*(t.o-o)*WXt))),!0}function pKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(iN(r=yTt(e,(uWt(),dfe)),239)){for(d=$z(r,33),g=e.e,h=new fO(e.c),a=e.d,h.a+=a.b,h.b+=a.d,ED($z(ZOt(d,(zYt(),zbe)),174),(JRt(),HMe))&&(Af(f=$z(ZOt(d,Ube),116),a.a),jf(f,a.d),Mf(f,a.b),Rf(f,a.c)),n=new Lw,u=new Kd(e.a);u.a<u.c.c.length;)for(iN(yTt(s=$z(Z1(u),10),dfe),239)?SKt(s,h):iN(yTt(s,dfe),186)&&!g&&EO(i=$z(yTt(s,dfe),118),(b=mFt(e,s,i.g,i.f)).a,b.b),p=new Kd(s.j);p.a<p.c.c.length;)VE(MX(new PU(null,new f1($z(Z1(p),11).g,16)),new Wg(s)),new Xg(n));if(g)for(p=new Kd(g.j);p.a<p.c.c.length;)VE(MX(new PU(null,new f1($z(Z1(p),11).g,16)),new Vg(g)),new Qg(n));for(w=$z(ZOt(d,Qpe),218),o=new Kd(n);o.a<o.c.c.length;)bqt($z(Z1(o),17),w,h);for(y$t(e),c=new Kd(e.a);c.a<c.c.c.length;)(l=(s=$z(Z1(c),10)).e)&&pKt(t,l)}}function bKt(t){LT(t,new EEt(wk(dk(bk(fk(pk(gk(new bs,pJt),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new ge),pJt),xG((uOt(),JIe),Cst(Hx(iOe,1),OXt,237,0,[QIe]))))),a2(t,pJt,bJt,nft(1)),a2(t,pJt,wJt,80),a2(t,pJt,yJt,5),a2(t,pJt,WZt,gJt),a2(t,pJt,mJt,nft(1)),a2(t,pJt,vJt,(cD(),!0)),a2(t,pJt,XZt,Wae),a2(t,pJt,xJt,ywt(Fae)),a2(t,pJt,kJt,ywt(Xae)),a2(t,pJt,_Jt,!1),a2(t,pJt,EJt,ywt(Kae)),a2(t,pJt,TJt,ywt(qae)),a2(t,pJt,CJt,ywt(Gae)),a2(t,pJt,SJt,ywt(Uae)),a2(t,pJt,AJt,ywt(Vae)),a2(t,pJt,sJt,ywt(Hae)),a2(t,pJt,lJt,ywt(roe)),a2(t,pJt,cJt,ywt(zae)),a2(t,pJt,fJt,ywt(Jae)),a2(t,pJt,uJt,ywt(toe))}function wKt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g;if(!$z($z(c6(t.r,e),21),84).dc()){if(u=(s=$z(oX(t.b,e),124)).i,c=s.n,h=CBt(t,e),r=u.b-c.b-c.c,a=s.a.a,o=u.c+c.b,g=t.w,(h==(rwt(),FAe)||h==HAe)&&1==$z($z(c6(t.r,e),21),84).gc()&&(a=h==FAe?a-2*t.w:a,h=$Ae),r<a&&!t.B.Hc((JRt(),YMe)))h==FAe?o+=g+=(r-a)/($z($z(c6(t.r,e),21),84).gc()+1):g+=(r-a)/($z($z(c6(t.r,e),21),84).gc()-1);else switch(r<a&&(a=h==FAe?a-2*t.w:a,h=$Ae),h.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:n=(r-a)/($z($z(c6(t.r,e),21),84).gc()+1),o+=g+=i.Math.max(0,n);break;case 1:n=(r-a)/($z($z(c6(t.r,e),21),84).gc()-1),g+=i.Math.max(0,n)}for(d=$z($z(c6(t.r,e),21),84).Kc();d.Ob();)(f=$z(d.Pb(),111)).e.a=o+f.d.b,f.e.b=(l=f.b).Xe((cWt(),rSe))?l.Hf()==(vKt(),cMe)?-l.rf().b-Hv(_B(l.We(rSe))):Hv(_B(l.We(rSe))):l.Hf()==(vKt(),cMe)?-l.rf().b:0,o+=f.d.b+f.b.rf().a+f.d.c+g}}function yKt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p;if(!$z($z(c6(t.r,e),21),84).dc()){if(u=(s=$z(oX(t.b,e),124)).i,c=s.n,f=CBt(t,e),r=u.a-c.d-c.a,a=s.a.b,o=u.d+c.d,p=t.w,l=t.o.a,(f==(rwt(),FAe)||f==HAe)&&1==$z($z(c6(t.r,e),21),84).gc()&&(a=f==FAe?a-2*t.w:a,f=$Ae),r<a&&!t.B.Hc((JRt(),YMe)))f==FAe?o+=p+=(r-a)/($z($z(c6(t.r,e),21),84).gc()+1):p+=(r-a)/($z($z(c6(t.r,e),21),84).gc()-1);else switch(r<a&&(a=f==FAe?a-2*t.w:a,f=$Ae),f.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:n=(r-a)/($z($z(c6(t.r,e),21),84).gc()+1),o+=p+=i.Math.max(0,n);break;case 1:n=(r-a)/($z($z(c6(t.r,e),21),84).gc()-1),p+=i.Math.max(0,n)}for(g=$z($z(c6(t.r,e),21),84).Kc();g.Ob();)(d=$z(g.Pb(),111)).e.a=(h=d.b).Xe((cWt(),rSe))?h.Hf()==(vKt(),SMe)?-h.rf().a-Hv(_B(h.We(rSe))):l+Hv(_B(h.We(rSe))):h.Hf()==(vKt(),SMe)?-h.rf().a:l,d.e.b=o+d.d.d,o+=d.d.d+d.b.rf().b+d.d.a+p}}function mKt(t){var e,n,r,a,o,s,c,u,h,f,d,g,p,b,w;for(t.n=Hv(_B(yTt(t.g,(zYt(),Awe)))),t.e=Hv(_B(yTt(t.g,kwe))),t.i=t.g.b.c.length,c=t.i-1,g=0,t.j=0,t.k=0,t.a=a6(N8(Iee,cXt,19,t.i,0,1)),t.b=a6(N8(Cee,cXt,333,t.i,7,1)),s=new Kd(t.g.b);s.a<s.c.c.length;){for((a=$z(Z1(s),29)).p=c,d=new Kd(a.a);d.a<d.c.c.length;)(f=$z(Z1(d),10)).p=g,++g;--c}for(t.f=N8(ADe,uVt,25,g,15,1),t.c=mU(ADe,[cXt,uVt],[48,25],15,[g,3],2),t.o=new Lw,t.p=new Lw,e=0,t.d=0,o=new Kd(t.g.b);o.a<o.c.c.length;){for(c=(a=$z(Z1(o),29)).p,r=0,w=0,u=a.a.c.length,h=0,d=new Kd(a.a);d.a<d.c.c.length;)g=(f=$z(Z1(d),10)).p,t.f[g]=f.c.p,h+=f.o.b+t.n,n=R3(new oq(QN(ldt(f).a.Kc(),new l))),b=R3(new oq(QN(hdt(f).a.Kc(),new l))),t.c[g][0]=b-n,t.c[g][1]=n,t.c[g][2]=b,r+=n,w+=b,n>0&&Kz(t.p,f),Kz(t.o,f);p=u+(e-=r),h+=e*t.e,i5(t.a,c,nft(p)),i5(t.b,c,h),t.j=i.Math.max(t.j,p),t.k=i.Math.max(t.k,h),t.d+=e,e+=w}}function vKt(){var t;vKt=I,CMe=new KA(uZt,0),cMe=new KA(yZt,1),sMe=new KA(mZt,2),TMe=new KA(vZt,3),SMe=new KA(xZt,4),EV(),dMe=new Mx(new XR(t=$z(Yk(DMe),9),$z(Ej(t,t.length),9),0)),gMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[]))),uMe=lht(xG(sMe,Cst(Hx(DMe,1),VJt,61,0,[]))),kMe=lht(xG(TMe,Cst(Hx(DMe,1),VJt,61,0,[]))),EMe=lht(xG(SMe,Cst(Hx(DMe,1),VJt,61,0,[]))),mMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[TMe]))),fMe=lht(xG(sMe,Cst(Hx(DMe,1),VJt,61,0,[SMe]))),xMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[SMe]))),pMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[sMe]))),_Me=lht(xG(TMe,Cst(Hx(DMe,1),VJt,61,0,[SMe]))),lMe=lht(xG(sMe,Cst(Hx(DMe,1),VJt,61,0,[TMe]))),yMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[sMe,SMe]))),hMe=lht(xG(sMe,Cst(Hx(DMe,1),VJt,61,0,[TMe,SMe]))),vMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[TMe,SMe]))),bMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[sMe,TMe]))),wMe=lht(xG(cMe,Cst(Hx(DMe,1),VJt,61,0,[sMe,TMe,SMe])))}function xKt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(0!=e.b){for(f=new XE,o=null,d=null,n=CZ(i.Math.floor(i.Math.log(e.b)*i.Math.LOG10E)+1),s=0,y=cwt(e,0);y.b!=y.d.c;)for(b=$z(h3(y),86),HM(d)!==HM(yTt(b,(HUt(),nxe)))&&(d=EB(yTt(b,nxe)),s=0),o=null!=d?d+d0(s++,n):d0(s++,n),uct(b,nxe,o),p=new fb(cwt(new hb(b).a.d,0));x_(p.a);)n5(f,g=$z(h3(p.a),188).c,f.c.b,f.c),uct(g,nxe,o);for(h=new Nw,a=0;a<o.length-n;a++)for(w=cwt(e,0);w.b!=w.d.c;)wJ(h,c=uP(EB(yTt(b=$z(h3(w),86),(HUt(),nxe))),0,a+1),nft(null!=(null==c?zM(MQ(h.f,null)):cC(h.g,c))?$z(null==c?zM(MQ(h.f,null)):cC(h.g,c),19).a+1:1));for(l=new out(new Td(h).a);l.b;)u=tnt(l),r=nft(null!=PY(t.a,u.cd())?$z(PY(t.a,u.cd()),19).a:0),wJ(t.a,EB(u.cd()),nft($z(u.dd(),19).a+r.a)),(!(r=$z(PY(t.b,u.cd()),19))||r.a<$z(u.dd(),19).a)&&wJ(t.b,EB(u.cd()),$z(u.dd(),19));xKt(t,f)}}function kKt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(MEt(n,"Interactive node layering",1),r=new Lw,g=new Kd(e.a);g.a<g.c.c.length;){for(u=(l=(f=$z(Z1(g),10)).n.a)+f.o.a,u=i.Math.max(l+1,u),y=new _2(r,0),a=null;y.b<y.d.gc();){if(TP(y.b<y.d.gc()),(b=$z(y.d.Xb(y.c=y.b++),569)).c>=u){TP(y.b>0),y.a.Xb(y.c=--y.b);break}b.a>l&&(a?(pst(a.b,b.b),a.a=i.Math.max(a.a,b.a),uW(y)):(Kz(b.b,f),b.c=i.Math.min(b.c,l),b.a=i.Math.max(b.a,u),a=b))}a||((a=new em).c=l,a.a=u,yj(y,a),Kz(a.b,f))}for(c=e.b,h=0,w=new Kd(r);w.a<w.c.c.length;)for(b=$z(Z1(w),569),(o=new FY(e)).p=h++,c.c[c.c.length]=o,p=new Kd(b.b);p.a<p.c.c.length;)TJ(f=$z(Z1(p),10),o),f.p=0;for(d=new Kd(e.a);d.a<d.c.c.length;)0==(f=$z(Z1(d),10)).p&&SBt(t,f,e);for(s=new _2(c,0);s.b<s.d.gc();)0==(TP(s.b<s.d.gc()),$z(s.d.Xb(s.c=s.b++),29)).a.c.length&&uW(s);e.a.c=N8(Ite,zWt,1,0,5,1),zCt(n)}function _Kt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(0!=e.e.c.length&&0!=n.e.c.length){if((i=$z(NU(e.e,0),17).c.i)==(o=$z(NU(n.e,0),17).c.i))return xL($z(yTt($z(NU(e.e,0),17),(uWt(),ffe)),19).a,$z(yTt($z(NU(n.e,0),17),ffe),19).a);for(h=0,f=(l=t.a).length;h<f;++h){if((u=l[h])==i)return 1;if(u==o)return-1}}return 0!=e.g.c.length&&0!=n.g.c.length?(a=$z(yTt(e,(uWt(),lfe)),10),c=$z(yTt(n,lfe),10),r=0,s=0,OP($z(NU(e.g,0),17),ffe)&&(r=$z(yTt($z(NU(e.g,0),17),ffe),19).a),OP($z(NU(n.g,0),17),ffe)&&(s=$z(yTt($z(NU(e.g,0),17),ffe),19).a),a&&a==c?zv(kB(yTt($z(NU(e.g,0),17),Cfe)))&&!zv(kB(yTt($z(NU(n.g,0),17),Cfe)))?1:!zv(kB(yTt($z(NU(e.g,0),17),Cfe)))&&zv(kB(yTt($z(NU(n.g,0),17),Cfe)))||r<s?-1:r>s?1:0:(t.b&&(t.b._b(a)&&(r=$z(t.b.xc(a),19).a),t.b._b(c)&&(s=$z(t.b.xc(c),19).a)),r<s?-1:r>s?1:0)):0!=e.e.c.length&&0!=n.g.c.length?1:-1}function EKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(MEt(e,M1t,1),g=new Lw,v=new Lw,u=new Kd(t.b);u.a<u.c.c.length;)for(b=-1,f=0,d=(h=Z0((c=$z(Z1(u),29)).a)).length;f<d;++f)if(++b,(l=h[f]).k==(oCt(),Sse)&&bO($z(yTt(l,(zYt(),twe)),98))){for(OR($z(yTt(l,(zYt(),twe)),98))||zDt(l),uct(l,(uWt(),nfe),l),g.c=N8(Ite,zWt,1,0,5,1),v.c=N8(Ite,zWt,1,0,5,1),n=new Lw,Hrt(y=new XE,PCt(l,(vKt(),cMe))),IYt(t,y,g,v,n),s=b,x=l,a=new Kd(g);a.a<a.c.c.length;)Xvt(i=$z(Z1(a),10),s,c),++b,uct(i,nfe,l),o=$z(NU(i.j,0),11),p=$z(yTt(o,dfe),11),zv(kB(yTt(p,vpe)))||$z(yTt(i,ife),15).Fc(x);for(yV(y),w=PCt(l,TMe).Kc();w.Ob();)n5(y,$z(w.Pb(),11),y.a,y.a.a);for(IYt(t,y,v,null,n),m=l,r=new Kd(v);r.a<r.c.c.length;)Xvt(i=$z(Z1(r),10),++b,c),uct(i,nfe,l),o=$z(NU(i.j,0),11),p=$z(yTt(o,dfe),11),zv(kB(yTt(p,vpe)))||$z(yTt(m,ife),15).Fc(i);0==n.c.length||uct(l,Nhe,n)}zCt(e)}function TKt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;for(l=$z(yTt(t,(Ert(),soe)),33),p=PWt,b=PWt,d=RXt,g=RXt,y=new Kd(t.e);y.a<y.c.c.length;)_=(w=$z(Z1(y),144)).d,E=w.e,p=i.Math.min(p,_.a-E.a/2),b=i.Math.min(b,_.b-E.b/2),d=i.Math.max(d,_.a+E.a/2),g=i.Math.max(g,_.b+E.b/2);for(x=new NA((k=$z(ZOt(l,(ljt(),Yae)),116)).b-p,k.d-b),c=new Kd(t.e);c.a<c.c.c.length;)iN(v=yTt(s=$z(Z1(c),144),soe),239)&&EO(h=$z(v,33),(m=Gj(s.d,x)).a-h.g/2,m.b-h.f/2);for(r=new Kd(t.c);r.a<r.c.c.length;)n=$z(Z1(r),282),u=rBt($z(yTt(n,soe),79),!0,!0),qxt(C=qj($L(n.d.d),n.c.d),n.c.e.a,n.c.e.b),CO(u,(T=Gj(C,n.c.d)).a,T.b),qxt(S=qj($L(n.c.d),n.d.d),n.d.e.a,n.d.e.b),TO(u,(e=Gj(S,n.d.d)).a,e.b);for(o=new Kd(t.d);o.a<o.c.c.length;)a=$z(Z1(o),447),EO($z(yTt(a,soe),137),(f=Gj(a.d,x)).a,f.b);jKt(l,d-p+(k.b+k.c),g-b+(k.d+k.a),!1,!0)}function CKt(t){var e,n,i,r,a,o,s,c,u,l,h;for(n=null,s=null,(r=$z(yTt(t.b,(zYt(),ebe)),376))==(M6(),Qye)&&(n=new Lw,s=new Lw),o=new Kd(t.d);o.a<o.c.c.length;)if((a=$z(Z1(o),101)).i)switch(a.e.g){case 0:e=$z(a4(new WE(a.b)),61),r==Qye&&e==(vKt(),cMe)?n.c[n.c.length]=a:r==Qye&&e==(vKt(),TMe)?s.c[s.c.length]=a:Nmt(a,e);break;case 1:c=a.a.d.j,u=a.c.d.j,c==(vKt(),cMe)?hK(a,cMe,(Mst(),yue),a.a):u==cMe?hK(a,cMe,(Mst(),mue),a.c):c==TMe?hK(a,TMe,(Mst(),mue),a.a):u==TMe&&hK(a,TMe,(Mst(),yue),a.c);break;case 2:case 3:ED(i=a.b,(vKt(),cMe))?ED(i,TMe)?ED(i,SMe)?ED(i,sMe)||hK(a,cMe,(Mst(),mue),a.c):hK(a,cMe,(Mst(),yue),a.a):hK(a,cMe,(Mst(),wue),null):hK(a,TMe,(Mst(),wue),null);break;case 4:l=a.a.d.j,h=a.a.d.j,l==(vKt(),cMe)||h==cMe?hK(a,TMe,(Mst(),wue),null):hK(a,cMe,(Mst(),wue),null)}n&&(0==n.c.length||XFt(n,(vKt(),cMe)),0==s.c.length||XFt(s,(vKt(),TMe)))}function SKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;for(i=$z(yTt(t,(uWt(),dfe)),33),d=$z(yTt(t,(zYt(),$pe)),19).a,a=$z(yTt(t,vbe),19).a,Vwt(i,$pe,nft(d)),Vwt(i,vbe,nft(a)),Cnt(i,t.n.a+e.a),Snt(i,t.n.b+e.b),(0!=$z(ZOt(i,Rbe),174).gc()||t.e||HM(yTt(bW(t),jbe))===HM((Nyt(),yye))&&pO((fyt(),(t.q?t.q:(EV(),EV(),une))._b(Pbe)?$z(yTt(t,Pbe),197):$z(yTt(bW(t),Bbe),197))))&&(Tnt(i,t.o.a),Ent(i,t.o.b)),h=new Kd(t.j);h.a<h.c.c.length;)iN(g=yTt(u=$z(Z1(h),11),dfe),186)&&(EO(r=$z(g,118),u.n.a,u.n.b),Vwt(r,awe,u.j));for(f=0!=$z(yTt(t,Ibe),174).gc(),c=new Kd(t.b);c.a<c.c.c.length;)o=$z(Z1(c),70),(f||0!=$z(yTt(o,Ibe),174).gc())&&(_O(n=$z(yTt(o,dfe),137),o.o.a,o.o.b),EO(n,o.n.a,o.n.b));if(!Fq($z(yTt(t,iwe),21)))for(l=new Kd(t.j);l.a<l.c.c.length;)for(s=new Kd((u=$z(Z1(l),11)).f);s.a<s.c.c.length;)o=$z(Z1(s),70),Tnt(n=$z(yTt(o,dfe),137),o.o.a),Ent(n,o.o.b),EO(n,o.n.a,o.n.b)}function AKt(t){var e,n,i,r,a;switch(AQ(t,n8t),(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i+(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c).i){case 0:throw Fw(new jv("The edge must have at least one source or target."));case 1:return 0==(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i?VZ(CEt($z(Yet((!t.c&&(t.c=new cR(PIe,t,5,8)),t.c),0),82))):VZ(CEt($z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82)))}if(1==(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b).i&&1==(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c).i){if(r=CEt($z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82)),a=CEt($z(Yet((!t.c&&(t.c=new cR(PIe,t,5,8)),t.c),0),82)),VZ(r)==VZ(a))return VZ(r);if(r==VZ(a))return r;if(a==VZ(r))return a}for(e=CEt($z(G5(i=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[(!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),(!t.c&&(t.c=new cR(PIe,t,5,8)),t.c)])))),82));gOt(i);)if((n=CEt($z(G5(i),82)))!=e&&!Set(n,e))if(VZ(n)==VZ(e))e=VZ(n);else if(!(e=FLt(e,n)))return null;return e}function MKt(t,e,n){var r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k;for(MEt(n,"Polyline edge routing",1),y=Hv(_B(yTt(e,(zYt(),Jpe)))),p=Hv(_B(yTt(e,Mwe))),a=Hv(_B(yTt(e,mwe))),r=i.Math.min(1,a/p),x=0,u=0,0!=e.b.c.length&&(x=.4*r*(k=uNt($z(NU(e.b,0),29)))),c=new _2(e.b,0);c.b<c.d.gc();){for(TP(c.b<c.d.gc()),(o=YM(s=$z(c.d.Xb(c.c=c.b++),29),vve))&&x>0&&(x-=p),_Ut(s,x),f=0,g=new Kd(s.a);g.a<g.c.c.length;){for(h=0,w=new oq(QN(hdt(d=$z(Z1(g),10)).a.Kc(),new l));gOt(w);)m=g1((b=$z(G5(w),17)).c).b,v=g1(b.d).b,s==b.d.i.c&&!h5(b)&&(WMt(b,x,.4*r*i.Math.abs(m-v)),b.c.j==(vKt(),SMe)&&(m=0,v=0)),h=i.Math.max(h,i.Math.abs(v-m));switch(d.k.g){case 0:case 4:case 1:case 3:case 5:UUt(t,d,x,y)}f=i.Math.max(f,h)}c.b<c.d.gc()&&(k=uNt((TP(c.b<c.d.gc()),$z(c.d.Xb(c.c=c.b++),29))),f=i.Math.max(f,k),TP(c.b>0),c.a.Xb(c.c=--c.b)),u=.4*r*f,!o&&c.b<c.d.gc()&&(u+=p),x+=s.c.a+u}t.a.a.$b(),e.f.a=x,zCt(n)}function IKt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y;for(u=new Nw,s=new pZ,i=new Kd(t.a.a.b);i.a<i.c.c.length;)if(c=u2(e=$z(Z1(i),57)))xAt(u.f,c,e);else if(y=u3(e))for(r=new Kd(y.k);r.a<r.c.c.length;)QMt(s,$z(Z1(r),17),e);for(n=new Kd(t.a.a.b);n.a<n.c.c.length;)if(c=u2(e=$z(Z1(n),57)))for(o=new oq(QN(hdt(c).a.Kc(),new l));gOt(o);)if(!h5(a=$z(G5(o),17))&&(g=a.c,w=a.d,!(vKt(),mMe).Hc(a.c.j)||!mMe.Hc(a.d.j))){if(p=$z(PY(u,a.d.i),57),qDt(rT(iT(aT(nT(new Fy,0),100),t.c[e.a.d]),t.c[p.a.d])),g.j==SMe&&Iq((pat(),g)))for(f=$z(c6(s,a),21).Kc();f.Ob();)if((h=$z(f.Pb(),57)).d.c<e.d.c){if((d=t.c[h.a.d])==(b=t.c[e.a.d]))continue;qDt(rT(iT(aT(nT(new Fy,1),100),d),b))}if(w.j==sMe&&Mq((pat(),w)))for(f=$z(c6(s,a),21).Kc();f.Ob();)if((h=$z(f.Pb(),57)).d.c>e.d.c){if((d=t.c[e.a.d])==(b=t.c[h.a.d]))continue;qDt(rT(iT(aT(nT(new Fy,1),100),d),b))}}}function OKt(t){var e,n,i,r,a,o,s,c;if(BHt(),null==t)return null;if((r=HI(t,VEt(37)))<0)return t;for(c=new lD(t.substr(0,r)),e=N8(ODe,w6t,25,4,15,1),s=0,i=0,o=t.length;r<o;r++)if(h1(r,t.length),37==t.charCodeAt(r)&&t.length>r+2&&tct((h1(r+1,t.length),t.charCodeAt(r+1)),COe,SOe)&&tct((h1(r+2,t.length),t.charCodeAt(r+2)),COe,SOe))if(n=CH((h1(r+1,t.length),t.charCodeAt(r+1)),(h1(r+2,t.length),t.charCodeAt(r+2))),r+=2,i>0?128==(192&n)?e[s++]=n<<24>>24:i=0:n>=128&&(192==(224&n)?(e[s++]=n<<24>>24,i=2):224==(240&n)?(e[s++]=n<<24>>24,i=3):240==(248&n)&&(e[s++]=n<<24>>24,i=4)),i>0){if(s==i){switch(s){case 2:NY(c,((31&e[0])<<6|63&e[1])&XXt);break;case 3:NY(c,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&XXt)}s=0,i=0}}else{for(a=0;a<s;++a)NY(c,e[a]&XXt);s=0,c.a+=String.fromCharCode(n)}else{for(a=0;a<s;++a)NY(c,e[a]&XXt);s=0,NY(c,(h1(r,t.length),t.charCodeAt(r)))}return c.a}function LKt(t,e,n,i,r){var a,o,s;if(ytt(t,e),o=e[0],a=uX(n.c,0),s=-1,Vct(n))if(i>0){if(o+i>t.length)return!1;s=qMt(t.substr(0,o+i),e)}else s=qMt(t,e);switch(a){case 71:return s=GEt(t,o,Cst(Hx(zee,1),cXt,2,6,[lVt,hVt]),e),r.e=s,!0;case 77:return pBt(t,e,r,s,o);case 76:return bBt(t,e,r,s,o);case 69:return iAt(t,e,o,r);case 99:return rAt(t,e,o,r);case 97:return s=GEt(t,o,Cst(Hx(zee,1),cXt,2,6,["AM","PM"]),e),r.b=s,!0;case 121:return wBt(t,e,o,s,n,r);case 100:return!(s<=0||(r.c=s,0));case 83:return!(s<0)&&xgt(s,o,e[0],r);case 104:12==s&&(s=0);case 75:case 72:return!(s<0||(r.f=s,r.g=!1,0));case 107:return!(s<0||(r.f=s,r.g=!0,0));case 109:return!(s<0||(r.j=s,0));case 115:return!(s<0||(r.n=s,0));case 90:if(o<t.length&&(h1(o,t.length),90==t.charCodeAt(o)))return++e[0],r.o=0,!0;case 122:case 118:return SEt(t,o,e,r);default:return!1}}function NKt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(d=$z($z(c6(t.r,e),21),84),e!=(vKt(),sMe)&&e!=SMe){for(o=e==cMe?(Pot(),Nre):(Pot(),Bre),x=e==cMe?(H9(),rre):(H9(),nre),a=(r=(n=$z(oX(t.b,e),124)).i).c+Lct(Cst(Hx(LDe,1),HVt,25,15,[n.n.b,t.C.b,t.k])),y=r.c+r.b-Lct(Cst(Hx(LDe,1),HVt,25,15,[n.n.c,t.C.c,t.k])),s=Qx(F$(o),t.t),m=e==cMe?jVt:BVt,f=d.Kc();f.Ob();)(l=$z(f.Pb(),111)).c&&!(l.c.d.c.length<=0)&&(w=l.b.rf(),b=l.e,(p=(g=l.c).i).b=(u=g.n,g.e.a+u.b+u.c),p.a=(c=g.n,g.e.b+c.d+c.a),AQ(x,oZt),g.f=x,l7(g,(V7(),Zie)),p.c=b.a-(p.b-w.a)/2,k=i.Math.min(a,b.a),_=i.Math.max(y,b.a+w.a),p.c<k?p.c=k:p.c+p.b>_&&(p.c=_-p.b),Kz(s.d,new NG(p,vft(s,p))),m=e==cMe?i.Math.max(m,b.b+l.b.rf().b):i.Math.min(m,b.b));for(m+=e==cMe?t.t:-t.t,(v=Cgt((s.e=m,s)))>0&&($z(oX(t.b,e),124).a.b=v),h=d.Kc();h.Ob();)(l=$z(h.Pb(),111)).c&&!(l.c.d.c.length<=0)&&((p=l.c.i).c-=l.e.a,p.d-=l.e.b)}else aKt(t,e)}function DKt(t){var e,n,i,r,a,o,s,c,u,h;for(e=new Nw,o=new MN(t);o.e!=o.i.gc();){for(a=$z(vwt(o),33),n=new Py,YW(_ae,a,n),h=new oe,i=$z(T4(new PU(null,new UK(new oq(QN(dNt(a).a.Kc(),new l)))),EG(h,w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[(Hut(),Xne)])))),83),Qnt(n,$z(i.xc((cD(),!0)),14),new se),r=$z(T4(MX($z(i.xc(!1),15).Lc(),new ce),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[Xne]))),15).Kc();r.Ob();)(u=STt($z(r.Pb(),79)))&&((s=$z(zM(MQ(e.f,u)),21))||(s=MPt(u),xAt(e.f,u,s)),$rt(n,s));for(i=$z(T4(new PU(null,new UK(new oq(QN(gNt(a).a.Kc(),new l)))),EG(h,w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[Xne])))),83),Qnt(n,$z(i.xc(!0),14),new ue),c=$z(T4(MX($z(i.xc(!1),15).Lc(),new le),w7(new H,new z,new it,Cst(Hx(Zne,1),OXt,132,0,[Xne]))),15).Kc();c.Ob();)(u=ATt($z(c.Pb(),79)))&&((s=$z(zM(MQ(e.f,u)),21))||(s=MPt(u),xAt(e.f,u,s)),$rt(n,s))}}function PKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(oHt(),(c=Wlt(t,0)<0)&&(t=v9(t)),0==Wlt(t,0))switch(e){case 0:return"0";case 1:return YVt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(d=new Cx).a+=e<0?"0E+":"0E",d.a+=e==RXt?"2147483648":""+-e,d.a}h=N8(SDe,YXt,25,1+(l=18),15,1),n=l,p=t;do{u=p,p=Mkt(p,10),h[--n]=dG(idt(48,ndt(u,rdt(p,10))))&XXt}while(0!=Wlt(p,0));if(r=ndt(ndt(ndt(l,n),e),1),0==e)return c&&(h[--n]=45),Fpt(h,n,l-n);if(e>0&&Wlt(r,-6)>=0){if(Wlt(r,0)>=0){for(a=n+dG(r),s=l-1;s>=a;s--)h[s+1]=h[s];return h[++a]=46,c&&(h[--n]=45),Fpt(h,n,l-n+1)}for(o=2;sC(o,idt(v9(r),1));o++)h[--n]=48;return h[--n]=46,h[--n]=48,c&&(h[--n]=45),Fpt(h,n,l-n)}return g=n+1,i=l,f=new Sx,c&&(f.a+="-"),i-g>=1?(NY(f,h[n]),f.a+=".",f.a+=Fpt(h,n+1,l-n-1)):f.a+=Fpt(h,n,l-n),f.a+="E",Wlt(r,0)>0&&(f.a+="+"),f.a+=""+bq(r),f.a}function BKt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(t.e.a.$b(),t.f.a.$b(),t.c.c=N8(Ite,zWt,1,0,5,1),t.i.c=N8(Ite,zWt,1,0,5,1),t.g.a.$b(),e)for(o=new Kd(e.a);o.a<o.c.c.length;)for(l=PCt(a=$z(Z1(o),10),(vKt(),sMe)).Kc();l.Ob();)for(u=$z(l.Pb(),11),kK(t.e,u),r=new Kd(u.g);r.a<r.c.c.length;)!h5(i=$z(Z1(r),17))&&(Kz(t.c,i),bwt(t,i),((s=i.c.i.k)==(oCt(),Sse)||s==Ase||s==Ese||s==_se)&&Kz(t.j,i),(h=(f=i.d).i.c)==n?kK(t.f,f):h==e?kK(t.e,f):y9(t.c,i));if(n)for(o=new Kd(n.a);o.a<o.c.c.length;){for(c=new Kd((a=$z(Z1(o),10)).j);c.a<c.c.c.length;)for(r=new Kd($z(Z1(c),11).g);r.a<r.c.c.length;)h5(i=$z(Z1(r),17))&&kK(t.g,i);for(l=PCt(a,(vKt(),SMe)).Kc();l.Ob();)for(u=$z(l.Pb(),11),kK(t.f,u),r=new Kd(u.g);r.a<r.c.c.length;)!h5(i=$z(Z1(r),17))&&(Kz(t.c,i),bwt(t,i),((s=i.c.i.k)==(oCt(),Sse)||s==Ase||s==Ese||s==_se)&&Kz(t.j,i),(h=(f=i.d).i.c)==n?kK(t.f,f):h==e?kK(t.e,f):y9(t.c,i))}}function jKt(t,e,n,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(w=new NA(t.g,t.f),(b=KSt(t)).a=i.Math.max(b.a,e),b.b=i.Math.max(b.b,n),_=b.a/w.a,h=b.b/w.b,x=b.a-w.a,u=b.b-w.b,r)for(s=VZ(t)?$z(ZOt(VZ(t),(cWt(),hCe)),103):$z(ZOt(t,(cWt(),hCe)),103),c=HM(ZOt(t,(cWt(),aSe)))===HM((X_t(),KAe)),m=new MN((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));m.e!=m.i.gc();)switch(y=$z(vwt(m),118),v=$z(ZOt(y,fSe),61),v==(vKt(),CMe)&&(v=MFt(y,s),Vwt(y,fSe,v)),v.g){case 1:c||Cnt(y,y.i*_);break;case 2:Cnt(y,y.i+x),c||Snt(y,y.j*h);break;case 3:c||Cnt(y,y.i*_),Snt(y,y.j+u);break;case 4:c||Snt(y,y.j*h)}if(_O(t,b.a,b.b),a)for(d=new MN((!t.n&&(t.n=new tK(HIe,t,1,7)),t.n));d.e!=d.i.gc();)g=(f=$z(vwt(d),137)).i+f.g/2,p=f.j+f.f/2,(k=g/w.a)+(l=p/w.b)>=1&&(k-l>0&&p>=0?(Cnt(f,f.i+x),Snt(f,f.j+u*l)):k-l<0&&g>=0&&(Cnt(f,f.i+x*k),Snt(f,f.j+u)));return Vwt(t,(cWt(),BCe),(ypt(),new XR(o=$z(Yk(FMe),9),$z(Ej(o,o.length),9),0))),new NA(_,h)}function RKt(t){var e,n,r,a,o,s,c,u,l,h,f;if(h=VZ(CEt($z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82)))==VZ(CEt($z(Yet((!t.c&&(t.c=new cR(PIe,t,5,8)),t.c),0),82))),s=new Hk,(e=$z(ZOt(t,(Kut(),cAe)),74))&&e.b>=2){if(0==(!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i)Jk(),n=new oc,u7((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a),n);else if((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i>1)for(f=new iP((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a));f.e!=f.i.gc();)Xkt(f);WFt(e,$z(Yet((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a),0),202))}if(h)for(r=new MN((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a));r.e!=r.i.gc();)for(u=new MN((!(n=$z(vwt(r),202)).a&&(n.a=new IN(LIe,n,5)),n.a));u.e!=u.i.gc();)c=$z(vwt(u),469),s.a=i.Math.max(s.a,c.a),s.b=i.Math.max(s.b,c.b);for(o=new MN((!t.n&&(t.n=new tK(HIe,t,1,7)),t.n));o.e!=o.i.gc();)a=$z(vwt(o),137),(l=$z(ZOt(a,gAe),8))&&EO(a,l.a,l.b),h&&(s.a=i.Math.max(s.a,a.i+a.g),s.b=i.Math.max(s.b,a.j+a.f));return s}function $Kt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(y=e.c.length,a=new HRt(t.a,n,null,null),_=N8(LDe,HVt,25,y,15,1),g=N8(LDe,HVt,25,y,15,1),d=N8(LDe,HVt,25,y,15,1),p=0,c=0;c<y;c++)g[c]=PWt,d[c]=RXt;for(u=0;u<y;u++)for(l1(u,e.c.length),r=$z(e.c[u],180),_[u]=wLt(r),_[p]>_[u]&&(p=u),h=new Kd(t.a.b);h.a<h.c.c.length;)for(w=new Kd($z(Z1(h),29).a);w.a<w.c.c.length;)b=$z(Z1(w),10),x=Hv(r.p[b.p])+Hv(r.d[b.p]),g[u]=i.Math.min(g[u],x),d[u]=i.Math.max(d[u],x+b.o.b);for(k=N8(LDe,HVt,25,y,15,1),l=0;l<y;l++)(l1(l,e.c.length),$z(e.c[l],180)).o==(oJ(),ive)?k[l]=g[p]-g[l]:k[l]=d[p]-d[l];for(o=N8(LDe,HVt,25,y,15,1),f=new Kd(t.a.b);f.a<f.c.c.length;)for(v=new Kd($z(Z1(f),29).a);v.a<v.c.c.length;){for(m=$z(Z1(v),10),s=0;s<y;s++)o[s]=Hv((l1(s,e.c.length),$z(e.c[s],180)).p[m.p])+Hv((l1(s,e.c.length),$z(e.c[s],180)).d[m.p])+k[s];o.sort(nnt(E.prototype.te,E,[])),a.p[m.p]=(o[1]+o[2])/2,a.d[m.p]=0}return a}function FKt(t,e,n){var i,r,a,o,s;switch(i=e.i,a=t.i.o,r=t.i.d,s=t.n,o=Ict(Cst(Hx(TTe,1),cXt,8,0,[s,t.a])),t.j.g){case 1:KB(e,(H9(),nre)),i.d=-r.d-n-i.a,$z($z(NU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),xAe)?(l7(e,(V7(),Zie)),i.c=o.a-Hv(_B(yTt(t,hfe)))-n-i.b):(l7(e,(V7(),Qie)),i.c=o.a+Hv(_B(yTt(t,hfe)))+n);break;case 2:l7(e,(V7(),Qie)),i.c=a.a+r.c+n,$z($z(NU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),xAe)?(KB(e,(H9(),nre)),i.d=o.b-Hv(_B(yTt(t,hfe)))-n-i.a):(KB(e,(H9(),rre)),i.d=o.b+Hv(_B(yTt(t,hfe)))+n);break;case 3:KB(e,(H9(),rre)),i.d=a.b+r.a+n,$z($z(NU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),xAe)?(l7(e,(V7(),Zie)),i.c=o.a-Hv(_B(yTt(t,hfe)))-n-i.b):(l7(e,(V7(),Qie)),i.c=o.a+Hv(_B(yTt(t,hfe)))+n);break;case 4:l7(e,(V7(),Zie)),i.c=-r.b-n-i.b,$z($z(NU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),xAe)?(KB(e,(H9(),nre)),i.d=o.b-Hv(_B(yTt(t,hfe)))-n-i.a):(KB(e,(H9(),rre)),i.d=o.b+Hv(_B(yTt(t,hfe)))+n)}}function zKt(t,e,n,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I;for(g=0,C=0,u=new Kd(t);u.a<u.c.c.length;)sqt(c=$z(Z1(u),33)),g=i.Math.max(g,c.g),C+=c.g*c.f;for(T=Zvt(t,C/t.c.length),C+=t.c.length*T,g=i.Math.max(g,i.Math.sqrt(C*s))+n.b,M=n.b,I=n.d,d=0,h=n.b+n.c,DH(E=new XE,nft(0)),k=new XE,l=new _2(t,0);l.b<l.d.gc();)TP(l.b<l.d.gc()),A=(c=$z(l.d.Xb(l.c=l.b++),33)).g,f=c.f,M+A>g&&(o&&(uI(k,d),uI(E,nft(l.b-1))),M=n.b,I+=d+e,d=0,h=i.Math.max(h,n.b+n.c+A)),Cnt(c,M),Snt(c,I),h=i.Math.max(h,M+A+n.c),d=i.Math.max(d,f),M+=A+e;if(h=i.Math.max(h,r),(S=I+d+n.a)<a&&(d+=a-S,S=a),o)for(M=n.b,l=new _2(t,0),uI(E,nft(t.c.length)),w=$z(h3(_=cwt(E,0)),19).a,uI(k,d),x=cwt(k,0),v=0;l.b<l.d.gc();)l.b==w&&(M=n.b,v=Hv(_B(h3(x))),w=$z(h3(_),19).a),TP(l.b<l.d.gc()),y=(c=$z(l.d.Xb(l.c=l.b++),33)).f,Ent(c,v),p=v,l.b==w&&(b=h-M-n.c,m=c.g,Tnt(c,b),hAt(c,new NA(b,p),new NA(m,y))),M+=c.g+e;return new NA(h,S)}function HKt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(MEt(e,"Compound graph postprocessor",1),n=zv(kB(yTt(t,(zYt(),Dwe)))),c=$z(yTt(t,(uWt(),Fhe)),224),h=new Py,y=c.ec().Kc();y.Ob();){for(w=$z(y.Pb(),17),s=new JR(c.cc(w)),EV(),wL(s,new jg(t)),k=rat((l1(0,s.c.length),$z(s.c[0],243))),E=aat($z(NU(s,s.c.length-1),243)),v=k.i,m=dot(E.i,v)?v.e:bW(v),f=Iwt(w,s),yV(w.a),d=null,o=new Kd(s);o.a<o.c.c.length;)a=$z(Z1(o),243),MSt(b=new Hk,a.a,m),g=a.b,Yut(r=new mm,0,g.a),Zet(r,b),x=new fO(g1(g.c)),_=new fO(g1(g.d)),Gj(x,b),Gj(_,b),d&&(0==r.b?p=_:(TP(0!=r.b),p=$z(r.a.a.c,8)),T=i.Math.abs(d.a-p.a)>hJt,C=i.Math.abs(d.b-p.b)>hJt,(!n&&T&&C||n&&(T||C))&&DH(w.a,x)),$rt(w.a,r),0==r.b?d=x:(TP(0!=r.b),d=$z(r.c.b.c,8)),Vot(g,f,b),aat(a)==E&&(bW(E.i)!=a.a&&MSt(b=new Hk,bW(E.i),m),uct(w,Pfe,b)),ECt(g,w,m),h.a.zc(g,h);EJ(w,k),_J(w,E)}for(l=h.a.ec().Kc();l.Ob();)EJ(u=$z(l.Pb(),17),null),_J(u,null);zCt(e)}function UKt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(1==t.gc())return $z(t.Xb(0),231);if(t.gc()<=0)return new y6;for(a=t.Kc();a.Ob();){for(n=$z(a.Pb(),231),p=0,h=PWt,f=PWt,u=RXt,l=RXt,g=new Kd(n.e);g.a<g.c.c.length;)d=$z(Z1(g),144),p+=$z(yTt(d,(ljt(),Qae)),19).a,h=i.Math.min(h,d.d.a-d.e.a/2),f=i.Math.min(f,d.d.b-d.e.b/2),u=i.Math.max(u,d.d.a+d.e.a/2),l=i.Math.max(l,d.d.b+d.e.b/2);uct(n,(ljt(),Qae),nft(p)),uct(n,(Ert(),ooe),new NA(h,f)),uct(n,aoe,new NA(u,l))}for(EV(),t.ad(new de),Hot(b=new y6,$z(t.Xb(0),94)),c=0,m=0,o=t.Kc();o.Ob();)n=$z(o.Pb(),231),w=qj($L($z(yTt(n,(Ert(),aoe)),8)),$z(yTt(n,ooe),8)),c=i.Math.max(c,w.a),m+=w.a*w.b;for(c=i.Math.max(c,i.Math.sqrt(m)*Hv(_B(yTt(b,(ljt(),Rae))))),v=0,x=0,s=0,e=y=Hv(_B(yTt(b,ioe))),r=t.Kc();r.Ob();)n=$z(r.Pb(),231),v+(w=qj($L($z(yTt(n,(Ert(),aoe)),8)),$z(yTt(n,ooe),8))).a>c&&(v=0,x+=s+y,s=0),WRt(b,n,v,x),e=i.Math.max(e,v+w.a),s=i.Math.max(s,w.b),v+=w.a+y;return b}function GKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;switch(l=new mm,t.a.g){case 3:f=$z(yTt(e.e,(uWt(),Lfe)),15),d=$z(yTt(e.j,Lfe),15),g=$z(yTt(e.f,Lfe),15),n=$z(yTt(e.e,Ife),15),i=$z(yTt(e.j,Ife),15),r=$z(yTt(e.f,Ife),15),pst(o=new Lw,f),d.Jc(new va),pst(o,iN(d,152)?o6($z(d,152)):iN(d,131)?$z(d,131).a:iN(d,54)?new uv(d):new CE(d)),pst(o,g),pst(a=new Lw,n),pst(a,iN(i,152)?o6($z(i,152)):iN(i,131)?$z(i,131).a:iN(i,54)?new uv(i):new CE(i)),pst(a,r),uct(e.f,Lfe,o),uct(e.f,Ife,a),uct(e.f,Nfe,e.f),uct(e.e,Lfe,null),uct(e.e,Ife,null),uct(e.j,Lfe,null),uct(e.j,Ife,null);break;case 1:$rt(l,e.e.a),DH(l,e.i.n),$rt(l,eot(e.j.a)),DH(l,e.a.n),$rt(l,e.f.a);break;default:$rt(l,e.e.a),$rt(l,eot(e.j.a)),$rt(l,e.f.a)}yV(e.f.a),$rt(e.f.a,l),EJ(e.f,e.e.c),s=$z(yTt(e.e,(zYt(),bbe)),74),u=$z(yTt(e.j,bbe),74),c=$z(yTt(e.f,bbe),74),(s||u||c)&&(TK(h=new mm,c),TK(h,u),TK(h,s),uct(e.f,bbe,h)),EJ(e.j,null),_J(e.j,null),EJ(e.e,null),_J(e.e,null),TJ(e.a,null),TJ(e.i,null),e.g&&GKt(t,e.g)}function qKt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(CFt(),null==t||(g=fft(a=Y9(t)))%4!=0)return null;if(0==(p=g/4|0))return N8(ODe,w6t,25,0,15,1);for(h=null,e=0,n=0,i=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,l=0,h=N8(ODe,w6t,25,3*p,15,1);d<p-1;d++){if(!(Y_(o=a[l++])&&Y_(s=a[l++])&&Y_(c=a[l++])&&Y_(u=a[l++])))return null;e=qNe[o],n=qNe[s],i=qNe[c],r=qNe[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24}return Y_(o=a[l++])&&Y_(s=a[l++])?(e=qNe[o],n=qNe[s],c=a[l++],u=a[l++],-1==qNe[c]||-1==qNe[u]?61==c&&61==u?15&n?null:(aHt(h,0,b=N8(ODe,w6t,25,3*d+1,15,1),0,3*d),b[f]=(e<<2|n>>4)<<24>>24,b):61!=c&&61==u?3&(i=qNe[c])?null:(aHt(h,0,b=N8(ODe,w6t,25,3*d+2,15,1),0,3*d),b[f++]=(e<<2|n>>4)<<24>>24,b[f]=((15&n)<<4|i>>2&15)<<24>>24,b):null:(i=qNe[c],r=qNe[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24,h)):null}function KKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(MEt(e,M1t,1),f=$z(yTt(t,(zYt(),Qpe)),218),i=new Kd(t.b);i.a<i.c.c.length;)for(o=0,s=(a=Z0($z(Z1(i),29).a)).length;o<s;++o)if((r=a[o]).k==(oCt(),Ase)){if(f==(Edt(),QSe))for(u=new Kd(r.j);u.a<u.c.c.length;)0==(c=$z(Z1(u),11)).e.c.length||Ibt(c),0==c.g.c.length||Obt(c);else if(iN(yTt(r,(uWt(),dfe)),17))g=$z(yTt(r,dfe),17),p=$z(PCt(r,(vKt(),SMe)).Kc().Pb(),11),b=$z(PCt(r,sMe).Kc().Pb(),11),w=$z(yTt(p,dfe),11),EJ(g,y=$z(yTt(b,dfe),11)),_J(g,w),(m=new fO(b.i.n)).a=Ict(Cst(Hx(TTe,1),cXt,8,0,[y.i.n,y.n,y.a])).a,DH(g.a,m),(m=new fO(p.i.n)).a=Ict(Cst(Hx(TTe,1),cXt,8,0,[w.i.n,w.n,w.a])).a,DH(g.a,m);else{if(r.j.c.length>=2){for(d=!0,n=$z(Z1(l=new Kd(r.j)),11),h=null;l.a<l.c.c.length;)if(h=n,n=$z(Z1(l),11),!Nht(yTt(h,dfe),yTt(n,dfe))){d=!1;break}}else d=!1;for(u=new Kd(r.j);u.a<u.c.c.length;)0==(c=$z(Z1(u),11)).e.c.length||oPt(c,d),0==c.g.c.length||sPt(c,d)}TJ(r,null)}zCt(e)}function YKt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;return v=t.c[(l1(0,e.c.length),$z(e.c[0],17)).p],E=t.c[(l1(1,e.c.length),$z(e.c[1],17)).p],!(v.a.e.e-v.a.a-(v.b.e.e-v.b.a)==0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)==0||(y=v.b.e.f,!iN(y,10))||(w=$z(y,10),k=t.i[w.p],_=w.c?x9(w.c.a,w,0):-1,o=BVt,_>0&&(a=$z(NU(w.c.a,_-1),10),s=t.i[a.p],T=i.Math.ceil(BL(t.n,a,w)),o=k.a.e-w.d.d-(s.a.e+a.o.b+a.d.a)-T),l=BVt,_<w.c.a.c.length-1&&(u=$z(NU(w.c.a,_+1),10),h=t.i[u.p],T=i.Math.ceil(BL(t.n,u,w)),l=h.a.e-u.d.d-(k.a.e+w.o.b+w.d.a)-T),!(n&&(cL(),iit(I3t),i.Math.abs(o-l)<=I3t||o==l||isNaN(o)&&isNaN(l)))&&(r=rY(v.a),c=-rY(v.b),f=-rY(E.a),m=rY(E.b),b=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)>0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)<0,p=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)<0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)>0,g=v.a.e.e+v.b.a<E.b.e.e+E.a.a,d=v.a.e.e+v.b.a>E.b.e.e+E.a.a,x=0,!b&&!p&&(d?o+f>0?x=f:l-r>0&&(x=r):g&&(o+c>0?x=c:l-m>0&&(x=m))),k.a.e+=x,k.b&&(k.d.e+=x),1)))}function WKt(t,e,n){var r,a,o,s,c,u,l,h,f,d;if(r=new GX(e.qf().a,e.qf().b,e.rf().a,e.rf().b),a=new hO,t.c)for(s=new Kd(e.wf());s.a<s.c.c.length;)o=$z(Z1(s),181),a.c=o.qf().a+e.qf().a,a.d=o.qf().b+e.qf().b,a.b=o.rf().a,a.a=o.rf().b,SSt(r,a);for(l=new Kd(e.Cf());l.a<l.c.c.length;){if(h=(u=$z(Z1(l),838)).qf().a+e.qf().a,f=u.qf().b+e.qf().b,t.e&&(a.c=h,a.d=f,a.b=u.rf().a,a.a=u.rf().b,SSt(r,a)),t.d)for(s=new Kd(u.wf());s.a<s.c.c.length;)o=$z(Z1(s),181),a.c=o.qf().a+h,a.d=o.qf().b+f,a.b=o.rf().a,a.a=o.rf().b,SSt(r,a);if(t.b){if(d=new NA(-n,-n),$z(e.We((cWt(),uSe)),174).Hc((hMt(),iMe)))for(s=new Kd(u.wf());s.a<s.c.c.length;)o=$z(Z1(s),181),d.a+=o.rf().a+n,d.b+=o.rf().b+n;d.a=i.Math.max(d.a,0),d.b=i.Math.max(d.b,0),K$t(r,u.Bf(),u.zf(),e,u,d,n)}}t.b&&K$t(r,e.Bf(),e.zf(),e,null,null,n),(c=new M$(e.Af())).d=i.Math.max(0,e.qf().b-r.d),c.a=i.Math.max(0,r.d+r.a-(e.qf().b+e.rf().b)),c.b=i.Math.max(0,e.qf().a-r.c),c.c=i.Math.max(0,r.c+r.b-(e.qf().a+e.rf().a)),e.Ef(c)}function XKt(){var t=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"];return t[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",t}function VKt(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(c=new Lw,h=e.length,o=Act(n),u=0;u<h;++u){switch(l=yD(e,VEt(61),u),a=(r=ost(i=lft(o,e.substr(u,l-u)))).Aj().Nh(),uX(e,++l)){case 39:s=lP(e,39,++l),Kz(c,new CM(i,XX(e.substr(l,s-l),a,r))),u=s+1;break;case 34:s=lP(e,34,++l),Kz(c,new CM(i,XX(e.substr(l,s-l),a,r))),u=s+1;break;case 91:Kz(c,new CM(i,f=new Lw));t:for(;;){switch(uX(e,++l)){case 39:s=lP(e,39,++l),Kz(f,XX(e.substr(l,s-l),a,r)),l=s+1;break;case 34:s=lP(e,34,++l),Kz(f,XX(e.substr(l,s-l),a,r)),l=s+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw Fw(new dv(a6t));f.c[f.c.length]=null,l+=3}if(!(l<h))break;switch(h1(l,e.length),e.charCodeAt(l)){case 44:break;case 93:break t;default:throw Fw(new dv("Expecting , or ]"))}}u=l+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw Fw(new dv(a6t));Kz(c,new CM(i,null)),u=l+3}if(!(u<h))break;if(h1(u,e.length),44!=e.charCodeAt(u))throw Fw(new dv("Expecting ,"))}return nBt(t,c,n)}function QKt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(u=$z($z(c6(t.r,e),21),84),o=QEt(t,e),n=t.u.Hc((hMt(),JAe)),c=u.Kc();c.Ob();)if((s=$z(c.Pb(),111)).c&&!(s.c.d.c.length<=0)){switch(f=s.b.rf(),(h=(l=s.c).i).b=(a=l.n,l.e.a+a.b+a.c),h.a=(r=l.n,l.e.b+r.d+r.a),e.g){case 1:s.a?(h.c=(f.a-h.b)/2,l7(l,(V7(),Vie))):o||n?(h.c=-h.b-t.s,l7(l,(V7(),Zie))):(h.c=f.a+t.s,l7(l,(V7(),Qie))),h.d=-h.a-t.t,KB(l,(H9(),nre));break;case 3:s.a?(h.c=(f.a-h.b)/2,l7(l,(V7(),Vie))):o||n?(h.c=-h.b-t.s,l7(l,(V7(),Zie))):(h.c=f.a+t.s,l7(l,(V7(),Qie))),h.d=f.b+t.t,KB(l,(H9(),rre));break;case 2:s.a?(i=t.v?h.a:$z(NU(l.d,0),181).rf().b,h.d=(f.b-i)/2,KB(l,(H9(),ire))):o||n?(h.d=-h.a-t.t,KB(l,(H9(),nre))):(h.d=f.b+t.t,KB(l,(H9(),rre))),h.c=f.a+t.s,l7(l,(V7(),Qie));break;case 4:s.a?(i=t.v?h.a:$z(NU(l.d,0),181).rf().b,h.d=(f.b-i)/2,KB(l,(H9(),ire))):o||n?(h.d=-h.a-t.t,KB(l,(H9(),nre))):(h.d=f.b+t.t,KB(l,(H9(),rre))),h.c=-h.b-t.s,l7(l,(V7(),Zie))}o=!1}}function ZKt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(dWt(),0==LE(tDe)){for(h=N8(CDe,cXt,117,nDe.length,0,1),o=0;o<h.length;o++)h[o]=new _0(4);for(i=new Tx,a=0;a<JNe.length;a++){if(l=new _0(4),a<84?(h1(s=2*a,wte.length),f=wte.charCodeAt(s),h1(s+1,wte.length),VPt(l,f,wte.charCodeAt(s+1))):VPt(l,iDe[s=2*(a-84)],iDe[s+1]),wR(c=JNe[a],"Specials")&&VPt(l,65520,65533),wR(c,pte)&&(VPt(l,983040,1048573),VPt(l,1048576,1114109)),wJ(tDe,c,l),wJ(eDe,c,OFt(l)),0<(u=i.a.length)?i.a=i.a.substr(0,0):0>u&&(i.a+=nN(N8(SDe,YXt,25,-u,15,1))),i.a+="Is",HI(c,VEt(32))>=0)for(r=0;r<c.length;r++)h1(r,c.length),32!=c.charCodeAt(r)&&LY(i,(h1(r,c.length),c.charCodeAt(r)));else i.a+=""+c;_pt(i.a,c,!0)}_pt(bte,"Cn",!1),_pt(yte,"Cn",!0),VPt(n=new _0(4),0,ote),wJ(tDe,"ALL",n),wJ(eDe,"ALL",OFt(n)),!_De&&(_De=new Nw),wJ(_De,bte,bte),!_De&&(_De=new Nw),wJ(_De,yte,yte),!_De&&(_De=new Nw),wJ(_De,"ALL","ALL")}return $z(EZ(e?tDe:eDe,t),136)}function JKt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(f=!1,h=!1,bO($z(yTt(i,(zYt(),twe)),98))){o=!1,s=!1;t:for(g=new Kd(i.j);g.a<g.c.c.length;)for(d=$z(Z1(g),11),b=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[new Fg(d),new Hg(d)])));gOt(b);)if(p=$z(G5(b),11),!zv(kB(yTt(p.i,kpe)))){if(d.j==(vKt(),cMe)){o=!0;break t}if(d.j==TMe){s=!0;break t}}f=s&&!o,h=o&&!s}if(f||h||0==i.b.c.length)y=!h;else{for(l=0,u=new Kd(i.b);u.a<u.c.c.length;)l+=(c=$z(Z1(u),70)).n.b+c.o.b/2;y=(l/=i.b.c.length)>=i.o.b/2}y?(w=$z(yTt(i,(uWt(),Bfe)),15))?f?a=w:(r=$z(yTt(i,Dhe),15))?a=w.gc()<=r.gc()?w:r:(a=new Lw,uct(i,Dhe,a)):(a=new Lw,uct(i,Bfe,a)):(r=$z(yTt(i,(uWt(),Dhe)),15))?h?a=r:(w=$z(yTt(i,Bfe),15))?a=r.gc()<=w.gc()?r:w:(a=new Lw,uct(i,Bfe,a)):(a=new Lw,uct(i,Dhe,a)),a.Fc(t),uct(t,(uWt(),Bhe),n),e.d==n?(_J(e,null),n.e.c.length+n.g.c.length==0&&CJ(n,null),put(n)):(EJ(e,null),n.e.c.length+n.g.c.length==0&&CJ(n,null)),yV(e.a)}function tYt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M;for(y=new _2(t.b,0),p=0,u=$z((h=e.Kc()).Pb(),19).a,x=0,n=new Py,_=new uO;y.b<y.d.gc();){for(TP(y.b<y.d.gc()),v=new Kd($z(y.d.Xb(y.c=y.b++),29).a);v.a<v.c.c.length;){for(g=new oq(QN(hdt(m=$z(Z1(v),10)).a.Kc(),new l));gOt(g);)f=$z(G5(g),17),_.a.zc(f,_);for(d=new oq(QN(ldt(m).a.Kc(),new l));gOt(d);)f=$z(G5(d),17),_.a.Bc(f)}if(p+1==u){for(yj(y,r=new FY(t)),yj(y,a=new FY(t)),T=_.a.ec().Kc();T.Ob();)E=$z(T.Pb(),17),n.a._b(E)||(++x,n.a.zc(E,n)),uct(o=new Oyt(t),(zYt(),twe),(X_t(),WAe)),TJ(o,r),$f(o,(oCt(),_se)),CJ(b=new SCt,o),HAt(b,(vKt(),SMe)),CJ(C=new SCt,o),HAt(C,sMe),uct(i=new Oyt(t),twe,WAe),TJ(i,a),$f(i,_se),CJ(w=new SCt,i),HAt(w,SMe),CJ(S=new SCt,i),HAt(S,sMe),EJ(k=new fQ,E.c),_J(k,b),EJ(M=new fQ,C),_J(M,w),EJ(E,S),s=new b3(o,i,k,M,E),uct(o,(uWt(),Phe),s),uct(i,Phe,s),(A=k.c.i).k==_se&&((c=$z(yTt(A,Phe),305)).d=s,s.g=c);if(!h.Ob())break;u=$z(h.Pb(),19).a}++p}return nft(x)}function eYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(h=0,r=new MN((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));r.e!=r.i.gc();)zv(kB(ZOt(i=$z(vwt(r),33),(zYt(),Hbe))))||((HM(ZOt(e,Ope))!==HM((yct(),Nye))||HM(ZOt(e,Hpe))===HM((Wyt(),kle))||HM(ZOt(e,Hpe))===HM((Wyt(),vle))||zv(kB(ZOt(e,Npe)))||HM(ZOt(e,Cpe))!==HM((Fht(),dse)))&&!zv(kB(ZOt(i,Ipe)))&&(Vwt(i,(uWt(),ffe),nft(h)),++h),dqt(t,i,n));for(h=0,u=new MN((!e.b&&(e.b=new tK(BIe,e,12,3)),e.b));u.e!=u.i.gc();)s=$z(vwt(u),79),(HM(ZOt(e,(zYt(),Ope)))!==HM((yct(),Nye))||HM(ZOt(e,Hpe))===HM((Wyt(),kle))||HM(ZOt(e,Hpe))===HM((Wyt(),vle))||zv(kB(ZOt(e,Npe)))||HM(ZOt(e,Cpe))!==HM((Fht(),dse)))&&(Vwt(s,(uWt(),ffe),nft(h)),++h),g=CTt(s),p=MTt(s),l=zv(kB(ZOt(g,fbe))),d=!zv(kB(ZOt(s,Hbe))),f=l&&XMt(s)&&zv(kB(ZOt(s,dbe))),a=VZ(g)==e&&VZ(g)==VZ(p),o=(VZ(g)==e&&p==e)^(VZ(p)==e&&g==e),d&&!f&&(o||a)&&oWt(t,s,e,n);if(VZ(e))for(c=new MN(eV(VZ(e)));c.e!=c.i.gc();)(g=CTt(s=$z(vwt(c),79)))==e&&XMt(s)&&(f=zv(kB(ZOt(g,(zYt(),fbe))))&&zv(kB(ZOt(s,dbe))))&&oWt(t,s,e,n)}function nYt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O;for(MEt(n,"MinWidth layering",1),g=e.b,E=e.a,O=$z(yTt(e,(zYt(),xbe)),19).a,c=$z(yTt(e,kbe),19).a,t.b=Hv(_B(yTt(e,ywe))),t.d=BVt,x=new Kd(E);x.a<x.c.c.length;)(m=$z(Z1(x),10)).k==(oCt(),Sse)&&(S=m.o.b,t.d=i.Math.min(t.d,S));for(t.d=i.Math.max(1,t.d),T=E.c.length,t.c=N8(ADe,uVt,25,T,15,1),t.f=N8(ADe,uVt,25,T,15,1),t.e=N8(LDe,HVt,25,T,15,1),l=0,t.a=0,k=new Kd(E);k.a<k.c.c.length;)(m=$z(Z1(k),10)).p=l++,t.c[m.p]=dlt(ldt(m)),t.f[m.p]=dlt(hdt(m)),t.e[m.p]=m.o.b/t.d,t.a+=t.e[m.p];for(t.b/=t.d,t.a/=T,_=xIt(E),wL(E,WW(new Bp(t))),b=BVt,p=PWt,s=null,I=O,M=O,o=c,a=c,O<0&&(I=$z(kme.a.zd(),19).a,M=$z(kme.b.zd(),19).a),c<0&&(o=$z(xme.a.zd(),19).a,a=$z(xme.b.zd(),19).a),A=I;A<=M;A++)for(r=o;r<=a;r++)y=Hv(_B((C=Lzt(t,A,r,E,_)).a)),w=(d=$z(C.b,15)).gc(),(y<b||y==b&&w<p)&&(b=y,p=w,s=d);for(f=s.Kc();f.Ob();){for(h=$z(f.Pb(),15),u=new FY(e),v=h.Kc();v.Ob();)TJ(m=$z(v.Pb(),10),u);g.c[g.c.length]=u}QSt(g),E.c=N8(Ite,zWt,1,0,5,1),zCt(n)}function iYt(t,e){var n,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(t.b=e,t.a=$z(yTt(e,(zYt(),cbe)),19).a,t.c=$z(yTt(e,lbe),19).a,0==t.c&&(t.c=PWt),b=new _2(e.b,0);b.b<b.d.gc();){for(TP(b.b<b.d.gc()),p=$z(b.d.Xb(b.c=b.b++),29),c=new Lw,f=-1,v=-1,m=new Kd(p.a);m.a<m.c.c.length;)y=$z(Z1(m),10),R3((z$(),new oq(QN(udt(y).a.Kc(),new l))))>=t.a&&(r=mzt(t,y),f=i.Math.max(f,r.b),v=i.Math.max(v,r.d),Kz(c,new nM(y,r)));for(_=new Lw,h=0;h<f;++h)mG(_,0,(TP(b.b>0),b.a.Xb(b.c=--b.b),yj(b,E=new FY(t.b)),TP(b.b<b.d.gc()),b.d.Xb(b.c=b.b++),E));for(s=new Kd(c);s.a<s.c.c.length;)if(a=$z(Z1(s),46),g=$z(a.b,571).a)for(d=new Kd(g);d.a<d.c.c.length;)oxt(t,$z(Z1(d),10),Gse,_);for(n=new Lw,u=0;u<v;++u)Kz(n,(yj(b,T=new FY(t.b)),T));for(o=new Kd(c);o.a<o.c.c.length;)if(a=$z(Z1(o),46),k=$z(a.b,571).c)for(x=new Kd(k);x.a<x.c.c.length;)oxt(t,$z(Z1(x),10),qse,n)}for(w=new _2(e.b,0);w.b<w.d.gc();)TP(w.b<w.d.gc()),0==$z(w.d.Xb(w.c=w.b++),29).a.c.length&&uW(w)}function rYt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(MEt(n,"Spline edge routing",1),0==e.b.c.length)return e.f.a=0,void zCt(n);y=Hv(_B(yTt(e,(zYt(),Mwe)))),c=Hv(_B(yTt(e,kwe))),s=Hv(_B(yTt(e,mwe))),E=$z(yTt(e,nbe),336)==(qut(),ime),_=Hv(_B(yTt(e,ibe))),t.d=e,t.j.c=N8(Ite,zWt,1,0,5,1),t.a.c=N8(Ite,zWt,1,0,5,1),IK(t.k),h=YM((u=$z(NU(e.b,0),29)).a,(gPt(),vve)),f=YM((p=$z(NU(e.b,e.b.c.length-1),29)).a,vve),b=new Kd(e.b),w=null,A=0;do{for(BKt(t,w,m=b.a<b.c.c.length?$z(Z1(b),29):null),EFt(t),S=0,v=A,d=!w||h&&w==u,g=!m||f&&m==p,(T=jx(iat(LX(MX(new PU(null,new f1(t.i,16)),new xo),new vo))))>0?(l=0,w&&(l+=c),l+=(T-1)*s,m&&(l+=c),E&&m&&(l=i.Math.max(l,JDt(m,s,y,_))),l<y&&!d&&!g&&(S=(y-l)/2,l=y),v+=l):!d&&!g&&(v+=y),m&&_Ut(m,v),k=new Kd(t.i);k.a<k.c.c.length;)(x=$z(Z1(k),128)).a.c=A,x.a.b=v-A,x.F=S,x.p=!w;pst(t.a,t.i),A=v,m&&(A+=m.c.a),w=m,d=g}while(m);for(a=new Kd(t.j);a.a<a.c.c.length;)o=yot(t,r=$z(Z1(a),17)),uct(r,(uWt(),Ife),o),C=PPt(t,r),uct(r,Lfe,C);e.f.a=A,t.d=null,zCt(n)}function aYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;if(p=0!=t.i,y=!1,b=null,wO(t.e)){if((l=e.gc())>0){for(f=l<100?null:new Rk(l),g=(u=new xat(e)).g,b=N8(ADe,uVt,25,l,15,1),i=0,m=new pet(l),r=0;r<t.i;++r){d=s=t.g[r];t:for(w=0;w<2;++w){for(c=l;--c>=0;)if(null!=d?Nht(d,g[c]):HM(d)===HM(g[c])){b.length<=i&&aHt(b,0,b=N8(ADe,uVt,25,2*b.length,15,1),0,i),b[i++]=r,u7(m,g[c]);break t}if(HM(d)===HM(s))break}}if(u=m,g=m.g,l=i,i>b.length&&aHt(b,0,b=N8(ADe,uVt,25,i,15,1),0,i),i>0){for(y=!0,a=0;a<i;++a)f=UR(t,$z(d=g[a],72),f);for(o=i;--o>=0;)Lvt(t,b[o]);if(i!=l){for(r=l;--r>=i;)Lvt(u,r);aHt(b,0,b=N8(ADe,uVt,25,i,15,1),0,i)}e=u}}}else for(e=xvt(t,e),r=t.i;--r>=0;)e.Hc(t.g[r])&&(Lvt(t,r),y=!0);if(y){if(null!=b){for(h=1==(n=e.gc())?yJ(t,4,e.Kc().Pb(),null,b[0],p):yJ(t,6,e,b,b[0],p),f=n<100?null:new Rk(n),r=e.Kc();r.Ob();)f=zR(t,$z(d=r.Pb(),72),f);f?(f.Ei(h),f.Fi()):fot(t.e,h)}else{for(f=IR(e.gc()),r=e.Kc();r.Ob();)f=zR(t,$z(d=r.Pb(),72),f);f&&f.Fi()}return!0}return!1}function oYt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m;for((n=new uyt(e)).a||p$t(e),u=hjt(e),c=new pZ,b=new XPt,p=new Kd(e.a);p.a<p.c.c.length;)for(r=new oq(QN(hdt($z(Z1(p),10)).a.Kc(),new l));gOt(r);)((i=$z(G5(r),17)).c.i.k==(oCt(),Ese)||i.d.i.k==Ese)&&QMt(c,owt((h=hqt(t,i,u,b)).d),h.a);for(o=new Lw,m=$z(yTt(n.c,(uWt(),qhe)),21).Kc();m.Ob();){switch(y=$z(m.Pb(),61),g=b.c[y.g],d=b.b[y.g],s=b.a[y.g],a=null,w=null,y.g){case 4:a=new GX(t.d.a,g,u.b.a-t.d.a,d-g),w=new GX(t.d.a,g,s,d-g),UH(u,new NA(a.c+a.b,a.d)),UH(u,new NA(a.c+a.b,a.d+a.a));break;case 2:a=new GX(u.a.a,g,t.c.a-u.a.a,d-g),w=new GX(t.c.a-s,g,s,d-g),UH(u,new NA(a.c,a.d)),UH(u,new NA(a.c,a.d+a.a));break;case 1:a=new GX(g,t.d.b,d-g,u.b.b-t.d.b),w=new GX(g,t.d.b,d-g,s),UH(u,new NA(a.c,a.d+a.a)),UH(u,new NA(a.c+a.b,a.d+a.a));break;case 3:a=new GX(g,u.a.b,d-g,t.c.b-u.a.b),w=new GX(g,t.c.b-s,d-g,s),UH(u,new NA(a.c,a.d)),UH(u,new NA(a.c+a.b,a.d))}a&&((f=new Zy).d=y,f.b=a,f.c=w,f.a=VV($z(c6(c,owt(y)),21)),o.c[o.c.length]=f)}return pst(n.b,o),n.d=Flt(JUt(u)),n}function sYt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p;if(null==n.p[e.p]){c=!0,n.p[e.p]=0,s=e,p=n.o==(oJ(),ive)?jVt:BVt;do{a=t.b.e[s.p],o=s.c.a.c.length,n.o==ive&&a>0||n.o==rve&&a<o-1?(u=null,l=null,u=n.o==rve?$z(NU(s.c.a,a+1),10):$z(NU(s.c.a,a-1),10),sYt(t,l=n.g[u.p],n),p=t.e.bg(p,e,s),n.j[e.p]==e&&(n.j[e.p]=n.j[l.p]),n.j[e.p]==n.j[l.p]?(g=BL(t.d,s,u),n.o==rve?(r=Hv(n.p[e.p]),f=Hv(n.p[l.p])+Hv(n.d[u.p])-u.d.d-g-s.d.a-s.o.b-Hv(n.d[s.p]),c?(c=!1,n.p[e.p]=i.Math.min(f,p)):n.p[e.p]=i.Math.min(r,i.Math.min(f,p))):(r=Hv(n.p[e.p]),f=Hv(n.p[l.p])+Hv(n.d[u.p])+u.o.b+u.d.a+g+s.d.d-Hv(n.d[s.p]),c?(c=!1,n.p[e.p]=i.Math.max(f,p)):n.p[e.p]=i.Math.max(r,i.Math.max(f,p)))):(g=Hv(_B(yTt(t.a,(zYt(),Awe)))),d=vrt(t,n.j[e.p]),h=vrt(t,n.j[l.p]),n.o==rve?G1(d,h,Hv(n.p[e.p])+Hv(n.d[s.p])+s.o.b+s.d.a+g-(Hv(n.p[l.p])+Hv(n.d[u.p])-u.d.d)):G1(d,h,Hv(n.p[e.p])+Hv(n.d[s.p])-s.d.d-Hv(n.p[l.p])-Hv(n.d[u.p])-u.o.b-u.d.a-g))):p=t.e.bg(p,e,s),s=n.a[s.p]}while(s!=e);Ay(t.e,e)}}function cYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(h=e,l=new pZ,f=new pZ,a=L2(h,D6t),UCt((i=new uV(t,n,l,f)).a,i.b,i.c,i.d,a),p=(l.i||(l.i=new FN(l,l.c))).Kc();p.Ob();)for(g=$z(p.Pb(),202),s=$z(c6(l,g),21).Kc();s.Ob();){if(o=s.Pb(),!(d=$z(cnt(t.d,o),202)))throw r=P2(h,H6t),Fw(new tx(W6t+o+X6t+r+Y6t));!g.e&&(g.e=new cR(jIe,g,10,9)),u7(g.e,d)}for(w=(f.i||(f.i=new FN(f,f.c))).Kc();w.Ob();)for(b=$z(w.Pb(),202),u=$z(c6(f,b),21).Kc();u.Ob();){if(c=u.Pb(),!(d=$z(cnt(t.d,c),202)))throw r=P2(h,H6t),Fw(new tx(W6t+c+X6t+r+Y6t));!b.g&&(b.g=new cR(jIe,b,9,10)),u7(b.g,d)}!n.b&&(n.b=new cR(PIe,n,4,7)),0!=n.b.i&&(!n.c&&(n.c=new cR(PIe,n,5,8)),0!=n.c.i)&&(!n.b&&(n.b=new cR(PIe,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new cR(PIe,n,5,8)),n.c.i<=1))&&1==(!n.a&&(n.a=new tK(jIe,n,6,6)),n.a).i&&!Tyt(y=$z(Yet((!n.a&&(n.a=new tK(jIe,n,6,6)),n.a),0),202))&&!Cyt(y)&&(Lit(y,$z(Yet((!n.b&&(n.b=new cR(PIe,n,4,7)),n.b),0),82)),Nit(y,$z(Yet((!n.c&&(n.c=new cR(PIe,n,5,8)),n.c),0),82)))}function uYt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(v=0,x=(m=t.a).length;v<x;++v){for(y=m[v],u=PWt,l=PWt,g=new Kd(y.e);g.a<g.c.c.length;)(o=(f=$z(Z1(g),10)).c?x9(f.c.a,f,0):-1)>0?(h=$z(NU(f.c.a,o-1),10),E=BL(t.b,f,h),b=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+E)):b=f.n.b-f.d.d,u=i.Math.min(b,u),o<f.c.a.c.length-1?(h=$z(NU(f.c.a,o+1),10),E=BL(t.b,f,h),w=h.n.b-h.d.d-(f.n.b+f.o.b+f.d.a+E)):w=2*f.n.b,l=i.Math.min(w,l);for(c=PWt,a=!1,C=new Kd((r=$z(NU(y.e,0),10)).j);C.a<C.c.c.length;)for(T=$z(Z1(C),11),p=r.n.b+T.n.b+T.a.b,n=new Kd(T.e);n.a<n.c.c.length;)e=(k=$z(Z1(n),17).c).i.n.b+k.n.b+k.a.b-p,i.Math.abs(e)<i.Math.abs(c)&&i.Math.abs(e)<(e<0?u:l)&&(c=e,a=!0);for(_=new Kd((s=$z(NU(y.e,y.e.c.length-1),10)).j);_.a<_.c.c.length;)for(k=$z(Z1(_),11),p=s.n.b+k.n.b+k.a.b,n=new Kd(k.g);n.a<n.c.c.length;)e=(T=$z(Z1(n),17).d).i.n.b+T.n.b+T.a.b-p,i.Math.abs(e)<i.Math.abs(c)&&i.Math.abs(e)<(e<0?u:l)&&(c=e,a=!0);if(a&&0!=c)for(d=new Kd(y.e);d.a<d.c.c.length;)(f=$z(Z1(d),10)).n.b+=c}}function lYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(cK(t.a,e)){if(RE($z(PY(t.a,e),53),n))return 1}else YW(t.a,e,new Py);if(cK(t.a,n)){if(RE($z(PY(t.a,n),53),e))return-1}else YW(t.a,n,new Py);if(cK(t.e,e)){if(RE($z(PY(t.e,e),53),n))return-1}else YW(t.e,e,new Py);if(cK(t.e,n)){if(RE($z(PY(t.a,n),53),e))return 1}else YW(t.e,n,new Py);if(t.c==(yct(),Dye)||!OP(e,(uWt(),ffe))||!OP(n,(uWt(),ffe))){if(c=$z(xD(_4(Xct(MX(new PU(null,new f1(e.j,16)),new ua)),new la)),11),l=$z(xD(_4(Xct(MX(new PU(null,new f1(n.j,16)),new ha)),new fa)),11),c&&l){if(s=c.i,u=l.i,s&&s==u){for(f=new Kd(s.j);f.a<f.c.c.length;){if((h=$z(Z1(f),11))==c)return aRt(t,n,e),-1;if(h==l)return aRt(t,e,n),1}return xL(n_t(t,e),n_t(t,n))}for(p=0,b=(g=t.d).length;p<b;++p){if((d=g[p])==s)return aRt(t,n,e),-1;if(d==u)return aRt(t,e,n),1}}if(!OP(e,(uWt(),ffe))||!OP(n,ffe))return(r=n_t(t,e))>(o=n_t(t,n))?aRt(t,e,n):aRt(t,n,e),r<o?-1:r>o?1:0}return(i=$z(yTt(e,(uWt(),ffe)),19).a)>(a=$z(yTt(n,ffe),19).a)?aRt(t,e,n):aRt(t,n,e),i<a?-1:i>a?1:0}function hYt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(zv(kB(ZOt(e,(cWt(),UCe)))))return EV(),EV(),cne;if(c=0!=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,u=!(l=mMt(e)).dc(),c||u){if(!(r=$z(ZOt(e,wSe),149)))throw Fw(new nx("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(p=AA(r,(uOt(),ZIe)),Nbt(e),!c&&u&&!p)return EV(),EV(),cne;if(s=new Lw,HM(ZOt(e,xCe))===HM((oht(),bAe))&&(AA(r,XIe)||AA(r,WIe)))for(f=bjt(t,e),$rt(d=new XE,(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));0!=d.b;)Nbt(h=$z(0==d.b?null:(TP(0!=d.b),Iet(d,d.a.a)),33)),HM(ZOt(h,xCe))===HM(yAe)||T8(h,tCe)&&!v5(r,ZOt(h,wSe))?(pst(s,hYt(t,h,n,i)),Vwt(h,xCe,yAe),jRt(h)):$rt(d,(!h.a&&(h.a=new tK(UIe,h,10,11)),h.a));else for(f=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,o=new MN((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));o.e!=o.i.gc();)pst(s,hYt(t,a=$z(vwt(o),33),n,i)),jRt(a);for(g=new Kd(s);g.a<g.c.c.length;)Vwt($z(Z1(g),79),UCe,(cD(),!0));return qbt(e,r,yat(i,f)),d$t(s),u&&p?l:(EV(),EV(),cne)}return EV(),EV(),cne}function fYt(t,e,n,i,r,a,o,s,c){var u,l,h,f,d,g,p;switch(d=n,$f(l=new Oyt(c),(oCt(),Ese)),uct(l,(uWt(),Xhe),o),uct(l,(zYt(),twe),(X_t(),KAe)),p=Hv(_B(t.We(Jbe))),uct(l,Jbe,p),CJ(h=new SCt,l),e!=XAe&&e!=VAe||(d=i>=0?ugt(s):_ft(ugt(s)),t.Ye(awe,d)),u=new Hk,f=!1,t.Xe(Zbe)?(FP(u,$z(t.We(Zbe),8)),f=!0):yN(u,o.a/2,o.b/2),d.g){case 4:uct(l,mbe,(_dt(),$fe)),uct(l,Hhe,(Qst(),Ole)),l.o.b=o.b,p<0&&(l.o.a=-p),HAt(h,(vKt(),sMe)),f||(u.a=o.a),u.a-=o.a;break;case 2:uct(l,mbe,(_dt(),zfe)),uct(l,Hhe,(Qst(),Mle)),l.o.b=o.b,p<0&&(l.o.a=-p),HAt(h,(vKt(),SMe)),f||(u.a=0);break;case 1:uct(l,efe,(U9(),She)),l.o.a=o.a,p<0&&(l.o.b=-p),HAt(h,(vKt(),TMe)),f||(u.b=o.b),u.b-=o.b;break;case 3:uct(l,efe,(U9(),The)),l.o.a=o.a,p<0&&(l.o.b=-p),HAt(h,(vKt(),cMe)),f||(u.b=0)}if(FP(h.n,u),uct(l,Zbe,u),e==qAe||e==YAe||e==KAe){if(g=0,e==qAe&&t.Xe(ewe))switch(d.g){case 1:case 2:g=$z(t.We(ewe),19).a;break;case 3:case 4:g=-$z(t.We(ewe),19).a}else switch(d.g){case 4:case 2:g=a.b,e==YAe&&(g/=r.b);break;case 1:case 3:g=a.a,e==YAe&&(g/=r.a)}uct(l,kfe,g)}return uct(l,Whe,d),l}function dYt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_;if((n=Hv(_B(yTt(t.a.j,(zYt(),jpe)))))<-1||!t.a.i||OR($z(yTt(t.a.o,twe),98))||adt(t.a.o,(vKt(),sMe)).gc()<2&&adt(t.a.o,SMe).gc()<2)return!0;if(t.a.c.Rf())return!1;for(v=0,m=0,y=new Lw,c=0,u=(s=t.a.e).length;c<u;++c){for(d=0,p=(f=s[c]).length;d<p;++d)if((h=f[d]).k!=(oCt(),Ase)){for(i=t.b[h.c.p][h.p],h.k==Ese?(i.b=1,$z(yTt(h,(uWt(),dfe)),11).j==(vKt(),sMe)&&(m+=i.a)):(_=adt(h,(vKt(),SMe))).dc()||!JL(_,new Da)?i.c=1:((r=adt(h,sMe)).dc()||!JL(r,new Na))&&(v+=i.a),o=new oq(QN(hdt(h).a.Kc(),new l));gOt(o);)a=$z(G5(o),17),v+=i.c,m+=i.b,q8(t,i,a.d.i);for(k=new oq(new KN((b=Ynt(Cst(Hx(Dte,1),zWt,20,0,[adt(h,(vKt(),cMe)),adt(h,TMe)]))).a.length,b.a));gOt(k);)x=$z(G5(k),11),(w=$z(yTt(x,(uWt(),xfe)),10))&&(v+=i.c,m+=i.b,q8(t,i,w))}else y.c[y.c.length]=h;for(g=new Kd(y);g.a<g.c.c.length;)for(h=$z(Z1(g),10),i=t.b[h.c.p][h.p],o=new oq(QN(hdt(h).a.Kc(),new l));gOt(o);)a=$z(G5(o),17),v+=i.c,m+=i.b,q8(t,i,a.d.i);y.c=N8(Ite,zWt,1,0,5,1)}return(0==(e=v+m)?BVt:(v-m)/e)>=n}function gYt(){function t(t){var e=this;this.dispatch=function(e){var n=e.data;switch(n.cmd){case"algorithms":var i=Tgt((EV(),new Fd(new Ad(uOe.b))));t.postMessage({id:n.id,data:i});break;case"categories":var r=Tgt((EV(),new Fd(new Ad(uOe.c))));t.postMessage({id:n.id,data:r});break;case"options":var a=Tgt((EV(),new Fd(new Ad(uOe.d))));t.postMessage({id:n.id,data:a});break;case"register":hGt(n.algorithms),t.postMessage({id:n.id});break;case"layout":Dzt(n.graph,n.layoutOptions||{},n.options||{}),t.postMessage({id:n.id,data:n.graph})}},this.saveDispatch=function(n){try{e.dispatch(n)}catch(i){t.postMessage({id:n.data.id,error:i})}}}function i(e){var n=this;this.dispatcher=new t({postMessage:function(t){n.onmessage({data:t})}}),this.postMessage=function(t){setTimeout((function(){n.dispatcher.saveDispatch({data:t})}),0)}}if(r_(),typeof document===pQt&&typeof self!==pQt){var r=new t(self);self.onmessage=r.saveDispatch}else typeof e!==pQt&&e.exports&&(Object.defineProperty(n,"__esModule",{value:!0}),e.exports={default:i,Worker:i})}function pYt(t){t.N||(t.N=!0,t.b=vot(t,0),Brt(t.b,0),Brt(t.b,1),Brt(t.b,2),t.bb=vot(t,1),Brt(t.bb,0),Brt(t.bb,1),t.fb=vot(t,2),Brt(t.fb,3),Brt(t.fb,4),jrt(t.fb,5),t.qb=vot(t,3),Brt(t.qb,0),jrt(t.qb,1),jrt(t.qb,2),Brt(t.qb,3),Brt(t.qb,4),jrt(t.qb,5),Brt(t.qb,6),t.a=xot(t,4),t.c=xot(t,5),t.d=xot(t,6),t.e=xot(t,7),t.f=xot(t,8),t.g=xot(t,9),t.i=xot(t,10),t.j=xot(t,11),t.k=xot(t,12),t.n=xot(t,13),t.o=xot(t,14),t.p=xot(t,15),t.q=xot(t,16),t.s=xot(t,17),t.r=xot(t,18),t.t=xot(t,19),t.u=xot(t,20),t.v=xot(t,21),t.w=xot(t,22),t.B=xot(t,23),t.A=xot(t,24),t.C=xot(t,25),t.D=xot(t,26),t.F=xot(t,27),t.G=xot(t,28),t.H=xot(t,29),t.J=xot(t,30),t.I=xot(t,31),t.K=xot(t,32),t.M=xot(t,33),t.L=xot(t,34),t.P=xot(t,35),t.Q=xot(t,36),t.R=xot(t,37),t.S=xot(t,38),t.T=xot(t,39),t.U=xot(t,40),t.V=xot(t,41),t.X=xot(t,42),t.W=xot(t,43),t.Y=xot(t,44),t.Z=xot(t,45),t.$=xot(t,46),t._=xot(t,47),t.ab=xot(t,48),t.cb=xot(t,49),t.db=xot(t,50),t.eb=xot(t,51),t.gb=xot(t,52),t.hb=xot(t,53),t.ib=xot(t,54),t.jb=xot(t,55),t.kb=xot(t,56),t.lb=xot(t,57),t.mb=xot(t,58),t.nb=xot(t,59),t.ob=xot(t,60),t.pb=xot(t,61))}function bYt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(m=0,0==e.f.a)for(w=new Kd(t);w.a<w.c.c.length;)p=$z(Z1(w),10),m=i.Math.max(m,p.n.a+p.o.a+p.d.c);else m=e.f.a-e.c.a;for(m-=e.c.a,b=new Kd(t);b.a<b.c.c.length;){switch(Qw((p=$z(Z1(b),10)).n,m-p.o.a),iH(p.f),Wmt(p),(p.q?p.q:(EV(),EV(),une))._b((zYt(),swe))&&Qw($z(yTt(p,swe),8),m-p.o.a),$z(yTt(p,mpe),248).g){case 1:uct(p,mpe,(dyt(),OTe));break;case 2:uct(p,mpe,(dyt(),ITe))}for(y=p.o,x=new Kd(p.j);x.a<x.c.c.length;){for(Qw((v=$z(Z1(x),11)).n,y.a-v.o.a),Qw(v.a,v.o.a),HAt(v,Aat(v.j)),(s=$z(yTt(v,ewe),19))&&uct(v,ewe,nft(-s.a)),o=new Kd(v.g);o.a<o.c.c.length;){for(r=cwt((a=$z(Z1(o),17)).a,0);r.b!=r.d.c;)(n=$z(h3(r),8)).a=m-n.a;if(l=$z(yTt(a,bbe),74))for(u=cwt(l,0);u.b!=u.d.c;)(c=$z(h3(u),8)).a=m-c.a;for(d=new Kd(a.b);d.a<d.c.c.length;)Qw((h=$z(Z1(d),70)).n,m-h.o.a)}for(g=new Kd(v.f);g.a<g.c.c.length;)Qw((h=$z(Z1(g),70)).n,v.o.a-h.o.a)}for(p.k==(oCt(),Ese)&&(uct(p,(uWt(),Whe),Aat($z(yTt(p,Whe),61))),VTt(p)),f=new Kd(p.b);f.a<f.c.c.length;)Wmt(h=$z(Z1(f),70)),Qw(h.n,y.a-h.o.a)}}function wYt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(m=0,0==e.f.b)for(w=new Kd(t);w.a<w.c.c.length;)p=$z(Z1(w),10),m=i.Math.max(m,p.n.b+p.o.b+p.d.a);else m=e.f.b-e.c.b;for(m-=e.c.b,b=new Kd(t);b.a<b.c.c.length;){switch(Vw((p=$z(Z1(b),10)).n,m-p.o.b),rH(p.f),Xmt(p),(p.q?p.q:(EV(),EV(),une))._b((zYt(),swe))&&Vw($z(yTt(p,swe),8),m-p.o.b),$z(yTt(p,mpe),248).g){case 3:uct(p,mpe,(dyt(),ATe));break;case 4:uct(p,mpe,(dyt(),LTe))}for(y=p.o,x=new Kd(p.j);x.a<x.c.c.length;){for(Vw((v=$z(Z1(x),11)).n,y.b-v.o.b),Vw(v.a,v.o.b),HAt(v,Mat(v.j)),(s=$z(yTt(v,ewe),19))&&uct(v,ewe,nft(-s.a)),o=new Kd(v.g);o.a<o.c.c.length;){for(r=cwt((a=$z(Z1(o),17)).a,0);r.b!=r.d.c;)(n=$z(h3(r),8)).b=m-n.b;if(l=$z(yTt(a,bbe),74))for(u=cwt(l,0);u.b!=u.d.c;)(c=$z(h3(u),8)).b=m-c.b;for(d=new Kd(a.b);d.a<d.c.c.length;)Vw((h=$z(Z1(d),70)).n,m-h.o.b)}for(g=new Kd(v.f);g.a<g.c.c.length;)Vw((h=$z(Z1(g),70)).n,v.o.b-h.o.b)}for(p.k==(oCt(),Ese)&&(uct(p,(uWt(),Whe),Mat($z(yTt(p,Whe),61))),pft(p)),f=new Kd(p.b);f.a<f.c.c.length;)Xmt(h=$z(Z1(f),70)),Vw(h.n,y.b-h.o.b)}}function yYt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(h=!1,u=t+1,l1(t,e.c.length),o=(l=$z(e.c[t],200)).a,s=null,a=0;a<l.a.c.length;a++)if(l1(a,o.c.length),!(r=$z(o.c[a],187)).c){if(0==r.b.c.length){IE(),_xt(l,r),--a,h=!0;continue}if(r.k||(s&&Umt(s),_yt(r,(s=new BZ(s?s.e+s.d+i:0,l.f,i)).e+s.d,l.f),Kz(l.d,s),Dat(s,r),r.k=!0),c=null,d=null,a<l.a.c.length-1?d=$z(NU(l.a,a+1),187):u<e.c.length&&0!=(l1(u,e.c.length),$z(e.c[u],200)).a.c.length&&(d=$z(NU((l1(u,e.c.length),$z(e.c[u],200)).a,0),187)),f=!1,(c=d)&&(f=!Nht(c.j,l)),c){if(0==c.b.c.length){_xt(l,c);break}if(p7(r,n-r.s),Umt(r.q),h|=JTt(l,r,c,n,i),0==c.b.c.length)for(_xt((l1(u,e.c.length),$z(e.c[u],200)),c),c=null;e.c.length>u&&0==(l1(u,e.c.length),$z(e.c[u],200)).a.c.length;)y9(e,(l1(u,e.c.length),e.c[u]));if(!c){--a;continue}if(I$t(e,l,r,c,f,n,u,i)){h=!0;continue}if(f){if(Qzt(e,l,r,c,n,u,i)){h=!0;continue}if(Ilt(l,r)){r.c=!0,h=!0;continue}}else if(Ilt(l,r)){r.c=!0,h=!0;continue}if(h)continue}if(Ilt(l,r)){r.c=!0,h=!0,c&&(c.k=!1);continue}Umt(r.q)}return h}function mYt(t,e,n,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O;for(b=0,S=0,l=new Kd(t.b);l.a<l.c.c.length;)(u=$z(Z1(l),157)).c&&sqt(u.c),b=i.Math.max(b,eG(u)),S+=eG(u)*tG(u);for(w=S/t.b.c.length,C=ukt(t.b,w),S+=t.b.c.length*C,b=i.Math.max(b,i.Math.sqrt(S*s))+n.b,I=n.b,O=n.d,g=0,f=n.b+n.c,DH(T=new XE,nft(0)),_=new XE,h=new _2(t.b,0),p=null,c=new Lw;h.b<h.d.gc();)TP(h.b<h.d.gc()),M=eG(u=$z(h.d.Xb(h.c=h.b++),157)),d=tG(u),I+M>b&&(o&&(uI(_,g),uI(T,nft(h.b-1)),Kz(t.d,p),c.c=N8(Ite,zWt,1,0,5,1)),I=n.b,O+=g+e,g=0,f=i.Math.max(f,n.b+n.c+M)),c.c[c.c.length]=u,Ewt(u,I,O),f=i.Math.max(f,I+M+n.c),g=i.Math.max(g,d),I+=M+e,p=u;if(pst(t.a,c),Kz(t.d,$z(NU(c,c.c.length-1),157)),f=i.Math.max(f,r),(A=O+g+n.a)<a&&(g+=a-A,A=a),o)for(I=n.b,h=new _2(t.b,0),uI(T,nft(t.b.c.length)),m=$z(h3(E=cwt(T,0)),19).a,uI(_,g),k=cwt(_,0),x=0;h.b<h.d.gc();)h.b==m&&(I=n.b,x=Hv(_B(h3(k))),m=$z(h3(E),19).a),TP(h.b<h.d.gc()),qpt(u=$z(h.d.Xb(h.c=h.b++),157),x),h.b==m&&(y=f-I-n.c,v=eG(u),Gpt(u,y),$ft(u,(y-v)/2,0)),I+=eG(u)+e;return new NA(f,A)}function vYt(t){var e,n,i,r;switch(r=null,t.c){case 6:return t.Vl();case 13:return t.Wl();case 23:return t.Nl();case 22:return t.Sl();case 18:return t.Pl();case 8:XYt(t),dWt(),r=aDe;break;case 9:return t.vl(!0);case 19:return t.wl();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return r=t.ul(t.a),XYt(t),r;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=t.tl())<FVt?(dWt(),dWt(),r=new oG(0,e)):r=pq(Kft(e));break;case 99:return t.Fl();case 67:return t.Al();case 105:return t.Il();case 73:return t.Bl();case 103:return t.Gl();case 88:return t.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.xl();case 80:case 112:if(!(r=PMt(t,t.a)))throw Fw(new rx(vWt((aL(),M8t))));break;default:r=WH(t.a)}XYt(t);break;case 0:if(93==t.a||123==t.a||125==t.a)throw Fw(new rx(vWt((aL(),A8t))));r=WH(t.a),n=t.a,XYt(t),(64512&n)==zVt&&0==t.c&&56320==(64512&t.a)&&((i=N8(SDe,YXt,25,2,15,1))[0]=n&XXt,i[1]=t.a&XXt,r=oK(pq(Fpt(i,0,i.length)),0),XYt(t));break;default:throw Fw(new rx(vWt((aL(),A8t))))}return r}function xYt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=new Lw,a=PWt,o=PWt,s=PWt,n)for(a=t.f.a,p=new Kd(e.j);p.a<p.c.c.length;)for(u=new Kd($z(Z1(p),11).g);u.a<u.c.c.length;)0!=(c=$z(Z1(u),17)).a.b&&((h=$z(gP(c.a),8)).a<a&&(o=a-h.a,s=PWt,r.c=N8(Ite,zWt,1,0,5,1),a=h.a),h.a<=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=i.Math.min(s,i.Math.abs($z(Pwt(c.a,1),8).b-h.b)))));else for(p=new Kd(e.j);p.a<p.c.c.length;)for(u=new Kd($z(Z1(p),11).e);u.a<u.c.c.length;)0!=(c=$z(Z1(u),17)).a.b&&((d=$z(pP(c.a),8)).a>a&&(o=d.a-a,s=PWt,r.c=N8(Ite,zWt,1,0,5,1),a=d.a),d.a>=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=i.Math.min(s,i.Math.abs($z(Pwt(c.a,c.a.b-2),8).b-d.b)))));if(0!=r.c.length&&o>e.o.a/2&&s>e.o.b/2){for(CJ(g=new SCt,e),HAt(g,(vKt(),cMe)),g.n.a=e.o.a/2,CJ(b=new SCt,e),HAt(b,TMe),b.n.a=e.o.a/2,b.n.b=e.o.b,u=new Kd(r);u.a<u.c.c.length;)c=$z(Z1(u),17),n?(l=$z(dH(c.a),8),(0==c.a.b?g1(c.d):$z(gP(c.a),8)).b>=l.b?EJ(c,b):EJ(c,g)):(l=$z(gH(c.a),8),(0==c.a.b?g1(c.c):$z(pP(c.a),8)).b>=l.b?_J(c,b):_J(c,g)),(f=$z(yTt(c,(zYt(),bbe)),74))&&mgt(f,l,!0);e.n.a=a-e.o.a/2}}function kYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(u=e,Oit(c=W3(t,O3(n),u),P2(u,H6t)),l=$z(cnt(t.g,vMt(UZ(u,_6t))),33),i=null,(o=UZ(u,"sourcePort"))&&(i=vMt(o)),h=$z(cnt(t.j,i),118),!l)throw Fw(new tx("An edge must have a source node (edge id: '"+Xpt(u)+Y6t));if(h&&!fW(KZ(h),l))throw Fw(new tx("The source port of an edge must be a port of the edge's source node (edge id: '"+P2(u,H6t)+Y6t));if(!c.b&&(c.b=new cR(PIe,c,4,7)),u7(c.b,h||l),f=$z(cnt(t.g,vMt(UZ(u,V6t))),33),r=null,(s=UZ(u,"targetPort"))&&(r=vMt(s)),d=$z(cnt(t.j,r),118),!f)throw Fw(new tx("An edge must have a target node (edge id: '"+Xpt(u)+Y6t));if(d&&!fW(KZ(d),f))throw Fw(new tx("The target port of an edge must be a port of the edge's target node (edge id: '"+P2(u,H6t)+Y6t));if(!c.c&&(c.c=new cR(PIe,c,5,8)),u7(c.c,d||f),0==(!c.b&&(c.b=new cR(PIe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new cR(PIe,c,5,8)),c.c).i)throw a=P2(u,H6t),Fw(new tx(K6t+a+Y6t));return TEt(u,c),cLt(u,c),Dct(t,u,c)}function _Yt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;return h=SFt(FD(t,(vKt(),dMe)),e),g=avt(FD(t,gMe),e),v=avt(FD(t,kMe),e),E=ovt(FD(t,EMe),e),f=ovt(FD(t,uMe),e),y=avt(FD(t,xMe),e),p=avt(FD(t,pMe),e),k=avt(FD(t,_Me),e),x=avt(FD(t,lMe),e),T=ovt(FD(t,fMe),e),w=avt(FD(t,mMe),e),m=avt(FD(t,yMe),e),_=avt(FD(t,hMe),e),C=ovt(FD(t,vMe),e),d=ovt(FD(t,bMe),e),b=avt(FD(t,wMe),e),n=Lct(Cst(Hx(LDe,1),HVt,25,15,[y.a,E.a,k.a,C.a])),i=Lct(Cst(Hx(LDe,1),HVt,25,15,[g.a,h.a,v.a,b.a])),r=w.a,a=Lct(Cst(Hx(LDe,1),HVt,25,15,[p.a,f.a,x.a,d.a])),u=Lct(Cst(Hx(LDe,1),HVt,25,15,[y.b,g.b,p.b,m.b])),c=Lct(Cst(Hx(LDe,1),HVt,25,15,[E.b,h.b,f.b,b.b])),l=T.b,s=Lct(Cst(Hx(LDe,1),HVt,25,15,[k.b,v.b,x.b,_.b])),f7(FD(t,dMe),n+r,u+l),f7(FD(t,wMe),n+r,u+l),f7(FD(t,gMe),n+r,0),f7(FD(t,kMe),n+r,u+l+c),f7(FD(t,EMe),0,u+l),f7(FD(t,uMe),n+r+i,u+l),f7(FD(t,pMe),n+r+i,0),f7(FD(t,_Me),0,u+l+c),f7(FD(t,lMe),n+r+i,u+l+c),f7(FD(t,fMe),0,u),f7(FD(t,mMe),n,0),f7(FD(t,hMe),0,u+l+c),f7(FD(t,bMe),n+r+i,0),(o=new Hk).a=Lct(Cst(Hx(LDe,1),HVt,25,15,[n+i+r+a,T.a,m.a,_.a])),o.b=Lct(Cst(Hx(LDe,1),HVt,25,15,[u+c+l+s,w.b,C.b,d.b])),o}function EYt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b;for(p=new Lw,f=new Kd(t.d.b);f.a<f.c.c.length;)for(g=new Kd($z(Z1(f),29).a);g.a<g.c.c.length;){for(d=$z(Z1(g),10),r=$z(PY(t.f,d),57),c=new oq(QN(hdt(d).a.Kc(),new l));gOt(c);)if(u=!0,h=null,(i=cwt((o=$z(G5(c),17)).a,0)).b!=i.d.c){for(e=$z(h3(i),8),n=null,o.c.j==(vKt(),cMe)&&((b=new Czt(e,new NA(e.a,r.d.d),r,o)).f.a=!0,b.a=o.c,p.c[p.c.length]=b),o.c.j==TMe&&((b=new Czt(e,new NA(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.c,p.c[p.c.length]=b);i.b!=i.d.c;)n=$z(h3(i),8),ant(e.b,n.b)||(h=new Czt(e,n,null,o),p.c[p.c.length]=h,u&&(u=!1,n.b<r.d.d?h.f.a=!0:n.b>r.d.d+r.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))),i.b!=i.d.c&&(e=n);h&&(a=$z(PY(t.f,o.d.i),57),e.b<a.d.d?h.f.a=!0:e.b>a.d.d+a.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))}for(s=new oq(QN(ldt(d).a.Kc(),new l));gOt(s);)0!=(o=$z(G5(s),17)).a.b&&(e=$z(pP(o.a),8),o.d.j==(vKt(),cMe)&&((b=new Czt(e,new NA(e.a,r.d.d),r,o)).f.a=!0,b.a=o.d,p.c[p.c.length]=b),o.d.j==TMe&&((b=new Czt(e,new NA(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.d,p.c[p.c.length]=b))}return p}function TYt(t,e,n){var i,r,a,o,s,c,u;if(MEt(n,"Network simplex node placement",1),t.e=e,t.n=$z(yTt(e,(uWt(),Mfe)),304),sUt(t),B_t(t),VE(ftt(new PU(null,new f1(t.e.b,16)),new Ha),new ib(t)),VE(MX(ftt(MX(ftt(new PU(null,new f1(t.e.b,16)),new eo),new no),new io),new ro),new nb(t)),zv(kB(yTt(t.e,(zYt(),Nbe))))&&(MEt(a=yat(n,1),"Straight Edges Pre-Processing",1),xqt(t),zCt(a)),Eyt(t.f),r=$z(yTt(e,Nwe),19).a*t.f.a.c.length,YRt(Wx(Xx($$(t.f),r),!1),yat(n,1)),0!=t.d.a.gc()){for(MEt(a=yat(n,1),"Flexible Where Space Processing",1),o=$z(ID(Aq(IX(new PU(null,new f1(t.f.a,16)),new Ua),new Ba)),19).a,s=$z(ID(Sq(IX(new PU(null,new f1(t.f.a,16)),new Ga),new ja)),19).a-o,c=MD(new zy,t.f),u=MD(new zy,t.f),qDt(rT(iT(nT(aT(new Fy,2e4),s),c),u)),VE(MX(MX(OK(t.i),new qa),new Ka),new UX(o,c,s,u)),i=t.d.a.ec().Kc();i.Ob();)$z(i.Pb(),213).g=1;YRt(Wx(Xx($$(t.f),r),!1),yat(a,1)),zCt(a)}zv(kB(yTt(e,Nbe)))&&(MEt(a=yat(n,1),"Straight Edges Post-Processing",1),TSt(t),zCt(a)),XGt(t),t.e=null,t.f=null,t.i=null,t.c=null,IK(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),zCt(n)}function CYt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(s=new Kd(t.a.b);s.a<s.c.c.length;)for(m=new Kd($z(Z1(s),29).a);m.a<m.c.c.length;)y=$z(Z1(m),10),e.g[y.p]=y,e.a[y.p]=y,e.d[y.p]=0;for(c=t.a.b,e.c==(gZ(),Jme)&&(c=iN(c,152)?o6($z(c,152)):iN(c,131)?$z(c,131).a:iN(c,54)?new uv(c):new CE(c)),o=c.Kc();o.Ob();)for(d=-1,f=$z(o.Pb(),29).a,e.o==(oJ(),rve)&&(d=PWt,f=iN(f,152)?o6($z(f,152)):iN(f,131)?$z(f,131).a:iN(f,54)?new uv(f):new CE(f)),x=f.Kc();x.Ob();)if(v=$z(x.Pb(),10),h=null,(h=e.c==Jme?$z(NU(t.b.f,v.p),15):$z(NU(t.b.b,v.p),15)).gc()>0)if(r=h.gc(),u=CZ(i.Math.floor((r+1)/2))-1,a=CZ(i.Math.ceil((r+1)/2))-1,e.o==rve)for(l=a;l>=u;l--)e.a[v.p]==v&&(p=$z(h.Xb(l),46),g=$z(p.a,10),!RE(n,p.b)&&d>t.b.e[g.p]&&(e.a[g.p]=v,e.g[v.p]=e.g[g.p],e.a[v.p]=e.g[v.p],e.f[e.g[v.p].p]=(cD(),!!(zv(e.f[e.g[v.p].p])&v.k==(oCt(),Cse))),d=t.b.e[g.p]));else for(l=u;l<=a;l++)e.a[v.p]==v&&(w=$z(h.Xb(l),46),b=$z(w.a,10),!RE(n,w.b)&&d<t.b.e[b.p]&&(e.a[b.p]=v,e.g[v.p]=e.g[b.p],e.a[v.p]=e.g[v.p],e.f[e.g[v.p].p]=(cD(),!!(zv(e.f[e.g[v.p].p])&v.k==(oCt(),Cse))),d=t.b.e[b.p]))}function SYt(){SYt=I,t_(),TIe=gIe.a,$z(Yet(WV(gIe.a),0),18),mIe=gIe.f,$z(Yet(WV(gIe.f),0),18),$z(Yet(WV(gIe.f),1),34),EIe=gIe.n,$z(Yet(WV(gIe.n),0),34),$z(Yet(WV(gIe.n),1),34),$z(Yet(WV(gIe.n),2),34),$z(Yet(WV(gIe.n),3),34),vIe=gIe.g,$z(Yet(WV(gIe.g),0),18),$z(Yet(WV(gIe.g),1),34),bIe=gIe.c,$z(Yet(WV(gIe.c),0),18),$z(Yet(WV(gIe.c),1),18),xIe=gIe.i,$z(Yet(WV(gIe.i),0),18),$z(Yet(WV(gIe.i),1),18),$z(Yet(WV(gIe.i),2),18),$z(Yet(WV(gIe.i),3),18),$z(Yet(WV(gIe.i),4),34),kIe=gIe.j,$z(Yet(WV(gIe.j),0),18),wIe=gIe.d,$z(Yet(WV(gIe.d),0),18),$z(Yet(WV(gIe.d),1),18),$z(Yet(WV(gIe.d),2),18),$z(Yet(WV(gIe.d),3),18),$z(Yet(WV(gIe.d),4),34),$z(Yet(WV(gIe.d),5),34),$z(Yet(WV(gIe.d),6),34),$z(Yet(WV(gIe.d),7),34),pIe=gIe.b,$z(Yet(WV(gIe.b),0),34),$z(Yet(WV(gIe.b),1),34),yIe=gIe.e,$z(Yet(WV(gIe.e),0),34),$z(Yet(WV(gIe.e),1),34),$z(Yet(WV(gIe.e),2),34),$z(Yet(WV(gIe.e),3),34),$z(Yet(WV(gIe.e),4),18),$z(Yet(WV(gIe.e),5),18),$z(Yet(WV(gIe.e),6),18),$z(Yet(WV(gIe.e),7),18),$z(Yet(WV(gIe.e),8),18),$z(Yet(WV(gIe.e),9),18),$z(Yet(WV(gIe.e),10),34),_Ie=gIe.k,$z(Yet(WV(gIe.k),0),34),$z(Yet(WV(gIe.k),1),34)}function AYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;for(T=new XE,k=new XE,b=-1,c=new Kd(t);c.a<c.c.c.length;){for((o=$z(Z1(c),128)).s=b--,l=0,m=0,a=new Kd(o.t);a.a<a.c.c.length;)m+=(i=$z(Z1(a),268)).c;for(r=new Kd(o.i);r.a<r.c.c.length;)l+=(i=$z(Z1(r),268)).c;o.n=l,o.u=m,0==m?n5(k,o,k.c.b,k.c):0==l&&n5(T,o,T.c.b,T.c)}for(S=E4(t),p=(h=t.c.length)+1,w=h-1,d=new Lw;0!=S.a.gc();){for(;0!=k.b;)TP(0!=k.b),x=$z(Iet(k,k.a.a),128),S.a.Bc(x),x.s=w--,rNt(x,T,k);for(;0!=T.b;)TP(0!=T.b),_=$z(Iet(T,T.a.a),128),S.a.Bc(_),_.s=p++,rNt(_,T,k);for(g=RXt,u=S.a.ec().Kc();u.Ob();)(y=(o=$z(u.Pb(),128)).u-o.n)>=g&&(y>g&&(d.c=N8(Ite,zWt,1,0,5,1),g=y),d.c[d.c.length]=o);0!=d.c.length&&(f=$z(NU(d,byt(e,d.c.length)),128),S.a.Bc(f),f.s=p++,rNt(f,T,k),d.c=N8(Ite,zWt,1,0,5,1))}for(v=t.c.length+1,s=new Kd(t);s.a<s.c.c.length;)(o=$z(Z1(s),128)).s<h&&(o.s+=v);for(E=new Kd(t);E.a<E.c.c.length;)for(n=new _2((_=$z(Z1(E),128)).t,0);n.b<n.d.gc();)TP(n.b<n.d.gc()),C=(i=$z(n.d.Xb(n.c=n.b++),268)).b,_.s>C.s&&(uW(n),y9(C.i,i),i.c>0&&(i.a=C,Kz(C.t,i),i.b=_,Kz(_.i,i)))}function MYt(t){var e,n,i,r,a;switch(e=t.c){case 11:return t.Ml();case 12:return t.Ol();case 14:return t.Ql();case 15:return t.Tl();case 16:return t.Rl();case 17:return t.Ul();case 21:return XYt(t),dWt(),dWt(),oDe;case 10:switch(t.a){case 65:return t.yl();case 90:return t.Dl();case 122:return t.Kl();case 98:return t.El();case 66:return t.zl();case 60:return t.Jl();case 62:return t.Hl()}}switch(a=vYt(t),e=t.c){case 3:return t.Zl(a);case 4:return t.Xl(a);case 5:return t.Yl(a);case 0:if(123==t.a&&t.d<t.j){if(r=t.d,i=0,n=-1,!((e=uX(t.i,r++))>=48&&e<=57))throw Fw(new rx(vWt((aL(),K8t))));for(i=e-48;r<t.j&&(e=uX(t.i,r++))>=48&&e<=57;)if((i=10*i+e-48)<0)throw Fw(new rx(vWt((aL(),V8t))));if(n=i,44==e){if(r>=t.j)throw Fw(new rx(vWt((aL(),W8t))));if((e=uX(t.i,r++))>=48&&e<=57){for(n=e-48;r<t.j&&(e=uX(t.i,r++))>=48&&e<=57;)if((n=10*n+e-48)<0)throw Fw(new rx(vWt((aL(),V8t))));if(i>n)throw Fw(new rx(vWt((aL(),X8t))))}else n=-1}if(125!=e)throw Fw(new rx(vWt((aL(),Y8t))));t.sl(r)?(dWt(),dWt(),a=new c4(9,a),t.d=r+1):(dWt(),dWt(),a=new c4(3,a),t.d=r),a.dm(i),a.cm(n),XYt(t)}}return a}function IYt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(g=new V6(e.b),y=new V6(e.b),f=new V6(e.b),k=new V6(e.b),p=new V6(e.b),x=cwt(e,0);x.b!=x.d.c;)for(s=new Kd((m=$z(h3(x),11)).g);s.a<s.c.c.length;)if((a=$z(Z1(s),17)).c.i==a.d.i){if(m.j==a.d.j){k.c[k.c.length]=a;continue}if(m.j==(vKt(),cMe)&&a.d.j==TMe){p.c[p.c.length]=a;continue}}for(c=new Kd(p);c.a<c.c.c.length;)R$t(t,a=$z(Z1(c),17),n,i,(vKt(),sMe));for(o=new Kd(k);o.a<o.c.c.length;)a=$z(Z1(o),17),$f(_=new Oyt(t),(oCt(),Ase)),uct(_,(zYt(),twe),(X_t(),KAe)),uct(_,(uWt(),dfe),a),uct(E=new SCt,dfe,a.d),HAt(E,(vKt(),SMe)),CJ(E,_),uct(T=new SCt,dfe,a.c),HAt(T,sMe),CJ(T,_),uct(a.c,xfe,_),uct(a.d,xfe,_),EJ(a,null),_J(a,null),n.c[n.c.length]=_,uct(_,$he,nft(2));for(v=cwt(e,0);v.b!=v.d.c;)u=(m=$z(h3(v),11)).e.c.length>0,b=m.g.c.length>0,u&&b?f.c[f.c.length]=m:u?g.c[g.c.length]=m:b&&(y.c[y.c.length]=m);for(d=new Kd(g);d.a<d.c.c.length;)Kz(r,zzt(t,$z(Z1(d),11),null,n));for(w=new Kd(y);w.a<w.c.c.length;)Kz(r,zzt(t,null,$z(Z1(w),11),n));for(h=new Kd(f);h.a<h.c.c.length;)Kz(r,zzt(t,l=$z(Z1(h),11),l,n))}function OYt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(p=new NA(BVt,BVt),e=new NA(jVt,jVt),x=new Kd(t);x.a<x.c.c.length;)v=$z(Z1(x),8),p.a=i.Math.min(p.a,v.a),p.b=i.Math.min(p.b,v.b),e.a=i.Math.max(e.a,v.a),e.b=i.Math.max(e.b,v.b);for(u=new NA(e.a-p.a,e.b-p.b),l=new ZFt(new NA(p.a-50,p.b-u.a-50),new NA(p.a-50,e.b+u.a+50),new NA(e.a+u.b/2+50,p.b+u.b/2)),m=new Py,a=new Lw,n=new Lw,m.a.zc(l,m),_=new Kd(t);_.a<_.c.c.length;){for(k=$z(Z1(_),8),a.c=N8(Ite,zWt,1,0,5,1),y=m.a.ec().Kc();y.Ob();)K8((b=$z(y.Pb(),308)).d,b.a),Adt(K8(b.d,k),K8(b.d,b.a))<0&&(a.c[a.c.length]=b);for(n.c=N8(Ite,zWt,1,0,5,1),w=new Kd(a);w.a<w.c.c.length;)for(d=new Kd((b=$z(Z1(w),308)).e);d.a<d.c.c.length;){for(h=$z(Z1(d),168),o=!0,c=new Kd(a);c.a<c.c.c.length;)(s=$z(Z1(c),308))!=b&&(iX(h,NU(s.e,0))||iX(h,NU(s.e,1))||iX(h,NU(s.e,2)))&&(o=!1);o&&(n.c[n.c.length]=h)}for(sTt(m,a),t5(m,new ft),f=new Kd(n);f.a<f.c.c.length;)kK(m,new ZFt(k,(h=$z(Z1(f),168)).a,h.b))}for(t5(m,new vg(g=new Py)),r=g.a.ec().Kc();r.Ob();)(B9(l,(h=$z(r.Pb(),168)).a)||B9(l,h.b))&&r.Qb();return t5(g,new dt),g}function LYt(t){var e,n,i;switch(n=$z(yTt(t,(uWt(),Qhe)),21),e=mO(Loe),$z(yTt(t,(zYt(),sbe)),334)==(oht(),bAe)&&Qat(e,Noe),zv(kB(yTt(t,abe)))?dU(e,(mTt(),Boe),(hWt(),zce)):dU(e,(mTt(),Roe),(hWt(),zce)),null!=yTt(t,(C6(),kTe))&&Qat(e,Doe),(zv(kB(yTt(t,gbe)))||zv(kB(yTt(t,obe))))&&KG(e,(mTt(),Foe),(hWt(),ece)),$z(yTt(t,Gpe),103).g){case 2:case 3:case 4:KG(dU(e,(mTt(),Boe),(hWt(),ice)),Foe,nce)}switch(n.Hc((fBt(),uhe))&&KG(dU(dU(e,(mTt(),Boe),(hWt(),tce)),$oe,Zse),Foe,Jse),HM(yTt(t,Ebe))!==HM((cDt(),Aye))&&dU(e,(mTt(),Roe),(hWt(),Nce)),n.Hc(bhe)&&(dU(e,(mTt(),Boe),(hWt(),$ce)),dU(e,joe,jce),dU(e,Roe,Rce)),HM(yTt(t,Tpe))!==HM((QTt(),rhe))&&HM(yTt(t,Qpe))!==HM((Edt(),VSe))&&KG(e,(mTt(),Foe),(hWt(),bce)),zv(kB(yTt(t,ube)))&&dU(e,(mTt(),Roe),(hWt(),pce)),zv(kB(yTt(t,Fpe)))&&dU(e,(mTt(),Roe),(hWt(),Yce)),jNt(t)&&(i=(HM(yTt(t,sbe))===HM(bAe)?$z(yTt(t,Ppe),292):$z(yTt(t,Bpe),292))==(jot(),xhe)?(hWt(),Bce):(hWt(),Vce),dU(e,(mTt(),$oe),i)),$z(yTt(t,Uwe),377).g){case 1:dU(e,(mTt(),$oe),(hWt(),Wce));break;case 2:KG(dU(dU(e,(mTt(),Roe),(hWt(),Wse)),$oe,Xse),Foe,Vse)}return HM(yTt(t,Ope))!==HM((yct(),Nye))&&dU(e,(mTt(),Roe),(hWt(),Xce)),e}function NYt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,O4t),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new ts))),a2(t,O4t,WZt,1.3),a2(t,O4t,I4t,ywt(g_e)),a2(t,O4t,XZt,S_e),a2(t,O4t,wJt,15),a2(t,O4t,o3t,ywt(h_e)),a2(t,O4t,CJt,ywt(v_e)),a2(t,O4t,FJt,ywt(x_e)),a2(t,O4t,TJt,ywt(k_e)),a2(t,O4t,SJt,ywt(m_e)),a2(t,O4t,EJt,ywt(__e)),a2(t,O4t,AJt,ywt(A_e)),a2(t,O4t,k4t,ywt(T_e)),a2(t,O4t,_4t,ywt(y_e)),a2(t,O4t,C4t,ywt(E_e)),a2(t,O4t,S4t,ywt(M_e)),a2(t,O4t,A4t,ywt(p_e)),a2(t,O4t,xJt,ywt(b_e)),a2(t,O4t,y3t,ywt(w_e)),a2(t,O4t,T4t,ywt(d_e)),a2(t,O4t,E4t,ywt(f_e)),a2(t,O4t,M4t,ywt(O_e))}function DYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;if(null==n)return null;if(t.a!=e.Aj())throw Fw(new jv(g6t+e.ne()+p6t));if(iN(e,457)){if(!(p=TBt($z(e,671),n)))throw Fw(new jv(b6t+n+"' is not a valid enumerator of '"+e.ne()+"'"));return p}switch(Sht((ASt(),VLe),e).cl()){case 2:n=$zt(n,!1);break;case 3:n=$zt(n,!0)}if(i=Sht(VLe,e).$k())return i.Aj().Nh().Kh(i,n);if(h=Sht(VLe,e).al()){for(p=new Lw,u=0,l=(c=mut(n)).length;u<l;++u)s=c[u],Kz(p,h.Aj().Nh().Kh(h,s));return p}if(!(g=Sht(VLe,e).bl()).dc()){for(d=g.Kc();d.Ob();){f=$z(d.Pb(),148);try{if(null!=(p=f.Aj().Nh().Kh(f,n)))return p}catch(b){if(!iN(b=hst(b),60))throw Fw(b)}}throw Fw(new jv(b6t+n+"' does not match any member types of the union datatype '"+e.ne()+"'"))}if($z(e,834).Fj(),!(r=Dht(e.Bj())))return null;if(r==Tee){a=0;try{a=h$t(n,RXt,PWt)&XXt}catch(b){if(!iN(b=hst(b),127))throw Fw(b);a=Y9(n)[0]}return lst(a)}if(r==bee){for(o=0;o<SIe.length;++o)try{return $T(SIe[o],n)}catch(b){if(!iN(b=hst(b),32))throw Fw(b)}throw Fw(new jv(b6t+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Fw(new jv(b6t+n+"' is invalid. "))}function PYt(t,e){var n,i,r,a,o,s,c,u;if(n=0,o=0,a=e.length,s=null,u=new Sx,o<a&&(h1(o,e.length),43==e.charCodeAt(o))&&(++n,++o<a&&(h1(o,e.length),43==e.charCodeAt(o)||(h1(o,e.length),45==e.charCodeAt(o)))))throw Fw(new _x(PVt+e+'"'));for(;o<a&&(h1(o,e.length),46!=e.charCodeAt(o))&&(h1(o,e.length),101!=e.charCodeAt(o))&&(h1(o,e.length),69!=e.charCodeAt(o));)++o;if(u.a+=""+uP(null==e?GWt:(mW(e),e),n,o),o<a&&(h1(o,e.length),46==e.charCodeAt(o))){for(n=++o;o<a&&(h1(o,e.length),101!=e.charCodeAt(o))&&(h1(o,e.length),69!=e.charCodeAt(o));)++o;t.e=o-n,u.a+=""+uP(null==e?GWt:(mW(e),e),n,o)}else t.e=0;if(o<a&&(h1(o,e.length),101==e.charCodeAt(o)||(h1(o,e.length),69==e.charCodeAt(o)))&&(n=++o,o<a&&(h1(o,e.length),43==e.charCodeAt(o))&&++o<a&&(h1(o,e.length),45!=e.charCodeAt(o))&&++n,s=e.substr(n,a-n),t.e=t.e-h$t(s,RXt,PWt),t.e!=CZ(t.e)))throw Fw(new _x("Scale out of range."));if((c=u.a).length<16){if(t.f=(null==Xee&&(Xee=new RegExp("^[+-]?\\d*$","i")),Xee.test(c)?parseInt(c,10):NaN),isNaN(t.f))throw Fw(new _x(PVt+e+'"'));t.a=aMt(t.f)}else lpt(t,new IO(c));for(t.d=u.a.length,r=0;r<u.a.length&&(45==(i=uX(u.a,r))||48==i);++r)--t.d;0==t.d&&(t.d=1)}function BYt(){BYt=I,QMt(use=new pZ,(vKt(),dMe),wMe),QMt(use,EMe,wMe),QMt(use,EMe,vMe),QMt(use,uMe,bMe),QMt(use,uMe,wMe),QMt(use,gMe,wMe),QMt(use,gMe,yMe),QMt(use,kMe,hMe),QMt(use,kMe,wMe),QMt(use,mMe,fMe),QMt(use,mMe,wMe),QMt(use,mMe,yMe),QMt(use,mMe,hMe),QMt(use,fMe,mMe),QMt(use,fMe,vMe),QMt(use,fMe,bMe),QMt(use,fMe,wMe),QMt(use,xMe,xMe),QMt(use,xMe,yMe),QMt(use,xMe,vMe),QMt(use,pMe,pMe),QMt(use,pMe,yMe),QMt(use,pMe,bMe),QMt(use,_Me,_Me),QMt(use,_Me,hMe),QMt(use,_Me,vMe),QMt(use,lMe,lMe),QMt(use,lMe,hMe),QMt(use,lMe,bMe),QMt(use,yMe,gMe),QMt(use,yMe,mMe),QMt(use,yMe,xMe),QMt(use,yMe,pMe),QMt(use,yMe,wMe),QMt(use,yMe,yMe),QMt(use,yMe,vMe),QMt(use,yMe,bMe),QMt(use,hMe,kMe),QMt(use,hMe,mMe),QMt(use,hMe,_Me),QMt(use,hMe,lMe),QMt(use,hMe,hMe),QMt(use,hMe,vMe),QMt(use,hMe,bMe),QMt(use,hMe,wMe),QMt(use,vMe,EMe),QMt(use,vMe,fMe),QMt(use,vMe,xMe),QMt(use,vMe,_Me),QMt(use,vMe,yMe),QMt(use,vMe,hMe),QMt(use,vMe,vMe),QMt(use,vMe,wMe),QMt(use,bMe,uMe),QMt(use,bMe,fMe),QMt(use,bMe,pMe),QMt(use,bMe,lMe),QMt(use,bMe,yMe),QMt(use,bMe,hMe),QMt(use,bMe,bMe),QMt(use,bMe,wMe),QMt(use,wMe,dMe),QMt(use,wMe,EMe),QMt(use,wMe,uMe),QMt(use,wMe,gMe),QMt(use,wMe,kMe),QMt(use,wMe,mMe),QMt(use,wMe,fMe),QMt(use,wMe,yMe),QMt(use,wMe,hMe),QMt(use,wMe,vMe),QMt(use,wMe,bMe),QMt(use,wMe,wMe)}function jYt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(t.d=new NA(BVt,BVt),t.c=new NA(jVt,jVt),f=e.Kc();f.Ob();)for(m=new Kd($z(f.Pb(),37).a);m.a<m.c.c.length;)y=$z(Z1(m),10),t.d.a=i.Math.min(t.d.a,y.n.a-y.d.b),t.d.b=i.Math.min(t.d.b,y.n.b-y.d.d),t.c.a=i.Math.max(t.c.a,y.n.a+y.o.a+y.d.c),t.c.b=i.Math.max(t.c.b,y.n.b+y.o.b+y.d.a);for(c=new Xy,h=e.Kc();h.Ob();)r=oYt(t,$z(h.Pb(),37)),Kz(c.a,r),r.a=r.a|!$z(yTt(r.c,(uWt(),qhe)),21).dc();for(t.b=(Tlt(),(E=new ve).f=new wit(n),E.b=sGt(E.f,c),E),xGt((g=t.b,new qm,g)),t.e=new Hk,t.a=t.b.f.e,s=new Kd(c.a);s.a<s.c.c.length;)for(a=$z(Z1(s),841),v=MZ(t.b,a),Jjt(a.c,v.a,v.b),b=new Kd(a.c.a);b.a<b.c.c.length;)(p=$z(Z1(b),10)).k==(oCt(),Ese)&&(w=hNt(t,p.n,$z(yTt(p,(uWt(),Whe)),61)),Gj(mI(p.n),w));for(o=new Kd(c.a);o.a<o.c.c.length;)for(l=new Kd(dft(a=$z(Z1(o),841)));l.a<l.c.c.length;)for(BP(_=new Bk((u=$z(Z1(l),17)).a),0,g1(u.c)),DH(_,g1(u.d)),d=null,k=cwt(_,0);k.b!=k.d.c;)x=$z(h3(k),8),d?(ont(d.a,x.a)?(t.e.a=i.Math.min(t.e.a,d.a),t.a.a=i.Math.max(t.a.a,d.a)):ont(d.b,x.b)&&(t.e.b=i.Math.min(t.e.b,d.b),t.a.b=i.Math.max(t.a.b,d.b)),d=x):d=x;zP(t.e),Gj(t.a,t.e)}function RYt(t){WLt(t.b,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"ConsistentTransient"])),WLt(t.a,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"WellFormedSourceURI"])),WLt(t.o,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),WLt(t.p,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),WLt(t.v,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),WLt(t.R,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"WellFormedName"])),WLt(t.T,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),WLt(t.U,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),WLt(t.W,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),WLt(t.bb,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"ValidDefaultValueLiteral"])),WLt(t.eb,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),WLt(t.H,W7t,Cst(Hx(zee,1),cXt,2,6,[V7t,"ConsistentType ConsistentBounds ConsistentArguments"]))}function $Yt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(!e.dc()){if(r=new mm,h=(o=n||$z(e.Xb(0),17)).c,pPt(),(u=h.i.k)!=(oCt(),Sse)&&u!=Ase&&u!=Ese&&u!=_se)throw Fw(new jv("The target node of the edge must be a normal node or a northSouthPort."));for(uI(r,Ict(Cst(Hx(TTe,1),cXt,8,0,[h.i.n,h.n,h.a]))),(vKt(),mMe).Hc(h.j)&&(d=Hv(_B(yTt(h,(uWt(),Ofe)))),n5(r,new NA(Ict(Cst(Hx(TTe,1),cXt,8,0,[h.i.n,h.n,h.a])).a,d),r.c.b,r.c)),c=null,i=!1,s=e.Kc();s.Ob();)0!=(a=$z(s.Pb(),17).a).b&&(i?(n5(r,mN(Gj(c,(TP(0!=a.b),$z(a.a.a.c,8))),.5),r.c.b,r.c),i=!1):i=!0,c=$L((TP(0!=a.b),$z(a.c.b.c,8))),$rt(r,a),yV(a));f=o.d,mMe.Hc(f.j)&&(d=Hv(_B(yTt(f,(uWt(),Ofe)))),n5(r,new NA(Ict(Cst(Hx(TTe,1),cXt,8,0,[f.i.n,f.n,f.a])).a,d),r.c.b,r.c)),uI(r,Ict(Cst(Hx(TTe,1),cXt,8,0,[f.i.n,f.n,f.a]))),t.d==(qut(),eme)&&(TP(0!=r.b),g=$z(r.a.a.c,8),p=$z(Pwt(r,1),8),(b=new qJ(uut(h.j))).a*=5,b.b*=5,w=qj(new NA(p.a,p.b),g),Gj(y=new NA(eJ(b.a,w.a),eJ(b.b,w.b)),g),ZK(cwt(r,1),y),TP(0!=r.b),m=$z(r.c.b.c,8),v=$z(Pwt(r,r.b-2),8),(b=new qJ(uut(f.j))).a*=5,b.b*=5,w=qj(new NA(v.a,v.b),m),Gj(x=new NA(eJ(b.a,w.a),eJ(b.b,w.b)),m),BP(r,r.b-1,x)),l=new szt(r),$rt(o.a,$yt(l))}}function FYt(t,e,n,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O,L,N,D,P;if(v=(y=$z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82)).Dg(),x=y.Eg(),m=y.Cg()/2,g=y.Bg()/2,iN(y,186)&&(v+=KZ(w=$z(y,118)).i,v+=KZ(w).i),v+=m,x+=g,A=(C=$z(Yet((!t.b&&(t.b=new cR(PIe,t,4,7)),t.b),0),82)).Dg(),M=C.Eg(),S=C.Cg()/2,k=C.Bg()/2,iN(C,186)&&(A+=KZ(T=$z(C,118)).i,A+=KZ(T).i),A+=S,M+=k,0==(!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i)Jk(),c=new oc,u7((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a),c);else if((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i>1)for(d=new iP((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a));d.e!=d.i.gc();)Xkt(d);for(p=A,A>v+m?p=v+m:A<v-m&&(p=v-m),b=M,M>x+g?b=x+g:M<x-g&&(b=x-g),p>v-m&&p<v+m&&b>x-g&&b<x+g&&(p=v+m),Ant(s=$z(Yet((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a),0),202),p),Int(s,b),_=v,v>A+S?_=A+S:v<A-S&&(_=A-S),E=x,x>M+k?E=M+k:x<M-k&&(E=M-k),_>A-S&&_<A+S&&E>M-k&&E<M+k&&(E=M+k),_nt(s,_),Mnt(s,E),cUt((!s.a&&(s.a=new IN(LIe,s,5)),s.a)),o=byt(e,5),y==C&&++o,O=_-p,D=E-b,l=.20000000298023224*i.Math.sqrt(O*O+D*D),L=O/(o+1),P=D/(o+1),I=p,N=b,u=0;u<o;u++)N+=P,(h=(I+=L)+zLt(e,24)*oQt*l-l/2)<0?h=1:h>n&&(h=n-1),(f=N+zLt(e,24)*oQt*l-l/2)<0?f=1:f>r&&(f=r-1),Jk(),xnt(a=new ac,h),knt(a,f),u7((!s.a&&(s.a=new IN(LIe,s,5)),s.a),a)}function zYt(){zYt=I,cWt(),pwe=vSe,bwe=xSe,wwe=kSe,ywe=_Se,vwe=ESe,xwe=TSe,Ewe=SSe,Cwe=MSe,Swe=ISe,Twe=ASe,Awe=OSe,Iwe=LSe,Lwe=PSe,_we=CSe,lWt(),gwe=jge,mwe=Rge,kwe=$ge,Mwe=Fge,cwe=new qO(pSe,nft(0)),uwe=Dge,lwe=Pge,hwe=Bge,Uwe=lpe,Pwe=Uge,Bwe=Kge,$we=tpe,jwe=Xge,Rwe=Qge,qwe=ppe,Gwe=fpe,zwe=ope,Fwe=rpe,Hwe=cpe,Pbe=Tge,Bbe=Cge,nbe=Bde,ibe=$de,Gbe=new KO(12),Ube=new qO(qCe,Gbe),Edt(),Qpe=new qO(bCe,Zpe=XSe),Jbe=new qO(rSe,0),fwe=new qO(bSe,nft(1)),xpe=new qO(iCe,gJt),Hbe=UCe,twe=aSe,awe=fSe,Upe=lCe,mpe=eCe,sbe=xCe,dwe=new qO(mSe,(cD(),!0)),fbe=ECe,dbe=TCe,Rbe=BCe,zbe=zCe,$be=RCe,$ht(),Gpe=new qO(hCe,Kpe=FSe),Ibe=DCe,Mbe=LCe,iwe=uSe,nwe=cSe,rwe=hSe,rwt(),new qO(QCe,Ybe=HAe),Xbe=tSe,Vbe=eSe,Qbe=nSe,Wbe=JCe,Dwe=Hge,Tbe=lge,Ebe=cge,Nwe=zge,mbe=tge,Hpe=kde,zpe=vde,Npe=ade,Dpe=ode,Bpe=hde,Ppe=sde,Fpe=yde,Sbe=fge,Abe=dge,pbe=Yde,jbe=Ige,Lbe=wge,abe=Hde,Dbe=_ge,tbe=Lde,ebe=Dde,Lpe=cCe,Obe=gge,Tpe=Wfe,Epe=Kfe,_pe=qfe,ube=qde,cbe=Gde,lbe=Kde,Fbe=$Ce,bbe=ACe,rbe=yCe,Xpe=gCe,Wpe=dCe,jpe=gde,ewe=sSe,kpe=sCe,hbe=_Ce,Zbe=iSe,qbe=YCe,Kbe=XCe,xbe=ige,kbe=age,swe=gSe,vpe=Gfe,_be=sge,Vpe=Ade,Ype=Cde,Cbe=ICe,wbe=Qde,Nbe=vge,Owe=NSe,qpe=Ede,owe=Lge,Jpe=Ide,ybe=Jde,Rpe=bde,gbe=SCe,vbe=nge,$pe=wde,Ope=ide,Mpe=tde,Spe=Zfe,Ape=Jfe,Ipe=nde,Cpe=Vfe,obe=Ude}function HYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(oHt(),E=t.e,g=t.d,r=t.a,0==E)switch(e){case 0:return"0";case 1:return YVt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(k=new Cx).a+=e<0?"0E+":"0E",k.a+=-e,k.a}if(v=N8(SDe,YXt,25,1+(m=10*g+1+7),15,1),n=m,1==g)if((s=r[0])<0){A=t0(s,qVt);do{p=A,A=Mkt(A,10),v[--n]=48+dG(ndt(p,rdt(A,10)))&XXt}while(0!=Wlt(A,0))}else{A=s;do{p=A,A=A/10|0,v[--n]=p-10*A+48&XXt}while(0!=A)}else{aHt(r,0,C=N8(ADe,uVt,25,g,15,1),0,S=g);t:for(;;){for(_=0,u=S-1;u>=0;u--)w=lEt(idt(yq(_,32),t0(C[u],qVt))),C[u]=dG(w),_=dG(mq(w,32));y=dG(_),b=n;do{v[--n]=48+y%10&XXt}while(0!=(y=y/10|0)&&0!=n);for(i=9-b+n,c=0;c<i&&n>0;c++)v[--n]=48;for(h=S-1;0==C[h];h--)if(0==h)break t;S=h+1}for(;48==v[n];)++n}if(d=E<0,o=m-n-e-1,0==e)return d&&(v[--n]=45),Fpt(v,n,m-n);if(e>0&&o>=-6){if(o>=0){for(l=n+o,f=m-1;f>=l;f--)v[f+1]=v[f];return v[++l]=46,d&&(v[--n]=45),Fpt(v,n,m-n+1)}for(h=2;h<1-o;h++)v[--n]=48;return v[--n]=46,v[--n]=48,d&&(v[--n]=45),Fpt(v,n,m-n)}return T=n+1,a=m,x=new Sx,d&&(x.a+="-"),a-T>=1?(NY(x,v[n]),x.a+=".",x.a+=Fpt(v,n+1,m-n-1)):x.a+=Fpt(v,n,m-n),x.a+="E",o>0&&(x.a+="+"),x.a+=""+o,x.a}function UYt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;switch(t.c=e,t.g=new Nw,HT(),tgt(new Tg(new Dv(t.c))),y=EB(ZOt(t.c,(ETt(),dEe))),s=$z(ZOt(t.c,pEe),316),v=$z(ZOt(t.c,bEe),429),a=$z(ZOt(t.c,cEe),482),m=$z(ZOt(t.c,gEe),430),t.j=Hv(_B(ZOt(t.c,wEe))),o=t.a,s.g){case 0:o=t.a;break;case 1:o=t.b;break;case 2:o=t.i;break;case 3:o=t.e;break;case 4:o=t.f;break;default:throw Fw(new jv(N4t+(null!=s.f?s.f:""+s.g)))}if(t.d=new DZ(o,v,a),uct(t.d,(Kat(),Wre),kB(ZOt(t.c,lEe))),t.d.c=zv(kB(ZOt(t.c,uEe))),0==XV(t.c).i)return t.d;for(l=new MN(XV(t.c));l.e!=l.i.gc();){for(f=(u=$z(vwt(l),33)).g/2,h=u.f/2,x=new NA(u.i+f,u.j+h);cK(t.g,x);)jP(x,(i.Math.random()-.5)*hJt,(i.Math.random()-.5)*hJt);g=$z(ZOt(u,(cWt(),ICe)),142),p=new MJ(x,new GX(x.a-f-t.j/2-g.b,x.b-h-t.j/2-g.d,u.g+t.j+(g.b+g.c),u.f+t.j+(g.d+g.a))),Kz(t.d.i,p),YW(t.g,x,new nM(p,u))}switch(m.g){case 0:if(null==y)t.d.d=$z(NU(t.d.i,0),65);else for(w=new Kd(t.d.i);w.a<w.c.c.length;)p=$z(Z1(w),65),null!=(d=$z($z(PY(t.g,p.a),46).b,33).zg())&&wR(d,y)&&(t.d.d=p);break;case 1:for((n=new NA(t.c.g,t.c.f)).a*=.5,n.b*=.5,jP(n,t.c.i,t.c.j),r=BVt,b=new Kd(t.d.i);b.a<b.c.c.length;)(c=K8((p=$z(Z1(b),65)).a,n))<r&&(r=c,t.d.d=p);break;default:throw Fw(new jv(N4t+(null!=m.f?m.f:""+m.g)))}return t.d}function GYt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(k=$z(Yet((!t.a&&(t.a=new tK(jIe,t,6,6)),t.a),0),202),h=new mm,x=new Nw,_=tFt(k),xAt(x.f,k,_),d=new Nw,r=new XE,p=LK(Ynt(Cst(Hx(Dte,1),zWt,20,0,[(!e.d&&(e.d=new cR(BIe,e,8,5)),e.d),(!e.e&&(e.e=new cR(BIe,e,7,4)),e.e)])));gOt(p);){if(g=$z(G5(p),79),1!=(!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i)throw Fw(new jv(F5t+(!t.a&&(t.a=new tK(jIe,t,6,6)),t.a).i));g!=t&&(n5(r,w=$z(Yet((!g.a&&(g.a=new tK(jIe,g,6,6)),g.a),0),202),r.c.b,r.c),(b=$z(zM(MQ(x.f,w)),12))||(b=tFt(w),xAt(x.f,w,b)),f=n?qj(new fO($z(NU(_,_.c.length-1),8)),$z(NU(b,b.c.length-1),8)):qj(new fO((l1(0,_.c.length),$z(_.c[0],8))),(l1(0,b.c.length),$z(b.c[0],8))),xAt(d.f,w,f))}if(0!=r.b)for(y=$z(NU(_,n?_.c.length-1:0),8),l=1;l<_.c.length;l++){for(m=$z(NU(_,n?_.c.length-1-l:l),8),a=cwt(r,0);a.b!=a.d.c;)w=$z(h3(a),202),(b=$z(zM(MQ(x.f,w)),12)).c.length<=l?yet(a):(v=Gj(new fO($z(NU(b,n?b.c.length-1-l:l),8)),$z(zM(MQ(d.f,w)),8)),(m.a!=v.a||m.b!=v.b)&&(o=m.a-y.a,c=m.b-y.b,(s=v.a-y.a)*c==(u=v.b-y.b)*o&&(0==o||isNaN(o)?o:o<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)&&(0==c||isNaN(c)?c:c<0?-1:1)==(0==u||isNaN(u)?u:u<0?-1:1)?(i.Math.abs(o)<i.Math.abs(s)||i.Math.abs(c)<i.Math.abs(u))&&n5(h,m,h.c.b,h.c):l>1&&n5(h,y,h.c.b,h.c),yet(a)));y=m}return h}function qYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O;for(MEt(n,"Greedy cycle removal",1),O=(m=e.a).c.length,t.a=N8(ADe,uVt,25,O,15,1),t.c=N8(ADe,uVt,25,O,15,1),t.b=N8(ADe,uVt,25,O,15,1),u=0,w=new Kd(m);w.a<w.c.c.length;){for((p=$z(Z1(w),10)).p=u,E=new Kd(p.j);E.a<E.c.c.length;){for(s=new Kd((x=$z(Z1(E),11)).e);s.a<s.c.c.length;)(i=$z(Z1(s),17)).c.i!=p&&(C=$z(yTt(i,(zYt(),uwe)),19).a,t.a[u]+=C>0?C+1:1);for(o=new Kd(x.g);o.a<o.c.c.length;)(i=$z(Z1(o),17)).d.i!=p&&(C=$z(yTt(i,(zYt(),uwe)),19).a,t.c[u]+=C>0?C+1:1)}0==t.c[u]?DH(t.e,p):0==t.a[u]&&DH(t.f,p),++u}for(g=-1,d=1,h=new Lw,t.d=$z(yTt(e,(uWt(),Efe)),230);O>0;){for(;0!=t.e.b;)A=$z(dH(t.e),10),t.b[A.p]=g--,XRt(t,A),--O;for(;0!=t.f.b;)M=$z(dH(t.f),10),t.b[M.p]=d++,XRt(t,M),--O;if(O>0){for(f=RXt,y=new Kd(m);y.a<y.c.c.length;)p=$z(Z1(y),10),0==t.b[p.p]&&(v=t.c[p.p]-t.a[p.p])>=f&&(v>f&&(h.c=N8(Ite,zWt,1,0,5,1),f=v),h.c[h.c.length]=p);l=t.Zf(h),t.b[l.p]=d++,XRt(t,l),--O}}for(S=m.c.length+1,u=0;u<m.c.length;u++)t.b[u]<0&&(t.b[u]+=S);for(b=new Kd(m);b.a<b.c.c.length;)for(_=0,T=(k=S2((p=$z(Z1(b),10)).j)).length;_<T;++_)for(a=0,c=(r=Q0((x=k[_]).g)).length;a<c;++a)I=(i=r[a]).d.i.p,t.b[p.p]>t.b[I]&&(tzt(i,!0),uct(e,zhe,(cD(),!0)));t.a=null,t.c=null,t.b=null,yV(t.f),yV(t.e),zCt(n)}function KYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(i=new Lw,s=new Lw,b=e/2,d=t.gc(),r=$z(t.Xb(0),8),w=$z(t.Xb(1),8),Kz(i,(l1(0,(g=XOt(r.a,r.b,w.a,w.b,b)).c.length),$z(g.c[0],8))),Kz(s,(l1(1,g.c.length),$z(g.c[1],8))),u=2;u<d;u++)p=r,r=w,w=$z(t.Xb(u),8),Kz(i,(l1(1,(g=XOt(r.a,r.b,p.a,p.b,b)).c.length),$z(g.c[1],8))),Kz(s,(l1(0,g.c.length),$z(g.c[0],8))),Kz(i,(l1(0,(g=XOt(r.a,r.b,w.a,w.b,b)).c.length),$z(g.c[0],8))),Kz(s,(l1(1,g.c.length),$z(g.c[1],8)));for(Kz(i,(l1(1,(g=XOt(w.a,w.b,r.a,r.b,b)).c.length),$z(g.c[1],8))),Kz(s,(l1(0,g.c.length),$z(g.c[0],8))),n=new mm,o=new Lw,DH(n,(l1(0,i.c.length),$z(i.c[0],8))),l=1;l<i.c.length-2;l+=2)l1(l,i.c.length),a=$z(i.c[l],8),f=HSt((l1(l-1,i.c.length),$z(i.c[l-1],8)),a,(l1(l+1,i.c.length),$z(i.c[l+1],8)),(l1(l+2,i.c.length),$z(i.c[l+2],8))),isFinite(f.a)&&isFinite(f.b)?n5(n,f,n.c.b,n.c):n5(n,a,n.c.b,n.c);for(DH(n,$z(NU(i,i.c.length-1),8)),Kz(o,(l1(0,s.c.length),$z(s.c[0],8))),h=1;h<s.c.length-2;h+=2)l1(h,s.c.length),a=$z(s.c[h],8),f=HSt((l1(h-1,s.c.length),$z(s.c[h-1],8)),a,(l1(h+1,s.c.length),$z(s.c[h+1],8)),(l1(h+2,s.c.length),$z(s.c[h+2],8))),isFinite(f.a)&&isFinite(f.b)?o.c[o.c.length]=f:o.c[o.c.length]=a;for(Kz(o,$z(NU(s,s.c.length-1),8)),c=o.c.length-1;c>=0;c--)DH(n,(l1(c,o.c.length),$z(o.c[c],8)));return n}function YYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d;if(o=!0,h=null,i=null,r=null,e=!1,d=yOe,u=null,a=null,(c=Wbt(t,s=0,AOe,MOe))<t.length&&(h1(c,t.length),58==t.charCodeAt(c))&&(h=t.substr(s,c-s),s=c+1),n=null!=h&&NE(mOe,h.toLowerCase())){if(-1==(c=t.lastIndexOf("!/")))throw Fw(new jv("no archive separator"));o=!0,i=uP(t,s,++c),s=c}else s>=0&&wR(t.substr(s,2),"//")?(c=Wbt(t,s+=2,IOe,OOe),i=t.substr(s,c-s),s=c):null!=h&&(s==t.length||(h1(s,t.length),47!=t.charCodeAt(s)))&&(o=!1,-1==(c=yD(t,VEt(35),s))&&(c=t.length),i=t.substr(s,c-s),s=c);if(!n&&s<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(c=Wbt(t,s+1,IOe,OOe),(l=t.substr(s+1,c-(s+1))).length>0&&58==uX(l,l.length-1)&&(r=l,s=c)),s<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(++s,e=!0),s<t.length&&(h1(s,t.length),63!=t.charCodeAt(s))&&(h1(s,t.length),35!=t.charCodeAt(s))){for(f=new Lw;s<t.length&&(h1(s,t.length),63!=t.charCodeAt(s))&&(h1(s,t.length),35!=t.charCodeAt(s));)c=Wbt(t,s,IOe,OOe),Kz(f,t.substr(s,c-s)),(s=c)<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(Xlt(t,++s)||(f.c[f.c.length]=""));Xbt(f,d=N8(zee,cXt,2,f.c.length,6,1))}return s<t.length&&(h1(s,t.length),63==t.charCodeAt(s))&&(-1==(c=lP(t,35,++s))&&(c=t.length),u=t.substr(s,c-s),s=c),s<t.length&&(a=ZM(t,++s)),dGt(o,h,i,r,d,u),new ijt(o,h,i,r,e,d,u,a)}function WYt(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O,L;for(I=new Lw,g=new Kd(e.b);g.a<g.c.c.length;)for(x=new Kd($z(Z1(g),29).a);x.a<x.c.c.length;){for((v=$z(Z1(x),10)).p=-1,f=RXt,E=RXt,C=new Kd(v.j);C.a<C.c.c.length;){for(a=new Kd((T=$z(Z1(C),11)).e);a.a<a.c.c.length;)n=$z(Z1(a),17),S=$z(yTt(n,(zYt(),hwe)),19).a,f=i.Math.max(f,S);for(r=new Kd(T.g);r.a<r.c.c.length;)n=$z(Z1(r),17),S=$z(yTt(n,(zYt(),hwe)),19).a,E=i.Math.max(E,S)}uct(v,qme,nft(f)),uct(v,Kme,nft(E))}for(w=0,d=new Kd(e.b);d.a<d.c.c.length;)for(x=new Kd($z(Z1(d),29).a);x.a<x.c.c.length;)(v=$z(Z1(x),10)).p<0&&((M=new nm).b=w++,xjt(t,v,M),I.c[I.c.length]=M);for(_=sP(I.c.length),h=sP(I.c.length),s=0;s<I.c.length;s++)Kz(_,new Lw),Kz(h,nft(0));for(wqt(e,I,_,h),O=$z(Xbt(I,N8(Xme,M3t,257,I.c.length,0,1)),840),k=$z(Xbt(_,N8(Bte,JZt,15,_.c.length,0,1)),192),l=N8(ADe,uVt,25,h.c.length,15,1),c=0;c<l.length;c++)l[c]=(l1(c,h.c.length),$z(h.c[c],19)).a;for(y=0,m=new Lw,u=0;u<O.length;u++)0==l[u]&&Kz(m,O[u]);for(b=N8(ADe,uVt,25,O.length,15,1);0!=m.c.length;)for(b[(M=$z(s6(m,0),257)).b]=y++;!k[M.b].dc();)--l[(L=$z(k[M.b].$c(0),257)).b],0==l[L.b]&&(m.c[m.c.length]=L);for(t.a=N8(Xme,M3t,257,O.length,0,1),o=0;o<O.length;o++)for(p=O[o],A=b[o],t.a[A]=p,p.b=A,x=new Kd(p.e);x.a<x.c.c.length;)(v=$z(Z1(x),10)).p=A;return t.a}function XYt(t){var e,n,i;if(t.d>=t.j)return t.a=-1,void(t.c=1);if(e=uX(t.i,t.d++),t.a=e,1!=t.b){switch(e){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,t.d>=t.j||63!=uX(t.i,t.d))break;if(++t.d>=t.j)throw Fw(new rx(vWt((aL(),b8t))));switch(e=uX(t.i,t.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(t.d>=t.j)throw Fw(new rx(vWt((aL(),b8t))));if(61==(e=uX(t.i,t.d++)))i=16;else{if(33!=e)throw Fw(new rx(vWt((aL(),w8t))));i=17}break;case 35:for(;t.d<t.j&&41!=(e=uX(t.i,t.d++)););if(41!=e)throw Fw(new rx(vWt((aL(),y8t))));i=21;break;default:if(45==e||97<=e&&e<=122||65<=e&&e<=90){--t.d,i=22;break}if(40==e){i=23;break}throw Fw(new rx(vWt((aL(),b8t))))}break;case 92:if(i=10,t.d>=t.j)throw Fw(new rx(vWt((aL(),p8t))));t.a=uX(t.i,t.d++);break;default:i=0}t.c=i}else{switch(e){case 92:if(i=10,t.d>=t.j)throw Fw(new rx(vWt((aL(),p8t))));t.a=uX(t.i,t.d++);break;case 45:!(512&~t.e)&&t.d<t.j&&91==uX(t.i,t.d)?(++t.d,i=24):i=0;break;case 91:if(512&~t.e&&t.d<t.j&&58==uX(t.i,t.d)){++t.d,i=20;break}default:(64512&e)==zVt&&t.d<t.j&&56320==(64512&(n=uX(t.i,t.d)))&&(t.a=FVt+(e-zVt<<10)+n-56320,++t.d),i=0}t.c=i}}function VYt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;if((k=$z(yTt(t,(zYt(),twe)),98))!=(X_t(),XAe)&&k!=VAe){for(u=new V6((hit((d=(g=t.b).c.length)+2,NXt),Jtt(idt(idt(5,d+2),(d+2)/10|0)))),p=new V6((hit(d+2,NXt),Jtt(idt(idt(5,d+2),(d+2)/10|0)))),Kz(u,new Nw),Kz(u,new Nw),Kz(p,new Lw),Kz(p,new Lw),x=new Lw,e=0;e<d;e++)for(l1(e,g.c.length),n=$z(g.c[e],29),l1(e,u.c.length),_=$z(u.c[e],83),b=new Nw,u.c[u.c.length]=b,l1(e,p.c.length),T=$z(p.c[e],15),y=new Lw,p.c[p.c.length]=y,r=new Kd(n.a);r.a<r.c.c.length;)if(rft(i=$z(Z1(r),10)))x.c[x.c.length]=i;else{for(c=new oq(QN(ldt(i).a.Kc(),new l));gOt(c);)rft(C=(o=$z(G5(c),17)).c.i)&&((E=$z(_.xc(yTt(C,(uWt(),dfe))),10))||(E=sMt(t,C),_.zc(yTt(C,dfe),E),T.Fc(E)),EJ(o,$z(NU(E.j,1),11)));for(s=new oq(QN(hdt(i).a.Kc(),new l));gOt(s);)rft(S=(o=$z(G5(s),17)).d.i)&&((w=$z(PY(b,yTt(S,(uWt(),dfe))),10))||(w=sMt(t,S),YW(b,yTt(S,dfe),w),y.c[y.c.length]=w),_J(o,$z(NU(w.j,0),11)))}for(h=0;h<p.c.length;h++)if(l1(h,p.c.length),!(m=$z(p.c[h],15)).dc())for(f=null,0==h?(f=new FY(t),OJ(0,g.c.length),_C(g.c,0,f)):h==u.c.length-1?(f=new FY(t),g.c[g.c.length]=f):(l1(h-1,g.c.length),f=$z(g.c[h-1],29)),a=m.Kc();a.Ob();)TJ($z(a.Pb(),10),f);for(v=new Kd(x);v.a<v.c.c.length;)TJ($z(Z1(v),10),null);uct(t,(uWt(),Khe),x)}}function QYt(t,e,n){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k;if(MEt(n,"Coffman-Graham Layering",1),0!=e.a.c.length){for(k=$z(yTt(e,(zYt(),wbe)),19).a,c=0,o=0,d=new Kd(e.a);d.a<d.c.c.length;)for((f=$z(Z1(d),10)).p=c++,a=new oq(QN(hdt(f).a.Kc(),new l));gOt(a);)(r=$z(G5(a),17)).p=o++;for(t.d=N8(MDe,ZQt,25,c,16,1),t.a=N8(MDe,ZQt,25,o,16,1),t.b=N8(ADe,uVt,25,c,15,1),t.e=N8(ADe,uVt,25,c,15,1),t.f=N8(ADe,uVt,25,c,15,1),dit(t.c),i_t(t,e),p=new qq(new Dp(t)),x=new Kd(e.a);x.a<x.c.c.length;){for(a=new oq(QN(ldt(m=$z(Z1(x),10)).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),t.a[r.p]||++t.b[m.p];0==t.b[m.p]&&R8(eTt(p,m))}for(s=0;0!=p.b.c.length;)for(m=$z(wtt(p),10),t.f[m.p]=s++,a=new oq(QN(hdt(m).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),!t.a[r.p]&&(w=r.d.i,--t.b[w.p],QMt(t.c,w,nft(t.f[m.p])),0==t.b[w.p]&&R8(eTt(p,w)));for(g=new qq(new Pp(t)),v=new Kd(e.a);v.a<v.c.c.length;){for(a=new oq(QN(hdt(m=$z(Z1(v),10)).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),t.a[r.p]||++t.e[m.p];0==t.e[m.p]&&R8(eTt(g,m))}for(i=n1(e,h=new Lw);0!=g.b.c.length;)for(y=$z(wtt(g),10),(i.a.c.length>=k||!Npt(y,i))&&(i=n1(e,h)),TJ(y,i),a=new oq(QN(ldt(y).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),!t.a[r.p]&&(b=r.c.i,--t.e[b.p],0==t.e[b.p]&&R8(eTt(g,b)));for(u=h.c.length-1;u>=0;--u)Kz(e.b,(l1(u,h.c.length),$z(h.c[u],29)));e.a.c=N8(Ite,zWt,1,0,5,1),zCt(n)}else zCt(n)}function ZYt(t){var e,n,i,r,a,o,s,c;for(t.b=1,XYt(t),e=null,0==t.c&&94==t.a?(XYt(t),dWt(),dWt(),VPt(e=new _0(4),0,ote),o=new _0(4)):(dWt(),dWt(),o=new _0(4)),r=!0;1!=(c=t.c);){if(0==c&&93==t.a&&!r){e&&(YGt(e,o),o=e);break}if(n=t.a,i=!1,10==c)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cHt(o,g$t(n)),i=!0;break;case 105:case 73:case 99:case 67:cHt(o,g$t(n)),(n=-1)<0&&(i=!0);break;case 112:case 80:if(!(s=PMt(t,n)))throw Fw(new rx(vWt((aL(),M8t))));cHt(o,s),i=!0;break;default:n=HBt(t)}else if(24==c&&!r){if(e&&(YGt(e,o),o=e),YGt(o,ZYt(t)),0!=t.c||93!=t.a)throw Fw(new rx(vWt((aL(),N8t))));break}if(XYt(t),!i){if(0==c){if(91==n)throw Fw(new rx(vWt((aL(),D8t))));if(93==n)throw Fw(new rx(vWt((aL(),P8t))));if(45==n&&!r&&93!=t.a)throw Fw(new rx(vWt((aL(),B8t))))}if(0!=t.c||45!=t.a||45==n&&r)VPt(o,n,n);else{if(XYt(t),1==(c=t.c))throw Fw(new rx(vWt((aL(),O8t))));if(0==c&&93==t.a)VPt(o,n,n),VPt(o,45,45);else{if(0==c&&93==t.a||24==c)throw Fw(new rx(vWt((aL(),B8t))));if(a=t.a,0==c){if(91==a)throw Fw(new rx(vWt((aL(),D8t))));if(93==a)throw Fw(new rx(vWt((aL(),P8t))));if(45==a)throw Fw(new rx(vWt((aL(),B8t))))}else 10==c&&(a=HBt(t));if(XYt(t),n>a)throw Fw(new rx(vWt((aL(),$8t))));VPt(o,n,a)}}}r=!1}if(1==t.c)throw Fw(new rx(vWt((aL(),O8t))));return _Lt(o),HHt(o),t.b=0,XYt(t),o}function JYt(t){WLt(t.c,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#decimal"])),WLt(t.d,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#integer"])),WLt(t.e,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#boolean"])),WLt(t.f,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"EBoolean",t8t,"EBoolean:Object"])),WLt(t.i,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#byte"])),WLt(t.g,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#hexBinary"])),WLt(t.j,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"EByte",t8t,"EByte:Object"])),WLt(t.n,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"EChar",t8t,"EChar:Object"])),WLt(t.t,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#double"])),WLt(t.u,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"EDouble",t8t,"EDouble:Object"])),WLt(t.F,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#float"])),WLt(t.G,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"EFloat",t8t,"EFloat:Object"])),WLt(t.I,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#int"])),WLt(t.J,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"EInt",t8t,"EInt:Object"])),WLt(t.N,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#long"])),WLt(t.O,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"ELong",t8t,"ELong:Object"])),WLt(t.Z,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#short"])),WLt(t.$,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"EShort",t8t,"EShort:Object"])),WLt(t._,R7t,Cst(Hx(zee,1),cXt,2,6,[Q7t,"http://www.w3.org/2001/XMLSchema#string"]))}function tWt(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(1==t.c.length)return l1(0,t.c.length),$z(t.c[0],135);if(t.c.length<=0)return new T6;for(u=new Kd(t);u.a<u.c.c.length;){for(s=$z(Z1(u),135),m=0,p=PWt,b=PWt,d=RXt,g=RXt,y=cwt(s.b,0);y.b!=y.d.c;)w=$z(h3(y),86),m+=$z(yTt(w,(SOt(),Ixe)),19).a,p=i.Math.min(p,w.e.a),b=i.Math.min(b,w.e.b),d=i.Math.max(d,w.e.a+w.f.a),g=i.Math.max(g,w.e.b+w.f.b);uct(s,(SOt(),Ixe),nft(m)),uct(s,(HUt(),Zve),new NA(p,b)),uct(s,Qve,new NA(d,g))}for(EV(),wL(t,new wo),Hot(x=new T6,(l1(0,t.c.length),$z(t.c[0],94))),f=0,C=0,l=new Kd(t);l.a<l.c.c.length;)s=$z(Z1(l),135),k=qj($L($z(yTt(s,(HUt(),Qve)),8)),$z(yTt(s,Zve),8)),f=i.Math.max(f,k.a),C+=k.a*k.b;for(f=i.Math.max(f,i.Math.sqrt(C)*Hv(_B(yTt(x,(SOt(),vxe))))),S=0,A=0,h=0,e=_=Hv(_B(yTt(x,Nxe))),c=new Kd(t);c.a<c.c.c.length;)s=$z(Z1(c),135),S+(k=qj($L($z(yTt(s,(HUt(),Qve)),8)),$z(yTt(s,Zve),8))).a>f&&(S=0,A+=h+_,h=0),kNt(x,s,S,A),e=i.Math.max(e,S+k.a),h=i.Math.max(h,k.b),S+=k.a+_;for(v=new Nw,n=new Nw,T=new Kd(t);T.a<T.c.c.length;)for(r=zv(kB(yTt(E=$z(Z1(T),135),(cWt(),lCe)))),o=(E.q?E.q:une).vc().Kc();o.Ob();)cK(v,(a=$z(o.Pb(),42)).cd())?HM($z(a.cd(),146).wg())!==HM(a.dd())&&(r&&cK(n,a.cd())?(IE(),$z(a.cd(),146).tg()):(YW(v,$z(a.cd(),146),a.dd()),uct(x,$z(a.cd(),146),a.dd()),r&&YW(n,$z(a.cd(),146),a.dd()))):(YW(v,$z(a.cd(),146),a.dd()),uct(x,$z(a.cd(),146),a.dd()));return x}function eWt(){eWt=I,BYt(),QMt(pse=new pZ,(vKt(),gMe),dMe),QMt(pse,EMe,dMe),QMt(pse,pMe,dMe),QMt(pse,xMe,dMe),QMt(pse,vMe,dMe),QMt(pse,yMe,dMe),QMt(pse,xMe,gMe),QMt(pse,dMe,uMe),QMt(pse,gMe,uMe),QMt(pse,EMe,uMe),QMt(pse,pMe,uMe),QMt(pse,mMe,uMe),QMt(pse,xMe,uMe),QMt(pse,vMe,uMe),QMt(pse,yMe,uMe),QMt(pse,fMe,uMe),QMt(pse,dMe,kMe),QMt(pse,gMe,kMe),QMt(pse,uMe,kMe),QMt(pse,EMe,kMe),QMt(pse,pMe,kMe),QMt(pse,mMe,kMe),QMt(pse,xMe,kMe),QMt(pse,fMe,kMe),QMt(pse,_Me,kMe),QMt(pse,vMe,kMe),QMt(pse,bMe,kMe),QMt(pse,yMe,kMe),QMt(pse,gMe,EMe),QMt(pse,pMe,EMe),QMt(pse,xMe,EMe),QMt(pse,yMe,EMe),QMt(pse,gMe,pMe),QMt(pse,EMe,pMe),QMt(pse,xMe,pMe),QMt(pse,pMe,pMe),QMt(pse,vMe,pMe),QMt(pse,dMe,lMe),QMt(pse,gMe,lMe),QMt(pse,uMe,lMe),QMt(pse,kMe,lMe),QMt(pse,EMe,lMe),QMt(pse,pMe,lMe),QMt(pse,mMe,lMe),QMt(pse,xMe,lMe),QMt(pse,_Me,lMe),QMt(pse,fMe,lMe),QMt(pse,yMe,lMe),QMt(pse,vMe,lMe),QMt(pse,wMe,lMe),QMt(pse,dMe,_Me),QMt(pse,gMe,_Me),QMt(pse,uMe,_Me),QMt(pse,EMe,_Me),QMt(pse,pMe,_Me),QMt(pse,mMe,_Me),QMt(pse,xMe,_Me),QMt(pse,fMe,_Me),QMt(pse,yMe,_Me),QMt(pse,bMe,_Me),QMt(pse,wMe,_Me),QMt(pse,gMe,fMe),QMt(pse,EMe,fMe),QMt(pse,pMe,fMe),QMt(pse,xMe,fMe),QMt(pse,_Me,fMe),QMt(pse,yMe,fMe),QMt(pse,vMe,fMe),QMt(pse,dMe,hMe),QMt(pse,gMe,hMe),QMt(pse,uMe,hMe),QMt(pse,EMe,hMe),QMt(pse,pMe,hMe),QMt(pse,mMe,hMe),QMt(pse,xMe,hMe),QMt(pse,fMe,hMe),QMt(pse,yMe,hMe),QMt(pse,gMe,vMe),QMt(pse,uMe,vMe),QMt(pse,kMe,vMe),QMt(pse,pMe,vMe),QMt(pse,dMe,bMe),QMt(pse,gMe,bMe),QMt(pse,kMe,bMe),QMt(pse,EMe,bMe),QMt(pse,pMe,bMe),QMt(pse,mMe,bMe),QMt(pse,xMe,bMe),QMt(pse,xMe,wMe),QMt(pse,pMe,wMe),QMt(pse,fMe,dMe),QMt(pse,fMe,EMe),QMt(pse,fMe,uMe),QMt(pse,mMe,dMe),QMt(pse,mMe,gMe),QMt(pse,mMe,kMe)}function nWt(t,e){switch(t.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new UV(t.b,t.a,e,t.c);case 1:return new ON(t.a,e,Igt(e.Tg(),t.c));case 43:return new NN(t.a,e,Igt(e.Tg(),t.c));case 3:return new IN(t.a,e,Igt(e.Tg(),t.c));case 45:return new LN(t.a,e,Igt(e.Tg(),t.c));case 41:return new y7($z(Axt(t.c),26),t.a,e,Igt(e.Tg(),t.c));case 50:return new mit($z(Axt(t.c),26),t.a,e,Igt(e.Tg(),t.c));case 5:return new eR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 47:return new nR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 7:return new tK(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 49:return new tR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 9:return new RN(t.a,e,Igt(e.Tg(),t.c));case 11:return new jN(t.a,e,Igt(e.Tg(),t.c));case 13:return new BN(t.a,e,Igt(e.Tg(),t.c));case 15:return new _H(t.a,e,Igt(e.Tg(),t.c));case 17:return new $N(t.a,e,Igt(e.Tg(),t.c));case 19:return new PN(t.a,e,Igt(e.Tg(),t.c));case 21:return new DN(t.a,e,Igt(e.Tg(),t.c));case 23:return new yH(t.a,e,Igt(e.Tg(),t.c));case 25:return new uR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 27:return new cR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 29:return new oR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 31:return new iR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 33:return new sR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 35:return new aR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 37:return new rR(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 39:return new eK(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 40:return new kat(e,Igt(e.Tg(),t.c));default:throw Fw(new dv("Unknown feature style: "+t.e))}}function iWt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;switch(MEt(n,"Brandes & Koepf node placement",1),t.a=e,t.c=$Ft(e),i=$z(yTt(e,(zYt(),Lbe)),274),d=zv(kB(yTt(e,Nbe))),t.d=i==(Fkt(),Xle)&&!d||i==Kle,QUt(t,e),v=null,x=null,b=null,w=null,hit(4,IXt),p=new V6(4),$z(yTt(e,Lbe),274).g){case 3:b=new HRt(e,t.c.d,(oJ(),ive),(gZ(),Jme)),p.c[p.c.length]=b;break;case 1:w=new HRt(e,t.c.d,(oJ(),rve),(gZ(),Jme)),p.c[p.c.length]=w;break;case 4:v=new HRt(e,t.c.d,(oJ(),ive),(gZ(),tve)),p.c[p.c.length]=v;break;case 2:x=new HRt(e,t.c.d,(oJ(),rve),(gZ(),tve)),p.c[p.c.length]=x;break;default:b=new HRt(e,t.c.d,(oJ(),ive),(gZ(),Jme)),w=new HRt(e,t.c.d,rve,Jme),v=new HRt(e,t.c.d,ive,tve),x=new HRt(e,t.c.d,rve,tve),p.c[p.c.length]=v,p.c[p.c.length]=x,p.c[p.c.length]=b,p.c[p.c.length]=w}for(r=new eA(e,t.c),s=new Kd(p);s.a<s.c.c.length;)CYt(r,a=$z(Z1(s),180),t.b),Yzt(a);for(f=new Qvt(e,t.c),c=new Kd(p);c.a<c.c.c.length;)zqt(f,a=$z(Z1(c),180));if(n.n)for(u=new Kd(p);u.a<u.c.c.length;)AH(n,(a=$z(Z1(u),180))+" size is "+wLt(a));if(h=null,t.d&&Azt(e,l=$Kt(t,p,t.c.d),n)&&(h=l),!h)for(u=new Kd(p);u.a<u.c.c.length;)Azt(e,a=$z(Z1(u),180),n)&&(!h||wLt(h)>wLt(a))&&(h=a);for(!h&&(l1(0,p.c.length),h=$z(p.c[0],180)),g=new Kd(e.b);g.a<g.c.c.length;)for(m=new Kd($z(Z1(g),29).a);m.a<m.c.c.length;)(y=$z(Z1(m),10)).n.b=Hv(h.p[y.p])+Hv(h.d[y.p]);for(n.n&&(AH(n,"Chosen node placement: "+h),AH(n,"Blocks: "+DIt(h)),AH(n,"Classes: "+qOt(h,n)),AH(n,"Marked edges: "+t.b)),o=new Kd(p);o.a<o.c.c.length;)(a=$z(Z1(o),180)).g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;Grt(t.c),t.b.a.$b(),zCt(n)}function rWt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(o=new XE,y=$z(yTt(n,(zYt(),Gpe)),103),g=0,$rt(o,(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));0!=o.b;)u=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),33),(HM(ZOt(e,Ope))!==HM((yct(),Nye))||HM(ZOt(e,Hpe))===HM((Wyt(),kle))||HM(ZOt(e,Hpe))===HM((Wyt(),vle))||zv(kB(ZOt(e,Npe)))||HM(ZOt(e,Cpe))!==HM((Fht(),dse)))&&!zv(kB(ZOt(u,Ipe)))&&Vwt(u,(uWt(),ffe),nft(g++)),!zv(kB(ZOt(u,Hbe)))&&(h=0!=(!u.a&&(u.a=new tK(UIe,u,10,11)),u.a).i,d=vEt(u),f=HM(ZOt(u,sbe))===HM((oht(),bAe)),b=null,(E=!T8(u,(cWt(),tCe))||wR(EB(ZOt(u,tCe)),d1t))&&f&&(h||d)&&(uct(b=vFt(u),Gpe,y),OP(b,gwe)&&_v(new ogt(Hv(_B(yTt(b,gwe)))),b),0!=$z(ZOt(u,Rbe),174).gc()&&(l=b,VE(new PU(null,(!u.c&&(u.c=new tK(GIe,u,9,9)),new f1(u.c,16))),new qg(l)),yBt(u,b))),m=n,(v=$z(PY(t.a,VZ(u)),10))&&(m=v.e),p=dqt(t,u,m),b&&(p.e=b,b.e=p,$rt(o,(!u.a&&(u.a=new tK(UIe,u,10,11)),u.a))));for(g=0,n5(o,e,o.c.b,o.c);0!=o.b;){for(c=new MN((!(a=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),33)).b&&(a.b=new tK(BIe,a,12,3)),a.b));c.e!=c.i.gc();)tRt(s=$z(vwt(c),79)),(HM(ZOt(e,Ope))!==HM((yct(),Nye))||HM(ZOt(e,Hpe))===HM((Wyt(),kle))||HM(ZOt(e,Hpe))===HM((Wyt(),vle))||zv(kB(ZOt(e,Npe)))||HM(ZOt(e,Cpe))!==HM((Fht(),dse)))&&Vwt(s,(uWt(),ffe),nft(g++)),k=CEt($z(Yet((!s.b&&(s.b=new cR(PIe,s,4,7)),s.b),0),82)),_=CEt($z(Yet((!s.c&&(s.c=new cR(PIe,s,5,8)),s.c),0),82)),!(zv(kB(ZOt(s,Hbe)))||zv(kB(ZOt(k,Hbe)))||zv(kB(ZOt(_,Hbe))))&&(w=a,XMt(s)&&zv(kB(ZOt(k,fbe)))&&zv(kB(ZOt(s,dbe)))||Set(_,k)?w=k:Set(k,_)&&(w=_),m=n,(v=$z(PY(t.a,w),10))&&(m=v.e),uct(oWt(t,s,w,m),(uWt(),Rhe),LPt(t,s,e,n)));if(f=HM(ZOt(a,sbe))===HM((oht(),bAe)))for(r=new MN((!a.a&&(a.a=new tK(UIe,a,10,11)),a.a));r.e!=r.i.gc();)E=!T8(i=$z(vwt(r),33),(cWt(),tCe))||wR(EB(ZOt(i,tCe)),d1t),x=HM(ZOt(i,sbe))===HM(bAe),E&&x&&n5(o,i,o.c.b,o.c)}}function aWt(t,e,n,i,r,a){var o,s,c,u,l,h,f;switch(e){case 71:o=i.q.getFullYear()-cVt>=-1900?1:0,oI(t,n>=4?Cst(Hx(zee,1),cXt,2,6,[lVt,hVt])[o]:Cst(Hx(zee,1),cXt,2,6,["BC","AD"])[o]);break;case 121:swt(t,n,i);break;case 77:KRt(t,n,i);break;case 107:xtt(t,0==(s=r.q.getHours())?24:s,n);break;case 83:BNt(t,n,r);break;case 69:c=i.q.getDay(),oI(t,5==n?Cst(Hx(zee,1),cXt,2,6,["S","M","T","W","T","F","S"])[c]:4==n?Cst(Hx(zee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt])[c]:Cst(Hx(zee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[c]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?oI(t,Cst(Hx(zee,1),cXt,2,6,["AM","PM"])[1]):oI(t,Cst(Hx(zee,1),cXt,2,6,["AM","PM"])[0]);break;case 104:xtt(t,0==(u=r.q.getHours()%12)?12:u,n);break;case 75:xtt(t,r.q.getHours()%12,n);break;case 72:xtt(t,r.q.getHours(),n);break;case 99:l=i.q.getDay(),5==n?oI(t,Cst(Hx(zee,1),cXt,2,6,["S","M","T","W","T","F","S"])[l]):4==n?oI(t,Cst(Hx(zee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt])[l]):3==n?oI(t,Cst(Hx(zee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[l]):xtt(t,l,1);break;case 76:h=i.q.getMonth(),5==n?oI(t,Cst(Hx(zee,1),cXt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[h]):4==n?oI(t,Cst(Hx(zee,1),cXt,2,6,[VXt,QXt,ZXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt])[h]):3==n?oI(t,Cst(Hx(zee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[h]):xtt(t,h+1,n);break;case 81:f=i.q.getMonth()/3|0,oI(t,n<4?Cst(Hx(zee,1),cXt,2,6,["Q1","Q2","Q3","Q4"])[f]:Cst(Hx(zee,1),cXt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[f]);break;case 100:xtt(t,i.q.getDate(),n);break;case 109:xtt(t,r.q.getMinutes(),n);break;case 115:xtt(t,r.q.getSeconds(),n);break;case 122:oI(t,n<4?a.c[0]:a.c[1]);break;case 118:oI(t,a.b);break;case 90:oI(t,n<3?JAt(a):3==n?dMt(a):gMt(a.a));break;default:return!1}return!0}function oWt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(tRt(e),c=$z(Yet((!e.b&&(e.b=new cR(PIe,e,4,7)),e.b),0),82),l=$z(Yet((!e.c&&(e.c=new cR(PIe,e,5,8)),e.c),0),82),s=CEt(c),u=CEt(l),o=0==(!e.a&&(e.a=new tK(jIe,e,6,6)),e.a).i?null:$z(Yet((!e.a&&(e.a=new tK(jIe,e,6,6)),e.a),0),202),k=$z(PY(t.a,s),10),C=$z(PY(t.a,u),10),_=null,S=null,iN(c,186)&&(iN(x=$z(PY(t.a,c),299),11)?_=$z(x,11):iN(x,10)&&(k=$z(x,10),_=$z(NU(k.j,0),11))),iN(l,186)&&(iN(T=$z(PY(t.a,l),299),11)?S=$z(T,11):iN(T,10)&&(C=$z(T,10),S=$z(NU(C.j,0),11))),!k||!C)throw Fw(new ix("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(Hot(p=new fQ,e),uct(p,(uWt(),dfe),e),uct(p,(zYt(),bbe),null),d=$z(yTt(i,Qhe),21),k==C&&d.Fc((fBt(),whe)),_||(ait(),v=Hye,E=null,o&&bO($z(yTt(k,twe),98))&&(X3(E=new NA(o.j,o.k),qZ(e)),J4(E,n),Set(u,s)&&(v=zye,Gj(E,k.n))),_=gHt(k,E,v,i)),S||(ait(),v=zye,A=null,o&&bO($z(yTt(C,twe),98))&&(X3(A=new NA(o.b,o.c),qZ(e)),J4(A,n)),S=gHt(C,A,v,bW(C))),EJ(p,_),_J(p,S),(_.e.c.length>1||_.g.c.length>1||S.e.c.length>1||S.g.c.length>1)&&d.Fc((fBt(),fhe)),f=new MN((!e.n&&(e.n=new tK(HIe,e,1,7)),e.n));f.e!=f.i.gc();)if(!zv(kB(ZOt(h=$z(vwt(f),137),Hbe)))&&h.a)switch(b=zlt(h),Kz(p.b,b),$z(yTt(b,Xpe),272).g){case 1:case 2:d.Fc((fBt(),lhe));break;case 0:d.Fc((fBt(),che)),uct(b,Xpe,(Bet(),GSe))}if(a=$z(yTt(i,zpe),314),w=$z(yTt(i,jbe),315),r=a==(Mit(),cle)||w==(Nyt(),bye),o&&0!=(!o.a&&(o.a=new IN(LIe,o,5)),o.a).i&&r){for(y=HCt(o),g=new mm,m=cwt(y,0);m.b!=m.d.c;)DH(g,new fO($z(h3(m),8)));uct(p,gfe,g)}return p}function sWt(t){t.gb||(t.gb=!0,t.b=vot(t,0),Brt(t.b,18),jrt(t.b,19),t.a=vot(t,1),Brt(t.a,1),jrt(t.a,2),jrt(t.a,3),jrt(t.a,4),jrt(t.a,5),t.o=vot(t,2),Brt(t.o,8),Brt(t.o,9),jrt(t.o,10),jrt(t.o,11),jrt(t.o,12),jrt(t.o,13),jrt(t.o,14),jrt(t.o,15),jrt(t.o,16),jrt(t.o,17),jrt(t.o,18),jrt(t.o,19),jrt(t.o,20),jrt(t.o,21),jrt(t.o,22),jrt(t.o,23),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),t.p=vot(t,3),Brt(t.p,2),Brt(t.p,3),Brt(t.p,4),Brt(t.p,5),jrt(t.p,6),jrt(t.p,7),oet(t.p),oet(t.p),t.q=vot(t,4),Brt(t.q,8),t.v=vot(t,5),jrt(t.v,9),oet(t.v),oet(t.v),oet(t.v),t.w=vot(t,6),Brt(t.w,2),Brt(t.w,3),Brt(t.w,4),jrt(t.w,5),t.B=vot(t,7),jrt(t.B,1),oet(t.B),oet(t.B),oet(t.B),t.Q=vot(t,8),jrt(t.Q,0),oet(t.Q),t.R=vot(t,9),Brt(t.R,1),t.S=vot(t,10),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),t.T=vot(t,11),jrt(t.T,10),jrt(t.T,11),jrt(t.T,12),jrt(t.T,13),jrt(t.T,14),oet(t.T),oet(t.T),t.U=vot(t,12),Brt(t.U,2),Brt(t.U,3),jrt(t.U,4),jrt(t.U,5),jrt(t.U,6),jrt(t.U,7),oet(t.U),t.V=vot(t,13),jrt(t.V,10),t.W=vot(t,14),Brt(t.W,18),Brt(t.W,19),Brt(t.W,20),jrt(t.W,21),jrt(t.W,22),jrt(t.W,23),t.bb=vot(t,15),Brt(t.bb,10),Brt(t.bb,11),Brt(t.bb,12),Brt(t.bb,13),Brt(t.bb,14),Brt(t.bb,15),Brt(t.bb,16),jrt(t.bb,17),oet(t.bb),oet(t.bb),t.eb=vot(t,16),Brt(t.eb,2),Brt(t.eb,3),Brt(t.eb,4),Brt(t.eb,5),Brt(t.eb,6),Brt(t.eb,7),jrt(t.eb,8),jrt(t.eb,9),t.ab=vot(t,17),Brt(t.ab,0),Brt(t.ab,1),t.H=vot(t,18),jrt(t.H,0),jrt(t.H,1),jrt(t.H,2),jrt(t.H,3),jrt(t.H,4),jrt(t.H,5),oet(t.H),t.db=vot(t,19),jrt(t.db,2),t.c=xot(t,20),t.d=xot(t,21),t.e=xot(t,22),t.f=xot(t,23),t.i=xot(t,24),t.g=xot(t,25),t.j=xot(t,26),t.k=xot(t,27),t.n=xot(t,28),t.r=xot(t,29),t.s=xot(t,30),t.t=xot(t,31),t.u=xot(t,32),t.fb=xot(t,33),t.A=xot(t,34),t.C=xot(t,35),t.D=xot(t,36),t.F=xot(t,37),t.G=xot(t,38),t.I=xot(t,39),t.J=xot(t,40),t.L=xot(t,41),t.M=xot(t,42),t.N=xot(t,43),t.O=xot(t,44),t.P=xot(t,45),t.X=xot(t,46),t.Y=xot(t,47),t.Z=xot(t,48),t.$=xot(t,49),t._=xot(t,50),t.cb=xot(t,51),t.K=xot(t,52))}function cWt(){var t,e;cWt=I,tCe=new aw(d5t),wSe=new aw(g5t),dyt(),eCe=new II(Y2t,nCe=STe),iCe=new II(WZt,null),rCe=new aw(p5t),d_t(),uCe=xG(ZTe,Cst(Hx(BSe,1),OXt,291,0,[WTe])),cCe=new II(o3t,uCe),lCe=new II(K2t,(cD(),!1)),$ht(),hCe=new II(Q2t,fCe=FSe),Edt(),bCe=new II(m2t,wCe=ZSe),vCe=new II(I4t,!1),oht(),xCe=new II(g2t,kCe=wAe),KCe=new KO(12),qCe=new II(XZt,KCe),CCe=new II(xJt,!1),SCe=new II(y3t,!1),GCe=new II(EJt,!1),X_t(),aSe=new II(kJt,oSe=VAe),gSe=new aw(p3t),pSe=new aw(bJt),bSe=new aw(mJt),mSe=new aw(vJt),MCe=new mm,ACe=new II(s3t,MCe),sCe=new II(l3t,!1),_Ce=new II(h3t,!1),OCe=new lm,ICe=new II(b3t,OCe),UCe=new II(G2t,!1),ySe=new II(w5t,1),new II(y5t,!0),nft(0),new II(m5t,nft(100)),new II(v5t,!1),nft(0),new II(x5t,nft(4e3)),nft(0),new II(k5t,nft(400)),new II(_5t,!1),new II(E5t,!1),new II(T5t,!0),new II(C5t,!1),$gt(),aCe=new II(f5t,oCe=eIe),vSe=new II(L2t,10),xSe=new II(N2t,10),kSe=new II(KZt,20),_Se=new II(D2t,10),ESe=new II(yJt,2),TSe=new II(P2t,10),SSe=new II(B2t,0),ASe=new II($2t,5),MSe=new II(j2t,1),ISe=new II(R2t,1),OSe=new II(wJt,20),LSe=new II(F2t,10),PSe=new II(z2t,10),CSe=new aw(H2t),DSe=new lO,NSe=new II(w3t,DSe),XCe=new aw(g3t),YCe=new II(d3t,WCe=!1),NCe=new KO(5),LCe=new II(Z2t,NCe),JOt(),e=$z(Yk(jAe),9),PCe=new XR(e,$z(Ej(e,e.length),9),0),DCe=new II(SJt,PCe),rwt(),QCe=new II(e3t,ZCe=FAe),tSe=new aw(n3t),eSe=new aw(i3t),nSe=new aw(r3t),JCe=new aw(a3t),t=$z(Yk(FMe),9),jCe=new XR(t,$z(Ej(t,t.length),9),0),BCe=new II(CJt,jCe),HCe=Jft((JRt(),UMe)),zCe=new II(TJt,HCe),FCe=new NA(0,0),$Ce=new II(FJt,FCe),RCe=new II(V2t,!1),Bet(),gCe=new II(c3t,pCe=GSe),dCe=new II(_Jt,!1),nft(1),new II(A5t,null),iSe=new aw(f3t),sSe=new aw(u3t),vKt(),fSe=new II(q2t,dSe=CMe),rSe=new aw(U2t),hMt(),lSe=Jft(iMe),uSe=new II(AJt,lSe),cSe=new II(J2t,!1),hSe=new II(t3t,!0),ECe=new II(W2t,!1),TCe=new II(X2t,!1),yCe=new II(YZt,1),JEt(),new II(M5t,mCe=aAe),VCe=!0}function uWt(){var t,e;uWt=I,dfe=new aw(MJt),Rhe=new aw("coordinateOrigin"),_fe=new aw("processors"),jhe=new ej("compoundNode",(cD(),!1)),tfe=new ej("insideConnections",!1),gfe=new aw("originalBendpoints"),pfe=new aw("originalDummyNodePosition"),bfe=new aw("originalLabelEdge"),Tfe=new aw("representedLabels"),Uhe=new aw("endLabels"),Ghe=new aw("endLabel.origin"),afe=new ej("labelSide",(Kvt(),EAe)),hfe=new ej("maxEdgeThickness",0),Cfe=new ej("reversed",!1),Efe=new aw(IJt),cfe=new ej("longEdgeSource",null),ufe=new ej("longEdgeTarget",null),sfe=new ej("longEdgeHasLabelDummies",!1),ofe=new ej("longEdgeBeforeLabelDummy",!1),Hhe=new ej("edgeConstraint",(Qst(),Ile)),nfe=new aw("inLayerLayoutUnit"),efe=new ej("inLayerConstraint",(U9(),Che)),ife=new ej("inLayerSuccessorConstraint",new Lw),rfe=new ej("inLayerSuccessorConstraintBetweenNonDummies",!1),xfe=new aw("portDummy"),$he=new ej("crossingHint",nft(0)),Qhe=new ej("graphProperties",new XR(e=$z(Yk(mhe),9),$z(Ej(e,e.length),9),0)),Whe=new ej("externalPortSide",(vKt(),CMe)),Xhe=new ej("externalPortSize",new Hk),Khe=new aw("externalPortReplacedDummies"),Yhe=new aw("externalPortReplacedDummy"),qhe=new ej("externalPortConnections",new XR(t=$z(Yk(DMe),9),$z(Ej(t,t.length),9),0)),kfe=new ej(gZt,0),Nhe=new aw("barycenterAssociates"),Bfe=new aw("TopSideComments"),Dhe=new aw("BottomSideComments"),Bhe=new aw("CommentConnectionPort"),Jhe=new ej("inputCollect",!1),mfe=new ej("outputCollect",!1),zhe=new ej("cyclic",!1),Fhe=new aw("crossHierarchyMap"),Pfe=new aw("targetOffset"),new ej("splineLabelSize",new Hk),Mfe=new aw("spacings"),vfe=new ej("partitionConstraint",!1),Phe=new aw("breakingPoint.info"),Nfe=new aw("splines.survivingEdge"),Lfe=new aw("splines.route.start"),Ife=new aw("splines.edgeChain"),yfe=new aw("originalPortConstraints"),Afe=new aw("selfLoopHolder"),Ofe=new aw("splines.nsPortY"),ffe=new aw("modelOrder"),lfe=new aw("longEdgeTargetNode"),Vhe=new ej(G1t,!1),Sfe=new ej(G1t,!1),Zhe=new aw("layerConstraints.hiddenNodes"),wfe=new aw("layerConstraints.opposidePort"),Dfe=new aw("targetNode.modelOrder")}function lWt(){lWt=I,jtt(),Ede=new II(q1t,Tde=Tle),Hde=new II(K1t,(cD(),!1)),U2(),Yde=new II(Y1t,Wde=Ihe),fge=new II(W1t,!1),dge=new II(X1t,!0),Gfe=new II(V1t,!1),G9(),Lge=new II(Q1t,Nge=jye),nft(1),zge=new II(Z1t,nft(7)),Hge=new II(J1t,!1),Ude=new II(t0t,!1),Wyt(),kde=new II(e0t,_de=mle),_Et(),lge=new II(n0t,hge=tye),_dt(),tge=new II(i0t,ege=Hfe),nft(-1),Jde=new II(r0t,nft(-1)),nft(-1),nge=new II(a0t,nft(-1)),nft(-1),ige=new II(o0t,nft(4)),nft(-1),age=new II(s0t,nft(2)),cDt(),cge=new II(c0t,uge=Aye),nft(0),sge=new II(u0t,nft(0)),Qde=new II(l0t,nft(PWt)),Mit(),vde=new II(h0t,xde=ule),ade=new II(f0t,!1),gde=new II(d0t,.1),yde=new II(g0t,!1),nft(-1),bde=new II(p0t,nft(-1)),nft(-1),wde=new II(b0t,nft(-1)),nft(0),ode=new II(w0t,nft(40)),jot(),hde=new II(y0t,fde=khe),sde=new II(m0t,cde=vhe),Nyt(),Ige=new II(v0t,Oge=pye),vge=new aw(x0t),g9(),gge=new II(k0t,pge=Hle),Fkt(),wge=new II(_0t,yge=Xle),_ge=new II(E0t,.3),Tge=new aw(T0t),fyt(),Cge=new II(C0t,Sge=hye),zat(),Lde=new II(S0t,Nde=Yye),M6(),Dde=new II(A0t,Pde=Zye),qut(),Bde=new II(M0t,jde=ime),$de=new II(I0t,.2),Ide=new II(O0t,2),jge=new II(L0t,null),$ge=new II(N0t,10),Rge=new II(D0t,10),Fge=new II(P0t,20),nft(0),Dge=new II(B0t,nft(0)),nft(0),Pge=new II(j0t,nft(0)),nft(0),Bge=new II(R0t,nft(0)),qfe=new II($0t,!1),QTt(),Wfe=new II(F0t,Xfe=rhe),Y8(),Kfe=new II(z0t,Yfe=ale),qde=new II(H0t,!1),nft(0),Gde=new II(U0t,nft(16)),nft(0),Kde=new II(G0t,nft(5)),Ost(),lpe=new II(q0t,hpe=fme),Uge=new II(K0t,10),Kge=new II(Y0t,1),oit(),tpe=new II(W0t,epe=ple),Xge=new aw(X0t),Zge=nft(1),nft(0),Qge=new II(V0t,Zge),gat(),ppe=new II(Q0t,bpe=ome),fpe=new aw(Z0t),ope=new II(J0t,!0),rpe=new II(t2t,2),cpe=new II(e2t,!0),pCt(),Ade=new II(n2t,Mde=Rle),OSt(),Cde=new II(i2t,Sde=Zue),yct(),ide=new II(r2t,rde=Nye),nde=new II(a2t,!1),Fht(),Vfe=new II(o2t,Qfe=dse),Elt(),tde=new II(s2t,ede=rye),Zfe=new II(c2t,0),Jfe=new II(u2t,0),Vde=xle,Xde=cle,rge=Jwe,oge=Jwe,Zde=Vwe,oht(),pde=bAe,mde=ule,dde=ule,ude=ule,lde=bAe,xge=yye,kge=pye,bge=pye,mge=pye,Ege=wye,Mge=yye,Age=yye,Edt(),Rde=QSe,Fde=QSe,zde=ime,Ode=VSe,Gge=dme,qge=hme,Yge=dme,Wge=hme,npe=dme,ipe=hme,Vge=gle,Jge=ple,wpe=dme,ype=hme,dpe=dme,gpe=hme,spe=hme,ape=hme,upe=hme}function hWt(){hWt=I,ice=new ZC("DIRECTION_PREPROCESSOR",0),tce=new ZC("COMMENT_PREPROCESSOR",1),rce=new ZC("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),vce=new ZC("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),$ce=new ZC("PARTITION_PREPROCESSOR",4),Ece=new ZC("LABEL_DUMMY_INSERTER",5),qce=new ZC("SELF_LOOP_PREPROCESSOR",6),Mce=new ZC("LAYER_CONSTRAINT_PREPROCESSOR",7),jce=new ZC("PARTITION_MIDPROCESSOR",8),pce=new ZC("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Nce=new ZC("NODE_PROMOTION",10),Ace=new ZC("LAYER_CONSTRAINT_POSTPROCESSOR",11),Rce=new ZC("PARTITION_POSTPROCESSOR",12),hce=new ZC("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Yce=new ZC("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Wse=new ZC("BREAKING_POINT_INSERTER",15),Lce=new ZC("LONG_EDGE_SPLITTER",16),zce=new ZC("PORT_SIDE_PROCESSOR",17),xce=new ZC("INVERTED_PORT_PROCESSOR",18),Fce=new ZC("PORT_LIST_SORTER",19),Xce=new ZC("SORT_BY_INPUT_ORDER_OF_MODEL",20),Pce=new ZC("NORTH_SOUTH_PORT_PREPROCESSOR",21),Xse=new ZC("BREAKING_POINT_PROCESSOR",22),Bce=new ZC(k1t,23),Vce=new ZC(_1t,24),Uce=new ZC("SELF_LOOP_PORT_RESTORER",25),Wce=new ZC("SINGLE_EDGE_GRAPH_WRAPPER",26),kce=new ZC("IN_LAYER_CONSTRAINT_PROCESSOR",27),cce=new ZC("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),_ce=new ZC("LABEL_AND_NODE_SIZE_PROCESSOR",29),mce=new ZC("INNERMOST_NODE_MARGIN_CALCULATOR",30),Kce=new ZC("SELF_LOOP_ROUTER",31),Zse=new ZC("COMMENT_NODE_MARGIN_CALCULATOR",32),oce=new ZC("END_LABEL_PREPROCESSOR",33),Cce=new ZC("LABEL_DUMMY_SWITCHER",34),Qse=new ZC("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),Sce=new ZC("LABEL_SIDE_SELECTOR",36),wce=new ZC("HYPEREDGE_DUMMY_MERGER",37),fce=new ZC("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Ice=new ZC("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),gce=new ZC("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),ece=new ZC("CONSTRAINTS_POSTPROCESSOR",41),Jse=new ZC("COMMENT_POSTPROCESSOR",42),yce=new ZC("HYPERNODE_PROCESSOR",43),dce=new ZC("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),Oce=new ZC("LONG_EDGE_JOINER",45),Gce=new ZC("SELF_LOOP_POSTPROCESSOR",46),Vse=new ZC("BREAKING_POINT_REMOVER",47),Dce=new ZC("NORTH_SOUTH_PORT_POSTPROCESSOR",48),bce=new ZC("HORIZONTAL_COMPACTOR",49),Tce=new ZC("LABEL_DUMMY_REMOVER",50),uce=new ZC("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),sce=new ZC("END_LABEL_SORTER",52),Hce=new ZC("REVERSED_EDGE_RESTORER",53),ace=new ZC("END_LABEL_POSTPROCESSOR",54),lce=new ZC("HIERARCHICAL_NODE_RESIZER",55),nce=new ZC("DIRECTION_POSTPROCESSOR",56)}function fWt(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O,L,N,D,P,B,j,R,$,F,z,H,U,G,q,K,Y,W,X,V,Q,Z,J,tt,et,nt,it,rt,at,ot,st;for(Z=0,N=0,B=(I=e).length;N<B;++N)for(G=new Kd((A=I[N]).j);G.a<G.c.c.length;){for(K=0,c=new Kd((U=$z(Z1(G),11)).g);c.a<c.c.c.length;)s=$z(Z1(c),17),A.c!=s.d.i.c&&++K;K>0&&(t.a[U.p]=Z++)}for(it=0,D=0,j=(O=n).length;D<j;++D){for(R=0,G=new Kd((A=O[D]).j);G.a<G.c.c.length&&(U=$z(Z1(G),11)).j==(vKt(),cMe);)for(c=new Kd(U.e);c.a<c.c.c.length;)if(s=$z(Z1(c),17),A.c!=s.c.i.c){++R;break}for(F=0,Y=new _2(A.j,A.j.c.length);Y.b>0;){for(TP(Y.b>0),K=0,c=new Kd((U=$z(Y.a.Xb(Y.c=--Y.b),11)).e);c.a<c.c.c.length;)s=$z(Z1(c),17),A.c!=s.c.i.c&&++K;K>0&&(U.j==(vKt(),cMe)?(t.a[U.p]=it,++it):(t.a[U.p]=it+R+F,++F))}it+=F}for(q=new Nw,p=new uO,L=0,P=(M=e).length;L<P;++L)for(et=new Kd((A=M[L]).j);et.a<et.c.c.length;)for(c=new Kd((tt=$z(Z1(et),11)).g);c.a<c.c.c.length;)if(at=(s=$z(Z1(c),17)).d,A.c!=at.i.c)if(J=$z(zM(MQ(q.f,tt)),467),rt=$z(zM(MQ(q.f,at)),467),J||rt)if(J)if(rt)if(J==rt)Kz(J.a,s);else{for(Kz(J.a,s),H=new Kd(rt.d);H.a<H.c.c.length;)z=$z(Z1(H),11),xAt(q.f,z,J);pst(J.a,rt.a),pst(J.d,rt.d),p.a.Bc(rt)}else Kz(J.a,s),Kz(J.d,at),xAt(q.f,at,J);else Kz(rt.a,s),Kz(rt.d,tt),xAt(q.f,tt,rt);else g=new Dj,p.a.zc(g,p),Kz(g.a,s),Kz(g.d,tt),xAt(q.f,tt,g),Kz(g.d,at),xAt(q.f,at,g);for(b=$z(kmt(p,N8(Rme,{3:1,4:1,5:1,1946:1},467,p.a.gc(),0,1)),1946),S=e[0].c,Q=n[0].c,f=0,d=(h=b).length;f<d;++f)for((l=h[f]).e=Z,l.f=it,G=new Kd(l.d);G.a<G.c.c.length;)U=$z(Z1(G),11),W=t.a[U.p],U.i.c==S?(W<l.e&&(l.e=W),W>l.b&&(l.b=W)):U.i.c==Q&&(W<l.f&&(l.f=W),W>l.c&&(l.c=W));for(U7(b,0,b.length,null),nt=N8(ADe,uVt,25,b.length,15,1),r=N8(ADe,uVt,25,it+1,15,1),y=0;y<b.length;y++)nt[y]=b[y].f,r[nt[y]]=1;for(o=0,m=0;m<r.length;m++)1==r[m]?r[m]=o:--o;for(X=0,v=0;v<nt.length;v++)nt[v]+=r[nt[v]],X=i.Math.max(X,nt[v]+1);for(u=1;u<X;)u*=2;for(st=2*u-1,u-=1,ot=N8(ADe,uVt,25,st,15,1),a=0,T=0;T<nt.length;T++)for(++ot[E=nt[T]+u];E>0;)E%2>0&&(a+=ot[E+1]),++ot[E=(E-1)/2|0];for(C=N8($me,zWt,362,2*b.length,0,1),x=0;x<b.length;x++)C[2*x]=new zX(b[x],b[x].e,b[x].b,(W4(),zme)),C[2*x+1]=new zX(b[x],b[x].b,b[x].e,Fme);for(U7(C,0,C.length,null),$=0,k=0;k<C.length;k++)switch(C[k].d.g){case 0:++$;break;case 1:a+=--$}for(V=N8($me,zWt,362,2*b.length,0,1),_=0;_<b.length;_++)V[2*_]=new zX(b[_],b[_].f,b[_].c,(W4(),zme)),V[2*_+1]=new zX(b[_],b[_].c,b[_].f,Fme);for(U7(V,0,V.length,null),$=0,w=0;w<V.length;w++)switch(V[w].d.g){case 0:++$;break;case 1:a+=--$}return a}function dWt(){dWt=I,oDe=new Mw(7),sDe=new oG(8,94),new oG(8,64),cDe=new oG(8,36),gDe=new oG(8,65),pDe=new oG(8,122),bDe=new oG(8,90),mDe=new oG(8,98),fDe=new oG(8,66),wDe=new oG(8,60),vDe=new oG(8,62),aDe=new Mw(11),VPt(rDe=new _0(4),48,57),VPt(yDe=new _0(4),48,57),VPt(yDe,65,90),VPt(yDe,95,95),VPt(yDe,97,122),VPt(dDe=new _0(4),9,9),VPt(dDe,10,10),VPt(dDe,12,12),VPt(dDe,13,13),VPt(dDe,32,32),uDe=OFt(rDe),hDe=OFt(yDe),lDe=OFt(dDe),tDe=new Nw,eDe=new Nw,nDe=Cst(Hx(zee,1),cXt,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),JNe=Cst(Hx(zee,1),cXt,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",pte,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),iDe=Cst(Hx(ADe,1),uVt,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function gWt(){gWt=I,Cre=new sat("OUT_T_L",0,(V7(),Qie),(H9(),nre),(Pet(),Uie),Uie,Cst(Hx(Pte,1),zWt,21,0,[xG((JOt(),LAe),Cst(Hx(jAe,1),OXt,93,0,[PAe,AAe]))])),Tre=new sat("OUT_T_C",1,Vie,nre,Uie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,SAe])),xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,SAe,MAe]))])),Sre=new sat("OUT_T_R",2,Zie,nre,Uie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,IAe]))])),wre=new sat("OUT_B_L",3,Qie,rre,qie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,AAe]))])),bre=new sat("OUT_B_C",4,Vie,rre,qie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,SAe])),xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,SAe,MAe]))])),yre=new sat("OUT_B_R",5,Zie,rre,qie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,IAe]))])),xre=new sat("OUT_L_T",6,Zie,rre,Uie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[AAe,PAe,MAe]))])),vre=new sat("OUT_L_C",7,Zie,ire,Gie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[AAe,DAe])),xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[AAe,DAe,MAe]))])),mre=new sat("OUT_L_B",8,Zie,nre,qie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[AAe,NAe,MAe]))])),Ere=new sat("OUT_R_T",9,Qie,rre,Uie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[IAe,PAe,MAe]))])),_re=new sat("OUT_R_C",10,Qie,ire,Gie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[IAe,DAe])),xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[IAe,DAe,MAe]))])),kre=new sat("OUT_R_B",11,Qie,nre,qie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(LAe,Cst(Hx(jAe,1),OXt,93,0,[IAe,NAe,MAe]))])),gre=new sat("IN_T_L",12,Qie,rre,Uie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,AAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,AAe,MAe]))])),dre=new sat("IN_T_C",13,Vie,rre,Uie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,SAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,SAe,MAe]))])),pre=new sat("IN_T_R",14,Zie,rre,Uie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,IAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[PAe,IAe,MAe]))])),hre=new sat("IN_C_L",15,Qie,ire,Gie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[DAe,AAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[DAe,AAe,MAe]))])),lre=new sat("IN_C_C",16,Vie,ire,Gie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[DAe,SAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[DAe,SAe,MAe]))])),fre=new sat("IN_C_R",17,Zie,ire,Gie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[DAe,IAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[DAe,IAe,MAe]))])),cre=new sat("IN_B_L",18,Qie,nre,qie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,AAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,AAe,MAe]))])),sre=new sat("IN_B_C",19,Vie,nre,qie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,SAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,SAe,MAe]))])),ure=new sat("IN_B_R",20,Zie,nre,qie,qie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,IAe])),xG(OAe,Cst(Hx(jAe,1),OXt,93,0,[NAe,IAe,MAe]))])),Are=new sat(uZt,21,null,null,null,null,Cst(Hx(Pte,1),zWt,21,0,[]))}function pWt(){pWt=I,tLe=(WY(),ZOe).b,$z(Yet(WV(ZOe.b),0),34),$z(Yet(WV(ZOe.b),1),18),JOe=ZOe.a,$z(Yet(WV(ZOe.a),0),34),$z(Yet(WV(ZOe.a),1),18),$z(Yet(WV(ZOe.a),2),18),$z(Yet(WV(ZOe.a),3),18),$z(Yet(WV(ZOe.a),4),18),eLe=ZOe.o,$z(Yet(WV(ZOe.o),0),34),$z(Yet(WV(ZOe.o),1),34),iLe=$z(Yet(WV(ZOe.o),2),18),$z(Yet(WV(ZOe.o),3),18),$z(Yet(WV(ZOe.o),4),18),$z(Yet(WV(ZOe.o),5),18),$z(Yet(WV(ZOe.o),6),18),$z(Yet(WV(ZOe.o),7),18),$z(Yet(WV(ZOe.o),8),18),$z(Yet(WV(ZOe.o),9),18),$z(Yet(WV(ZOe.o),10),18),$z(Yet(WV(ZOe.o),11),18),$z(Yet(WV(ZOe.o),12),18),$z(Yet(WV(ZOe.o),13),18),$z(Yet(WV(ZOe.o),14),18),$z(Yet(WV(ZOe.o),15),18),$z(Yet(YV(ZOe.o),0),59),$z(Yet(YV(ZOe.o),1),59),$z(Yet(YV(ZOe.o),2),59),$z(Yet(YV(ZOe.o),3),59),$z(Yet(YV(ZOe.o),4),59),$z(Yet(YV(ZOe.o),5),59),$z(Yet(YV(ZOe.o),6),59),$z(Yet(YV(ZOe.o),7),59),$z(Yet(YV(ZOe.o),8),59),$z(Yet(YV(ZOe.o),9),59),nLe=ZOe.p,$z(Yet(WV(ZOe.p),0),34),$z(Yet(WV(ZOe.p),1),34),$z(Yet(WV(ZOe.p),2),34),$z(Yet(WV(ZOe.p),3),34),$z(Yet(WV(ZOe.p),4),18),$z(Yet(WV(ZOe.p),5),18),$z(Yet(YV(ZOe.p),0),59),$z(Yet(YV(ZOe.p),1),59),rLe=ZOe.q,$z(Yet(WV(ZOe.q),0),34),aLe=ZOe.v,$z(Yet(WV(ZOe.v),0),18),$z(Yet(YV(ZOe.v),0),59),$z(Yet(YV(ZOe.v),1),59),$z(Yet(YV(ZOe.v),2),59),oLe=ZOe.w,$z(Yet(WV(ZOe.w),0),34),$z(Yet(WV(ZOe.w),1),34),$z(Yet(WV(ZOe.w),2),34),$z(Yet(WV(ZOe.w),3),18),sLe=ZOe.B,$z(Yet(WV(ZOe.B),0),18),$z(Yet(YV(ZOe.B),0),59),$z(Yet(YV(ZOe.B),1),59),$z(Yet(YV(ZOe.B),2),59),lLe=ZOe.Q,$z(Yet(WV(ZOe.Q),0),18),$z(Yet(YV(ZOe.Q),0),59),hLe=ZOe.R,$z(Yet(WV(ZOe.R),0),34),fLe=ZOe.S,$z(Yet(YV(ZOe.S),0),59),$z(Yet(YV(ZOe.S),1),59),$z(Yet(YV(ZOe.S),2),59),$z(Yet(YV(ZOe.S),3),59),$z(Yet(YV(ZOe.S),4),59),$z(Yet(YV(ZOe.S),5),59),$z(Yet(YV(ZOe.S),6),59),$z(Yet(YV(ZOe.S),7),59),$z(Yet(YV(ZOe.S),8),59),$z(Yet(YV(ZOe.S),9),59),$z(Yet(YV(ZOe.S),10),59),$z(Yet(YV(ZOe.S),11),59),$z(Yet(YV(ZOe.S),12),59),$z(Yet(YV(ZOe.S),13),59),$z(Yet(YV(ZOe.S),14),59),dLe=ZOe.T,$z(Yet(WV(ZOe.T),0),18),$z(Yet(WV(ZOe.T),2),18),gLe=$z(Yet(WV(ZOe.T),3),18),$z(Yet(WV(ZOe.T),4),18),$z(Yet(YV(ZOe.T),0),59),$z(Yet(YV(ZOe.T),1),59),$z(Yet(WV(ZOe.T),1),18),pLe=ZOe.U,$z(Yet(WV(ZOe.U),0),34),$z(Yet(WV(ZOe.U),1),34),$z(Yet(WV(ZOe.U),2),18),$z(Yet(WV(ZOe.U),3),18),$z(Yet(WV(ZOe.U),4),18),$z(Yet(WV(ZOe.U),5),18),$z(Yet(YV(ZOe.U),0),59),bLe=ZOe.V,$z(Yet(WV(ZOe.V),0),18),wLe=ZOe.W,$z(Yet(WV(ZOe.W),0),34),$z(Yet(WV(ZOe.W),1),34),$z(Yet(WV(ZOe.W),2),34),$z(Yet(WV(ZOe.W),3),18),$z(Yet(WV(ZOe.W),4),18),$z(Yet(WV(ZOe.W),5),18),mLe=ZOe.bb,$z(Yet(WV(ZOe.bb),0),34),$z(Yet(WV(ZOe.bb),1),34),$z(Yet(WV(ZOe.bb),2),34),$z(Yet(WV(ZOe.bb),3),34),$z(Yet(WV(ZOe.bb),4),34),$z(Yet(WV(ZOe.bb),5),34),$z(Yet(WV(ZOe.bb),6),34),$z(Yet(WV(ZOe.bb),7),18),$z(Yet(YV(ZOe.bb),0),59),$z(Yet(YV(ZOe.bb),1),59),vLe=ZOe.eb,$z(Yet(WV(ZOe.eb),0),34),$z(Yet(WV(ZOe.eb),1),34),$z(Yet(WV(ZOe.eb),2),34),$z(Yet(WV(ZOe.eb),3),34),$z(Yet(WV(ZOe.eb),4),34),$z(Yet(WV(ZOe.eb),5),34),$z(Yet(WV(ZOe.eb),6),18),$z(Yet(WV(ZOe.eb),7),18),yLe=ZOe.ab,$z(Yet(WV(ZOe.ab),0),34),$z(Yet(WV(ZOe.ab),1),34),cLe=ZOe.H,$z(Yet(WV(ZOe.H),0),18),$z(Yet(WV(ZOe.H),1),18),$z(Yet(WV(ZOe.H),2),18),$z(Yet(WV(ZOe.H),3),18),$z(Yet(WV(ZOe.H),4),18),$z(Yet(WV(ZOe.H),5),18),$z(Yet(YV(ZOe.H),0),59),xLe=ZOe.db,$z(Yet(WV(ZOe.db),0),18),uLe=ZOe.M}function bWt(t){var e;t.O||(t.O=!0,Nrt(t,"type"),Drt(t,"ecore.xml.type"),Prt(t,T9t),e=$z(OLt((KT(),HOe),T9t),1945),u7(mQ(t.fb),t.b),U0(t.b,hNe,"AnyType",!1,!1,!0),oat($z(Yet(WV(t.b),0),34),t.wb.D,j7t,null,0,-1,hNe,!1,!1,!0,!1,!1,!1),oat($z(Yet(WV(t.b),1),34),t.wb.D,"any",null,0,-1,hNe,!0,!0,!0,!1,!1,!0),oat($z(Yet(WV(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,hNe,!1,!1,!0,!1,!1,!1),U0(t.bb,HNe,I9t,!1,!1,!0),oat($z(Yet(WV(t.bb),0),34),t.gb,"data",null,0,1,HNe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),1),34),t.gb,V6t,null,1,1,HNe,!1,!1,!0,!1,!0,!1),U0(t.fb,UNe,O9t,!1,!1,!0),oat($z(Yet(WV(t.fb),0),34),e.gb,"rawValue",null,0,1,UNe,!0,!0,!0,!1,!0,!0),oat($z(Yet(WV(t.fb),1),34),e.a,k6t,null,0,1,UNe,!0,!0,!0,!1,!0,!0),Evt($z(Yet(WV(t.fb),2),18),t.wb.q,null,"instanceType",1,1,UNe,!1,!1,!0,!1,!1,!1,!1),U0(t.qb,GNe,L9t,!1,!1,!0),oat($z(Yet(WV(t.qb),0),34),t.wb.D,j7t,null,0,-1,null,!1,!1,!0,!1,!1,!1),Evt($z(Yet(WV(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),oat($z(Yet(WV(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Evt($z(Yet(WV(t.qb),5),18),t.bb,null,rte,0,-2,null,!0,!0,!0,!0,!1,!1,!0),oat($z(Yet(WV(t.qb),6),34),t.gb,M6t,null,0,-2,null,!0,!0,!0,!1,!1,!0),dX(t.a,Ite,"AnySimpleType",!0),dX(t.c,zee,"AnyURI",!0),dX(t.d,Hx(ODe,1),"Base64Binary",!0),dX(t.e,MDe,"Boolean",!0),dX(t.f,vee,"BooleanObject",!0),dX(t.g,ODe,"Byte",!0),dX(t.i,kee,"ByteObject",!0),dX(t.j,zee,"Date",!0),dX(t.k,zee,"DateTime",!0),dX(t.n,Vee,"Decimal",!0),dX(t.o,LDe,"Double",!0),dX(t.p,Cee,"DoubleObject",!0),dX(t.q,zee,"Duration",!0),dX(t.s,Bte,"ENTITIES",!0),dX(t.r,Bte,"ENTITIESBase",!0),dX(t.t,zee,R9t,!0),dX(t.u,NDe,"Float",!0),dX(t.v,See,"FloatObject",!0),dX(t.w,zee,"GDay",!0),dX(t.B,zee,"GMonth",!0),dX(t.A,zee,"GMonthDay",!0),dX(t.C,zee,"GYear",!0),dX(t.D,zee,"GYearMonth",!0),dX(t.F,Hx(ODe,1),"HexBinary",!0),dX(t.G,zee,"ID",!0),dX(t.H,zee,"IDREF",!0),dX(t.J,Bte,"IDREFS",!0),dX(t.I,Bte,"IDREFSBase",!0),dX(t.K,ADe,"Int",!0),dX(t.M,sne,"Integer",!0),dX(t.L,Iee,"IntObject",!0),dX(t.P,zee,"Language",!0),dX(t.Q,IDe,"Long",!0),dX(t.R,Bee,"LongObject",!0),dX(t.S,zee,"Name",!0),dX(t.T,zee,$9t,!0),dX(t.U,sne,"NegativeInteger",!0),dX(t.V,zee,X9t,!0),dX(t.X,Bte,"NMTOKENS",!0),dX(t.W,Bte,"NMTOKENSBase",!0),dX(t.Y,sne,"NonNegativeInteger",!0),dX(t.Z,sne,"NonPositiveInteger",!0),dX(t.$,zee,"NormalizedString",!0),dX(t._,zee,"NOTATION",!0),dX(t.ab,zee,"PositiveInteger",!0),dX(t.cb,zee,"QName",!0),dX(t.db,DDe,"Short",!0),dX(t.eb,Ree,"ShortObject",!0),dX(t.gb,zee,HXt,!0),dX(t.hb,zee,"Time",!0),dX(t.ib,zee,"Token",!0),dX(t.jb,DDe,"UnsignedByte",!0),dX(t.kb,Ree,"UnsignedByteObject",!0),dX(t.lb,IDe,"UnsignedInt",!0),dX(t.mb,Bee,"UnsignedIntObject",!0),dX(t.nb,sne,"UnsignedLong",!0),dX(t.ob,ADe,"UnsignedShort",!0),dX(t.pb,Iee,"UnsignedShortObject",!0),Llt(t,T9t),mWt(t))}function wWt(t){LT(t,new EEt(wk(dk(bk(fk(pk(gk(new bs,d1t),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new Aa),d1t),xG((uOt(),eOe),Cst(Hx(iOe,1),OXt,237,0,[ZIe,JIe,QIe,tOe,XIe,WIe]))))),a2(t,d1t,L2t,ywt(pwe)),a2(t,d1t,N2t,ywt(bwe)),a2(t,d1t,KZt,ywt(wwe)),a2(t,d1t,D2t,ywt(ywe)),a2(t,d1t,yJt,ywt(vwe)),a2(t,d1t,P2t,ywt(xwe)),a2(t,d1t,B2t,ywt(Ewe)),a2(t,d1t,j2t,ywt(Cwe)),a2(t,d1t,R2t,ywt(Swe)),a2(t,d1t,$2t,ywt(Twe)),a2(t,d1t,wJt,ywt(Awe)),a2(t,d1t,F2t,ywt(Iwe)),a2(t,d1t,z2t,ywt(Lwe)),a2(t,d1t,H2t,ywt(_we)),a2(t,d1t,L0t,ywt(gwe)),a2(t,d1t,D0t,ywt(mwe)),a2(t,d1t,N0t,ywt(kwe)),a2(t,d1t,P0t,ywt(Mwe)),a2(t,d1t,bJt,nft(0)),a2(t,d1t,B0t,ywt(uwe)),a2(t,d1t,j0t,ywt(lwe)),a2(t,d1t,R0t,ywt(hwe)),a2(t,d1t,q0t,ywt(Uwe)),a2(t,d1t,K0t,ywt(Pwe)),a2(t,d1t,Y0t,ywt(Bwe)),a2(t,d1t,W0t,ywt($we)),a2(t,d1t,X0t,ywt(jwe)),a2(t,d1t,V0t,ywt(Rwe)),a2(t,d1t,Q0t,ywt(qwe)),a2(t,d1t,Z0t,ywt(Gwe)),a2(t,d1t,J0t,ywt(zwe)),a2(t,d1t,t2t,ywt(Fwe)),a2(t,d1t,e2t,ywt(Hwe)),a2(t,d1t,T0t,ywt(Pbe)),a2(t,d1t,C0t,ywt(Bbe)),a2(t,d1t,M0t,ywt(nbe)),a2(t,d1t,I0t,ywt(ibe)),a2(t,d1t,XZt,Gbe),a2(t,d1t,m2t,Zpe),a2(t,d1t,U2t,0),a2(t,d1t,mJt,nft(1)),a2(t,d1t,WZt,gJt),a2(t,d1t,G2t,ywt(Hbe)),a2(t,d1t,kJt,ywt(twe)),a2(t,d1t,q2t,ywt(awe)),a2(t,d1t,K2t,ywt(Upe)),a2(t,d1t,Y2t,ywt(mpe)),a2(t,d1t,g2t,ywt(sbe)),a2(t,d1t,vJt,(cD(),!0)),a2(t,d1t,W2t,ywt(fbe)),a2(t,d1t,X2t,ywt(dbe)),a2(t,d1t,CJt,ywt(Rbe)),a2(t,d1t,TJt,ywt(zbe)),a2(t,d1t,V2t,ywt($be)),a2(t,d1t,Q2t,Kpe),a2(t,d1t,SJt,ywt(Ibe)),a2(t,d1t,Z2t,ywt(Mbe)),a2(t,d1t,AJt,ywt(iwe)),a2(t,d1t,J2t,ywt(nwe)),a2(t,d1t,t3t,ywt(rwe)),a2(t,d1t,e3t,Ybe),a2(t,d1t,n3t,ywt(Xbe)),a2(t,d1t,i3t,ywt(Vbe)),a2(t,d1t,r3t,ywt(Qbe)),a2(t,d1t,a3t,ywt(Wbe)),a2(t,d1t,J1t,ywt(Dwe)),a2(t,d1t,n0t,ywt(Tbe)),a2(t,d1t,c0t,ywt(Ebe)),a2(t,d1t,Z1t,ywt(Nwe)),a2(t,d1t,i0t,ywt(mbe)),a2(t,d1t,e0t,ywt(Hpe)),a2(t,d1t,h0t,ywt(zpe)),a2(t,d1t,f0t,ywt(Npe)),a2(t,d1t,w0t,ywt(Dpe)),a2(t,d1t,y0t,ywt(Bpe)),a2(t,d1t,m0t,ywt(Ppe)),a2(t,d1t,g0t,ywt(Fpe)),a2(t,d1t,W1t,ywt(Sbe)),a2(t,d1t,X1t,ywt(Abe)),a2(t,d1t,Y1t,ywt(pbe)),a2(t,d1t,v0t,ywt(jbe)),a2(t,d1t,_0t,ywt(Lbe)),a2(t,d1t,K1t,ywt(abe)),a2(t,d1t,E0t,ywt(Dbe)),a2(t,d1t,S0t,ywt(tbe)),a2(t,d1t,A0t,ywt(ebe)),a2(t,d1t,o3t,ywt(Lpe)),a2(t,d1t,k0t,ywt(Obe)),a2(t,d1t,F0t,ywt(Tpe)),a2(t,d1t,z0t,ywt(Epe)),a2(t,d1t,$0t,ywt(_pe)),a2(t,d1t,H0t,ywt(ube)),a2(t,d1t,U0t,ywt(cbe)),a2(t,d1t,G0t,ywt(lbe)),a2(t,d1t,FJt,ywt(Fbe)),a2(t,d1t,s3t,ywt(bbe)),a2(t,d1t,YZt,ywt(rbe)),a2(t,d1t,c3t,ywt(Xpe)),a2(t,d1t,_Jt,ywt(Wpe)),a2(t,d1t,d0t,ywt(jpe)),a2(t,d1t,u3t,ywt(ewe)),a2(t,d1t,l3t,ywt(kpe)),a2(t,d1t,h3t,ywt(hbe)),a2(t,d1t,f3t,ywt(Zbe)),a2(t,d1t,d3t,ywt(qbe)),a2(t,d1t,g3t,ywt(Kbe)),a2(t,d1t,o0t,ywt(xbe)),a2(t,d1t,s0t,ywt(kbe)),a2(t,d1t,p3t,ywt(swe)),a2(t,d1t,V1t,ywt(vpe)),a2(t,d1t,u0t,ywt(_be)),a2(t,d1t,n2t,ywt(Vpe)),a2(t,d1t,i2t,ywt(Ype)),a2(t,d1t,b3t,ywt(Cbe)),a2(t,d1t,l0t,ywt(wbe)),a2(t,d1t,x0t,ywt(Nbe)),a2(t,d1t,w3t,ywt(Owe)),a2(t,d1t,q1t,ywt(qpe)),a2(t,d1t,Q1t,ywt(owe)),a2(t,d1t,O0t,ywt(Jpe)),a2(t,d1t,r0t,ywt(ybe)),a2(t,d1t,p0t,ywt(Rpe)),a2(t,d1t,y3t,ywt(gbe)),a2(t,d1t,a0t,ywt(vbe)),a2(t,d1t,b0t,ywt($pe)),a2(t,d1t,r2t,ywt(Ope)),a2(t,d1t,s2t,ywt(Mpe)),a2(t,d1t,c2t,ywt(Spe)),a2(t,d1t,u2t,ywt(Ape)),a2(t,d1t,a2t,ywt(Ipe)),a2(t,d1t,o2t,ywt(Cpe)),a2(t,d1t,t0t,ywt(obe))}function yWt(t,e){var n;return QNe||(QNe=new Nw,ZNe=new Nw,dWt(),dWt(),mpt(n=new _0(4),"\t\n\r\r "),wJ(QNe,lte,n),wJ(ZNe,lte,OFt(n)),mpt(n=new _0(4),dte),wJ(QNe,cte,n),wJ(ZNe,cte,OFt(n)),mpt(n=new _0(4),dte),wJ(QNe,cte,n),wJ(ZNe,cte,OFt(n)),mpt(n=new _0(4),gte),cHt(n,$z(EZ(QNe,cte),117)),wJ(QNe,ute,n),wJ(ZNe,ute,OFt(n)),mpt(n=new _0(4),"-.0:AZ__az\xb7\xb7\xc0\xd6\xd8\xf6\xf8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u02d0\u02d1\u0300\u0345\u0360\u0361\u0386\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481\u0483\u0486\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9\u0531\u0556\u0559\u0559\u0561\u0586\u0591\u05a1\u05a3\u05b9\u05bb\u05bd\u05bf\u05bf\u05c1\u05c2\u05c4\u05c4\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0640\u0652\u0660\u0669\u0670\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06e8\u06ea\u06ed\u06f0\u06f9\u0901\u0903\u0905\u0939\u093c\u094d\u0951\u0954\u0958\u0963\u0966\u096f\u0981\u0983\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09bc\u09bc\u09be\u09c4\u09c7\u09c8\u09cb\u09cd\u09d7\u09d7\u09dc\u09dd\u09df\u09e3\u09e6\u09f1\u0a02\u0a02\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3c\u0a3e\u0a42\u0a47\u0a48\u0a4b\u0a4d\u0a59\u0a5c\u0a5e\u0a5e\u0a66\u0a74\u0a81\u0a83\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9\u0abc\u0ac5\u0ac7\u0ac9\u0acb\u0acd\u0ae0\u0ae0\u0ae6\u0aef\u0b01\u0b03\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39\u0b3c\u0b43\u0b47\u0b48\u0b4b\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f\u0b61\u0b66\u0b6f\u0b82\u0b83\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0bbe\u0bc2\u0bc6\u0bc8\u0bca\u0bcd\u0bd7\u0bd7\u0be7\u0bef\u0c01\u0c03\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c3e\u0c44\u0c46\u0c48\u0c4a\u0c4d\u0c55\u0c56\u0c60\u0c61\u0c66\u0c6f\u0c82\u0c83\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cbe\u0cc4\u0cc6\u0cc8\u0cca\u0ccd\u0cd5\u0cd6\u0cde\u0cde\u0ce0\u0ce1\u0ce6\u0cef\u0d02\u0d03\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d3e\u0d43\u0d46\u0d48\u0d4a\u0d4d\u0d57\u0d57\u0d60\u0d61\u0d66\u0d6f\u0e01\u0e2e\u0e30\u0e3a\u0e40\u0e4e\u0e50\u0e59\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb9\u0ebb\u0ebd\u0ec0\u0ec4\u0ec6\u0ec6\u0ec8\u0ecd\u0ed0\u0ed9\u0f18\u0f19\u0f20\u0f29\u0f35\u0f35\u0f37\u0f37\u0f39\u0f39\u0f3e\u0f47\u0f49\u0f69\u0f71\u0f84\u0f86\u0f8b\u0f90\u0f95\u0f97\u0f97\u0f99\u0fad\u0fb1\u0fb7\u0fb9\u0fb9\u10a0\u10c5\u10d0\u10f6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u20d0\u20dc\u20e1\u20e1\u2126\u2126\u212a\u212b\u212e\u212e\u2180\u2182\u3005\u3005\u3007\u3007\u3021\u302f\u3031\u3035\u3041\u3094\u3099\u309a\u309d\u309e\u30a1\u30fa\u30fc\u30fe\u3105\u312c\u4e00\u9fa5\uac00\ud7a3"),wJ(QNe,hte,n),wJ(ZNe,hte,OFt(n)),mpt(n=new _0(4),gte),VPt(n,95,95),VPt(n,58,58),wJ(QNe,fte,n),wJ(ZNe,fte,OFt(n))),$z(EZ(e?QNe:ZNe,t),136)}function mWt(t){WLt(t.a,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"anySimpleType"])),WLt(t.b,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"anyType",$7t,j7t])),WLt($z(Yet(WV(t.b),0),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,y9t,t8t,":mixed"])),WLt($z(Yet(WV(t.b),1),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,y9t,E9t,C9t,t8t,":1",P9t,"lax"])),WLt($z(Yet(WV(t.b),2),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,b9t,E9t,C9t,t8t,":2",P9t,"lax"])),WLt(t.c,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"anyURI",_9t,m9t])),WLt(t.d,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"base64Binary",_9t,m9t])),WLt(t.e,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,OWt,_9t,m9t])),WLt(t.f,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"boolean:Object",Q7t,OWt])),WLt(t.g,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,T7t])),WLt(t.i,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"byte:Object",Q7t,T7t])),WLt(t.j,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"date",_9t,m9t])),WLt(t.k,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"dateTime",_9t,m9t])),WLt(t.n,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"decimal",_9t,m9t])),WLt(t.o,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,S7t,_9t,m9t])),WLt(t.p,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"double:Object",Q7t,S7t])),WLt(t.q,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"duration",_9t,m9t])),WLt(t.s,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"ENTITIES",Q7t,B9t,j9t,"1"])),WLt(t.r,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,B9t,v9t,R9t])),WLt(t.t,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,R9t,Q7t,$9t])),WLt(t.u,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,A7t,_9t,m9t])),WLt(t.v,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"float:Object",Q7t,A7t])),WLt(t.w,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"gDay",_9t,m9t])),WLt(t.B,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"gMonth",_9t,m9t])),WLt(t.A,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"gMonthDay",_9t,m9t])),WLt(t.C,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"gYear",_9t,m9t])),WLt(t.D,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"gYearMonth",_9t,m9t])),WLt(t.F,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"hexBinary",_9t,m9t])),WLt(t.G,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"ID",Q7t,$9t])),WLt(t.H,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"IDREF",Q7t,$9t])),WLt(t.J,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"IDREFS",Q7t,F9t,j9t,"1"])),WLt(t.I,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,F9t,v9t,"IDREF"])),WLt(t.K,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,M7t])),WLt(t.M,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,z9t])),WLt(t.L,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"int:Object",Q7t,M7t])),WLt(t.P,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"language",Q7t,H9t,U9t,G9t])),WLt(t.Q,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,I7t])),WLt(t.R,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"long:Object",Q7t,I7t])),WLt(t.S,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"Name",Q7t,H9t,U9t,q9t])),WLt(t.T,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,$9t,Q7t,"Name",U9t,K9t])),WLt(t.U,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"negativeInteger",Q7t,Y9t,W9t,"-1"])),WLt(t.V,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,X9t,Q7t,H9t,U9t,"\\c+"])),WLt(t.X,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"NMTOKENS",Q7t,V9t,j9t,"1"])),WLt(t.W,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,V9t,v9t,X9t])),WLt(t.Y,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,Q9t,Q7t,z9t,Z9t,"0"])),WLt(t.Z,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,Y9t,Q7t,z9t,W9t,"0"])),WLt(t.$,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,J9t,Q7t,NWt,_9t,"replace"])),WLt(t._,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"NOTATION",_9t,m9t])),WLt(t.ab,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"positiveInteger",Q7t,Q9t,Z9t,"1"])),WLt(t.bb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"processingInstruction_._type",$7t,"empty"])),WLt($z(Yet(WV(t.bb),0),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,p9t,t8t,"data"])),WLt($z(Yet(WV(t.bb),1),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,p9t,t8t,V6t])),WLt(t.cb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"QName",_9t,m9t])),WLt(t.db,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,O7t])),WLt(t.eb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"short:Object",Q7t,O7t])),WLt(t.fb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"simpleAnyType",$7t,g9t])),WLt($z(Yet(WV(t.fb),0),34),R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,":3",$7t,g9t])),WLt($z(Yet(WV(t.fb),1),34),R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,":4",$7t,g9t])),WLt($z(Yet(WV(t.fb),2),18),R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,":5",$7t,g9t])),WLt(t.gb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,NWt,_9t,"preserve"])),WLt(t.hb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"time",_9t,m9t])),WLt(t.ib,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,H9t,Q7t,J9t,_9t,m9t])),WLt(t.jb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,tte,W9t,"255",Z9t,"0"])),WLt(t.kb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"unsignedByte:Object",Q7t,tte])),WLt(t.lb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,ete,W9t,"4294967295",Z9t,"0"])),WLt(t.mb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"unsignedInt:Object",Q7t,ete])),WLt(t.nb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"unsignedLong",Q7t,Q9t,W9t,nte,Z9t,"0"])),WLt(t.ob,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,ite,W9t,"65535",Z9t,"0"])),WLt(t.pb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"unsignedShort:Object",Q7t,ite])),WLt(t.qb,R7t,Cst(Hx(zee,1),cXt,2,6,[t8t,"",$7t,j7t])),WLt($z(Yet(WV(t.qb),0),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,y9t,t8t,":mixed"])),WLt($z(Yet(WV(t.qb),1),18),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,p9t,t8t,"xmlns:prefix"])),WLt($z(Yet(WV(t.qb),2),18),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,p9t,t8t,"xsi:schemaLocation"])),WLt($z(Yet(WV(t.qb),3),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,w9t,t8t,"cDATA",x9t,k9t])),WLt($z(Yet(WV(t.qb),4),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,w9t,t8t,"comment",x9t,k9t])),WLt($z(Yet(WV(t.qb),5),18),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,w9t,t8t,rte,x9t,k9t])),WLt($z(Yet(WV(t.qb),6),34),R7t,Cst(Hx(zee,1),cXt,2,6,[$7t,w9t,t8t,M6t,x9t,k9t]))}function vWt(t){return wR("_UI_EMFDiagnostic_marker",t)?"EMF Problem":wR("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":wR(d8t,t)?"Wrong character.":wR(g8t,t)?"Invalid reference number.":wR(p8t,t)?"A character is required after \\.":wR(b8t,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":wR(w8t,t)?"'(?<' or '(?<!' is expected.":wR(y8t,t)?"A comment is not terminated.":wR(m8t,t)?"')' is expected.":wR(v8t,t)?"Unexpected end of the pattern in a modifier group.":wR(x8t,t)?"':' is expected.":wR(k8t,t)?"Unexpected end of the pattern in a conditional group.":wR(_8t,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":wR(E8t,t)?"There are more than three choices in a conditional group.":wR(T8t,t)?"A character in U+0040-U+005f must follow \\c.":wR(C8t,t)?"A '{' is required before a character category.":wR(S8t,t)?"A property name is not closed by '}'.":wR(A8t,t)?"Unexpected meta character.":wR(M8t,t)?"Unknown property.":wR(I8t,t)?"A POSIX character class must be closed by ':]'.":wR(O8t,t)?"Unexpected end of the pattern in a character class.":wR(L8t,t)?"Unknown name for a POSIX character class.":wR("parser.cc.4",t)?"'-' is invalid here.":wR(N8t,t)?"']' is expected.":wR(D8t,t)?"'[' is invalid in a character class. Write '\\['.":wR(P8t,t)?"']' is invalid in a character class. Write '\\]'.":wR(B8t,t)?"'-' is an invalid character range. Write '\\-'.":wR(j8t,t)?"'[' is expected.":wR(R8t,t)?"')' or '-[' or '+[' or '&[' is expected.":wR($8t,t)?"The range end code point is less than the start code point.":wR(F8t,t)?"Invalid Unicode hex notation.":wR(z8t,t)?"Overflow in a hex notation.":wR(H8t,t)?"'\\x{' must be closed by '}'.":wR(U8t,t)?"Invalid Unicode code point.":wR(G8t,t)?"An anchor must not be here.":wR(q8t,t)?"This expression is not supported in the current option setting.":wR(K8t,t)?"Invalid quantifier. A digit is expected.":wR(Y8t,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":wR(W8t,t)?"Invalid quantifier. A digit or '}' is expected.":wR(X8t,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":wR(V8t,t)?"Invalid quantifier. A quantity value overflow.":wR("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":wR("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":wR("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":wR("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":wR("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":wR("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":wR("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":wR("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":wR("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":wR("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":wR("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":wR("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":wR("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":wR("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":wR("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":wR("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":wR("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":wR("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":wR("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":wR("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":wR("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":wR("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":wR("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":wR("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":wR("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":wR("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":wR("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":wR("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":wR("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":wR("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":wR("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function xWt(t){var e,n,i,r,a,o,s;t.r||(t.r=!0,Nrt(t,"graph"),Drt(t,"graph"),Prt(t,m6t),rst(t.o,"T"),u7(mQ(t.a),t.p),u7(mQ(t.f),t.a),u7(mQ(t.n),t.f),u7(mQ(t.g),t.n),u7(mQ(t.c),t.n),u7(mQ(t.i),t.c),u7(mQ(t.j),t.c),u7(mQ(t.d),t.f),u7(mQ(t.e),t.a),U0(t.p,qre,MZt,!0,!0,!1),s=_st(o=yut(t.p,t.p,"setProperty")),e=QX(t.o),n=new Bw,u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),v_t(n,i=ZX(s)),qkt(o,e,x6t),qkt(o,e=ZX(s),k6t),s=_st(o=yut(t.p,null,"getProperty")),e=QX(t.o),n=ZX(s),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),qkt(o,e,x6t),(a=zEt(o,e=ZX(s),null))&&a.Fi(),o=yut(t.p,t.wb.e,"hasProperty"),e=QX(t.o),n=new Bw,u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),qkt(o,e,x6t),Ovt(o=yut(t.p,t.p,"copyProperties"),t.p,_6t),o=yut(t.p,null,"getAllProperties"),e=QX(t.wb.P),n=QX(t.o),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),i=new Bw,u7((!n.d&&(n.d=new IN(KOe,n,1)),n.d),i),n=QX(t.wb.M),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),(r=zEt(o,e,null))&&r.Fi(),U0(t.a,OIe,G5t,!0,!1,!0),Evt($z(Yet(WV(t.a),0),18),t.k,null,E6t,0,-1,OIe,!1,!1,!0,!0,!1,!1,!1),U0(t.f,NIe,K5t,!0,!1,!0),Evt($z(Yet(WV(t.f),0),18),t.g,$z(Yet(WV(t.g),0),18),"labels",0,-1,NIe,!1,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.f),1),34),t.wb._,T6t,null,0,1,NIe,!1,!1,!0,!1,!0,!1),U0(t.n,DIe,"ElkShape",!0,!1,!0),oat($z(Yet(WV(t.n),0),34),t.wb.t,C6t,YVt,1,1,DIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.n),1),34),t.wb.t,S6t,YVt,1,1,DIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.n),2),34),t.wb.t,"x",YVt,1,1,DIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.n),3),34),t.wb.t,"y",YVt,1,1,DIe,!1,!1,!0,!1,!0,!1),Ovt(o=yut(t.n,null,"setDimensions"),t.wb.t,S6t),Ovt(o,t.wb.t,C6t),Ovt(o=yut(t.n,null,"setLocation"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),U0(t.g,HIe,Z5t,!1,!1,!0),Evt($z(Yet(WV(t.g),0),18),t.f,$z(Yet(WV(t.f),0),18),A6t,0,1,HIe,!1,!1,!0,!1,!1,!1,!1),oat($z(Yet(WV(t.g),1),34),t.wb._,M6t,"",0,1,HIe,!1,!1,!0,!1,!0,!1),U0(t.c,PIe,Y5t,!0,!1,!0),Evt($z(Yet(WV(t.c),0),18),t.d,$z(Yet(WV(t.d),1),18),"outgoingEdges",0,-1,PIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.c),1),18),t.d,$z(Yet(WV(t.d),2),18),"incomingEdges",0,-1,PIe,!1,!1,!0,!1,!0,!1,!1),U0(t.i,UIe,J5t,!1,!1,!0),Evt($z(Yet(WV(t.i),0),18),t.j,$z(Yet(WV(t.j),0),18),"ports",0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.i),1),18),t.i,$z(Yet(WV(t.i),2),18),I6t,0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.i),2),18),t.i,$z(Yet(WV(t.i),1),18),A6t,0,1,UIe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.i),3),18),t.d,$z(Yet(WV(t.d),0),18),"containedEdges",0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.i),4),34),t.wb.e,O6t,null,0,1,UIe,!0,!0,!1,!1,!0,!0),U0(t.j,GIe,t6t,!1,!1,!0),Evt($z(Yet(WV(t.j),0),18),t.i,$z(Yet(WV(t.i),0),18),A6t,0,1,GIe,!1,!1,!0,!1,!1,!1,!1),U0(t.d,BIe,W5t,!1,!1,!0),Evt($z(Yet(WV(t.d),0),18),t.i,$z(Yet(WV(t.i),3),18),"containingNode",0,1,BIe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.d),1),18),t.c,$z(Yet(WV(t.c),0),18),L6t,0,-1,BIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.d),2),18),t.c,$z(Yet(WV(t.c),1),18),N6t,0,-1,BIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.d),3),18),t.e,$z(Yet(WV(t.e),5),18),D6t,0,-1,BIe,!1,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.d),4),34),t.wb.e,"hyperedge",null,0,1,BIe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.d),5),34),t.wb.e,O6t,null,0,1,BIe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.d),6),34),t.wb.e,"selfloop",null,0,1,BIe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.d),7),34),t.wb.e,"connected",null,0,1,BIe,!0,!0,!1,!1,!0,!0),U0(t.b,LIe,q5t,!1,!1,!0),oat($z(Yet(WV(t.b),0),34),t.wb.t,"x",YVt,1,1,LIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.b),1),34),t.wb.t,"y",YVt,1,1,LIe,!1,!1,!0,!1,!0,!1),Ovt(o=yut(t.b,null,"set"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),U0(t.e,jIe,X5t,!1,!1,!0),oat($z(Yet(WV(t.e),0),34),t.wb.t,"startX",null,0,1,jIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.e),1),34),t.wb.t,"startY",null,0,1,jIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.e),2),34),t.wb.t,"endX",null,0,1,jIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.e),3),34),t.wb.t,"endY",null,0,1,jIe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.e),4),18),t.b,null,P6t,0,-1,jIe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.e),5),18),t.d,$z(Yet(WV(t.d),3),18),A6t,0,1,jIe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.e),6),18),t.c,null,B6t,0,1,jIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.e),7),18),t.c,null,j6t,0,1,jIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.e),8),18),t.e,$z(Yet(WV(t.e),9),18),R6t,0,-1,jIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.e),9),18),t.e,$z(Yet(WV(t.e),8),18),$6t,0,-1,jIe,!1,!1,!0,!1,!0,!1,!1),oat($z(Yet(WV(t.e),10),34),t.wb._,T6t,null,0,1,jIe,!1,!1,!0,!1,!0,!1),Ovt(o=yut(t.e,null,"setStartLocation"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),Ovt(o=yut(t.e,null,"setEndLocation"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),U0(t.k,zte,"ElkPropertyToValueMapEntry",!1,!1,!1),e=QX(t.o),n=new Bw,u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),RIt($z(Yet(WV(t.k),0),34),e,"key",zte,!1,!1,!0,!1),oat($z(Yet(WV(t.k),1),34),t.s,k6t,null,0,1,zte,!1,!1,!0,!1,!0,!1),dX(t.o,aTe,"IProperty",!0),dX(t.s,Ite,"PropertyValue",!0),Llt(t,m6t))}function kWt(){kWt=I,(XNe=N8(ODe,w6t,25,FVt,15,1))[9]=35,XNe[10]=19,XNe[13]=19,XNe[32]=51,XNe[33]=49,XNe[34]=33,yK(XNe,35,38,49),XNe[38]=1,yK(XNe,39,45,49),yK(XNe,45,47,-71),XNe[47]=49,yK(XNe,48,58,-71),XNe[58]=61,XNe[59]=49,XNe[60]=1,XNe[61]=49,XNe[62]=33,yK(XNe,63,65,49),yK(XNe,65,91,-3),yK(XNe,91,93,33),XNe[93]=1,XNe[94]=33,XNe[95]=-3,XNe[96]=33,yK(XNe,97,123,-3),yK(XNe,123,183,33),XNe[183]=-87,yK(XNe,184,192,33),yK(XNe,192,215,-19),XNe[215]=33,yK(XNe,216,247,-19),XNe[247]=33,yK(XNe,248,306,-19),yK(XNe,306,308,33),yK(XNe,308,319,-19),yK(XNe,319,321,33),yK(XNe,321,329,-19),XNe[329]=33,yK(XNe,330,383,-19),XNe[383]=33,yK(XNe,384,452,-19),yK(XNe,452,461,33),yK(XNe,461,497,-19),yK(XNe,497,500,33),yK(XNe,500,502,-19),yK(XNe,502,506,33),yK(XNe,506,536,-19),yK(XNe,536,592,33),yK(XNe,592,681,-19),yK(XNe,681,699,33),yK(XNe,699,706,-19),yK(XNe,706,720,33),yK(XNe,720,722,-87),yK(XNe,722,768,33),yK(XNe,768,838,-87),yK(XNe,838,864,33),yK(XNe,864,866,-87),yK(XNe,866,902,33),XNe[902]=-19,XNe[903]=-87,yK(XNe,904,907,-19),XNe[907]=33,XNe[908]=-19,XNe[909]=33,yK(XNe,910,930,-19),XNe[930]=33,yK(XNe,931,975,-19),XNe[975]=33,yK(XNe,976,983,-19),yK(XNe,983,986,33),XNe[986]=-19,XNe[987]=33,XNe[988]=-19,XNe[989]=33,XNe[990]=-19,XNe[991]=33,XNe[992]=-19,XNe[993]=33,yK(XNe,994,1012,-19),yK(XNe,1012,1025,33),yK(XNe,1025,1037,-19),XNe[1037]=33,yK(XNe,1038,1104,-19),XNe[1104]=33,yK(XNe,1105,1117,-19),XNe[1117]=33,yK(XNe,1118,1154,-19),XNe[1154]=33,yK(XNe,1155,1159,-87),yK(XNe,1159,1168,33),yK(XNe,1168,1221,-19),yK(XNe,1221,1223,33),yK(XNe,1223,1225,-19),yK(XNe,1225,1227,33),yK(XNe,1227,1229,-19),yK(XNe,1229,1232,33),yK(XNe,1232,1260,-19),yK(XNe,1260,1262,33),yK(XNe,1262,1270,-19),yK(XNe,1270,1272,33),yK(XNe,1272,1274,-19),yK(XNe,1274,1329,33),yK(XNe,1329,1367,-19),yK(XNe,1367,1369,33),XNe[1369]=-19,yK(XNe,1370,1377,33),yK(XNe,1377,1415,-19),yK(XNe,1415,1425,33),yK(XNe,1425,1442,-87),XNe[1442]=33,yK(XNe,1443,1466,-87),XNe[1466]=33,yK(XNe,1467,1470,-87),XNe[1470]=33,XNe[1471]=-87,XNe[1472]=33,yK(XNe,1473,1475,-87),XNe[1475]=33,XNe[1476]=-87,yK(XNe,1477,1488,33),yK(XNe,1488,1515,-19),yK(XNe,1515,1520,33),yK(XNe,1520,1523,-19),yK(XNe,1523,1569,33),yK(XNe,1569,1595,-19),yK(XNe,1595,1600,33),XNe[1600]=-87,yK(XNe,1601,1611,-19),yK(XNe,1611,1619,-87),yK(XNe,1619,1632,33),yK(XNe,1632,1642,-87),yK(XNe,1642,1648,33),XNe[1648]=-87,yK(XNe,1649,1720,-19),yK(XNe,1720,1722,33),yK(XNe,1722,1727,-19),XNe[1727]=33,yK(XNe,1728,1743,-19),XNe[1743]=33,yK(XNe,1744,1748,-19),XNe[1748]=33,XNe[1749]=-19,yK(XNe,1750,1765,-87),yK(XNe,1765,1767,-19),yK(XNe,1767,1769,-87),XNe[1769]=33,yK(XNe,1770,1774,-87),yK(XNe,1774,1776,33),yK(XNe,1776,1786,-87),yK(XNe,1786,2305,33),yK(XNe,2305,2308,-87),XNe[2308]=33,yK(XNe,2309,2362,-19),yK(XNe,2362,2364,33),XNe[2364]=-87,XNe[2365]=-19,yK(XNe,2366,2382,-87),yK(XNe,2382,2385,33),yK(XNe,2385,2389,-87),yK(XNe,2389,2392,33),yK(XNe,2392,2402,-19),yK(XNe,2402,2404,-87),yK(XNe,2404,2406,33),yK(XNe,2406,2416,-87),yK(XNe,2416,2433,33),yK(XNe,2433,2436,-87),XNe[2436]=33,yK(XNe,2437,2445,-19),yK(XNe,2445,2447,33),yK(XNe,2447,2449,-19),yK(XNe,2449,2451,33),yK(XNe,2451,2473,-19),XNe[2473]=33,yK(XNe,2474,2481,-19),XNe[2481]=33,XNe[2482]=-19,yK(XNe,2483,2486,33),yK(XNe,2486,2490,-19),yK(XNe,2490,2492,33),XNe[2492]=-87,XNe[2493]=33,yK(XNe,2494,2501,-87),yK(XNe,2501,2503,33),yK(XNe,2503,2505,-87),yK(XNe,2505,2507,33),yK(XNe,2507,2510,-87),yK(XNe,2510,2519,33),XNe[2519]=-87,yK(XNe,2520,2524,33),yK(XNe,2524,2526,-19),XNe[2526]=33,yK(XNe,2527,2530,-19),yK(XNe,2530,2532,-87),yK(XNe,2532,2534,33),yK(XNe,2534,2544,-87),yK(XNe,2544,2546,-19),yK(XNe,2546,2562,33),XNe[2562]=-87,yK(XNe,2563,2565,33),yK(XNe,2565,2571,-19),yK(XNe,2571,2575,33),yK(XNe,2575,2577,-19),yK(XNe,2577,2579,33),yK(XNe,2579,2601,-19),XNe[2601]=33,yK(XNe,2602,2609,-19),XNe[2609]=33,yK(XNe,2610,2612,-19),XNe[2612]=33,yK(XNe,2613,2615,-19),XNe[2615]=33,yK(XNe,2616,2618,-19),yK(XNe,2618,2620,33),XNe[2620]=-87,XNe[2621]=33,yK(XNe,2622,2627,-87),yK(XNe,2627,2631,33),yK(XNe,2631,2633,-87),yK(XNe,2633,2635,33),yK(XNe,2635,2638,-87),yK(XNe,2638,2649,33),yK(XNe,2649,2653,-19),XNe[2653]=33,XNe[2654]=-19,yK(XNe,2655,2662,33),yK(XNe,2662,2674,-87),yK(XNe,2674,2677,-19),yK(XNe,2677,2689,33),yK(XNe,2689,2692,-87),XNe[2692]=33,yK(XNe,2693,2700,-19),XNe[2700]=33,XNe[2701]=-19,XNe[2702]=33,yK(XNe,2703,2706,-19),XNe[2706]=33,yK(XNe,2707,2729,-19),XNe[2729]=33,yK(XNe,2730,2737,-19),XNe[2737]=33,yK(XNe,2738,2740,-19),XNe[2740]=33,yK(XNe,2741,2746,-19),yK(XNe,2746,2748,33),XNe[2748]=-87,XNe[2749]=-19,yK(XNe,2750,2758,-87),XNe[2758]=33,yK(XNe,2759,2762,-87),XNe[2762]=33,yK(XNe,2763,2766,-87),yK(XNe,2766,2784,33),XNe[2784]=-19,yK(XNe,2785,2790,33),yK(XNe,2790,2800,-87),yK(XNe,2800,2817,33),yK(XNe,2817,2820,-87),XNe[2820]=33,yK(XNe,2821,2829,-19),yK(XNe,2829,2831,33),yK(XNe,2831,2833,-19),yK(XNe,2833,2835,33),yK(XNe,2835,2857,-19),XNe[2857]=33,yK(XNe,2858,2865,-19),XNe[2865]=33,yK(XNe,2866,2868,-19),yK(XNe,2868,2870,33),yK(XNe,2870,2874,-19),yK(XNe,2874,2876,33),XNe[2876]=-87,XNe[2877]=-19,yK(XNe,2878,2884,-87),yK(XNe,2884,2887,33),yK(XNe,2887,2889,-87),yK(XNe,2889,2891,33),yK(XNe,2891,2894,-87),yK(XNe,2894,2902,33),yK(XNe,2902,2904,-87),yK(XNe,2904,2908,33),yK(XNe,2908,2910,-19),XNe[2910]=33,yK(XNe,2911,2914,-19),yK(XNe,2914,2918,33),yK(XNe,2918,2928,-87),yK(XNe,2928,2946,33),yK(XNe,2946,2948,-87),XNe[2948]=33,yK(XNe,2949,2955,-19),yK(XNe,2955,2958,33),yK(XNe,2958,2961,-19),XNe[2961]=33,yK(XNe,2962,2966,-19),yK(XNe,2966,2969,33),yK(XNe,2969,2971,-19),XNe[2971]=33,XNe[2972]=-19,XNe[2973]=33,yK(XNe,2974,2976,-19),yK(XNe,2976,2979,33),yK(XNe,2979,2981,-19),yK(XNe,2981,2984,33),yK(XNe,2984,2987,-19),yK(XNe,2987,2990,33),yK(XNe,2990,2998,-19),XNe[2998]=33,yK(XNe,2999,3002,-19),yK(XNe,3002,3006,33),yK(XNe,3006,3011,-87),yK(XNe,3011,3014,33),yK(XNe,3014,3017,-87),XNe[3017]=33,yK(XNe,3018,3022,-87),yK(XNe,3022,3031,33),XNe[3031]=-87,yK(XNe,3032,3047,33),yK(XNe,3047,3056,-87),yK(XNe,3056,3073,33),yK(XNe,3073,3076,-87),XNe[3076]=33,yK(XNe,3077,3085,-19),XNe[3085]=33,yK(XNe,3086,3089,-19),XNe[3089]=33,yK(XNe,3090,3113,-19),XNe[3113]=33,yK(XNe,3114,3124,-19),XNe[3124]=33,yK(XNe,3125,3130,-19),yK(XNe,3130,3134,33),yK(XNe,3134,3141,-87),XNe[3141]=33,yK(XNe,3142,3145,-87),XNe[3145]=33,yK(XNe,3146,3150,-87),yK(XNe,3150,3157,33),yK(XNe,3157,3159,-87),yK(XNe,3159,3168,33),yK(XNe,3168,3170,-19),yK(XNe,3170,3174,33),yK(XNe,3174,3184,-87),yK(XNe,3184,3202,33),yK(XNe,3202,3204,-87),XNe[3204]=33,yK(XNe,3205,3213,-19),XNe[3213]=33,yK(XNe,3214,3217,-19),XNe[3217]=33,yK(XNe,3218,3241,-19),XNe[3241]=33,yK(XNe,3242,3252,-19),XNe[3252]=33,yK(XNe,3253,3258,-19),yK(XNe,3258,3262,33),yK(XNe,3262,3269,-87),XNe[3269]=33,yK(XNe,3270,3273,-87),XNe[3273]=33,yK(XNe,3274,3278,-87),yK(XNe,3278,3285,33),yK(XNe,3285,3287,-87),yK(XNe,3287,3294,33),XNe[3294]=-19,XNe[3295]=33,yK(XNe,3296,3298,-19),yK(XNe,3298,3302,33),yK(XNe,3302,3312,-87),yK(XNe,3312,3330,33),yK(XNe,3330,3332,-87),XNe[3332]=33,yK(XNe,3333,3341,-19),XNe[3341]=33,yK(XNe,3342,3345,-19),XNe[3345]=33,yK(XNe,3346,3369,-19),XNe[3369]=33,yK(XNe,3370,3386,-19),yK(XNe,3386,3390,33),yK(XNe,3390,3396,-87),yK(XNe,3396,3398,33),yK(XNe,3398,3401,-87),XNe[3401]=33,yK(XNe,3402,3406,-87),yK(XNe,3406,3415,33),XNe[3415]=-87,yK(XNe,3416,3424,33),yK(XNe,3424,3426,-19),yK(XNe,3426,3430,33),yK(XNe,3430,3440,-87),yK(XNe,3440,3585,33),yK(XNe,3585,3631,-19),XNe[3631]=33,XNe[3632]=-19,XNe[3633]=-87,yK(XNe,3634,3636,-19),yK(XNe,3636,3643,-87),yK(XNe,3643,3648,33),yK(XNe,3648,3654,-19),yK(XNe,3654,3663,-87),XNe[3663]=33,yK(XNe,3664,3674,-87),yK(XNe,3674,3713,33),yK(XNe,3713,3715,-19),XNe[3715]=33,XNe[3716]=-19,yK(XNe,3717,3719,33),yK(XNe,3719,3721,-19),XNe[3721]=33,XNe[3722]=-19,yK(XNe,3723,3725,33),XNe[3725]=-19,yK(XNe,3726,3732,33),yK(XNe,3732,3736,-19),XNe[3736]=33,yK(XNe,3737,3744,-19),XNe[3744]=33,yK(XNe,3745,3748,-19),XNe[3748]=33,XNe[3749]=-19,XNe[3750]=33,XNe[3751]=-19,yK(XNe,3752,3754,33),yK(XNe,3754,3756,-19),XNe[3756]=33,yK(XNe,3757,3759,-19),XNe[3759]=33,XNe[3760]=-19,XNe[3761]=-87,yK(XNe,3762,3764,-19),yK(XNe,3764,3770,-87),XNe[3770]=33,yK(XNe,3771,3773,-87),XNe[3773]=-19,yK(XNe,3774,3776,33),yK(XNe,3776,3781,-19),XNe[3781]=33,XNe[3782]=-87,XNe[3783]=33,yK(XNe,3784,3790,-87),yK(XNe,3790,3792,33),yK(XNe,3792,3802,-87),yK(XNe,3802,3864,33),yK(XNe,3864,3866,-87),yK(XNe,3866,3872,33),yK(XNe,3872,3882,-87),yK(XNe,3882,3893,33),XNe[3893]=-87,XNe[3894]=33,XNe[3895]=-87,XNe[3896]=33,XNe[3897]=-87,yK(XNe,3898,3902,33),yK(XNe,3902,3904,-87),yK(XNe,3904,3912,-19),XNe[3912]=33,yK(XNe,3913,3946,-19),yK(XNe,3946,3953,33),yK(XNe,3953,3973,-87),XNe[3973]=33,yK(XNe,3974,3980,-87),yK(XNe,3980,3984,33),yK(XNe,3984,3990,-87),XNe[3990]=33,XNe[3991]=-87,XNe[3992]=33,yK(XNe,3993,4014,-87),yK(XNe,4014,4017,33),yK(XNe,4017,4024,-87),XNe[4024]=33,XNe[4025]=-87,yK(XNe,4026,4256,33),yK(XNe,4256,4294,-19),yK(XNe,4294,4304,33),yK(XNe,4304,4343,-19),yK(XNe,4343,4352,33),XNe[4352]=-19,XNe[4353]=33,yK(XNe,4354,4356,-19),XNe[4356]=33,yK(XNe,4357,4360,-19),XNe[4360]=33,XNe[4361]=-19,XNe[4362]=33,yK(XNe,4363,4365,-19),XNe[4365]=33,yK(XNe,4366,4371,-19),yK(XNe,4371,4412,33),XNe[4412]=-19,XNe[4413]=33,XNe[4414]=-19,XNe[4415]=33,XNe[4416]=-19,yK(XNe,4417,4428,33),XNe[4428]=-19,XNe[4429]=33,XNe[4430]=-19,XNe[4431]=33,XNe[4432]=-19,yK(XNe,4433,4436,33),yK(XNe,4436,4438,-19),yK(XNe,4438,4441,33),XNe[4441]=-19,yK(XNe,4442,4447,33),yK(XNe,4447,4450,-19),XNe[4450]=33,XNe[4451]=-19,XNe[4452]=33,XNe[4453]=-19,XNe[4454]=33,XNe[4455]=-19,XNe[4456]=33,XNe[4457]=-19,yK(XNe,4458,4461,33),yK(XNe,4461,4463,-19),yK(XNe,4463,4466,33),yK(XNe,4466,4468,-19),XNe[4468]=33,XNe[4469]=-19,yK(XNe,4470,4510,33),XNe[4510]=-19,yK(XNe,4511,4520,33),XNe[4520]=-19,yK(XNe,4521,4523,33),XNe[4523]=-19,yK(XNe,4524,4526,33),yK(XNe,4526,4528,-19),yK(XNe,4528,4535,33),yK(XNe,4535,4537,-19),XNe[4537]=33,XNe[4538]=-19,XNe[4539]=33,yK(XNe,4540,4547,-19),yK(XNe,4547,4587,33),XNe[4587]=-19,yK(XNe,4588,4592,33),XNe[4592]=-19,yK(XNe,4593,4601,33),XNe[4601]=-19,yK(XNe,4602,7680,33),yK(XNe,7680,7836,-19),yK(XNe,7836,7840,33),yK(XNe,7840,7930,-19),yK(XNe,7930,7936,33),yK(XNe,7936,7958,-19),yK(XNe,7958,7960,33),yK(XNe,7960,7966,-19),yK(XNe,7966,7968,33),yK(XNe,7968,8006,-19),yK(XNe,8006,8008,33),yK(XNe,8008,8014,-19),yK(XNe,8014,8016,33),yK(XNe,8016,8024,-19),XNe[8024]=33,XNe[8025]=-19,XNe[8026]=33,XNe[8027]=-19,XNe[8028]=33,XNe[8029]=-19,XNe[8030]=33,yK(XNe,8031,8062,-19),yK(XNe,8062,8064,33),yK(XNe,8064,8117,-19),XNe[8117]=33,yK(XNe,8118,8125,-19),XNe[8125]=33,XNe[8126]=-19,yK(XNe,8127,8130,33),yK(XNe,8130,8133,-19),XNe[8133]=33,yK(XNe,8134,8141,-19),yK(XNe,8141,8144,33),yK(XNe,8144,8148,-19),yK(XNe,8148,8150,33),yK(XNe,8150,8156,-19),yK(XNe,8156,8160,33),yK(XNe,8160,8173,-19),yK(XNe,8173,8178,33),yK(XNe,8178,8181,-19),XNe[8181]=33,yK(XNe,8182,8189,-19),yK(XNe,8189,8400,33),yK(XNe,8400,8413,-87),yK(XNe,8413,8417,33),XNe[8417]=-87,yK(XNe,8418,8486,33),XNe[8486]=-19,yK(XNe,8487,8490,33),yK(XNe,8490,8492,-19),yK(XNe,8492,8494,33),XNe[8494]=-19,yK(XNe,8495,8576,33),yK(XNe,8576,8579,-19),yK(XNe,8579,12293,33),XNe[12293]=-87,XNe[12294]=33,XNe[12295]=-19,yK(XNe,12296,12321,33),yK(XNe,12321,12330,-19),yK(XNe,12330,12336,-87),XNe[12336]=33,yK(XNe,12337,12342,-87),yK(XNe,12342,12353,33),yK(XNe,12353,12437,-19),yK(XNe,12437,12441,33),yK(XNe,12441,12443,-87),yK(XNe,12443,12445,33),yK(XNe,12445,12447,-87),yK(XNe,12447,12449,33),yK(XNe,12449,12539,-19),XNe[12539]=33,yK(XNe,12540,12543,-87),yK(XNe,12543,12549,33),yK(XNe,12549,12589,-19),yK(XNe,12589,19968,33),yK(XNe,19968,40870,-19),yK(XNe,40870,44032,33),yK(XNe,44032,55204,-19),yK(XNe,55204,zVt,33),yK(XNe,57344,65534,33)}function _Wt(t){var e,n,i,r,a,o,s;t.hb||(t.hb=!0,Nrt(t,"ecore"),Drt(t,"ecore"),Prt(t,W7t),rst(t.fb,"E"),rst(t.L,"T"),rst(t.P,"K"),rst(t.P,"V"),rst(t.cb,"E"),u7(mQ(t.b),t.bb),u7(mQ(t.a),t.Q),u7(mQ(t.o),t.p),u7(mQ(t.p),t.R),u7(mQ(t.q),t.p),u7(mQ(t.v),t.q),u7(mQ(t.w),t.R),u7(mQ(t.B),t.Q),u7(mQ(t.R),t.Q),u7(mQ(t.T),t.eb),u7(mQ(t.U),t.R),u7(mQ(t.V),t.eb),u7(mQ(t.W),t.bb),u7(mQ(t.bb),t.eb),u7(mQ(t.eb),t.R),u7(mQ(t.db),t.R),U0(t.b,ROe,h7t,!1,!1,!0),oat($z(Yet(WV(t.b),0),34),t.e,"iD",null,0,1,ROe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.b),1),18),t.q,null,"eAttributeType",1,1,ROe,!0,!0,!1,!1,!0,!1,!0),U0(t.a,POe,c7t,!1,!1,!0),oat($z(Yet(WV(t.a),0),34),t._,_6t,null,0,1,POe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.a),1),18),t.ab,null,"details",0,-1,POe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.a),2),18),t.Q,$z(Yet(WV(t.Q),0),18),"eModelElement",0,1,POe,!0,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.a),3),18),t.S,null,"contents",0,-1,POe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.a),4),18),t.S,null,"references",0,-1,POe,!1,!1,!0,!1,!0,!1,!1),U0(t.o,FOe,"EClass",!1,!1,!0),oat($z(Yet(WV(t.o),0),34),t.e,"abstract",null,0,1,FOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.o),1),34),t.e,"interface",null,0,1,FOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.o),2),18),t.o,null,"eSuperTypes",0,-1,FOe,!1,!1,!0,!1,!0,!0,!1),Evt($z(Yet(WV(t.o),3),18),t.T,$z(Yet(WV(t.T),0),18),"eOperations",0,-1,FOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.o),4),18),t.b,null,"eAllAttributes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),5),18),t.W,null,"eAllReferences",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),6),18),t.W,null,"eReferences",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),7),18),t.b,null,"eAttributes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),8),18),t.W,null,"eAllContainments",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),9),18),t.T,null,"eAllOperations",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),10),18),t.bb,null,"eAllStructuralFeatures",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),11),18),t.o,null,"eAllSuperTypes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),12),18),t.b,null,"eIDAttribute",0,1,FOe,!0,!0,!1,!1,!1,!1,!0),Evt($z(Yet(WV(t.o),13),18),t.bb,$z(Yet(WV(t.bb),7),18),"eStructuralFeatures",0,-1,FOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.o),14),18),t.H,null,"eGenericSuperTypes",0,-1,FOe,!1,!1,!0,!0,!1,!0,!1),Evt($z(Yet(WV(t.o),15),18),t.H,null,"eAllGenericSuperTypes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Ovt(s=lit($z(Yet(YV(t.o),0),59),t.e,"isSuperTypeOf"),t.o,"someClass"),lit($z(Yet(YV(t.o),1),59),t.I,"getFeatureCount"),Ovt(s=lit($z(Yet(YV(t.o),2),59),t.bb,Z7t),t.I,"featureID"),Ovt(s=lit($z(Yet(YV(t.o),3),59),t.I,J7t),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.o),4),59),t.bb,Z7t),t._,"featureName"),lit($z(Yet(YV(t.o),5),59),t.I,"getOperationCount"),Ovt(s=lit($z(Yet(YV(t.o),6),59),t.T,"getEOperation"),t.I,"operationID"),Ovt(s=lit($z(Yet(YV(t.o),7),59),t.I,e9t),t.T,n9t),Ovt(s=lit($z(Yet(YV(t.o),8),59),t.T,"getOverride"),t.T,n9t),Ovt(s=lit($z(Yet(YV(t.o),9),59),t.H,"getFeatureType"),t.bb,t9t),U0(t.p,$Oe,f7t,!0,!1,!0),oat($z(Yet(WV(t.p),0),34),t._,"instanceClassName",null,0,1,$Oe,!1,!0,!0,!0,!0,!1),e=QX(t.L),n=s2(),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),RIt($z(Yet(WV(t.p),1),34),e,"instanceClass",$Oe,!0,!0,!1,!0),oat($z(Yet(WV(t.p),2),34),t.M,i9t,null,0,1,$Oe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.p),3),34),t._,"instanceTypeName",null,0,1,$Oe,!1,!0,!0,!0,!0,!1),Evt($z(Yet(WV(t.p),4),18),t.U,$z(Yet(WV(t.U),3),18),"ePackage",0,1,$Oe,!0,!1,!1,!1,!0,!1,!1),Evt($z(Yet(WV(t.p),5),18),t.db,null,r9t,0,-1,$Oe,!1,!1,!0,!0,!0,!1,!1),Ovt(s=lit($z(Yet(YV(t.p),0),59),t.e,a9t),t.M,IWt),lit($z(Yet(YV(t.p),1),59),t.I,"getClassifierID"),U0(t.q,zOe,"EDataType",!1,!1,!0),oat($z(Yet(WV(t.q),0),34),t.e,"serializable",a5t,0,1,zOe,!1,!1,!0,!1,!0,!1),U0(t.v,GOe,"EEnum",!1,!1,!0),Evt($z(Yet(WV(t.v),0),18),t.w,$z(Yet(WV(t.w),3),18),"eLiterals",0,-1,GOe,!1,!1,!0,!0,!1,!1,!1),Ovt(s=lit($z(Yet(YV(t.v),0),59),t.w,o9t),t._,t8t),Ovt(s=lit($z(Yet(YV(t.v),1),59),t.w,o9t),t.I,k6t),Ovt(s=lit($z(Yet(YV(t.v),2),59),t.w,"getEEnumLiteralByLiteral"),t._,"literal"),U0(t.w,qOe,d7t,!1,!1,!0),oat($z(Yet(WV(t.w),0),34),t.I,k6t,null,0,1,qOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.w),1),34),t.A,"instance",null,0,1,qOe,!0,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.w),2),34),t._,"literal",null,0,1,qOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.w),3),18),t.v,$z(Yet(WV(t.v),0),18),"eEnum",0,1,qOe,!0,!1,!1,!1,!1,!1,!1),U0(t.B,$Ie,"EFactory",!1,!1,!0),Evt($z(Yet(WV(t.B),0),18),t.U,$z(Yet(WV(t.U),2),18),"ePackage",1,1,$Ie,!0,!1,!0,!1,!1,!1,!1),Ovt(s=lit($z(Yet(YV(t.B),0),59),t.S,"create"),t.o,"eClass"),Ovt(s=lit($z(Yet(YV(t.B),1),59),t.M,"createFromString"),t.q,"eDataType"),Ovt(s,t._,"literalValue"),Ovt(s=lit($z(Yet(YV(t.B),2),59),t._,"convertToString"),t.q,"eDataType"),Ovt(s,t.M,"instanceValue"),U0(t.Q,RIe,V5t,!0,!1,!0),Evt($z(Yet(WV(t.Q),0),18),t.a,$z(Yet(WV(t.a),2),18),"eAnnotations",0,-1,RIe,!1,!1,!0,!0,!1,!1,!1),Ovt(s=lit($z(Yet(YV(t.Q),0),59),t.a,"getEAnnotation"),t._,_6t),U0(t.R,FIe,Q5t,!0,!1,!0),oat($z(Yet(WV(t.R),0),34),t._,t8t,null,0,1,FIe,!1,!1,!0,!1,!0,!1),U0(t.S,IIe,"EObject",!1,!1,!0),lit($z(Yet(YV(t.S),0),59),t.o,"eClass"),lit($z(Yet(YV(t.S),1),59),t.e,"eIsProxy"),lit($z(Yet(YV(t.S),2),59),t.X,"eResource"),lit($z(Yet(YV(t.S),3),59),t.S,"eContainer"),lit($z(Yet(YV(t.S),4),59),t.bb,"eContainingFeature"),lit($z(Yet(YV(t.S),5),59),t.W,"eContainmentFeature"),s=lit($z(Yet(YV(t.S),6),59),null,"eContents"),e=QX(t.fb),n=QX(t.S),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),(r=zEt(s,e,null))&&r.Fi(),s=lit($z(Yet(YV(t.S),7),59),null,"eAllContents"),e=QX(t.cb),n=QX(t.S),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),(a=zEt(s,e,null))&&a.Fi(),s=lit($z(Yet(YV(t.S),8),59),null,"eCrossReferences"),e=QX(t.fb),n=QX(t.S),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),(o=zEt(s,e,null))&&o.Fi(),Ovt(s=lit($z(Yet(YV(t.S),9),59),t.M,"eGet"),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.S),10),59),t.M,"eGet"),t.bb,t9t),Ovt(s,t.e,"resolve"),Ovt(s=lit($z(Yet(YV(t.S),11),59),null,"eSet"),t.bb,t9t),Ovt(s,t.M,"newValue"),Ovt(s=lit($z(Yet(YV(t.S),12),59),t.e,"eIsSet"),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.S),13),59),null,"eUnset"),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.S),14),59),t.M,"eInvoke"),t.T,n9t),e=QX(t.fb),n=s2(),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),qkt(s,e,"arguments"),jW(s,t.K),U0(t.T,YOe,p7t,!1,!1,!0),Evt($z(Yet(WV(t.T),0),18),t.o,$z(Yet(WV(t.o),3),18),s9t,0,1,YOe,!0,!1,!1,!1,!1,!1,!1),Evt($z(Yet(WV(t.T),1),18),t.db,null,r9t,0,-1,YOe,!1,!1,!0,!0,!0,!1,!1),Evt($z(Yet(WV(t.T),2),18),t.V,$z(Yet(WV(t.V),0),18),"eParameters",0,-1,YOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.T),3),18),t.p,null,"eExceptions",0,-1,YOe,!1,!1,!0,!1,!0,!0,!1),Evt($z(Yet(WV(t.T),4),18),t.H,null,"eGenericExceptions",0,-1,YOe,!1,!1,!0,!0,!1,!0,!1),lit($z(Yet(YV(t.T),0),59),t.I,e9t),Ovt(s=lit($z(Yet(YV(t.T),1),59),t.e,"isOverrideOf"),t.T,"someOperation"),U0(t.U,zIe,"EPackage",!1,!1,!0),oat($z(Yet(WV(t.U),0),34),t._,"nsURI",null,0,1,zIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.U),1),34),t._,"nsPrefix",null,0,1,zIe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.U),2),18),t.B,$z(Yet(WV(t.B),0),18),"eFactoryInstance",1,1,zIe,!0,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.U),3),18),t.p,$z(Yet(WV(t.p),4),18),"eClassifiers",0,-1,zIe,!1,!1,!0,!0,!0,!1,!1),Evt($z(Yet(WV(t.U),4),18),t.U,$z(Yet(WV(t.U),5),18),"eSubpackages",0,-1,zIe,!1,!1,!0,!0,!0,!1,!1),Evt($z(Yet(WV(t.U),5),18),t.U,$z(Yet(WV(t.U),4),18),"eSuperPackage",0,1,zIe,!0,!1,!1,!1,!0,!1,!1),Ovt(s=lit($z(Yet(YV(t.U),0),59),t.p,"getEClassifier"),t._,t8t),U0(t.V,WOe,b7t,!1,!1,!0),Evt($z(Yet(WV(t.V),0),18),t.T,$z(Yet(WV(t.T),2),18),"eOperation",0,1,WOe,!0,!1,!1,!1,!1,!1,!1),U0(t.W,XOe,w7t,!1,!1,!0),oat($z(Yet(WV(t.W),0),34),t.e,"containment",null,0,1,XOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.W),1),34),t.e,"container",null,0,1,XOe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.W),2),34),t.e,"resolveProxies",a5t,0,1,XOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.W),3),18),t.W,null,"eOpposite",0,1,XOe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.W),4),18),t.o,null,"eReferenceType",1,1,XOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.W),5),18),t.b,null,"eKeys",0,-1,XOe,!1,!1,!0,!1,!0,!1,!1),U0(t.bb,jOe,l7t,!0,!1,!0),oat($z(Yet(WV(t.bb),0),34),t.e,"changeable",a5t,0,1,jOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),1),34),t.e,"volatile",null,0,1,jOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),2),34),t.e,"transient",null,0,1,jOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),3),34),t._,"defaultValueLiteral",null,0,1,jOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),4),34),t.M,i9t,null,0,1,jOe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.bb),5),34),t.e,"unsettable",null,0,1,jOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),6),34),t.e,"derived",null,0,1,jOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.bb),7),18),t.o,$z(Yet(WV(t.o),13),18),s9t,0,1,jOe,!0,!1,!1,!1,!1,!1,!1),lit($z(Yet(YV(t.bb),0),59),t.I,J7t),s=lit($z(Yet(YV(t.bb),1),59),null,"getContainerClass"),e=QX(t.L),n=s2(),u7((!e.d&&(e.d=new IN(KOe,e,1)),e.d),n),(i=zEt(s,e,null))&&i.Fi(),U0(t.eb,BOe,u7t,!0,!1,!0),oat($z(Yet(WV(t.eb),0),34),t.e,"ordered",a5t,0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),1),34),t.e,"unique",a5t,0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),2),34),t.I,"lowerBound",null,0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),3),34),t.I,"upperBound","1",0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),4),34),t.e,"many",null,0,1,BOe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.eb),5),34),t.e,"required",null,0,1,BOe,!0,!0,!1,!1,!0,!0),Evt($z(Yet(WV(t.eb),6),18),t.p,null,"eType",0,1,BOe,!1,!0,!0,!1,!0,!0,!1),Evt($z(Yet(WV(t.eb),7),18),t.H,null,"eGenericType",0,1,BOe,!1,!0,!0,!0,!1,!0,!1),U0(t.ab,zte,"EStringToStringMapEntry",!1,!1,!1),oat($z(Yet(WV(t.ab),0),34),t._,"key",null,0,1,zte,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.ab),1),34),t._,k6t,null,0,1,zte,!1,!1,!0,!1,!0,!1),U0(t.H,KOe,g7t,!1,!1,!0),Evt($z(Yet(WV(t.H),0),18),t.H,null,"eUpperBound",0,1,KOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.H),1),18),t.H,null,"eTypeArguments",0,-1,KOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.H),2),18),t.p,null,"eRawType",1,1,KOe,!0,!1,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.H),3),18),t.H,null,"eLowerBound",0,1,KOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.H),4),18),t.db,null,"eTypeParameter",0,1,KOe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.H),5),18),t.p,null,"eClassifier",0,1,KOe,!1,!1,!0,!1,!0,!1,!1),Ovt(s=lit($z(Yet(YV(t.H),0),59),t.e,a9t),t.M,IWt),U0(t.db,SLe,y7t,!1,!1,!0),Evt($z(Yet(WV(t.db),0),18),t.H,null,"eBounds",0,-1,SLe,!1,!1,!0,!0,!1,!1,!1),dX(t.c,Vee,"EBigDecimal",!0),dX(t.d,sne,"EBigInteger",!0),dX(t.e,MDe,"EBoolean",!0),dX(t.f,vee,"EBooleanObject",!0),dX(t.i,ODe,"EByte",!0),dX(t.g,Hx(ODe,1),"EByteArray",!0),dX(t.j,kee,"EByteObject",!0),dX(t.k,SDe,"EChar",!0),dX(t.n,Tee,"ECharacterObject",!0),dX(t.r,bee,"EDate",!0),dX(t.s,BDe,"EDiagnosticChain",!1),dX(t.t,LDe,"EDouble",!0),dX(t.u,Cee,"EDoubleObject",!0),dX(t.fb,rOe,"EEList",!1),dX(t.A,wOe,"EEnumerator",!1),dX(t.C,aNe,"EFeatureMap",!1),dX(t.D,MLe,"EFeatureMapEntry",!1),dX(t.F,NDe,"EFloat",!0),dX(t.G,See,"EFloatObject",!0),dX(t.I,ADe,"EInt",!0),dX(t.J,Iee,"EIntegerObject",!0),dX(t.L,Ote,"EJavaClass",!0),dX(t.M,Ite,"EJavaObject",!0),dX(t.N,IDe,"ELong",!0),dX(t.O,Bee,"ELongObject",!0),dX(t.P,Nte,"EMap",!1),dX(t.X,tNe,"EResource",!1),dX(t.Y,jDe,"EResourceSet",!1),dX(t.Z,DDe,"EShort",!0),dX(t.$,Ree,"EShortObject",!0),dX(t._,zee,"EString",!0),dX(t.cb,oOe,"ETreeIterator",!1),dX(t.K,RDe,"EInvocationTargetException",!1),Llt(t,W7t))}typeof window<"u"?i=window:typeof t<"u"?i=t:typeof self<"u"&&(i=self);var EWt,TWt,CWt,SWt,AWt,MWt,IWt="object",OWt="boolean",LWt="number",NWt="string",DWt="function",PWt=2147483647,BWt="java.lang",jWt={3:1},RWt="com.google.common.base",$Wt=", ",FWt="%s (%s) must not be negative",zWt={3:1,4:1,5:1},HWt="negative size: ",UWt="Optional.of(",GWt="null",qWt={198:1,47:1},KWt="com.google.common.collect",YWt={198:1,47:1,125:1},WWt={224:1,3:1},XWt={47:1},VWt="java.util",QWt={83:1},ZWt={20:1,28:1,14:1},JWt=1965,tXt={20:1,28:1,14:1,21:1},eXt={83:1,171:1,161:1},nXt={20:1,28:1,14:1,21:1,84:1},iXt={20:1,28:1,14:1,271:1,21:1,84:1},rXt={47:1,125:1},aXt={345:1,42:1},oXt="AbstractMapEntry",sXt="expectedValuesPerKey",cXt={3:1,6:1,4:1,5:1},uXt=16384,lXt={164:1},hXt={38:1},fXt={l:4194303,m:4194303,h:524287},dXt={196:1},gXt={245:1,3:1,35:1},pXt="range unbounded on this side",bXt={20:1},wXt={20:1,14:1},yXt={3:1,20:1,28:1,14:1},mXt={152:1,3:1,20:1,28:1,14:1,15:1,54:1},vXt={3:1,4:1,5:1,165:1},xXt={3:1,83:1},kXt={20:1,14:1,21:1},_Xt={3:1,20:1,28:1,14:1,21:1},EXt={20:1,14:1,21:1,84:1},TXt=461845907,CXt=-862048943,SXt={3:1,6:1,4:1,5:1,165:1},AXt="expectedSize",MXt=1073741824,IXt="initialArraySize",OXt={3:1,6:1,4:1,9:1,5:1},LXt={20:1,28:1,52:1,14:1,15:1},NXt="arraySize",DXt={20:1,28:1,52:1,14:1,15:1,54:1},PXt={45:1},BXt={365:1},jXt=1e-4,RXt=-2147483648,$Xt="__noinit__",FXt={3:1,102:1,60:1,78:1},zXt="com.google.gwt.core.client.impl",HXt="String",UXt="com.google.gwt.core.client",GXt="anonymous",qXt="fnStack",KXt="Unknown",YXt={195:1,3:1,4:1},WXt=1e3,XXt=65535,VXt="January",QXt="February",ZXt="March",JXt="April",tVt="May",eVt="June",nVt="July",iVt="August",rVt="September",aVt="October",oVt="November",sVt="December",cVt=1900,uVt={48:1,3:1,4:1},lVt="Before Christ",hVt="Anno Domini",fVt="Sunday",dVt="Monday",gVt="Tuesday",pVt="Wednesday",bVt="Thursday",wVt="Friday",yVt="Saturday",mVt="com.google.gwt.i18n.shared",vVt="DateTimeFormat",xVt="com.google.gwt.i18n.client",kVt="DefaultDateTimeFormatInfo",_Vt={3:1,4:1,35:1,199:1},EVt="com.google.gwt.json.client",TVt=4194303,CVt=1048575,SVt=524288,AVt=4194304,MVt=17592186044416,IVt=1e9,OVt=-17592186044416,LVt="java.io",NVt={3:1,102:1,73:1,60:1,78:1},DVt={3:1,289:1,78:1},PVt='For input string: "',BVt=1/0,jVt=-1/0,RVt=4096,$Vt={3:1,4:1,364:1},FVt=65536,zVt=55296,HVt={104:1,3:1,4:1},UVt=1e5,GVt=.3010299956639812,qVt=4294967295,KVt=4294967296,YVt="0.0",WVt={42:1},XVt={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},VVt={3:1,20:1,28:1,52:1,14:1,15:1,54:1},QVt={20:1,14:1,15:1},ZVt={3:1,62:1},JVt={182:1},tQt={3:1,4:1,83:1},eQt={3:1,4:1,20:1,28:1,14:1,53:1,21:1},nQt="delete",iQt=1.4901161193847656e-8,rQt=11102230246251565e-32,aQt=15525485,oQt=5.960464477539063e-8,sQt=16777216,cQt=16777215,uQt=", length: ",lQt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},hQt={3:1,35:1,22:1,297:1},fQt="java.util.function",dQt="java.util.logging",gQt={3:1,4:1,5:1,842:1},pQt="undefined",bQt="java.util.stream",wQt={525:1,670:1},yQt="fromIndex: ",mQt=" > toIndex: ",vQt=", toIndex: ",xQt="Index: ",kQt=", Size: ",_Qt="org.eclipse.elk.alg.common",EQt={62:1},TQt="org.eclipse.elk.alg.common.compaction",CQt="Scanline/EventHandler",SQt="org.eclipse.elk.alg.common.compaction.oned",AQt="CNode belongs to another CGroup.",MQt="ISpacingsHandler/1",IQt="The ",OQt=" instance has been finished already.",LQt="The direction ",NQt=" is not supported by the CGraph instance.",DQt="OneDimensionalCompactor",PQt="OneDimensionalCompactor/lambda$0$Type",BQt="Quadruplet",jQt="ScanlineConstraintCalculator",RQt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",$Qt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",FQt="ScanlineConstraintCalculator/Timestamp",zQt="ScanlineConstraintCalculator/lambda$0$Type",HQt={169:1,45:1},UQt="org.eclipse.elk.alg.common.compaction.options",GQt="org.eclipse.elk.core.data",qQt="org.eclipse.elk.polyomino.traversalStrategy",KQt="org.eclipse.elk.polyomino.lowLevelSort",YQt="org.eclipse.elk.polyomino.highLevelSort",WQt="org.eclipse.elk.polyomino.fill",XQt={130:1},VQt="polyomino",QQt="org.eclipse.elk.alg.common.networksimplex",ZQt={177:1,3:1,4:1},JQt="org.eclipse.elk.alg.common.nodespacing",tZt="org.eclipse.elk.alg.common.nodespacing.cellsystem",eZt="CENTER",nZt={212:1,326:1},iZt={3:1,4:1,5:1,595:1},rZt="LEFT",aZt="RIGHT",oZt="Vertical alignment cannot be null",sZt="BOTTOM",cZt="org.eclipse.elk.alg.common.nodespacing.internal",uZt="UNDEFINED",lZt=.01,hZt="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",fZt="LabelPlacer/lambda$0$Type",dZt="LabelPlacer/lambda$1$Type",gZt="portRatioOrPosition",pZt="org.eclipse.elk.alg.common.overlaps",bZt="DOWN",wZt="org.eclipse.elk.alg.common.polyomino",yZt="NORTH",mZt="EAST",vZt="SOUTH",xZt="WEST",kZt="org.eclipse.elk.alg.common.polyomino.structures",_Zt="Direction",EZt="Grid is only of size ",TZt=". Requested point (",CZt=") is out of bounds.",SZt=" Given center based coordinates were (",AZt="org.eclipse.elk.graph.properties",MZt="IPropertyHolder",IZt={3:1,94:1,134:1},OZt="org.eclipse.elk.alg.common.spore",LZt="org.eclipse.elk.alg.common.utils",NZt={209:1},DZt="org.eclipse.elk.core",PZt="Connected Components Compaction",BZt="org.eclipse.elk.alg.disco",jZt="org.eclipse.elk.alg.disco.graph",RZt="org.eclipse.elk.alg.disco.options",$Zt="CompactionStrategy",FZt="org.eclipse.elk.disco.componentCompaction.strategy",zZt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",HZt="org.eclipse.elk.disco.debug.discoGraph",UZt="org.eclipse.elk.disco.debug.discoPolys",GZt="componentCompaction",qZt="org.eclipse.elk.disco",KZt="org.eclipse.elk.spacing.componentComponent",YZt="org.eclipse.elk.edge.thickness",WZt="org.eclipse.elk.aspectRatio",XZt="org.eclipse.elk.padding",VZt="org.eclipse.elk.alg.disco.transform",QZt=1.5707963267948966,ZZt=17976931348623157e292,JZt={3:1,4:1,5:1,192:1},tJt={3:1,6:1,4:1,5:1,106:1,120:1},eJt="org.eclipse.elk.alg.force",nJt="ComponentsProcessor",iJt="ComponentsProcessor/1",rJt="org.eclipse.elk.alg.force.graph",aJt="Component Layout",oJt="org.eclipse.elk.alg.force.model",sJt="org.eclipse.elk.force.model",cJt="org.eclipse.elk.force.iterations",uJt="org.eclipse.elk.force.repulsivePower",lJt="org.eclipse.elk.force.temperature",hJt=.001,fJt="org.eclipse.elk.force.repulsion",dJt="org.eclipse.elk.alg.force.options",gJt=1.600000023841858,pJt="org.eclipse.elk.force",bJt="org.eclipse.elk.priority",wJt="org.eclipse.elk.spacing.nodeNode",yJt="org.eclipse.elk.spacing.edgeLabel",mJt="org.eclipse.elk.randomSeed",vJt="org.eclipse.elk.separateConnectedComponents",xJt="org.eclipse.elk.interactive",kJt="org.eclipse.elk.portConstraints",_Jt="org.eclipse.elk.edgeLabels.inline",EJt="org.eclipse.elk.omitNodeMicroLayout",TJt="org.eclipse.elk.nodeSize.options",CJt="org.eclipse.elk.nodeSize.constraints",SJt="org.eclipse.elk.nodeLabels.placement",AJt="org.eclipse.elk.portLabels.placement",MJt="origin",IJt="random",OJt="boundingBox.upLeft",LJt="boundingBox.lowRight",NJt="org.eclipse.elk.stress.fixed",DJt="org.eclipse.elk.stress.desiredEdgeLength",PJt="org.eclipse.elk.stress.dimension",BJt="org.eclipse.elk.stress.epsilon",jJt="org.eclipse.elk.stress.iterationLimit",RJt="org.eclipse.elk.stress",$Jt="ELK Stress",FJt="org.eclipse.elk.nodeSize.minimum",zJt="org.eclipse.elk.alg.force.stress",HJt="Layered layout",UJt="org.eclipse.elk.alg.layered",GJt="org.eclipse.elk.alg.layered.compaction.components",qJt="org.eclipse.elk.alg.layered.compaction.oned",KJt="org.eclipse.elk.alg.layered.compaction.oned.algs",YJt="org.eclipse.elk.alg.layered.compaction.recthull",WJt="org.eclipse.elk.alg.layered.components",XJt="NONE",VJt={3:1,6:1,4:1,9:1,5:1,122:1},QJt={3:1,6:1,4:1,5:1,141:1,106:1,120:1},ZJt="org.eclipse.elk.alg.layered.compound",JJt={51:1},t1t="org.eclipse.elk.alg.layered.graph",e1t=" -> ",n1t="Not supported by LGraph",i1t="Port side is undefined",r1t={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},a1t={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},o1t={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},s1t="([{\"' \t\r\n",c1t=")]}\"' \t\r\n",u1t="The given string contains parts that cannot be parsed as numbers.",l1t="org.eclipse.elk.core.math",h1t={3:1,4:1,142:1,207:1,414:1},f1t={3:1,4:1,116:1,207:1,414:1},d1t="org.eclipse.elk.layered",g1t="org.eclipse.elk.alg.layered.graph.transform",p1t="ElkGraphImporter",b1t="ElkGraphImporter/lambda$0$Type",w1t="ElkGraphImporter/lambda$1$Type",y1t="ElkGraphImporter/lambda$2$Type",m1t="ElkGraphImporter/lambda$4$Type",v1t="Node margin calculation",x1t="org.eclipse.elk.alg.layered.intermediate",k1t="ONE_SIDED_GREEDY_SWITCH",_1t="TWO_SIDED_GREEDY_SWITCH",E1t="No implementation is available for the layout processor ",T1t="IntermediateProcessorStrategy",C1t="Node '",S1t="FIRST_SEPARATE",A1t="LAST_SEPARATE",M1t="Odd port side processing",I1t="org.eclipse.elk.alg.layered.intermediate.compaction",O1t="org.eclipse.elk.alg.layered.intermediate.greedyswitch",L1t="org.eclipse.elk.alg.layered.p3order.counting",N1t={225:1},D1t="org.eclipse.elk.alg.layered.intermediate.loops",P1t="org.eclipse.elk.alg.layered.intermediate.loops.ordering",B1t="org.eclipse.elk.alg.layered.intermediate.loops.routing",j1t="org.eclipse.elk.alg.layered.intermediate.preserveorder",R1t="org.eclipse.elk.alg.layered.intermediate.wrapping",$1t="org.eclipse.elk.alg.layered.options",F1t="INTERACTIVE",z1t="DEPTH_FIRST",H1t="EDGE_LENGTH",U1t="SELF_LOOPS",G1t="firstTryWithInitialOrder",q1t="org.eclipse.elk.layered.directionCongruency",K1t="org.eclipse.elk.layered.feedbackEdges",Y1t="org.eclipse.elk.layered.interactiveReferencePoint",W1t="org.eclipse.elk.layered.mergeEdges",X1t="org.eclipse.elk.layered.mergeHierarchyEdges",V1t="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Q1t="org.eclipse.elk.layered.portSortingStrategy",Z1t="org.eclipse.elk.layered.thoroughness",J1t="org.eclipse.elk.layered.unnecessaryBendpoints",t0t="org.eclipse.elk.layered.generatePositionAndLayerIds",e0t="org.eclipse.elk.layered.cycleBreaking.strategy",n0t="org.eclipse.elk.layered.layering.strategy",i0t="org.eclipse.elk.layered.layering.layerConstraint",r0t="org.eclipse.elk.layered.layering.layerChoiceConstraint",a0t="org.eclipse.elk.layered.layering.layerId",o0t="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",s0t="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",c0t="org.eclipse.elk.layered.layering.nodePromotion.strategy",u0t="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",l0t="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",h0t="org.eclipse.elk.layered.crossingMinimization.strategy",f0t="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",d0t="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",g0t="org.eclipse.elk.layered.crossingMinimization.semiInteractive",p0t="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",b0t="org.eclipse.elk.layered.crossingMinimization.positionId",w0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",y0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",m0t="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",v0t="org.eclipse.elk.layered.nodePlacement.strategy",x0t="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",k0t="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",_0t="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",E0t="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",T0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",C0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",S0t="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",A0t="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",M0t="org.eclipse.elk.layered.edgeRouting.splines.mode",I0t="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",O0t="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",L0t="org.eclipse.elk.layered.spacing.baseValue",N0t="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",D0t="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",P0t="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",B0t="org.eclipse.elk.layered.priority.direction",j0t="org.eclipse.elk.layered.priority.shortness",R0t="org.eclipse.elk.layered.priority.straightness",$0t="org.eclipse.elk.layered.compaction.connectedComponents",F0t="org.eclipse.elk.layered.compaction.postCompaction.strategy",z0t="org.eclipse.elk.layered.compaction.postCompaction.constraints",H0t="org.eclipse.elk.layered.highDegreeNodes.treatment",U0t="org.eclipse.elk.layered.highDegreeNodes.threshold",G0t="org.eclipse.elk.layered.highDegreeNodes.treeHeight",q0t="org.eclipse.elk.layered.wrapping.strategy",K0t="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",Y0t="org.eclipse.elk.layered.wrapping.correctionFactor",W0t="org.eclipse.elk.layered.wrapping.cutting.strategy",X0t="org.eclipse.elk.layered.wrapping.cutting.cuts",V0t="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",Q0t="org.eclipse.elk.layered.wrapping.validify.strategy",Z0t="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",J0t="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",t2t="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",e2t="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",n2t="org.eclipse.elk.layered.edgeLabels.sideSelection",i2t="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",r2t="org.eclipse.elk.layered.considerModelOrder.strategy",a2t="org.eclipse.elk.layered.considerModelOrder.noModelOrder",o2t="org.eclipse.elk.layered.considerModelOrder.components",s2t="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",c2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",u2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",l2t="layering",h2t="layering.minWidth",f2t="layering.nodePromotion",d2t="crossingMinimization",g2t="org.eclipse.elk.hierarchyHandling",p2t="crossingMinimization.greedySwitch",b2t="nodePlacement",w2t="nodePlacement.bk",y2t="edgeRouting",m2t="org.eclipse.elk.edgeRouting",v2t="spacing",x2t="priority",k2t="compaction",_2t="compaction.postCompaction",E2t="Specifies whether and how post-process compaction is applied.",T2t="highDegreeNodes",C2t="wrapping",S2t="wrapping.cutting",A2t="wrapping.validify",M2t="wrapping.multiEdge",I2t="edgeLabels",O2t="considerModelOrder",L2t="org.eclipse.elk.spacing.commentComment",N2t="org.eclipse.elk.spacing.commentNode",D2t="org.eclipse.elk.spacing.edgeEdge",P2t="org.eclipse.elk.spacing.edgeNode",B2t="org.eclipse.elk.spacing.labelLabel",j2t="org.eclipse.elk.spacing.labelPortHorizontal",R2t="org.eclipse.elk.spacing.labelPortVertical",$2t="org.eclipse.elk.spacing.labelNode",F2t="org.eclipse.elk.spacing.nodeSelfLoop",z2t="org.eclipse.elk.spacing.portPort",H2t="org.eclipse.elk.spacing.individual",U2t="org.eclipse.elk.port.borderOffset",G2t="org.eclipse.elk.noLayout",q2t="org.eclipse.elk.port.side",K2t="org.eclipse.elk.debugMode",Y2t="org.eclipse.elk.alignment",W2t="org.eclipse.elk.insideSelfLoops.activate",X2t="org.eclipse.elk.insideSelfLoops.yo",V2t="org.eclipse.elk.nodeSize.fixedGraphSize",Q2t="org.eclipse.elk.direction",Z2t="org.eclipse.elk.nodeLabels.padding",J2t="org.eclipse.elk.portLabels.nextToPortIfPossible",t3t="org.eclipse.elk.portLabels.treatAsGroup",e3t="org.eclipse.elk.portAlignment.default",n3t="org.eclipse.elk.portAlignment.north",i3t="org.eclipse.elk.portAlignment.south",r3t="org.eclipse.elk.portAlignment.west",a3t="org.eclipse.elk.portAlignment.east",o3t="org.eclipse.elk.contentAlignment",s3t="org.eclipse.elk.junctionPoints",c3t="org.eclipse.elk.edgeLabels.placement",u3t="org.eclipse.elk.port.index",l3t="org.eclipse.elk.commentBox",h3t="org.eclipse.elk.hypernode",f3t="org.eclipse.elk.port.anchor",d3t="org.eclipse.elk.partitioning.activate",g3t="org.eclipse.elk.partitioning.partition",p3t="org.eclipse.elk.position",b3t="org.eclipse.elk.margins",w3t="org.eclipse.elk.spacing.portsSurrounding",y3t="org.eclipse.elk.interactiveLayout",m3t="org.eclipse.elk.core.util",v3t={3:1,4:1,5:1,593:1},x3t="NETWORK_SIMPLEX",k3t={123:1,51:1},_3t="org.eclipse.elk.alg.layered.p1cycles",E3t="org.eclipse.elk.alg.layered.p2layers",T3t={402:1,225:1},C3t={832:1,3:1,4:1},S3t="org.eclipse.elk.alg.layered.p3order",A3t="org.eclipse.elk.alg.layered.p4nodes",M3t={3:1,4:1,5:1,840:1},I3t=1e-5,O3t="org.eclipse.elk.alg.layered.p4nodes.bk",L3t="org.eclipse.elk.alg.layered.p5edges",N3t="org.eclipse.elk.alg.layered.p5edges.orthogonal",D3t="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",P3t=1e-6,B3t="org.eclipse.elk.alg.layered.p5edges.splines",j3t=.09999999999999998,R3t=1e-8,$3t=4.71238898038469,F3t=3.141592653589793,z3t="org.eclipse.elk.alg.mrtree",H3t="org.eclipse.elk.alg.mrtree.graph",U3t="org.eclipse.elk.alg.mrtree.intermediate",G3t="Set neighbors in level",q3t="DESCENDANTS",K3t="org.eclipse.elk.mrtree.weighting",Y3t="org.eclipse.elk.mrtree.searchOrder",W3t="org.eclipse.elk.alg.mrtree.options",X3t="org.eclipse.elk.mrtree",V3t="org.eclipse.elk.tree",Q3t="org.eclipse.elk.alg.radial",Z3t=6.283185307179586,J3t=5e-324,t4t="org.eclipse.elk.alg.radial.intermediate",e4t="org.eclipse.elk.alg.radial.intermediate.compaction",n4t={3:1,4:1,5:1,106:1},i4t="org.eclipse.elk.alg.radial.intermediate.optimization",r4t="No implementation is available for the layout option ",a4t="org.eclipse.elk.alg.radial.options",o4t="org.eclipse.elk.radial.orderId",s4t="org.eclipse.elk.radial.radius",c4t="org.eclipse.elk.radial.compactor",u4t="org.eclipse.elk.radial.compactionStepSize",l4t="org.eclipse.elk.radial.sorter",h4t="org.eclipse.elk.radial.wedgeCriteria",f4t="org.eclipse.elk.radial.optimizationCriteria",d4t="org.eclipse.elk.radial",g4t="org.eclipse.elk.alg.radial.p1position.wedge",p4t="org.eclipse.elk.alg.radial.sorting",b4t=5.497787143782138,w4t=3.9269908169872414,y4t=2.356194490192345,m4t="org.eclipse.elk.alg.rectpacking",v4t="org.eclipse.elk.alg.rectpacking.firstiteration",x4t="org.eclipse.elk.alg.rectpacking.options",k4t="org.eclipse.elk.rectpacking.optimizationGoal",_4t="org.eclipse.elk.rectpacking.lastPlaceShift",E4t="org.eclipse.elk.rectpacking.currentPosition",T4t="org.eclipse.elk.rectpacking.desiredPosition",C4t="org.eclipse.elk.rectpacking.onlyFirstIteration",S4t="org.eclipse.elk.rectpacking.rowCompaction",A4t="org.eclipse.elk.rectpacking.expandToAspectRatio",M4t="org.eclipse.elk.rectpacking.targetWidth",I4t="org.eclipse.elk.expandNodes",O4t="org.eclipse.elk.rectpacking",L4t="org.eclipse.elk.alg.rectpacking.util",N4t="No implementation available for ",D4t="org.eclipse.elk.alg.spore",P4t="org.eclipse.elk.alg.spore.options",B4t="org.eclipse.elk.sporeCompaction",j4t="org.eclipse.elk.underlyingLayoutAlgorithm",R4t="org.eclipse.elk.processingOrder.treeConstruction",$4t="org.eclipse.elk.processingOrder.spanningTreeCostFunction",F4t="org.eclipse.elk.processingOrder.preferredRoot",z4t="org.eclipse.elk.processingOrder.rootSelection",H4t="org.eclipse.elk.structure.structureExtractionStrategy",U4t="org.eclipse.elk.compaction.compactionStrategy",G4t="org.eclipse.elk.compaction.orthogonal",q4t="org.eclipse.elk.overlapRemoval.maxIterations",K4t="org.eclipse.elk.overlapRemoval.runScanline",Y4t="processingOrder",W4t="overlapRemoval",X4t="org.eclipse.elk.sporeOverlap",V4t="org.eclipse.elk.alg.spore.p1structure",Q4t="org.eclipse.elk.alg.spore.p2processingorder",Z4t="org.eclipse.elk.alg.spore.p3execution",J4t="Invalid index: ",t5t="org.eclipse.elk.core.alg",e5t={331:1},n5t={288:1},i5t="Make sure its type is registered with the ",r5t=" utility class.",a5t="true",o5t="false",s5t="Couldn't clone property '",c5t=.05,u5t="org.eclipse.elk.core.options",l5t=1.2999999523162842,h5t="org.eclipse.elk.box",f5t="org.eclipse.elk.box.packingMode",d5t="org.eclipse.elk.algorithm",g5t="org.eclipse.elk.resolvedAlgorithm",p5t="org.eclipse.elk.bendPoints",b5t="org.eclipse.elk.labelManager",w5t="org.eclipse.elk.scaleFactor",y5t="org.eclipse.elk.animate",m5t="org.eclipse.elk.animTimeFactor",v5t="org.eclipse.elk.layoutAncestors",x5t="org.eclipse.elk.maxAnimTime",k5t="org.eclipse.elk.minAnimTime",_5t="org.eclipse.elk.progressBar",E5t="org.eclipse.elk.validateGraph",T5t="org.eclipse.elk.validateOptions",C5t="org.eclipse.elk.zoomToFit",S5t="org.eclipse.elk.font.name",A5t="org.eclipse.elk.font.size",M5t="org.eclipse.elk.edge.type",I5t="partitioning",O5t="nodeLabels",L5t="portAlignment",N5t="nodeSize",D5t="port",P5t="portLabels",B5t="insideSelfLoops",j5t="org.eclipse.elk.fixed",R5t="org.eclipse.elk.random",$5t="port must have a parent node to calculate the port side",F5t="The edge needs to have exactly one edge section. Found: ",z5t="org.eclipse.elk.core.util.adapters",H5t="org.eclipse.emf.ecore",U5t="org.eclipse.elk.graph",G5t="EMapPropertyHolder",q5t="ElkBendPoint",K5t="ElkGraphElement",Y5t="ElkConnectableShape",W5t="ElkEdge",X5t="ElkEdgeSection",V5t="EModelElement",Q5t="ENamedElement",Z5t="ElkLabel",J5t="ElkNode",t6t="ElkPort",e6t={92:1,90:1},n6t="org.eclipse.emf.common.notify.impl",i6t="The feature '",r6t="' is not a valid changeable feature",a6t="Expecting null",o6t="' is not a valid feature",s6t="The feature ID",c6t=" is not a valid feature ID",u6t=32768,l6t={105:1,92:1,90:1,56:1,49:1,97:1},h6t="org.eclipse.emf.ecore.impl",f6t="org.eclipse.elk.graph.impl",d6t="Recursive containment not allowed for ",g6t="The datatype '",p6t="' is not a valid classifier",b6t="The value '",w6t={190:1,3:1,4:1},y6t="The class '",m6t="http://www.eclipse.org/elk/ElkGraph",v6t=1024,x6t="property",k6t="value",_6t="source",E6t="properties",T6t="identifier",C6t="height",S6t="width",A6t="parent",M6t="text",I6t="children",O6t="hierarchical",L6t="sources",N6t="targets",D6t="sections",P6t="bendPoints",B6t="outgoingShape",j6t="incomingShape",R6t="outgoingSections",$6t="incomingSections",F6t="org.eclipse.emf.common.util",z6t="Severe implementation error in the Json to ElkGraph importer.",H6t="id",U6t="org.eclipse.elk.graph.json",G6t="Unhandled parameter types: ",q6t="startPoint",K6t="An edge must have at least one source and one target (edge id: '",Y6t="').",W6t="Referenced edge section does not exist: ",X6t=" (edge id: '",V6t="target",Q6t="sourcePoint",Z6t="targetPoint",J6t="group",t8t="name",e8t="connectableShape cannot be null",n8t="edge cannot be null",i8t="Passed edge is not 'simple'.",r8t="org.eclipse.elk.graph.util",a8t="The 'no duplicates' constraint is violated",o8t="targetIndex=",s8t=", size=",c8t="sourceIndex=",u8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},l8t={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},h8t="logging",f8t="measureExecutionTime",d8t="parser.parse.1",g8t="parser.parse.2",p8t="parser.next.1",b8t="parser.next.2",w8t="parser.next.3",y8t="parser.next.4",m8t="parser.factor.1",v8t="parser.factor.2",x8t="parser.factor.3",k8t="parser.factor.4",_8t="parser.factor.5",E8t="parser.factor.6",T8t="parser.atom.1",C8t="parser.atom.2",S8t="parser.atom.3",A8t="parser.atom.4",M8t="parser.atom.5",I8t="parser.cc.1",O8t="parser.cc.2",L8t="parser.cc.3",N8t="parser.cc.5",D8t="parser.cc.6",P8t="parser.cc.7",B8t="parser.cc.8",j8t="parser.ope.1",R8t="parser.ope.2",$8t="parser.ope.3",F8t="parser.descape.1",z8t="parser.descape.2",H8t="parser.descape.3",U8t="parser.descape.4",G8t="parser.descape.5",q8t="parser.process.1",K8t="parser.quantifier.1",Y8t="parser.quantifier.2",W8t="parser.quantifier.3",X8t="parser.quantifier.4",V8t="parser.quantifier.5",Q8t="org.eclipse.emf.common.notify",Z8t={415:1,672:1},J8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},t7t={366:1,143:1},e7t="index=",n7t={3:1,4:1,5:1,126:1},i7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},r7t={3:1,6:1,4:1,5:1,192:1},a7t={3:1,4:1,5:1,165:1,367:1},o7t=";/?:@&=+$,",s7t="invalid authority: ",c7t="EAnnotation",u7t="ETypedElement",l7t="EStructuralFeature",h7t="EAttribute",f7t="EClassifier",d7t="EEnumLiteral",g7t="EGenericType",p7t="EOperation",b7t="EParameter",w7t="EReference",y7t="ETypeParameter",m7t="org.eclipse.emf.ecore.util",v7t={76:1},x7t={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},k7t="org.eclipse.emf.ecore.util.FeatureMap$Entry",_7t=8192,E7t=2048,T7t="byte",C7t="char",S7t="double",A7t="float",M7t="int",I7t="long",O7t="short",L7t="java.lang.Object",N7t={3:1,4:1,5:1,247:1},D7t={3:1,4:1,5:1,673:1},P7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},B7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},j7t="mixed",R7t="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",$7t="kind",F7t={3:1,4:1,5:1,674:1},z7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},H7t={20:1,28:1,52:1,14:1,15:1,58:1,69:1},U7t={47:1,125:1,279:1},G7t={72:1,332:1},q7t="The value of type '",K7t="' must be of type '",Y7t=1316,W7t="http://www.eclipse.org/emf/2002/Ecore",X7t=-32768,V7t="constraints",Q7t="baseType",Z7t="getEStructuralFeature",J7t="getFeatureID",t9t="feature",e9t="getOperationID",n9t="operation",i9t="defaultValue",r9t="eTypeParameters",a9t="isInstance",o9t="getEEnumLiteral",s9t="eContainingClass",c9t={55:1},u9t={3:1,4:1,5:1,119:1},l9t="org.eclipse.emf.ecore.resource",h9t={92:1,90:1,591:1,1935:1},f9t="org.eclipse.emf.ecore.resource.impl",d9t="unspecified",g9t="simple",p9t="attribute",b9t="attributeWildcard",w9t="element",y9t="elementWildcard",m9t="collapse",v9t="itemType",x9t="namespace",k9t="##targetNamespace",_9t="whiteSpace",E9t="wildcards",T9t="http://www.eclipse.org/emf/2003/XMLType",C9t="##any",S9t="uninitialized",A9t="The multiplicity constraint is violated",M9t="org.eclipse.emf.ecore.xml.type",I9t="ProcessingInstruction",O9t="SimpleAnyType",L9t="XMLTypeDocumentRoot",N9t="org.eclipse.emf.ecore.xml.type.impl",D9t="INF",P9t="processing",B9t="ENTITIES_._base",j9t="minLength",R9t="ENTITY",$9t="NCName",F9t="IDREFS_._base",z9t="integer",H9t="token",U9t="pattern",G9t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",q9t="\\i\\c*",K9t="[\\i-[:]][\\c-[:]]*",Y9t="nonPositiveInteger",W9t="maxInclusive",X9t="NMTOKEN",V9t="NMTOKENS_._base",Q9t="nonNegativeInteger",Z9t="minInclusive",J9t="normalizedString",tte="unsignedByte",ete="unsignedInt",nte="18446744073709551615",ite="unsignedShort",rte="processingInstruction",ate="org.eclipse.emf.ecore.xml.type.internal",ote=1114111,ste="Internal Error: shorthands: \\u",cte="xml:isDigit",ute="xml:isWord",lte="xml:isSpace",hte="xml:isNameChar",fte="xml:isInitialNameChar",dte="09\u0660\u0669\u06f0\u06f9\u0966\u096f\u09e6\u09ef\u0a66\u0a6f\u0ae6\u0aef\u0b66\u0b6f\u0be7\u0bef\u0c66\u0c6f\u0ce6\u0cef\u0d66\u0d6f\u0e50\u0e59\u0ed0\u0ed9\u0f20\u0f29",gte="AZaz\xc0\xd6\xd8\xf6\xf8\u0131\u0134\u013e\u0141\u0148\u014a\u017e\u0180\u01c3\u01cd\u01f0\u01f4\u01f5\u01fa\u0217\u0250\u02a8\u02bb\u02c1\u0386\u0386\u0388\u038a\u038c\u038c\u038e\u03a1\u03a3\u03ce\u03d0\u03d6\u03da\u03da\u03dc\u03dc\u03de\u03de\u03e0\u03e0\u03e2\u03f3\u0401\u040c\u040e\u044f\u0451\u045c\u045e\u0481\u0490\u04c4\u04c7\u04c8\u04cb\u04cc\u04d0\u04eb\u04ee\u04f5\u04f8\u04f9\u0531\u0556\u0559\u0559\u0561\u0586\u05d0\u05ea\u05f0\u05f2\u0621\u063a\u0641\u064a\u0671\u06b7\u06ba\u06be\u06c0\u06ce\u06d0\u06d3\u06d5\u06d5\u06e5\u06e6\u0905\u0939\u093d\u093d\u0958\u0961\u0985\u098c\u098f\u0990\u0993\u09a8\u09aa\u09b0\u09b2\u09b2\u09b6\u09b9\u09dc\u09dd\u09df\u09e1\u09f0\u09f1\u0a05\u0a0a\u0a0f\u0a10\u0a13\u0a28\u0a2a\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59\u0a5c\u0a5e\u0a5e\u0a72\u0a74\u0a85\u0a8b\u0a8d\u0a8d\u0a8f\u0a91\u0a93\u0aa8\u0aaa\u0ab0\u0ab2\u0ab3\u0ab5\u0ab9\u0abd\u0abd\u0ae0\u0ae0\u0b05\u0b0c\u0b0f\u0b10\u0b13\u0b28\u0b2a\u0b30\u0b32\u0b33\u0b36\u0b39\u0b3d\u0b3d\u0b5c\u0b5d\u0b5f\u0b61\u0b85\u0b8a\u0b8e\u0b90\u0b92\u0b95\u0b99\u0b9a\u0b9c\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8\u0baa\u0bae\u0bb5\u0bb7\u0bb9\u0c05\u0c0c\u0c0e\u0c10\u0c12\u0c28\u0c2a\u0c33\u0c35\u0c39\u0c60\u0c61\u0c85\u0c8c\u0c8e\u0c90\u0c92\u0ca8\u0caa\u0cb3\u0cb5\u0cb9\u0cde\u0cde\u0ce0\u0ce1\u0d05\u0d0c\u0d0e\u0d10\u0d12\u0d28\u0d2a\u0d39\u0d60\u0d61\u0e01\u0e2e\u0e30\u0e30\u0e32\u0e33\u0e40\u0e45\u0e81\u0e82\u0e84\u0e84\u0e87\u0e88\u0e8a\u0e8a\u0e8d\u0e8d\u0e94\u0e97\u0e99\u0e9f\u0ea1\u0ea3\u0ea5\u0ea5\u0ea7\u0ea7\u0eaa\u0eab\u0ead\u0eae\u0eb0\u0eb0\u0eb2\u0eb3\u0ebd\u0ebd\u0ec0\u0ec4\u0f40\u0f47\u0f49\u0f69\u10a0\u10c5\u10d0\u10f6\u1100\u1100\u1102\u1103\u1105\u1107\u1109\u1109\u110b\u110c\u110e\u1112\u113c\u113c\u113e\u113e\u1140\u1140\u114c\u114c\u114e\u114e\u1150\u1150\u1154\u1155\u1159\u1159\u115f\u1161\u1163\u1163\u1165\u1165\u1167\u1167\u1169\u1169\u116d\u116e\u1172\u1173\u1175\u1175\u119e\u119e\u11a8\u11a8\u11ab\u11ab\u11ae\u11af\u11b7\u11b8\u11ba\u11ba\u11bc\u11c2\u11eb\u11eb\u11f0\u11f0\u11f9\u11f9\u1e00\u1e9b\u1ea0\u1ef9\u1f00\u1f15\u1f18\u1f1d\u1f20\u1f45\u1f48\u1f4d\u1f50\u1f57\u1f59\u1f59\u1f5b\u1f5b\u1f5d\u1f5d\u1f5f\u1f7d\u1f80\u1fb4\u1fb6\u1fbc\u1fbe\u1fbe\u1fc2\u1fc4\u1fc6\u1fcc\u1fd0\u1fd3\u1fd6\u1fdb\u1fe0\u1fec\u1ff2\u1ff4\u1ff6\u1ffc\u2126\u2126\u212a\u212b\u212e\u212e\u2180\u2182\u3007\u3007\u3021\u3029\u3041\u3094\u30a1\u30fa\u3105\u312c\u4e00\u9fa5\uac00\ud7a3",pte="Private Use",bte="ASSIGNED",wte="\0\x7f\x80\xff\u0100\u017f\u0180\u024f\u0250\u02af\u02b0\u02ff\u0300\u036f\u0370\u03ff\u0400\u04ff\u0530\u058f\u0590\u05ff\u0600\u06ff\u0700\u074f\u0780\u07bf\u0900\u097f\u0980\u09ff\u0a00\u0a7f\u0a80\u0aff\u0b00\u0b7f\u0b80\u0bff\u0c00\u0c7f\u0c80\u0cff\u0d00\u0d7f\u0d80\u0dff\u0e00\u0e7f\u0e80\u0eff\u0f00\u0fff\u1000\u109f\u10a0\u10ff\u1100\u11ff\u1200\u137f\u13a0\u13ff\u1400\u167f\u1680\u169f\u16a0\u16ff\u1780\u17ff\u1800\u18af\u1e00\u1eff\u1f00\u1fff\u2000\u206f\u2070\u209f\u20a0\u20cf\u20d0\u20ff\u2100\u214f\u2150\u218f\u2190\u21ff\u2200\u22ff\u2300\u23ff\u2400\u243f\u2440\u245f\u2460\u24ff\u2500\u257f\u2580\u259f\u25a0\u25ff\u2600\u26ff\u2700\u27bf\u2800\u28ff\u2e80\u2eff\u2f00\u2fdf\u2ff0\u2fff\u3000\u303f\u3040\u309f\u30a0\u30ff\u3100\u312f\u3130\u318f\u3190\u319f\u31a0\u31bf\u3200\u32ff\u3300\u33ff\u3400\u4db5\u4e00\u9fff\ua000\ua48f\ua490\ua4cf\uac00\ud7a3\ue000\uf8ff\uf900\ufaff\ufb00\ufb4f\ufb50\ufdff\ufe20\ufe2f\ufe30\ufe4f\ufe50\ufe6f\ufe70\ufefe\ufeff\ufeff\uff00\uffef",yte="UNASSIGNED",mte={3:1,117:1},vte="org.eclipse.emf.ecore.xml.type.util",xte={3:1,4:1,5:1,368:1},kte="org.eclipse.xtext.xbase.lib",_te="Cannot add elements to a Range",Ete="Cannot set elements in a Range",Tte="Cannot remove elements from a Range",Cte="locale",Ste="default",Ate="user.agent";i.goog=i.goog||{},i.goog.global=i.goog.global||i,YTt(),dOt(1,null,{},r),EWt.Fb=function(t){return RI(this,t)},EWt.Gb=function(){return this.gm},EWt.Hb=function(){return TD(this)},EWt.Ib=function(){return Zk(tut(this))+"@"+(Jct(this)>>>0).toString(16)},EWt.equals=function(t){return this.Fb(t)},EWt.hashCode=function(){return this.Hb()},EWt.toString=function(){return this.Ib()},dOt(290,1,{290:1,2026:1},bct),EWt.le=function(t){var e;return(e=new bct).i=4,e.c=t>1?gJ(this,t-1):this,e},EWt.me=function(){return xB(this),this.b},EWt.ne=function(){return Zk(this)},EWt.oe=function(){return xB(this),this.k},EWt.pe=function(){return!!(4&this.i)},EWt.qe=function(){return!!(1&this.i)},EWt.Ib=function(){return aet(this)},EWt.i=0;var Mte,Ite=bY(BWt,"Object",1),Ote=bY(BWt,"Class",290);dOt(1998,1,jWt),bY(RWt,"Optional",1998),dOt(1170,1998,jWt,a),EWt.Fb=function(t){return t===this},EWt.Hb=function(){return 2040732332},EWt.Ib=function(){return"Optional.absent()"},EWt.Jb=function(t){return yY(t),ev(),Mte},bY(RWt,"Absent",1170),dOt(628,1,{},wx),bY(RWt,"Joiner",628);var Lte=hU(RWt,"Predicate");dOt(582,1,{169:1,582:1,3:1,45:1},$h),EWt.Mb=function(t){return jct(this,t)},EWt.Lb=function(t){return jct(this,t)},EWt.Fb=function(t){var e;return!!iN(t,582)&&(e=$z(t,582),NOt(this.a,e.a))},EWt.Hb=function(){return $ct(this.a)+306654252},EWt.Ib=function(){return dSt(this.a)},bY(RWt,"Predicates/AndPredicate",582),dOt(408,1998,{408:1,3:1},Fh),EWt.Fb=function(t){var e;return!!iN(t,408)&&(e=$z(t,408),Nht(this.a,e.a))},EWt.Hb=function(){return 1502476572+Jct(this.a)},EWt.Ib=function(){return UWt+this.a+")"},EWt.Jb=function(t){return new Fh(KV(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},bY(RWt,"Present",408),dOt(198,1,qWt),EWt.Nb=function(t){uK(this,t)},EWt.Qb=function(){hx()},bY(KWt,"UnmodifiableIterator",198),dOt(1978,198,YWt),EWt.Qb=function(){hx()},EWt.Rb=function(t){throw Fw(new py)},EWt.Wb=function(t){throw Fw(new py)},bY(KWt,"UnmodifiableListIterator",1978),dOt(386,1978,YWt),EWt.Ob=function(){return this.c<this.d},EWt.Sb=function(){return this.c>0},EWt.Pb=function(){if(this.c>=this.d)throw Fw(new yy);return this.Xb(this.c++)},EWt.Tb=function(){return this.c},EWt.Ub=function(){if(this.c<=0)throw Fw(new yy);return this.Xb(--this.c)},EWt.Vb=function(){return this.c-1},EWt.c=0,EWt.d=0,bY(KWt,"AbstractIndexedListIterator",386),dOt(699,198,qWt),EWt.Ob=function(){return Zit(this)},EWt.Pb=function(){return T9(this)},EWt.e=1,bY(KWt,"AbstractIterator",699),dOt(1986,1,{224:1}),EWt.Zb=function(){return this.f||(this.f=this.ac())},EWt.Fb=function(t){return xut(this,t)},EWt.Hb=function(){return Jct(this.Zb())},EWt.dc=function(){return 0==this.gc()},EWt.ec=function(){return gq(this)},EWt.Ib=function(){return Fdt(this.Zb())},bY(KWt,"AbstractMultimap",1986),dOt(726,1986,WWt),EWt.$b=function(){dit(this)},EWt._b=function(t){return Kk(this,t)},EWt.ac=function(){return new pE(this,this.c)},EWt.ic=function(t){return this.hc()},EWt.bc=function(){return new FN(this,this.c)},EWt.jc=function(){return this.mc(this.hc())},EWt.kc=function(){return new Fm(this)},EWt.lc=function(){return HEt(this.c.vc().Nc(),new s,64,this.d)},EWt.cc=function(t){return c6(this,t)},EWt.fc=function(t){return Nlt(this,t)},EWt.gc=function(){return this.d},EWt.mc=function(t){return EV(),new Fd(t)},EWt.nc=function(){return new $m(this)},EWt.oc=function(){return HEt(this.c.Cc().Nc(),new o,64,this.d)},EWt.pc=function(t,e){return new K6(this,t,e,null)},EWt.d=0,bY(KWt,"AbstractMapBasedMultimap",726),dOt(1631,726,WWt),EWt.hc=function(){return new V6(this.a)},EWt.jc=function(){return EV(),EV(),cne},EWt.cc=function(t){return $z(c6(this,t),15)},EWt.fc=function(t){return $z(Nlt(this,t),15)},EWt.Zb=function(){return AV(this)},EWt.Fb=function(t){return xut(this,t)},EWt.qc=function(t){return $z(c6(this,t),15)},EWt.rc=function(t){return $z(Nlt(this,t),15)},EWt.mc=function(t){return nQ($z(t,15))},EWt.pc=function(t,e){return e3(this,t,$z(e,15),null)},bY(KWt,"AbstractListMultimap",1631),dOt(732,1,XWt),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.c.Ob()||this.e.Ob()},EWt.Pb=function(){var t;return this.e.Ob()||(t=$z(this.c.Pb(),42),this.b=t.cd(),this.a=$z(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},EWt.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},bY(KWt,"AbstractMapBasedMultimap/Itr",732),dOt(1099,732,XWt,$m),EWt.sc=function(t,e){return e},bY(KWt,"AbstractMapBasedMultimap/1",1099),dOt(1100,1,{},o),EWt.Kb=function(t){return $z(t,14).Nc()},bY(KWt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),dOt(1101,732,XWt,Fm),EWt.sc=function(t,e){return new bE(t,e)},bY(KWt,"AbstractMapBasedMultimap/2",1101);var Nte=hU(VWt,"Map");dOt(1967,1,QWt),EWt.wc=function(t){Jat(this,t)},EWt.yc=function(t,e,n){return Zft(this,t,e,n)},EWt.$b=function(){this.vc().$b()},EWt.tc=function(t){return Emt(this,t)},EWt._b=function(t){return!!$_t(this,t,!1)},EWt.uc=function(t){var e,n;for(e=this.vc().Kc();e.Ob();)if(n=$z(e.Pb(),42).dd(),HM(t)===HM(n)||null!=t&&Nht(t,n))return!0;return!1},EWt.Fb=function(t){var e,n,i;if(t===this)return!0;if(!iN(t,83)||(i=$z(t,83),this.gc()!=i.gc()))return!1;for(n=i.vc().Kc();n.Ob();)if(e=$z(n.Pb(),42),!this.tc(e))return!1;return!0},EWt.xc=function(t){return zM($_t(this,t,!1))},EWt.Hb=function(){return zst(this.vc())},EWt.dc=function(){return 0==this.gc()},EWt.ec=function(){return new Cd(this)},EWt.zc=function(t,e){throw Fw(new Jv("Put not supported on this map"))},EWt.Ac=function(t){_at(this,t)},EWt.Bc=function(t){return zM($_t(this,t,!0))},EWt.gc=function(){return this.vc().gc()},EWt.Ib=function(){return J_t(this)},EWt.Cc=function(){return new Ad(this)},bY(VWt,"AbstractMap",1967),dOt(1987,1967,QWt),EWt.bc=function(){return new EE(this)},EWt.vc=function(){return dq(this)},EWt.ec=function(){return this.g||(this.g=this.bc())},EWt.Cc=function(){return this.i||(this.i=new TE(this))},bY(KWt,"Maps/ViewCachingAbstractMap",1987),dOt(389,1987,QWt,pE),EWt.xc=function(t){return vet(this,t)},EWt.Bc=function(t){return Zut(this,t)},EWt.$b=function(){this.d==this.e.c?this.e.$b():CU(new AU(this))},EWt._b=function(t){return pht(this.d,t)},EWt.Ec=function(){return new Gh(this)},EWt.Dc=function(){return this.Ec()},EWt.Fb=function(t){return this===t||Nht(this.d,t)},EWt.Hb=function(){return Jct(this.d)},EWt.ec=function(){return this.e.ec()},EWt.gc=function(){return this.d.gc()},EWt.Ib=function(){return Fdt(this.d)},bY(KWt,"AbstractMapBasedMultimap/AsMap",389);var Dte=hU(BWt,"Iterable");dOt(28,1,ZWt),EWt.Jc=function(t){t5(this,t)},EWt.Lc=function(){return this.Oc()},EWt.Nc=function(){return new f1(this,0)},EWt.Oc=function(){return new PU(null,this.Nc())},EWt.Fc=function(t){throw Fw(new Jv("Add not supported on this collection"))},EWt.Gc=function(t){return $rt(this,t)},EWt.$b=function(){kX(this)},EWt.Hc=function(t){return mgt(this,t,!1)},EWt.Ic=function(t){return sst(this,t)},EWt.dc=function(){return 0==this.gc()},EWt.Mc=function(t){return mgt(this,t,!0)},EWt.Pc=function(){return iq(this)},EWt.Qc=function(t){return kmt(this,t)},EWt.Ib=function(){return LTt(this)},bY(VWt,"AbstractCollection",28);var Pte=hU(VWt,"Set");dOt(JWt,28,tXt),EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return nbt(this,t)},EWt.Hb=function(){return zst(this)},bY(VWt,"AbstractSet",JWt),dOt(1970,JWt,tXt),bY(KWt,"Sets/ImprovedAbstractSet",1970),dOt(1971,1970,tXt),EWt.$b=function(){this.Rc().$b()},EWt.Hc=function(t){return npt(this,t)},EWt.dc=function(){return this.Rc().dc()},EWt.Mc=function(t){var e;return!!this.Hc(t)&&(e=$z(t,42),this.Rc().ec().Mc(e.cd()))},EWt.gc=function(){return this.Rc().gc()},bY(KWt,"Maps/EntrySet",1971),dOt(1097,1971,tXt,Gh),EWt.Hc=function(t){return dht(this.a.d.vc(),t)},EWt.Kc=function(){return new AU(this.a)},EWt.Rc=function(){return this.a},EWt.Mc=function(t){var e;return!!dht(this.a.d.vc(),t)&&(e=$z(t,42),F5(this.a.e,e.cd()),!0)},EWt.Nc=function(){return Pz(this.a.d.vc().Nc(),new qh(this.a))},bY(KWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),dOt(1098,1,{},qh),EWt.Kb=function(t){return e5(this.a,$z(t,42))},bY(KWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),dOt(730,1,XWt,AU),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){var t;return t=$z(this.b.Pb(),42),this.a=$z(t.dd(),14),e5(this.c,t)},EWt.Ob=function(){return this.b.Ob()},EWt.Qb=function(){uot(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},bY(KWt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),dOt(532,1970,tXt,EE),EWt.$b=function(){this.b.$b()},EWt.Hc=function(t){return this.b._b(t)},EWt.Jc=function(t){yY(t),this.b.wc(new bf(t))},EWt.dc=function(){return this.b.dc()},EWt.Kc=function(){return new lv(this.b.vc().Kc())},EWt.Mc=function(t){return!!this.b._b(t)&&(this.b.Bc(t),!0)},EWt.gc=function(){return this.b.gc()},bY(KWt,"Maps/KeySet",532),dOt(318,532,tXt,FN),EWt.$b=function(){CU(new tE(this,this.b.vc().Kc()))},EWt.Ic=function(t){return this.b.ec().Ic(t)},EWt.Fb=function(t){return this===t||Nht(this.b.ec(),t)},EWt.Hb=function(){return Jct(this.b.ec())},EWt.Kc=function(){return new tE(this,this.b.vc().Kc())},EWt.Mc=function(t){var e,n;return n=0,(e=$z(this.b.Bc(t),14))&&(n=e.gc(),e.$b(),this.a.d-=n),n>0},EWt.Nc=function(){return this.b.ec().Nc()},bY(KWt,"AbstractMapBasedMultimap/KeySet",318),dOt(731,1,XWt,tE),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.c.Ob()},EWt.Pb=function(){return this.a=$z(this.c.Pb(),42),this.a.cd()},EWt.Qb=function(){var t;uot(!!this.a),t=$z(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},bY(KWt,"AbstractMapBasedMultimap/KeySet/1",731),dOt(491,389,{83:1,161:1},CB),EWt.bc=function(){return this.Sc()},EWt.ec=function(){return this.Tc()},EWt.Sc=function(){return new Z_(this.c,this.Uc())},EWt.Tc=function(){return this.b||(this.b=this.Sc())},EWt.Uc=function(){return $z(this.d,161)},bY(KWt,"AbstractMapBasedMultimap/SortedAsMap",491),dOt(542,491,eXt,SB),EWt.bc=function(){return new J_(this.a,$z($z(this.d,161),171))},EWt.Sc=function(){return new J_(this.a,$z($z(this.d,161),171))},EWt.ec=function(){return $z(this.b||(this.b=new J_(this.a,$z($z(this.d,161),171))),271)},EWt.Tc=function(){return $z(this.b||(this.b=new J_(this.a,$z($z(this.d,161),171))),271)},EWt.Uc=function(){return $z($z(this.d,161),171)},bY(KWt,"AbstractMapBasedMultimap/NavigableAsMap",542),dOt(490,318,nXt,Z_),EWt.Nc=function(){return this.b.ec().Nc()},bY(KWt,"AbstractMapBasedMultimap/SortedKeySet",490),dOt(388,490,iXt,J_),bY(KWt,"AbstractMapBasedMultimap/NavigableKeySet",388),dOt(541,28,ZWt,K6),EWt.Fc=function(t){var e,n;return Gdt(this),n=this.d.dc(),(e=this.d.Fc(t))&&(++this.f.d,n&&vj(this)),e},EWt.Gc=function(t){var e,n,i;return!t.dc()&&(Gdt(this),i=this.d.gc(),(e=this.d.Gc(t))&&(n=this.d.gc(),this.f.d+=n-i,0==i&&vj(this)),e)},EWt.$b=function(){var t;Gdt(this),0!=(t=this.d.gc())&&(this.d.$b(),this.f.d-=t,IG(this))},EWt.Hc=function(t){return Gdt(this),this.d.Hc(t)},EWt.Ic=function(t){return Gdt(this),this.d.Ic(t)},EWt.Fb=function(t){return t===this||(Gdt(this),Nht(this.d,t))},EWt.Hb=function(){return Gdt(this),Jct(this.d)},EWt.Kc=function(){return Gdt(this),new Wz(this)},EWt.Mc=function(t){var e;return Gdt(this),(e=this.d.Mc(t))&&(--this.f.d,IG(this)),e},EWt.gc=function(){return JM(this)},EWt.Nc=function(){return Gdt(this),this.d.Nc()},EWt.Ib=function(){return Gdt(this),Fdt(this.d)},bY(KWt,"AbstractMapBasedMultimap/WrappedCollection",541);var Bte=hU(VWt,"List");dOt(728,541,{20:1,28:1,14:1,15:1},sq),EWt.ad=function(t){Rrt(this,t)},EWt.Nc=function(){return Gdt(this),this.d.Nc()},EWt.Vc=function(t,e){var n;Gdt(this),n=this.d.dc(),$z(this.d,15).Vc(t,e),++this.a.d,n&&vj(this)},EWt.Wc=function(t,e){var n,i,r;return!e.dc()&&(Gdt(this),r=this.d.gc(),(n=$z(this.d,15).Wc(t,e))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&vj(this)),n)},EWt.Xb=function(t){return Gdt(this),$z(this.d,15).Xb(t)},EWt.Xc=function(t){return Gdt(this),$z(this.d,15).Xc(t)},EWt.Yc=function(){return Gdt(this),new gL(this)},EWt.Zc=function(t){return Gdt(this),new gV(this,t)},EWt.$c=function(t){var e;return Gdt(this),e=$z(this.d,15).$c(t),--this.a.d,IG(this),e},EWt._c=function(t,e){return Gdt(this),$z(this.d,15)._c(t,e)},EWt.bd=function(t,e){return Gdt(this),e3(this.a,this.e,$z(this.d,15).bd(t,e),this.b?this.b:this)},bY(KWt,"AbstractMapBasedMultimap/WrappedList",728),dOt(1096,728,{20:1,28:1,14:1,15:1,54:1},AP),bY(KWt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),dOt(620,1,XWt,Wz),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return _X(this),this.b.Ob()},EWt.Pb=function(){return _X(this),this.b.Pb()},EWt.Qb=function(){tD(this)},bY(KWt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),dOt(729,620,rXt,gL,gV),EWt.Qb=function(){tD(this)},EWt.Rb=function(t){var e;e=0==JM(this.a),(_X(this),$z(this.b,125)).Rb(t),++this.a.a.d,e&&vj(this.a)},EWt.Sb=function(){return(_X(this),$z(this.b,125)).Sb()},EWt.Tb=function(){return(_X(this),$z(this.b,125)).Tb()},EWt.Ub=function(){return(_X(this),$z(this.b,125)).Ub()},EWt.Vb=function(){return(_X(this),$z(this.b,125)).Vb()},EWt.Wb=function(t){(_X(this),$z(this.b,125)).Wb(t)},bY(KWt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),dOt(727,541,nXt,LB),EWt.Nc=function(){return Gdt(this),this.d.Nc()},bY(KWt,"AbstractMapBasedMultimap/WrappedSortedSet",727),dOt(1095,727,iXt,MO),bY(KWt,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),dOt(1094,541,tXt,NB),EWt.Nc=function(){return Gdt(this),this.d.Nc()},bY(KWt,"AbstractMapBasedMultimap/WrappedSet",1094),dOt(1103,1,{},s),EWt.Kb=function(t){return R6($z(t,42))},bY(KWt,"AbstractMapBasedMultimap/lambda$1$Type",1103),dOt(1102,1,{},Kh),EWt.Kb=function(t){return new bE(this.a,t)},bY(KWt,"AbstractMapBasedMultimap/lambda$2$Type",1102);var jte,Rte,$te,Fte,zte=hU(VWt,"Map/Entry");dOt(345,1,aXt),EWt.Fb=function(t){var e;return!!iN(t,42)&&(e=$z(t,42),fW(this.cd(),e.cd())&&fW(this.dd(),e.dd()))},EWt.Hb=function(){var t,e;return t=this.cd(),e=this.dd(),(null==t?0:Jct(t))^(null==e?0:Jct(e))},EWt.ed=function(t){throw Fw(new py)},EWt.Ib=function(){return this.cd()+"="+this.dd()},bY(KWt,oXt,345),dOt(1988,28,ZWt),EWt.$b=function(){this.fd().$b()},EWt.Hc=function(t){var e;return!!iN(t,42)&&(e=$z(t,42),F0(this.fd(),e.cd(),e.dd()))},EWt.Mc=function(t){var e;return!!iN(t,42)&&(e=$z(t,42),z0(this.fd(),e.cd(),e.dd()))},EWt.gc=function(){return this.fd().d},bY(KWt,"Multimaps/Entries",1988),dOt(733,1988,ZWt,Yh),EWt.Kc=function(){return this.a.kc()},EWt.fd=function(){return this.a},EWt.Nc=function(){return this.a.lc()},bY(KWt,"AbstractMultimap/Entries",733),dOt(734,733,tXt,zm),EWt.Nc=function(){return this.a.lc()},EWt.Fb=function(t){return GCt(this,t)},EWt.Hb=function(){return Frt(this)},bY(KWt,"AbstractMultimap/EntrySet",734),dOt(735,28,ZWt,Wh),EWt.$b=function(){this.a.$b()},EWt.Hc=function(t){return Aut(this.a,t)},EWt.Kc=function(){return this.a.nc()},EWt.gc=function(){return this.a.d},EWt.Nc=function(){return this.a.oc()},bY(KWt,"AbstractMultimap/Values",735),dOt(1989,28,{835:1,20:1,28:1,14:1}),EWt.Jc=function(t){yY(t),xX(this).Jc(new pf(t))},EWt.Nc=function(){var t;return HEt(t=xX(this).Nc(),new v,64|1296&t.qd(),this.a.d)},EWt.Fc=function(t){return fx(),!0},EWt.Gc=function(t){return yY(this),yY(t),iN(t,543)?l2($z(t,835)):!t.dc()&&utt(this,t.Kc())},EWt.Hc=function(t){var e;return((e=$z(hht(AV(this.a),t),14))?e.gc():0)>0},EWt.Fb=function(t){return uLt(this,t)},EWt.Hb=function(){return Jct(xX(this))},EWt.dc=function(){return xX(this).dc()},EWt.Mc=function(t){return kMt(this,t,1)>0},EWt.Ib=function(){return Fdt(xX(this))},bY(KWt,"AbstractMultiset",1989),dOt(1991,1970,tXt),EWt.$b=function(){dit(this.a.a)},EWt.Hc=function(t){var e;return!(!iN(t,492)||(e=$z(t,416),$z(e.a.dd(),14).gc()<=0||i1(this.a,e.a.cd())!=$z(e.a.dd(),14).gc()))},EWt.Mc=function(t){var e,n,i;return!(!iN(t,492)||(n=$z(t,416),e=n.a.cd(),i=$z(n.a.dd(),14).gc(),0==i))&&_Mt(this.a,e,i)},bY(KWt,"Multisets/EntrySet",1991),dOt(1109,1991,tXt,Xh),EWt.Kc=function(){return new fv(dq(AV(this.a.a)).Kc())},EWt.gc=function(){return AV(this.a.a).gc()},bY(KWt,"AbstractMultiset/EntrySet",1109),dOt(619,726,WWt),EWt.hc=function(){return this.gd()},EWt.jc=function(){return this.hd()},EWt.cc=function(t){return this.jd(t)},EWt.fc=function(t){return this.kd(t)},EWt.Zb=function(){return this.f||(this.f=this.ac())},EWt.hd=function(){return EV(),EV(),lne},EWt.Fb=function(t){return xut(this,t)},EWt.jd=function(t){return $z(c6(this,t),21)},EWt.kd=function(t){return $z(Nlt(this,t),21)},EWt.mc=function(t){return EV(),new Mx($z(t,21))},EWt.pc=function(t,e){return new NB(this,t,$z(e,21))},bY(KWt,"AbstractSetMultimap",619),dOt(1657,619,WWt),EWt.hc=function(){return new d_(this.b)},EWt.gd=function(){return new d_(this.b)},EWt.jc=function(){return SY(new d_(this.b))},EWt.hd=function(){return SY(new d_(this.b))},EWt.cc=function(t){return $z($z(c6(this,t),21),84)},EWt.jd=function(t){return $z($z(c6(this,t),21),84)},EWt.fc=function(t){return $z($z(Nlt(this,t),21),84)},EWt.kd=function(t){return $z($z(Nlt(this,t),21),84)},EWt.mc=function(t){return iN(t,271)?SY($z(t,271)):(EV(),new dD($z(t,84)))},EWt.Zb=function(){return this.f||(this.f=iN(this.c,171)?new SB(this,$z(this.c,171)):iN(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c))},EWt.pc=function(t,e){return iN(e,271)?new MO(this,t,$z(e,271)):new LB(this,t,$z(e,84))},bY(KWt,"AbstractSortedSetMultimap",1657),dOt(1658,1657,WWt),EWt.Zb=function(){return $z($z(this.f||(this.f=iN(this.c,171)?new SB(this,$z(this.c,171)):iN(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c)),161),171)},EWt.ec=function(){return $z($z(this.i||(this.i=iN(this.c,171)?new J_(this,$z(this.c,171)):iN(this.c,161)?new Z_(this,$z(this.c,161)):new FN(this,this.c)),84),271)},EWt.bc=function(){return iN(this.c,171)?new J_(this,$z(this.c,171)):iN(this.c,161)?new Z_(this,$z(this.c,161)):new FN(this,this.c)},bY(KWt,"AbstractSortedKeySortedSetMultimap",1658),dOt(2010,1,{1947:1}),EWt.Fb=function(t){return Skt(this,t)},EWt.Hb=function(){return zst(this.g||(this.g=new Vh(this)))},EWt.Ib=function(){return J_t(this.f||(this.f=new GN(this)))},bY(KWt,"AbstractTable",2010),dOt(665,JWt,tXt,Vh),EWt.$b=function(){dx()},EWt.Hc=function(t){var e,n;return!!iN(t,468)&&(e=$z(t,682),!!(n=$z(hht(vY(this.a),KM(e.c.e,e.b)),83))&&dht(n.vc(),new bE(KM(e.c.c,e.a),G6(e.c,e.b,e.a))))},EWt.Kc=function(){return QV(this.a)},EWt.Mc=function(t){var e,n;return!!iN(t,468)&&(e=$z(t,682),!!(n=$z(hht(vY(this.a),KM(e.c.e,e.b)),83))&&ght(n.vc(),new bE(KM(e.c.c,e.a),G6(e.c,e.b,e.a))))},EWt.gc=function(){return UU(this.a)},EWt.Nc=function(){return T2(this.a)},bY(KWt,"AbstractTable/CellSet",665),dOt(1928,28,ZWt,Qh),EWt.$b=function(){dx()},EWt.Hc=function(t){return uEt(this.a,t)},EWt.Kc=function(){return ZV(this.a)},EWt.gc=function(){return UU(this.a)},EWt.Nc=function(){return X0(this.a)},bY(KWt,"AbstractTable/Values",1928),dOt(1632,1631,WWt),bY(KWt,"ArrayListMultimapGwtSerializationDependencies",1632),dOt(513,1632,WWt,ox,o1),EWt.hc=function(){return new V6(this.a)},EWt.a=0,bY(KWt,"ArrayListMultimap",513),dOt(664,2010,{664:1,1947:1,3:1},wIt),bY(KWt,"ArrayTable",664),dOt(1924,386,YWt,zN),EWt.Xb=function(t){return new pct(this.a,t)},bY(KWt,"ArrayTable/1",1924),dOt(1925,1,{},zh),EWt.ld=function(t){return new pct(this.a,t)},bY(KWt,"ArrayTable/1methodref$getCell$Type",1925),dOt(2011,1,{682:1}),EWt.Fb=function(t){var e;return t===this||!!iN(t,468)&&(e=$z(t,682),fW(KM(this.c.e,this.b),KM(e.c.e,e.b))&&fW(KM(this.c.c,this.a),KM(e.c.c,e.a))&&fW(G6(this.c,this.b,this.a),G6(e.c,e.b,e.a)))},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[KM(this.c.e,this.b),KM(this.c.c,this.a),G6(this.c,this.b,this.a)]))},EWt.Ib=function(){return"("+KM(this.c.e,this.b)+","+KM(this.c.c,this.a)+")="+G6(this.c,this.b,this.a)},bY(KWt,"Tables/AbstractCell",2011),dOt(468,2011,{468:1,682:1},pct),EWt.a=0,EWt.b=0,EWt.d=0,bY(KWt,"ArrayTable/2",468),dOt(1927,1,{},Hh),EWt.ld=function(t){return X7(this.a,t)},bY(KWt,"ArrayTable/2methodref$getValue$Type",1927),dOt(1926,386,YWt,HN),EWt.Xb=function(t){return X7(this.a,t)},bY(KWt,"ArrayTable/3",1926),dOt(1979,1967,QWt),EWt.$b=function(){CU(this.kc())},EWt.vc=function(){return new wf(this)},EWt.lc=function(){return new CX(this.kc(),this.gc())},bY(KWt,"Maps/IteratorBasedAbstractMap",1979),dOt(828,1979,QWt),EWt.$b=function(){throw Fw(new py)},EWt._b=function(t){return Xk(this.c,t)},EWt.kc=function(){return new UN(this,this.c.b.c.gc())},EWt.lc=function(){return yU(this.c.b.c.gc(),16,new Uh(this))},EWt.xc=function(t){var e;return(e=$z(GR(this.c,t),19))?this.nd(e.a):null},EWt.dc=function(){return this.c.b.c.dc()},EWt.ec=function(){return hq(this.c)},EWt.zc=function(t,e){var n;if(!(n=$z(GR(this.c,t),19)))throw Fw(new jv(this.md()+" "+t+" not in "+hq(this.c)));return this.od(n.a,e)},EWt.Bc=function(t){throw Fw(new py)},EWt.gc=function(){return this.c.b.c.gc()},bY(KWt,"ArrayTable/ArrayMap",828),dOt(1923,1,{},Uh),EWt.ld=function(t){return AY(this.a,t)},bY(KWt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),dOt(1921,345,aXt,sE),EWt.cd=function(){return XN(this.a,this.b)},EWt.dd=function(){return this.a.nd(this.b)},EWt.ed=function(t){return this.a.od(this.b,t)},EWt.b=0,bY(KWt,"ArrayTable/ArrayMap/1",1921),dOt(1922,386,YWt,UN),EWt.Xb=function(t){return AY(this.a,t)},bY(KWt,"ArrayTable/ArrayMap/2",1922),dOt(1920,828,QWt,iK),EWt.md=function(){return"Column"},EWt.nd=function(t){return G6(this.b,this.a,t)},EWt.od=function(t,e){return Tst(this.b,this.a,t,e)},EWt.a=0,bY(KWt,"ArrayTable/Row",1920),dOt(829,828,QWt,GN),EWt.nd=function(t){return new iK(this.a,t)},EWt.zc=function(t,e){return $z(e,83),gx()},EWt.od=function(t,e){return $z(e,83),px()},EWt.md=function(){return"Row"},bY(KWt,"ArrayTable/RowMap",829),dOt(1120,1,lXt,cE),EWt.qd=function(){return-262&this.a.qd()},EWt.rd=function(){return this.a.rd()},EWt.Nb=function(t){this.a.Nb(new iE(t,this.b))},EWt.sd=function(t){return this.a.sd(new nE(t,this.b))},bY(KWt,"CollectSpliterators/1",1120),dOt(1121,1,hXt,nE),EWt.td=function(t){this.a.td(this.b.Kb(t))},bY(KWt,"CollectSpliterators/1/lambda$0$Type",1121),dOt(1122,1,hXt,iE),EWt.td=function(t){this.a.td(this.b.Kb(t))},bY(KWt,"CollectSpliterators/1/lambda$1$Type",1122),dOt(1123,1,lXt,z2),EWt.qd=function(){return this.a},EWt.rd=function(){return this.d&&(this.b=kL(this.b,this.d.rd())),kL(this.b,0)},EWt.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new eE(this.e,t)),this.b=0},EWt.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return VM(this.b,fXt)&&(this.b=ndt(this.b,1)),!0;if(this.d=null,!this.c.sd(new rE(this,this.e)))return!1}},EWt.a=0,EWt.b=0,bY(KWt,"CollectSpliterators/1FlatMapSpliterator",1123),dOt(1124,1,hXt,rE),EWt.td=function(t){dR(this.a,this.b,t)},bY(KWt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),dOt(1125,1,hXt,eE),EWt.td=function(t){oN(this.b,this.a,t)},bY(KWt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),dOt(1117,1,lXt,fR),EWt.qd=function(){return 16464|this.b},EWt.rd=function(){return this.a.rd()},EWt.Nb=function(t){this.a.xe(new oE(t,this.c))},EWt.sd=function(t){return this.a.ye(new aE(t,this.c))},EWt.b=0,bY(KWt,"CollectSpliterators/1WithCharacteristics",1117),dOt(1118,1,dXt,aE),EWt.ud=function(t){this.a.td(this.b.ld(t))},bY(KWt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),dOt(1119,1,dXt,oE),EWt.ud=function(t){this.a.td(this.b.ld(t))},bY(KWt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),dOt(245,1,gXt),EWt.wd=function(t){return this.vd($z(t,245))},EWt.vd=function(t){var e;return t==(Jm(),Rte)?1:t==(tv(),jte)?-1:(ZH(),0!=(e=Nat(this.a,t.a))?e:iN(this,519)==iN(t,519)?0:iN(this,519)?1:-1)},EWt.zd=function(){return this.a},EWt.Fb=function(t){return Dpt(this,t)},bY(KWt,"Cut",245),dOt(1761,245,gXt,Lx),EWt.vd=function(t){return t==this?0:1},EWt.xd=function(t){throw Fw(new cy)},EWt.yd=function(t){t.a+="+\u221e)"},EWt.zd=function(){throw Fw(new Rv(pXt))},EWt.Hb=function(){return IE(),eyt(this)},EWt.Ad=function(t){return!1},EWt.Ib=function(){return"+\u221e"},bY(KWt,"Cut/AboveAll",1761),dOt(519,245,{245:1,519:1,3:1,35:1},eD),EWt.xd=function(t){aI((t.a+="(",t),this.a)},EWt.yd=function(t){NY(aI(t,this.a),93)},EWt.Hb=function(){return~Jct(this.a)},EWt.Ad=function(t){return ZH(),Nat(this.a,t)<0},EWt.Ib=function(){return"/"+this.a+"\\"},bY(KWt,"Cut/AboveValue",519),dOt(1760,245,gXt,Nx),EWt.vd=function(t){return t==this?0:-1},EWt.xd=function(t){t.a+="(-\u221e"},EWt.yd=function(t){throw Fw(new cy)},EWt.zd=function(){throw Fw(new Rv(pXt))},EWt.Hb=function(){return IE(),eyt(this)},EWt.Ad=function(t){return!0},EWt.Ib=function(){return"-\u221e"},bY(KWt,"Cut/BelowAll",1760),dOt(1762,245,gXt,nD),EWt.xd=function(t){aI((t.a+="[",t),this.a)},EWt.yd=function(t){NY(aI(t,this.a),41)},EWt.Hb=function(){return Jct(this.a)},EWt.Ad=function(t){return ZH(),Nat(this.a,t)<=0},EWt.Ib=function(){return"\\"+this.a+"/"},bY(KWt,"Cut/BelowValue",1762),dOt(537,1,bXt),EWt.Jc=function(t){t5(this,t)},EWt.Ib=function(){return zft($z(KV(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},bY(KWt,"FluentIterable",537),dOt(433,537,bXt,AI),EWt.Kc=function(){return new oq(QN(this.a.Kc(),new l))},bY(KWt,"FluentIterable/2",433),dOt(1046,537,bXt,MI),EWt.Kc=function(){return LK(this)},bY(KWt,"FluentIterable/3",1046),dOt(708,386,YWt,KN),EWt.Xb=function(t){return this.a[t].Kc()},bY(KWt,"FluentIterable/3/1",708),dOt(1972,1,{}),EWt.Ib=function(){return Fdt(this.Bd().b)},bY(KWt,"ForwardingObject",1972),dOt(1973,1972,wXt),EWt.Bd=function(){return this.Cd()},EWt.Jc=function(t){t5(this,t)},EWt.Lc=function(){return this.Oc()},EWt.Nc=function(){return new f1(this,0)},EWt.Oc=function(){return new PU(null,this.Nc())},EWt.Fc=function(t){return this.Cd(),o_()},EWt.Gc=function(t){return this.Cd(),s_()},EWt.$b=function(){this.Cd(),c_()},EWt.Hc=function(t){return this.Cd().Hc(t)},EWt.Ic=function(t){return this.Cd().Ic(t)},EWt.dc=function(){return this.Cd().b.dc()},EWt.Kc=function(){return this.Cd().Kc()},EWt.Mc=function(t){return this.Cd(),u_()},EWt.gc=function(){return this.Cd().b.gc()},EWt.Pc=function(){return this.Cd().Pc()},EWt.Qc=function(t){return this.Cd().Qc(t)},bY(KWt,"ForwardingCollection",1973),dOt(1980,28,yXt),EWt.Kc=function(){return this.Ed()},EWt.Fc=function(t){throw Fw(new py)},EWt.Gc=function(t){throw Fw(new py)},EWt.$b=function(){throw Fw(new py)},EWt.Hc=function(t){return null!=t&&mgt(this,t,!1)},EWt.Dd=function(){switch(this.gc()){case 0:return KY(),KY(),$te;case 1:return KY(),new TU(yY(this.Ed().Pb()));default:return new rK(this,this.Pc())}},EWt.Mc=function(t){throw Fw(new py)},bY(KWt,"ImmutableCollection",1980),dOt(712,1980,yXt,ny),EWt.Kc=function(){return O7(this.a.Kc())},EWt.Hc=function(t){return null!=t&&this.a.Hc(t)},EWt.Ic=function(t){return this.a.Ic(t)},EWt.dc=function(){return this.a.dc()},EWt.Ed=function(){return O7(this.a.Kc())},EWt.gc=function(){return this.a.gc()},EWt.Pc=function(){return this.a.Pc()},EWt.Qc=function(t){return this.a.Qc(t)},EWt.Ib=function(){return Fdt(this.a)},bY(KWt,"ForwardingImmutableCollection",712),dOt(152,1980,mXt),EWt.Kc=function(){return this.Ed()},EWt.Yc=function(){return this.Fd(0)},EWt.Zc=function(t){return this.Fd(t)},EWt.ad=function(t){Rrt(this,t)},EWt.Nc=function(){return new f1(this,16)},EWt.bd=function(t,e){return this.Gd(t,e)},EWt.Vc=function(t,e){throw Fw(new py)},EWt.Wc=function(t,e){throw Fw(new py)},EWt.Fb=function(t){return HOt(this,t)},EWt.Hb=function(){return Aot(this)},EWt.Xc=function(t){return null==t?-1:_mt(this,t)},EWt.Ed=function(){return this.Fd(0)},EWt.Fd=function(t){return eP(this,t)},EWt.$c=function(t){throw Fw(new py)},EWt._c=function(t,e){throw Fw(new py)},EWt.Gd=function(t,e){return cht(new s1(new SE(this),t,e))},bY(KWt,"ImmutableList",152),dOt(2006,152,mXt),EWt.Kc=function(){return O7(this.Hd().Kc())},EWt.bd=function(t,e){return cht(this.Hd().bd(t,e))},EWt.Hc=function(t){return null!=t&&this.Hd().Hc(t)},EWt.Ic=function(t){return this.Hd().Ic(t)},EWt.Fb=function(t){return Nht(this.Hd(),t)},EWt.Xb=function(t){return KM(this,t)},EWt.Hb=function(){return Jct(this.Hd())},EWt.Xc=function(t){return this.Hd().Xc(t)},EWt.dc=function(){return this.Hd().dc()},EWt.Ed=function(){return O7(this.Hd().Kc())},EWt.gc=function(){return this.Hd().gc()},EWt.Gd=function(t,e){return cht(this.Hd().bd(t,e))},EWt.Pc=function(){return this.Hd().Qc(N8(Ite,zWt,1,this.Hd().gc(),5,1))},EWt.Qc=function(t){return this.Hd().Qc(t)},EWt.Ib=function(){return Fdt(this.Hd())},bY(KWt,"ForwardingImmutableList",2006),dOt(714,1,xXt),EWt.vc=function(){return lq(this)},EWt.wc=function(t){Jat(this,t)},EWt.ec=function(){return hq(this)},EWt.yc=function(t,e,n){return Zft(this,t,e,n)},EWt.Cc=function(){return this.Ld()},EWt.$b=function(){throw Fw(new py)},EWt._b=function(t){return null!=this.xc(t)},EWt.uc=function(t){return this.Ld().Hc(t)},EWt.Jd=function(){return new iy(this)},EWt.Kd=function(){return new ry(this)},EWt.Fb=function(t){return Out(this,t)},EWt.Hb=function(){return lq(this).Hb()},EWt.dc=function(){return 0==this.gc()},EWt.zc=function(t,e){return bx()},EWt.Bc=function(t){throw Fw(new py)},EWt.Ib=function(){return lCt(this)},EWt.Ld=function(){return this.e?this.e:this.e=this.Kd()},EWt.c=null,EWt.d=null,EWt.e=null,bY(KWt,"ImmutableMap",714),dOt(715,714,xXt),EWt._b=function(t){return Xk(this,t)},EWt.uc=function(t){return jE(this.b,t)},EWt.Id=function(){return uht(new Jh(this))},EWt.Jd=function(){return uht(eX(this.b))},EWt.Kd=function(){return s$(),new ny(JW(this.b))},EWt.Fb=function(t){return $E(this.b,t)},EWt.xc=function(t){return GR(this,t)},EWt.Hb=function(){return Jct(this.b.c)},EWt.dc=function(){return this.b.c.dc()},EWt.gc=function(){return this.b.c.gc()},EWt.Ib=function(){return Fdt(this.b.c)},bY(KWt,"ForwardingImmutableMap",715),dOt(1974,1973,kXt),EWt.Bd=function(){return this.Md()},EWt.Cd=function(){return this.Md()},EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return t===this||this.Md().Fb(t)},EWt.Hb=function(){return this.Md().Hb()},bY(KWt,"ForwardingSet",1974),dOt(1069,1974,kXt,Jh),EWt.Bd=function(){return tX(this.a.b)},EWt.Cd=function(){return tX(this.a.b)},EWt.Hc=function(t){if(iN(t,42)&&null==$z(t,42).cd())return!1;try{return BE(tX(this.a.b),t)}catch(e){if(iN(e=hst(e),205))return!1;throw Fw(e)}},EWt.Md=function(){return tX(this.a.b)},EWt.Qc=function(t){var e;return e=SQ(tX(this.a.b),t),tX(this.a.b).b.gc()<e.length&&IY(e,tX(this.a.b).b.gc(),null),e},bY(KWt,"ForwardingImmutableMap/1",1069),dOt(1981,1980,_Xt),EWt.Kc=function(){return this.Ed()},EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return GCt(this,t)},EWt.Hb=function(){return Frt(this)},bY(KWt,"ImmutableSet",1981),dOt(703,1981,_Xt),EWt.Kc=function(){return O7(new zd(this.a.b.Kc()))},EWt.Hc=function(t){return null!=t&&NE(this.a,t)},EWt.Ic=function(t){return DE(this.a,t)},EWt.Hb=function(){return Jct(this.a.b)},EWt.dc=function(){return this.a.b.dc()},EWt.Ed=function(){return O7(new zd(this.a.b.Kc()))},EWt.gc=function(){return this.a.b.gc()},EWt.Pc=function(){return this.a.b.Pc()},EWt.Qc=function(t){return PE(this.a,t)},EWt.Ib=function(){return Fdt(this.a.b)},bY(KWt,"ForwardingImmutableSet",703),dOt(1975,1974,EXt),EWt.Bd=function(){return this.b},EWt.Cd=function(){return this.b},EWt.Md=function(){return this.b},EWt.Nc=function(){return new fC(this)},bY(KWt,"ForwardingSortedSet",1975),dOt(533,1979,xXt,Iyt),EWt.Ac=function(t){_at(this,t)},EWt.Cc=function(){return new pL(this.d||(this.d=new tf(this)))},EWt.$b=function(){d5(this)},EWt._b=function(t){return!!Qrt(this,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))},EWt.uc=function(t){return Let(this,t)},EWt.kc=function(){return new YN(this,this)},EWt.wc=function(t){$Z(this,t)},EWt.xc=function(t){return cnt(this,t)},EWt.ec=function(){return new bL(this)},EWt.zc=function(t,e){return dRt(this,t,e)},EWt.Bc=function(t){var e;return(e=Qrt(this,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))?(LNt(this,e),e.e=null,e.c=null,e.i):null},EWt.gc=function(){return this.i},EWt.pd=function(){return new pL(this.d||(this.d=new tf(this)))},EWt.f=0,EWt.g=0,EWt.i=0,bY(KWt,"HashBiMap",533),dOt(534,1,XWt),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return l3(this)},EWt.Pb=function(){var t;if(!l3(this))throw Fw(new yy);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},EWt.Qb=function(){if(this.e.g!=this.b)throw Fw(new by);uot(!!this.f),LNt(this.e,this.f),this.b=this.e.g,this.f=null},EWt.b=0,EWt.d=0,EWt.f=null,bY(KWt,"HashBiMap/Itr",534),dOt(1011,534,XWt,YN),EWt.Nd=function(t){return new hE(this,t)},bY(KWt,"HashBiMap/1",1011),dOt(1012,345,aXt,hE),EWt.cd=function(){return this.a.g},EWt.dd=function(){return this.a.i},EWt.ed=function(t){var e,n,i;return n=this.a.i,(i=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))==this.a.f&&(HM(t)===HM(n)||null!=t&&Nht(t,n))?t:(mst(!Zrt(this.b.a,t,i),t),LNt(this.b.a,this.a),e=new zW(this.a.g,this.a.a,t,i),VAt(this.b.a,e,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=e),this.a=e,n)},bY(KWt,"HashBiMap/1/MapEntry",1012),dOt(238,345,{345:1,238:1,3:1,42:1},bE),EWt.cd=function(){return this.g},EWt.dd=function(){return this.i},EWt.ed=function(t){throw Fw(new py)},bY(KWt,"ImmutableEntry",238),dOt(317,238,{345:1,317:1,238:1,3:1,42:1},zW),EWt.a=0,EWt.f=0;var Hte,Ute=bY(KWt,"HashBiMap/BiEntry",317);dOt(610,1979,xXt,tf),EWt.Ac=function(t){_at(this,t)},EWt.Cc=function(){return new bL(this.a)},EWt.$b=function(){d5(this.a)},EWt._b=function(t){return Let(this.a,t)},EWt.kc=function(){return new WN(this,this.a)},EWt.wc=function(t){yY(t),$Z(this.a,new ef(t))},EWt.xc=function(t){return qit(this,t)},EWt.ec=function(){return new pL(this)},EWt.zc=function(t,e){return S$t(this.a,t,e,!1)},EWt.Bc=function(t){var e;return(e=Zrt(this.a,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))?(LNt(this.a,e),e.e=null,e.c=null,e.g):null},EWt.gc=function(){return this.a.i},EWt.pd=function(){return new bL(this.a)},bY(KWt,"HashBiMap/Inverse",610),dOt(1008,534,XWt,WN),EWt.Nd=function(t){return new fE(this,t)},bY(KWt,"HashBiMap/Inverse/1",1008),dOt(1009,345,aXt,fE),EWt.cd=function(){return this.a.i},EWt.dd=function(){return this.a.g},EWt.ed=function(t){var e,n,i;return i=this.a.g,(e=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))==this.a.a&&(HM(t)===HM(i)||null!=t&&Nht(t,i))?t:(mst(!Qrt(this.b.a.a,t,e),t),LNt(this.b.a.a,this.a),n=new zW(t,e,this.a.i,this.a.f),this.a=n,VAt(this.b.a.a,n,null),this.b.b=this.b.a.a.g,i)},bY(KWt,"HashBiMap/Inverse/1/InverseEntry",1009),dOt(611,532,tXt,pL),EWt.Kc=function(){return new av(this.a.a)},EWt.Mc=function(t){var e;return!!(e=Zrt(this.a.a,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))&&(LNt(this.a.a,e),!0)},bY(KWt,"HashBiMap/Inverse/InverseKeySet",611),dOt(1007,534,XWt,av),EWt.Nd=function(t){return t.i},bY(KWt,"HashBiMap/Inverse/InverseKeySet/1",1007),dOt(1010,1,{},ef),EWt.Od=function(t,e){ty(this.a,t,e)},bY(KWt,"HashBiMap/Inverse/lambda$0$Type",1010),dOt(609,532,tXt,bL),EWt.Kc=function(){return new ov(this.a)},EWt.Mc=function(t){var e;return!!(e=Qrt(this.a,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))&&(LNt(this.a,e),e.e=null,e.c=null,!0)},bY(KWt,"HashBiMap/KeySet",609),dOt(1006,534,XWt,ov),EWt.Nd=function(t){return t.g},bY(KWt,"HashBiMap/KeySet/1",1006),dOt(1093,619,WWt),bY(KWt,"HashMultimapGwtSerializationDependencies",1093),dOt(265,1093,WWt,pZ),EWt.hc=function(){return new h_(tet(this.a))},EWt.gd=function(){return new h_(tet(this.a))},EWt.a=2,bY(KWt,"HashMultimap",265),dOt(1999,152,mXt),EWt.Hc=function(t){return this.Pd().Hc(t)},EWt.dc=function(){return this.Pd().dc()},EWt.gc=function(){return this.Pd().gc()},bY(KWt,"ImmutableAsList",1999),dOt(1931,715,xXt),EWt.Ld=function(){return s$(),new yx(this.a)},EWt.Cc=function(){return s$(),new yx(this.a)},EWt.pd=function(){return s$(),new yx(this.a)},bY(KWt,"ImmutableBiMap",1931),dOt(1977,1,{}),bY(KWt,"ImmutableCollection/Builder",1977),dOt(1022,703,_Xt,sv),bY(KWt,"ImmutableEnumSet",1022),dOt(969,386,YWt,hR),EWt.Xb=function(t){return this.a.Xb(t)},bY(KWt,"ImmutableList/1",969),dOt(968,1977,{},sj),bY(KWt,"ImmutableList/Builder",968),dOt(614,198,qWt,nf),EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).cd()},bY(KWt,"ImmutableMap/1",614),dOt(1041,1,{},c),EWt.Kb=function(t){return $z(t,42).cd()},bY(KWt,"ImmutableMap/2methodref$getKey$Type",1041),dOt(1040,1,{},cj),bY(KWt,"ImmutableMap/Builder",1040),dOt(2e3,1981,_Xt),EWt.Kc=function(){return new nf(lq(this.a).Ed())},EWt.Dd=function(){return new ay(this)},EWt.Jc=function(t){var e,n;for(yY(t),n=this.gc(),e=0;e<n;e++)t.td($z(fq(lq(this.a)).Xb(e),42).cd())},EWt.Ed=function(){var t;return(t=this.c,t||(this.c=new ay(this))).Ed()},EWt.Nc=function(){return yU(this.gc(),1296,new af(this))},bY(KWt,"IndexedImmutableSet",2e3),dOt(1180,2e3,_Xt,iy),EWt.Kc=function(){return new nf(lq(this.a).Ed())},EWt.Hc=function(t){return this.a._b(t)},EWt.Jc=function(t){yY(t),Jat(this.a,new rf(t))},EWt.Ed=function(){return new nf(lq(this.a).Ed())},EWt.gc=function(){return this.a.gc()},EWt.Nc=function(){return Pz(lq(this.a).Nc(),new c)},bY(KWt,"ImmutableMapKeySet",1180),dOt(1181,1,{},rf),EWt.Od=function(t,e){s$(),this.a.td(t)},bY(KWt,"ImmutableMapKeySet/lambda$0$Type",1181),dOt(1178,1980,yXt,ry),EWt.Kc=function(){return new BH(this)},EWt.Hc=function(t){return null!=t&&Ckt(new BH(this),t)},EWt.Ed=function(){return new BH(this)},EWt.gc=function(){return this.a.gc()},EWt.Nc=function(){return Pz(lq(this.a).Nc(),new u)},bY(KWt,"ImmutableMapValues",1178),dOt(1179,1,{},u),EWt.Kb=function(t){return $z(t,42).dd()},bY(KWt,"ImmutableMapValues/0methodref$getValue$Type",1179),dOt(626,198,qWt,BH),EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).dd()},bY(KWt,"ImmutableMapValues/1",626),dOt(1182,1,{},af),EWt.ld=function(t){return FK(this.a,t)},bY(KWt,"IndexedImmutableSet/0methodref$get$Type",1182),dOt(752,1999,mXt,ay),EWt.Pd=function(){return this.a},EWt.Xb=function(t){return FK(this.a,t)},EWt.gc=function(){return this.a.a.gc()},bY(KWt,"IndexedImmutableSet/1",752),dOt(44,1,{},l),EWt.Kb=function(t){return $z(t,20).Kc()},EWt.Fb=function(t){return this===t},bY(KWt,"Iterables/10",44),dOt(1042,537,bXt,jH),EWt.Jc=function(t){yY(t),this.b.Jc(new dE(this.a,t))},EWt.Kc=function(){return zO(this)},bY(KWt,"Iterables/4",1042),dOt(1043,1,hXt,dE),EWt.td=function(t){kC(this.b,this.a,t)},bY(KWt,"Iterables/4/lambda$0$Type",1043),dOt(1044,537,bXt,RH),EWt.Jc=function(t){yY(t),t5(this.a,new uE(t,this.b))},EWt.Kc=function(){return QN(new MN(this.a),this.b)},bY(KWt,"Iterables/5",1044),dOt(1045,1,hXt,uE),EWt.td=function(t){this.a.td(yO(t))},bY(KWt,"Iterables/5/lambda$0$Type",1045),dOt(1071,198,qWt,of),EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return this.a.Pb()},bY(KWt,"Iterators/1",1071),dOt(1072,699,qWt,lE),EWt.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},bY(KWt,"Iterators/5",1072),dOt(487,1,XWt),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.b.Ob()},EWt.Pb=function(){return this.Qd(this.b.Pb())},EWt.Qb=function(){this.b.Qb()},bY(KWt,"TransformedIterator",487),dOt(1073,487,XWt,ZN),EWt.Qd=function(t){return this.a.Kb(t)},bY(KWt,"Iterators/6",1073),dOt(717,198,qWt,sf),EWt.Ob=function(){return!this.a},EWt.Pb=function(){if(this.a)throw Fw(new yy);return this.a=!0,this.b},EWt.a=!1,bY(KWt,"Iterators/9",717),dOt(1070,386,YWt,uG),EWt.Xb=function(t){return this.a[this.b+t]},EWt.b=0,bY(KWt,"Iterators/ArrayItr",1070),dOt(39,1,{39:1,47:1},oq),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return gOt(this)},EWt.Pb=function(){return G5(this)},EWt.Qb=function(){uot(!!this.c),this.c.Qb(),this.c=null},bY(KWt,"Iterators/ConcatenatedIterator",39),dOt(22,1,{3:1,35:1,22:1}),EWt.wd=function(t){return Tv(this,$z(t,22))},EWt.Fb=function(t){return this===t},EWt.Hb=function(){return TD(this)},EWt.Ib=function(){return dP(this)},EWt.g=0;var Gte=bY(BWt,"Enum",22);dOt(538,22,{538:1,3:1,35:1,22:1,47:1},iD),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return!1},EWt.Pb=function(){throw Fw(new yy)},EWt.Qb=function(){uot(!1)};var qte,Kte,Yte=Fnt(KWt,"Iterators/EmptyModifiableIterator",538,Gte,oY,nP);dOt(1834,619,WWt),bY(KWt,"LinkedHashMultimapGwtSerializationDependencies",1834),dOt(1835,1834,WWt,_lt),EWt.hc=function(){return new OD(tet(this.b))},EWt.$b=function(){dit(this),ey(this.a,this.a)},EWt.gd=function(){return new OD(tet(this.b))},EWt.ic=function(t){return new _ut(this,t,this.b)},EWt.kc=function(){return new JN(this)},EWt.lc=function(){return new f1($z(this.g||(this.g=new zm(this)),21),17)},EWt.ec=function(){return this.i||(this.i=new FN(this,this.c))},EWt.nc=function(){return new hv(new JN(this))},EWt.oc=function(){return Pz(new f1($z(this.g||(this.g=new zm(this)),21),17),new h)},EWt.b=2,bY(KWt,"LinkedHashMultimap",1835),dOt(1838,1,{},h),EWt.Kb=function(t){return $z(t,42).dd()},bY(KWt,"LinkedHashMultimap/0methodref$getValue$Type",1838),dOt(824,1,XWt,JN),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return wet(this)},EWt.Ob=function(){return this.a!=this.b.a},EWt.Qb=function(){uot(!!this.c),z0(this.b,this.c.g,this.c.i),this.c=null},bY(KWt,"LinkedHashMultimap/1",824),dOt(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},FW),EWt.Rd=function(){return this.f},EWt.Sd=function(t){this.c=t},EWt.Td=function(t){this.f=t},EWt.d=0;var Wte,Xte=bY(KWt,"LinkedHashMultimap/ValueEntry",330);dOt(1836,1970,{2020:1,20:1,28:1,14:1,21:1},_ut),EWt.Fc=function(t){var e,n,i,r,a;for(e=(a=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))&this.b.length-1,n=r=this.b[e];n;n=n.a)if(n.d==a&&fW(n.i,t))return!1;return i=new FW(this.c,t,a,r),mx(this.d,i),i.f=this,this.d=i,ey(this.g.a.b,i),ey(i,this.g.a),this.b[e]=i,++this.f,++this.e,mkt(this),!0},EWt.$b=function(){var t,e;for(yC(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())ey((e=$z(t,330)).b,e.e);this.a=this,this.d=this,++this.e},EWt.Hc=function(t){var e,n;for(n=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))),e=this.b[n&this.b.length-1];e;e=e.a)if(e.d==n&&fW(e.i,t))return!0;return!1},EWt.Jc=function(t){var e;for(yY(t),e=this.a;e!=this;e=e.Rd())t.td($z(e,330).i)},EWt.Rd=function(){return this.a},EWt.Kc=function(){return new sW(this)},EWt.Mc=function(t){return vOt(this,t)},EWt.Sd=function(t){this.d=t},EWt.Td=function(t){this.a=t},EWt.gc=function(){return this.f},EWt.e=0,EWt.f=0,bY(KWt,"LinkedHashMultimap/ValueSet",1836),dOt(1837,1,XWt,sW),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return fG(this),this.b!=this.c},EWt.Pb=function(){var t,e;if(fG(this),this.b==this.c)throw Fw(new yy);return e=(t=$z(this.b,330)).i,this.d=t,this.b=t.f,e},EWt.Qb=function(){fG(this),uot(!!this.d),vOt(this.c,this.d.i),this.a=this.c.e,this.d=null},EWt.a=0,bY(KWt,"LinkedHashMultimap/ValueSet/1",1837),dOt(766,1986,WWt,TI),EWt.Zb=function(){return this.f||(this.f=new nC(this))},EWt.Fb=function(t){return xut(this,t)},EWt.cc=function(t){return new wE(this,t)},EWt.fc=function(t){return V3(this,t)},EWt.$b=function(){iY(this)},EWt._b=function(t){return FE(this,t)},EWt.ac=function(){return new nC(this)},EWt.bc=function(){return new yf(this)},EWt.qc=function(t){return new wE(this,t)},EWt.dc=function(){return!this.a},EWt.rc=function(t){return V3(this,t)},EWt.gc=function(){return this.d},EWt.c=0,EWt.d=0,bY(KWt,"LinkedListMultimap",766),dOt(52,28,LXt),EWt.ad=function(t){Rrt(this,t)},EWt.Nc=function(){return new f1(this,16)},EWt.Vc=function(t,e){throw Fw(new Jv("Add not supported on this list"))},EWt.Fc=function(t){return this.Vc(this.gc(),t),!0},EWt.Wc=function(t,e){var n,i,r;for(mW(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),this.Vc(t++,i),n=!0;return n},EWt.$b=function(){this.Ud(0,this.gc())},EWt.Fb=function(t){return NOt(this,t)},EWt.Hb=function(){return $ct(this)},EWt.Xc=function(t){return fit(this,t)},EWt.Kc=function(){return new Ed(this)},EWt.Yc=function(){return this.Zc(0)},EWt.Zc=function(t){return new _2(this,t)},EWt.$c=function(t){throw Fw(new Jv("Remove not supported on this list"))},EWt.Ud=function(t,e){var n,i;for(i=this.Zc(t),n=t;n<e;++n)i.Pb(),i.Qb()},EWt._c=function(t,e){throw Fw(new Jv("Set not supported on this list"))},EWt.bd=function(t,e){return new s1(this,t,e)},EWt.j=0,bY(VWt,"AbstractList",52),dOt(1964,52,LXt),EWt.Vc=function(t,e){BP(this,t,e)},EWt.Wc=function(t,e){return Iut(this,t,e)},EWt.Xb=function(t){return Pwt(this,t)},EWt.Kc=function(){return this.Zc(0)},EWt.$c=function(t){return txt(this,t)},EWt._c=function(t,e){var n,i;n=this.Zc(t);try{return i=n.Pb(),n.Wb(e),i}catch(r){throw iN(r=hst(r),109)?Fw(new Mv("Can't set element "+t)):Fw(r)}},bY(VWt,"AbstractSequentialList",1964),dOt(636,1964,LXt,wE),EWt.Zc=function(t){return bD(this,t)},EWt.gc=function(){var t;return(t=$z(PY(this.a.b,this.b),283))?t.a:0},bY(KWt,"LinkedListMultimap/1",636),dOt(1297,1970,tXt,yf),EWt.Hc=function(t){return FE(this.a,t)},EWt.Kc=function(){return new wrt(this.a)},EWt.Mc=function(t){return!V3(this.a,t).a.dc()},EWt.gc=function(){return LE(this.a.b)},bY(KWt,"LinkedListMultimap/1KeySetImpl",1297),dOt(1296,1,XWt,wrt),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return hG(this),!!this.c},EWt.Pb=function(){hG(this),oD(this.c),this.a=this.c,kK(this.d,this.a.a);do{this.c=this.c.b}while(this.c&&!kK(this.d,this.c.a));return this.a.a},EWt.Qb=function(){hG(this),uot(!!this.a),CU(new C9(this.e,this.a.a)),this.a=null,this.b=this.e.c},EWt.b=0,bY(KWt,"LinkedListMultimap/DistinctKeyIterator",1296),dOt(283,1,{283:1},sQ),EWt.a=0,bY(KWt,"LinkedListMultimap/KeyList",283),dOt(1295,345,aXt,yE),EWt.cd=function(){return this.a},EWt.dd=function(){return this.f},EWt.ed=function(t){var e;return e=this.f,this.f=t,e},bY(KWt,"LinkedListMultimap/Node",1295),dOt(560,1,rXt,C9,jSt),EWt.Nb=function(t){uK(this,t)},EWt.Rb=function(t){this.e=mRt(this.f,this.b,t,this.c),++this.d,this.a=null},EWt.Ob=function(){return!!this.c},EWt.Sb=function(){return!!this.e},EWt.Pb=function(){return xJ(this)},EWt.Tb=function(){return this.d},EWt.Ub=function(){return kJ(this)},EWt.Vb=function(){return this.d-1},EWt.Qb=function(){uot(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,ZAt(this.f,this.a),this.a=null},EWt.Wb=function(t){aD(!!this.a),this.a.f=t},EWt.d=0,bY(KWt,"LinkedListMultimap/ValueForKeyIterator",560),dOt(1018,52,LXt),EWt.Vc=function(t,e){this.a.Vc(t,e)},EWt.Wc=function(t,e){return this.a.Wc(t,e)},EWt.Hc=function(t){return this.a.Hc(t)},EWt.Xb=function(t){return this.a.Xb(t)},EWt.$c=function(t){return this.a.$c(t)},EWt._c=function(t,e){return this.a._c(t,e)},EWt.gc=function(){return this.a.gc()},bY(KWt,"Lists/AbstractListWrapper",1018),dOt(1019,1018,DXt),bY(KWt,"Lists/RandomAccessListWrapper",1019),dOt(1021,1019,DXt,SE),EWt.Zc=function(t){return this.a.Zc(t)},bY(KWt,"Lists/1",1021),dOt(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},CE),EWt.Vc=function(t,e){this.a.Vc(pK(this,t),e)},EWt.$b=function(){this.a.$b()},EWt.Xb=function(t){return this.a.Xb(OY(this,t))},EWt.Kc=function(){return K1(this,0)},EWt.Zc=function(t){return K1(this,t)},EWt.$c=function(t){return this.a.$c(OY(this,t))},EWt.Ud=function(t,e){(d2(t,e,this.a.gc()),eot(this.a.bd(pK(this,e),pK(this,t)))).$b()},EWt._c=function(t,e){return this.a._c(OY(this,t),e)},EWt.gc=function(){return this.a.gc()},EWt.bd=function(t,e){return d2(t,e,this.a.gc()),eot(this.a.bd(pK(this,e),pK(this,t)))},bY(KWt,"Lists/ReverseList",131),dOt(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},uv),bY(KWt,"Lists/RandomAccessReverseList",280),dOt(1020,1,rXt,mE),EWt.Nb=function(t){uK(this,t)},EWt.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},EWt.Ob=function(){return this.c.Sb()},EWt.Sb=function(){return this.c.Ob()},EWt.Pb=function(){return f5(this)},EWt.Tb=function(){return pK(this.b,this.c.Tb())},EWt.Ub=function(){if(!this.c.Ob())throw Fw(new yy);return this.a=!0,this.c.Pb()},EWt.Vb=function(){return pK(this.b,this.c.Tb())-1},EWt.Qb=function(){uot(this.a),this.c.Qb(),this.a=!1},EWt.Wb=function(t){aD(this.a),this.c.Wb(t)},EWt.a=!1,bY(KWt,"Lists/ReverseList/1",1020),dOt(432,487,XWt,lv),EWt.Qd=function(t){return iC(t)},bY(KWt,"Maps/1",432),dOt(698,487,XWt,hv),EWt.Qd=function(t){return $z(t,42).dd()},bY(KWt,"Maps/2",698),dOt(962,487,XWt,pD),EWt.Qd=function(t){return new bE(t,jI(this.a,t))},bY(KWt,"Maps/3",962),dOt(959,1971,tXt,wf),EWt.Jc=function(t){Ny(this.a,t)},EWt.Kc=function(){return this.a.kc()},EWt.Rc=function(){return this.a},EWt.Nc=function(){return this.a.lc()},bY(KWt,"Maps/IteratorBasedAbstractMap/1",959),dOt(960,1,{},bf),EWt.Od=function(t,e){this.a.td(t)},bY(KWt,"Maps/KeySet/lambda$0$Type",960),dOt(958,28,ZWt,TE),EWt.$b=function(){this.a.$b()},EWt.Hc=function(t){return this.a.uc(t)},EWt.Jc=function(t){yY(t),this.a.wc(new lf(t))},EWt.dc=function(){return this.a.dc()},EWt.Kc=function(){return new hv(this.a.vc().Kc())},EWt.Mc=function(t){var e,n;try{return mgt(this,t,!0)}catch(i){if(iN(i=hst(i),41)){for(n=this.a.vc().Kc();n.Ob();)if(fW(t,(e=$z(n.Pb(),42)).dd()))return this.a.Bc(e.cd()),!0;return!1}throw Fw(i)}},EWt.gc=function(){return this.a.gc()},bY(KWt,"Maps/Values",958),dOt(961,1,{},lf),EWt.Od=function(t,e){this.a.td(e)},bY(KWt,"Maps/Values/lambda$0$Type",961),dOt(736,1987,QWt,nC),EWt.xc=function(t){return this.a._b(t)?this.a.cc(t):null},EWt.Bc=function(t){return this.a._b(t)?this.a.fc(t):null},EWt.$b=function(){this.a.$b()},EWt._b=function(t){return this.a._b(t)},EWt.Ec=function(){return new uf(this)},EWt.Dc=function(){return this.Ec()},EWt.dc=function(){return this.a.dc()},EWt.ec=function(){return this.a.ec()},EWt.gc=function(){return this.a.ec().gc()},bY(KWt,"Multimaps/AsMap",736),dOt(1104,1971,tXt,uf),EWt.Kc=function(){return ZL(this.a.a.ec(),new hf(this))},EWt.Rc=function(){return this.a},EWt.Mc=function(t){var e;return!!npt(this,t)&&(e=$z(t,42),vx(this.a,e.cd()),!0)},bY(KWt,"Multimaps/AsMap/EntrySet",1104),dOt(1108,1,{},hf),EWt.Kb=function(t){return jI(this,t)},EWt.Fb=function(t){return this===t},bY(KWt,"Multimaps/AsMap/EntrySet/1",1108),dOt(543,1989,{543:1,835:1,20:1,28:1,14:1},ff),EWt.$b=function(){dit(this.a)},EWt.Hc=function(t){return Kk(this.a,t)},EWt.Jc=function(t){yY(t),t5(_Y(this.a),new gf(t))},EWt.Kc=function(){return new lv(_Y(this.a).a.kc())},EWt.gc=function(){return this.a.d},EWt.Nc=function(){return Pz(_Y(this.a).Nc(),new f)},bY(KWt,"Multimaps/Keys",543),dOt(1106,1,{},f),EWt.Kb=function(t){return $z(t,42).cd()},bY(KWt,"Multimaps/Keys/0methodref$getKey$Type",1106),dOt(1105,487,XWt,fv),EWt.Qd=function(t){return new df($z(t,42))},bY(KWt,"Multimaps/Keys/1",1105),dOt(1990,1,{416:1}),EWt.Fb=function(t){var e;return!!iN(t,492)&&(e=$z(t,416),$z(this.a.dd(),14).gc()==$z(e.a.dd(),14).gc()&&fW(this.a.cd(),e.a.cd()))},EWt.Hb=function(){var t;return(null==(t=this.a.cd())?0:Jct(t))^$z(this.a.dd(),14).gc()},EWt.Ib=function(){var t,e;return e=mD(this.a.cd()),1==(t=$z(this.a.dd(),14).gc())?e:e+" x "+t},bY(KWt,"Multisets/AbstractEntry",1990),dOt(492,1990,{492:1,416:1},df),bY(KWt,"Multimaps/Keys/1/1",492),dOt(1107,1,hXt,gf),EWt.td=function(t){this.a.td($z(t,42).cd())},bY(KWt,"Multimaps/Keys/lambda$1$Type",1107),dOt(1110,1,hXt,d),EWt.td=function(t){SU($z(t,416))},bY(KWt,"Multiset/lambda$0$Type",1110),dOt(737,1,hXt,pf),EWt.td=function(t){Aet(this.a,$z(t,416))},bY(KWt,"Multiset/lambda$1$Type",737),dOt(1111,1,{},m),bY(KWt,"Multisets/0methodref$add$Type",1111),dOt(738,1,{},v),EWt.Kb=function(t){return s3($z(t,416))},bY(KWt,"Multisets/lambda$3$Type",738),dOt(2008,1,jWt),bY(KWt,"RangeGwtSerializationDependencies",2008),dOt(514,2008,{169:1,514:1,3:1,45:1},cyt),EWt.Lb=function(t){return _q(this,$z(t,35))},EWt.Mb=function(t){return _q(this,$z(t,35))},EWt.Fb=function(t){var e;return!!iN(t,514)&&(e=$z(t,514),Dpt(this.a,e.a)&&Dpt(this.b,e.b))},EWt.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},EWt.Ib=function(){return $3(this.a,this.b)},bY(KWt,"Range",514),dOt(778,1999,mXt,rK),EWt.Zc=function(t){return eP(this.b,t)},EWt.Pd=function(){return this.a},EWt.Xb=function(t){return KM(this.b,t)},EWt.Fd=function(t){return eP(this.b,t)},bY(KWt,"RegularImmutableAsList",778),dOt(646,2006,mXt,EQ),EWt.Hd=function(){return this.a},bY(KWt,"RegularImmutableList",646),dOt(616,715,xXt,cv),bY(KWt,"RegularImmutableMap",616),dOt(716,703,_Xt,bC),bY(KWt,"RegularImmutableSet",716),dOt(1976,JWt,tXt),EWt.Kc=function(){return new EX(this.a,this.b)},EWt.Fc=function(t){throw Fw(new py)},EWt.Gc=function(t){throw Fw(new py)},EWt.$b=function(){throw Fw(new py)},EWt.Mc=function(t){throw Fw(new py)},bY(KWt,"Sets/SetView",1976),dOt(963,1976,tXt,xE),EWt.Kc=function(){return new EX(this.a,this.b)},EWt.Hc=function(t){return CG(this.a,t)&&this.b.Hc(t)},EWt.Ic=function(t){return sst(this.a,t)&&this.b.Ic(t)},EWt.dc=function(){return jwt(this.b,this.a)},EWt.Lc=function(){return MX(new PU(null,new f1(this.a,1)),new vf(this.b))},EWt.gc=function(){return Sot(this)},EWt.Oc=function(){return MX(new PU(null,new f1(this.a,1)),new mf(this.b))},bY(KWt,"Sets/2",963),dOt(700,699,qWt,EX),EWt.Yb=function(){for(var t;mL(this.a);)if(t=a4(this.a),this.c.Hc(t))return t;return this.e=2,null},bY(KWt,"Sets/2/1",700),dOt(964,1,PXt,mf),EWt.Mb=function(t){return this.a.Hc(t)},bY(KWt,"Sets/2/4methodref$contains$Type",964),dOt(965,1,PXt,vf),EWt.Mb=function(t){return this.a.Hc(t)},bY(KWt,"Sets/2/5methodref$contains$Type",965),dOt(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},hZ),EWt.Bd=function(){return this.b},EWt.Cd=function(){return this.b},EWt.Md=function(){return this.b},EWt.Jc=function(t){this.a.Jc(t)},EWt.Lc=function(){return this.a.Lc()},EWt.Oc=function(){return this.a.Oc()},bY(KWt,"Sets/UnmodifiableNavigableSet",607),dOt(1932,1931,xXt,HW),EWt.Ld=function(){return s$(),new yx(this.a)},EWt.Cc=function(){return s$(),new yx(this.a)},EWt.pd=function(){return s$(),new yx(this.a)},bY(KWt,"SingletonImmutableBiMap",1932),dOt(647,2006,mXt,TU),EWt.Hd=function(){return this.a},bY(KWt,"SingletonImmutableList",647),dOt(350,1981,_Xt,yx),EWt.Kc=function(){return new sf(this.a)},EWt.Hc=function(t){return Nht(this.a,t)},EWt.Ed=function(){return new sf(this.a)},EWt.gc=function(){return 1},bY(KWt,"SingletonImmutableSet",350),dOt(1115,1,{},x),EWt.Kb=function(t){return $z(t,164)},bY(KWt,"Streams/lambda$0$Type",1115),dOt(1116,1,BXt,xf),EWt.Vd=function(){$5(this.a)},bY(KWt,"Streams/lambda$1$Type",1116),dOt(1659,1658,WWt,pQ),EWt.Zb=function(){return $z($z(this.f||(this.f=iN(this.c,171)?new SB(this,$z(this.c,171)):iN(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c)),161),171)},EWt.hc=function(){return new d_(this.b)},EWt.gd=function(){return new d_(this.b)},EWt.ec=function(){return $z($z(this.i||(this.i=iN(this.c,171)?new J_(this,$z(this.c,171)):iN(this.c,161)?new Z_(this,$z(this.c,161)):new FN(this,this.c)),84),271)},EWt.ac=function(){return iN(this.c,171)?new SB(this,$z(this.c,171)):iN(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c)},EWt.ic=function(t){return null==t&&this.a.ue(t,t),new d_(this.b)},bY(KWt,"TreeMultimap",1659),dOt(78,1,{3:1,78:1}),EWt.Wd=function(t){return new Error(t)},EWt.Xd=function(){return this.e},EWt.Yd=function(){return Rgt(IX(OK((null==this.k&&(this.k=N8(Qte,cXt,78,0,0,1)),this.k)),new P))},EWt.Zd=function(){return this.f},EWt.$d=function(){return this.g},EWt._d=function(){yv(this,h2(this.Wd(CQ(this,this.g)))),oy(this)},EWt.Ib=function(){return CQ(this,this.$d())},EWt.e=$Xt,EWt.i=!1,EWt.n=!0;var Vte,Qte=bY(BWt,"Throwable",78);dOt(102,78,{3:1,102:1,78:1}),bY(BWt,"Exception",102),dOt(60,102,FXt,sy,dv),bY(BWt,"RuntimeException",60),dOt(598,60,FXt),bY(BWt,"JsException",598),dOt(863,598,FXt),bY(zXt,"JavaScriptExceptionBase",863),dOt(477,863,{477:1,3:1,102:1,60:1,78:1},xlt),EWt.$d=function(){return b_t(this),this.c},EWt.ae=function(){return HM(this.b)===HM(Vte)?null:this.b},bY(UXt,"JavaScriptException",477);var Zte,Jte=bY(UXt,"JavaScriptObject$",0);dOt(1948,1,{}),bY(UXt,"Scheduler",1948);var tee,eee,nee,iee,ree=0,aee=0,oee=-1;dOt(890,1948,{},k),bY(zXt,"SchedulerImpl",890),dOt(1960,1,{}),bY(zXt,"StackTraceCreator/Collector",1960),dOt(864,1960,{},_),EWt.be=function(t){var e={},n=[];t[qXt]=n;for(var i=arguments.callee.caller;i;){var r=(TQ(),i.name||(i.name=Wnt(i.toString())));n.push(r);var a,o,s=":"+r,c=e[s];if(c)for(a=0,o=c.length;a<o;a++)if(c[a]===i)return;(c||(e[s]=[])).push(i),i=i.caller}},EWt.ce=function(t){var e,n,i,r;for(TQ(),n=(i=t&&t[qXt]?t[qXt]:[]).length,r=N8($ee,cXt,310,n,0,1),e=0;e<n;e++)r[e]=new TX(i[e],null,-1);return r},bY(zXt,"StackTraceCreator/CollectorLegacy",864),dOt(1961,1960,{}),EWt.be=function(t){},EWt.de=function(t,e,n,i){return new TX(e,t+"@"+i,n<0?-1:n)},EWt.ce=function(t){var e,n,i,r,a,o;if(r=hvt(t),a=N8($ee,cXt,310,0,0,1),e=0,0==(i=r.length))return a;for(wR((o=MUt(this,r[0])).d,GXt)||(a[e++]=o),n=1;n<i;n++)a[e++]=MUt(this,r[n]);return a},bY(zXt,"StackTraceCreator/CollectorModern",1961),dOt(865,1961,{},p),EWt.de=function(t,e,n,i){return new TX(e,t,-1)},bY(zXt,"StackTraceCreator/CollectorModernNoSourceMap",865),dOt(1050,1,{}),bY(mVt,vVt,1050),dOt(615,1050,{615:1},UY),bY(xVt,vVt,615),dOt(2001,1,{}),bY(mVt,kVt,2001),dOt(2002,2001,{}),bY(xVt,kVt,2002),dOt(1090,1,{},b),bY(xVt,"LocaleInfo",1090),dOt(1918,1,{},w),EWt.a=0,bY(xVt,"TimeZone",1918),dOt(1258,2002,{},g),bY("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),dOt(434,1,{434:1},Yz),EWt.a=!1,EWt.b=0,bY(mVt,"DateTimeFormat/PatternPart",434),dOt(199,1,_Vt,ME,wct,TB),EWt.wd=function(t){return V0(this,$z(t,199))},EWt.Fb=function(t){return iN(t,199)&&WM(lot(this.q.getTime()),lot($z(t,199).q.getTime()))},EWt.Hb=function(){var t;return dG(n0(t=lot(this.q.getTime()),vq(t,32)))},EWt.Ib=function(){var t,e,n;return t=((n=-this.q.getTimezoneOffset())>=0?"+":"")+(n/60|0),e=GI(i.Math.abs(n)%60),(bTt(),pne)[this.q.getDay()]+" "+bne[this.q.getMonth()]+" "+GI(this.q.getDate())+" "+GI(this.q.getHours())+":"+GI(this.q.getMinutes())+":"+GI(this.q.getSeconds())+" GMT"+t+e+" "+this.q.getFullYear()};var see,cee,uee,lee,hee,fee,dee,gee,pee,bee=bY(VWt,"Date",199);dOt(1915,199,_Vt,Vxt),EWt.a=!1,EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0,EWt.f=0,EWt.g=!1,EWt.i=0,EWt.j=0,EWt.k=0,EWt.n=0,EWt.o=0,EWt.p=0,bY("com.google.gwt.i18n.shared.impl","DateRecord",1915),dOt(1966,1,{}),EWt.fe=function(){return null},EWt.ge=function(){return null},EWt.he=function(){return null},EWt.ie=function(){return null},EWt.je=function(){return null},bY(EVt,"JSONValue",1966),dOt(216,1966,{216:1},Cf,kf),EWt.Fb=function(t){return!!iN(t,216)&&b0(this.a,$z(t,216).a)},EWt.ee=function(){return zw},EWt.Hb=function(){return JV(this.a)},EWt.fe=function(){return this},EWt.Ib=function(){var t,e,n;for(n=new lD("["),e=0,t=this.a.length;e<t;e++)e>0&&(n.a+=","),aI(n,dtt(this,e));return n.a+="]",n.a},bY(EVt,"JSONArray",216),dOt(483,1966,{483:1},_f),EWt.ee=function(){return Hw},EWt.ge=function(){return this},EWt.Ib=function(){return cD(),""+this.a},EWt.a=!1,bY(EVt,"JSONBoolean",483),dOt(985,60,FXt,gv),bY(EVt,"JSONException",985),dOt(1023,1966,{},y),EWt.ee=function(){return Yw},EWt.Ib=function(){return GWt},bY(EVt,"JSONNull",1023),dOt(258,1966,{258:1},Ef),EWt.Fb=function(t){return!!iN(t,258)&&this.a==$z(t,258).a},EWt.ee=function(){return Uw},EWt.Hb=function(){return YI(this.a)},EWt.he=function(){return this},EWt.Ib=function(){return this.a+""},EWt.a=0,bY(EVt,"JSONNumber",258),dOt(183,1966,{183:1},pv,Tf),EWt.Fb=function(t){return!!iN(t,183)&&b0(this.a,$z(t,183).a)},EWt.ee=function(){return Gw},EWt.Hb=function(){return JV(this.a)},EWt.ie=function(){return this},EWt.Ib=function(){var t,e,n,i,r,a;for(a=new lD("{"),t=!0,i=0,r=(n=xrt(this,N8(zee,cXt,2,0,6,1))).length;i<r;++i)e=n[i],t?t=!1:a.a+=$Wt,oI(a,yIt(e)),a.a+=":",aI(a,UZ(this,e));return a.a+="}",a.a},bY(EVt,"JSONObject",183),dOt(596,JWt,tXt,kE),EWt.Hc=function(t){return qM(t)&&Ux(this.a,EB(t))},EWt.Kc=function(){return new Ed(new Vv(this.b))},EWt.gc=function(){return this.b.length},bY(EVt,"JSONObject/1",596),dOt(204,1966,{204:1},HY),EWt.Fb=function(t){return!!iN(t,204)&&wR(this.a,$z(t,204).a)},EWt.ee=function(){return qw},EWt.Hb=function(){return wyt(this.a)},EWt.je=function(){return this},EWt.Ib=function(){return yIt(this.a)},bY(EVt,"JSONString",204),dOt(1962,1,{525:1}),bY(LVt,"OutputStream",1962),dOt(1963,1962,{525:1}),bY(LVt,"FilterOutputStream",1963),dOt(866,1963,{525:1},O),bY(LVt,"PrintStream",866),dOt(418,1,{475:1}),EWt.Ib=function(){return this.a},bY(BWt,"AbstractStringBuilder",418),dOt(529,60,FXt,Av),bY(BWt,"ArithmeticException",529),dOt(73,60,NVt,uy,Mv),bY(BWt,"IndexOutOfBoundsException",73),dOt(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Ey,kx),bY(BWt,"ArrayIndexOutOfBoundsException",320),dOt(528,60,FXt,ly,Iv),bY(BWt,"ArrayStoreException",528),dOt(289,78,DVt,Ov),bY(BWt,"Error",289),dOt(194,289,DVt,cy,g5),bY(BWt,"AssertionError",194),SWt={3:1,476:1,35:1};var wee,yee,mee,vee=bY(BWt,"Boolean",476);dOt(236,1,{3:1,236:1}),bY(BWt,"Number",236),dOt(217,236,{3:1,217:1,35:1,236:1},Id),EWt.wd=function(t){return Rx(this,$z(t,217))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iN(t,217)&&$z(t,217).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return""+this.a},EWt.a=0;var xee,kee=bY(BWt,"Byte",217);dOt(172,1,{3:1,172:1,35:1},Od),EWt.wd=function(t){return $x(this,$z(t,172))},EWt.Fb=function(t){return iN(t,172)&&$z(t,172).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return String.fromCharCode(this.a)},EWt.a=0;var _ee,Eee,Tee=bY(BWt,"Character",172);dOt(205,60,{3:1,205:1,102:1,60:1,78:1},hy,Bv),bY(BWt,"ClassCastException",205),AWt={3:1,35:1,333:1,236:1};var Cee=bY(BWt,"Double",333);dOt(155,236,{3:1,35:1,155:1,236:1},Ld,Dy),EWt.wd=function(t){return $I(this,$z(t,155))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iN(t,155)&&bR(this.a,$z(t,155).a)},EWt.Hb=function(){return CZ(this.a)},EWt.Ib=function(){return""+this.a},EWt.a=0;var See=bY(BWt,"Float",155);dOt(32,60,{3:1,102:1,32:1,60:1,78:1},fy,jv,$ut),bY(BWt,"IllegalArgumentException",32),dOt(71,60,FXt,dy,Rv),bY(BWt,"IllegalStateException",71),dOt(19,236,{3:1,35:1,19:1,236:1},Nd),EWt.wd=function(t){return FI(this,$z(t,19))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iN(t,19)&&$z(t,19).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return""+this.a},EWt.a=0;var Aee,Mee,Iee=bY(BWt,"Integer",19);dOt(162,236,{3:1,35:1,162:1,236:1},Dd),EWt.wd=function(t){return zI(this,$z(t,162))},EWt.ke=function(){return v2(this.a)},EWt.Fb=function(t){return iN(t,162)&&WM($z(t,162).a,this.a)},EWt.Hb=function(){return dG(this.a)},EWt.Ib=function(){return""+bq(this.a)},EWt.a=0;var Oee,Lee,Nee,Dee,Pee,Bee=bY(BWt,"Long",162);dOt(2039,1,{}),dOt(1831,60,FXt,$v),bY(BWt,"NegativeArraySizeException",1831),dOt(173,598,{3:1,102:1,173:1,60:1,78:1},gy,Fv),EWt.Wd=function(t){return new TypeError(t)},bY(BWt,"NullPointerException",173),dOt(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},_x),bY(BWt,"NumberFormatException",127),dOt(184,236,{3:1,35:1,236:1,184:1},Pd),EWt.wd=function(t){return Fx(this,$z(t,184))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iN(t,184)&&$z(t,184).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return""+this.a},EWt.a=0;var jee,Ree=bY(BWt,"Short",184);dOt(310,1,{3:1,310:1},TX),EWt.Fb=function(t){var e;return!!iN(t,310)&&(e=$z(t,310),this.c==e.c&&this.d==e.d&&this.a==e.a&&this.b==e.b)},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[nft(this.c),this.a,this.d,this.b]))},EWt.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},EWt.c=0;var $ee=bY(BWt,"StackTraceElement",310);MWt={3:1,475:1,35:1,2:1};var Fee,zee=bY(BWt,HXt,2);dOt(107,418,{475:1},Ex,Tx,uD),bY(BWt,"StringBuffer",107),dOt(100,418,{475:1},Cx,Sx,lD),bY(BWt,"StringBuilder",100),dOt(687,73,NVt,Ax),bY(BWt,"StringIndexOutOfBoundsException",687),dOt(2043,1,{}),dOt(844,1,{},P),EWt.Kb=function(t){return $z(t,78).e},bY(BWt,"Throwable/lambda$0$Type",844),dOt(41,60,{3:1,102:1,60:1,78:1,41:1},py,Jv),bY(BWt,"UnsupportedOperationException",41),dOt(240,236,{3:1,35:1,236:1,240:1},mtt,f_),EWt.wd=function(t){return Q$t(this,$z(t,240))},EWt.ke=function(){return fCt(eUt(this))},EWt.Fb=function(t){var e;return this===t||!!iN(t,240)&&(e=$z(t,240),this.e==e.e&&0==Q$t(this,e))},EWt.Hb=function(){var t;return 0!=this.b?this.b:this.a<54?(t=lot(this.f),this.b=dG(t0(t,-1)),this.b=33*this.b+dG(t0(mq(t,32),-1)),this.b=17*this.b+CZ(this.e),this.b):(this.b=17*jlt(this.c)+CZ(this.e),this.b)},EWt.Ib=function(){return eUt(this)},EWt.a=0,EWt.b=0,EWt.d=0,EWt.e=0,EWt.f=0;var Hee,Uee,Gee,qee,Kee,Yee,Wee,Xee,Vee=bY("java.math","BigDecimal",240);dOt(91,236,{3:1,35:1,236:1,91:1},Bwt,q6,lK,w_t,Sbt,IO),EWt.wd=function(t){return tbt(this,$z(t,91))},EWt.ke=function(){return fCt(HYt(this,0))},EWt.Fb=function(t){return cgt(this,t)},EWt.Hb=function(){return jlt(this)},EWt.Ib=function(){return HYt(this,0)},EWt.b=-2,EWt.c=0,EWt.d=0,EWt.e=0;var Qee,Zee,Jee,tne,ene,nne,ine,rne,ane,one,sne=bY("java.math","BigInteger",91);dOt(488,1967,QWt),EWt.$b=function(){IK(this)},EWt._b=function(t){return cK(this,t)},EWt.uc=function(t){return Lut(this,t,this.g)||Lut(this,t,this.f)},EWt.vc=function(){return new Td(this)},EWt.xc=function(t){return PY(this,t)},EWt.zc=function(t,e){return YW(this,t,e)},EWt.Bc=function(t){return b6(this,t)},EWt.gc=function(){return LE(this)},bY(VWt,"AbstractHashMap",488),dOt(261,JWt,tXt,Td),EWt.$b=function(){this.a.$b()},EWt.Hc=function(t){return w2(this,t)},EWt.Kc=function(){return new out(this.a)},EWt.Mc=function(t){var e;return!!w2(this,t)&&(e=$z(t,42).cd(),this.a.Bc(e),!0)},EWt.gc=function(){return this.a.gc()},bY(VWt,"AbstractHashMap/EntrySet",261),dOt(262,1,XWt,out),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return tnt(this)},EWt.Ob=function(){return this.b},EWt.Qb=function(){o7(this)},EWt.b=!1,bY(VWt,"AbstractHashMap/EntrySetIterator",262),dOt(417,1,XWt,Ed),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return rC(this)},EWt.Pb=function(){return wV(this)},EWt.Qb=function(){uW(this)},EWt.b=0,EWt.c=-1,bY(VWt,"AbstractList/IteratorImpl",417),dOt(96,417,rXt,_2),EWt.Qb=function(){uW(this)},EWt.Rb=function(t){yj(this,t)},EWt.Sb=function(){return this.b>0},EWt.Tb=function(){return this.b},EWt.Ub=function(){return TP(this.b>0),this.a.Xb(this.c=--this.b)},EWt.Vb=function(){return this.b-1},EWt.Wb=function(t){_P(-1!=this.c),this.a._c(this.c,t)},bY(VWt,"AbstractList/ListIteratorImpl",96),dOt(219,52,LXt,s1),EWt.Vc=function(t,e){OJ(t,this.b),this.c.Vc(this.a+t,e),++this.b},EWt.Xb=function(t){return l1(t,this.b),this.c.Xb(this.a+t)},EWt.$c=function(t){var e;return l1(t,this.b),e=this.c.$c(this.a+t),--this.b,e},EWt._c=function(t,e){return l1(t,this.b),this.c._c(this.a+t,e)},EWt.gc=function(){return this.b},EWt.a=0,EWt.b=0,bY(VWt,"AbstractList/SubList",219),dOt(384,JWt,tXt,Cd),EWt.$b=function(){this.a.$b()},EWt.Hc=function(t){return this.a._b(t)},EWt.Kc=function(){return new Sd(this.a.vc().Kc())},EWt.Mc=function(t){return!!this.a._b(t)&&(this.a.Bc(t),!0)},EWt.gc=function(){return this.a.gc()},bY(VWt,"AbstractMap/1",384),dOt(691,1,XWt,Sd),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).cd()},EWt.Qb=function(){this.a.Qb()},bY(VWt,"AbstractMap/1/1",691),dOt(226,28,ZWt,Ad),EWt.$b=function(){this.a.$b()},EWt.Hc=function(t){return this.a.uc(t)},EWt.Kc=function(){return new Bd(this.a.vc().Kc())},EWt.gc=function(){return this.a.gc()},bY(VWt,"AbstractMap/2",226),dOt(294,1,XWt,Bd),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).dd()},EWt.Qb=function(){this.a.Qb()},bY(VWt,"AbstractMap/2/1",294),dOt(484,1,{484:1,42:1}),EWt.Fb=function(t){var e;return!!iN(t,42)&&(e=$z(t,42),iX(this.d,e.cd())&&iX(this.e,e.dd()))},EWt.cd=function(){return this.d},EWt.dd=function(){return this.e},EWt.Hb=function(){return BO(this.d)^BO(this.e)},EWt.ed=function(t){return pj(this,t)},EWt.Ib=function(){return this.d+"="+this.e},bY(VWt,"AbstractMap/AbstractEntry",484),dOt(383,484,{484:1,383:1,42:1},TC),bY(VWt,"AbstractMap/SimpleEntry",383),dOt(1984,1,WVt),EWt.Fb=function(t){var e;return!!iN(t,42)&&(e=$z(t,42),iX(this.cd(),e.cd())&&iX(this.dd(),e.dd()))},EWt.Hb=function(){return BO(this.cd())^BO(this.dd())},EWt.Ib=function(){return this.cd()+"="+this.dd()},bY(VWt,oXt,1984),dOt(1992,1967,eXt),EWt.tc=function(t){return z5(this,t)},EWt._b=function(t){return DR(this,t)},EWt.vc=function(){return new $d(this)},EWt.xc=function(t){return zM(hut(this,t))},EWt.ec=function(){return new jd(this)},bY(VWt,"AbstractNavigableMap",1992),dOt(739,JWt,tXt,$d),EWt.Hc=function(t){return iN(t,42)&&z5(this.b,$z(t,42))},EWt.Kc=function(){return new $j(this.b)},EWt.Mc=function(t){var e;return!!iN(t,42)&&(e=$z(t,42),U8(this.b,e))},EWt.gc=function(){return this.b.c},bY(VWt,"AbstractNavigableMap/EntrySet",739),dOt(493,JWt,iXt,jd),EWt.Nc=function(){return new fC(this)},EWt.$b=function(){wv(this.a)},EWt.Hc=function(t){return DR(this.a,t)},EWt.Kc=function(){return new Rd(new $j(new ND(this.a).b))},EWt.Mc=function(t){return!!DR(this.a,t)&&(IZ(this.a,t),!0)},EWt.gc=function(){return this.a.c},bY(VWt,"AbstractNavigableMap/NavigableKeySet",493),dOt(494,1,XWt,Rd),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return rC(this.a.a)},EWt.Pb=function(){return wP(this.a).cd()},EWt.Qb=function(){t$(this.a)},bY(VWt,"AbstractNavigableMap/NavigableKeySet/1",494),dOt(2004,28,ZWt),EWt.Fc=function(t){return R8(eTt(this,t)),!0},EWt.Gc=function(t){return mW(t),bH(t!=this,"Can't add a queue to itself"),$rt(this,t)},EWt.$b=function(){for(;null!=wtt(this););},bY(VWt,"AbstractQueue",2004),dOt(302,28,{4:1,20:1,28:1,14:1},Ow,d1),EWt.Fc=function(t){return f3(this,t),!0},EWt.$b=function(){o4(this)},EWt.Hc=function(t){return dst(new hX(this),t)},EWt.dc=function(){return Kv(this)},EWt.Kc=function(){return new hX(this)},EWt.Mc=function(t){return HZ(new hX(this),t)},EWt.gc=function(){return this.c-this.b&this.a.length-1},EWt.Nc=function(){return new f1(this,272)},EWt.Qc=function(t){var e;return e=this.c-this.b&this.a.length-1,t.length<e&&(t=zx(new Array(e),t)),ort(this,t,e),t.length>e&&IY(t,e,null),t},EWt.b=0,EWt.c=0,bY(VWt,"ArrayDeque",302),dOt(446,1,XWt,hX),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.a!=this.b},EWt.Pb=function(){return Rlt(this)},EWt.Qb=function(){eit(this)},EWt.a=0,EWt.b=0,EWt.c=-1,bY(VWt,"ArrayDeque/IteratorImpl",446),dOt(12,52,XVt,Lw,V6,JR),EWt.Vc=function(t,e){mG(this,t,e)},EWt.Fc=function(t){return Kz(this,t)},EWt.Wc=function(t,e){return slt(this,t,e)},EWt.Gc=function(t){return pst(this,t)},EWt.$b=function(){this.c=N8(Ite,zWt,1,0,5,1)},EWt.Hc=function(t){return-1!=x9(this,t,0)},EWt.Jc=function(t){Met(this,t)},EWt.Xb=function(t){return NU(this,t)},EWt.Xc=function(t){return x9(this,t,0)},EWt.dc=function(){return 0==this.c.length},EWt.Kc=function(){return new Kd(this)},EWt.$c=function(t){return s6(this,t)},EWt.Mc=function(t){return y9(this,t)},EWt.Ud=function(t,e){c1(this,t,e)},EWt._c=function(t,e){return i5(this,t,e)},EWt.gc=function(){return this.c.length},EWt.ad=function(t){wL(this,t)},EWt.Pc=function(){return hP(this)},EWt.Qc=function(t){return Xbt(this,t)};var cne,une,lne,hne,fne,dne,gne,pne,bne,wne=bY(VWt,"ArrayList",12);dOt(7,1,XWt,Kd),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return yL(this)},EWt.Pb=function(){return Z1(this)},EWt.Qb=function(){MK(this)},EWt.a=0,EWt.b=-1,bY(VWt,"ArrayList/1",7),dOt(2013,i.Function,{},E),EWt.te=function(t,e){return Cft(t,e)},dOt(154,52,VVt,Vv),EWt.Hc=function(t){return-1!=fit(this,t)},EWt.Jc=function(t){var e,n,i,r;for(mW(t),i=0,r=(n=this.a).length;i<r;++i)e=n[i],t.td(e)},EWt.Xb=function(t){return DU(this,t)},EWt._c=function(t,e){var n;return l1(t,this.a.length),n=this.a[t],IY(this.a,t,e),n},EWt.gc=function(){return this.a.length},EWt.ad=function(t){yG(this.a,this.a.length,t)},EWt.Pc=function(){return Vbt(this,N8(Ite,zWt,1,this.a.length,5,1))},EWt.Qc=function(t){return Vbt(this,t)},bY(VWt,"Arrays/ArrayList",154),dOt(940,52,VVt,C),EWt.Hc=function(t){return!1},EWt.Xb=function(t){return yI(t)},EWt.Kc=function(){return EV(),OE(),hne},EWt.Yc=function(){return EV(),OE(),hne},EWt.gc=function(){return 0},bY(VWt,"Collections/EmptyList",940),dOt(941,1,rXt,S),EWt.Nb=function(t){uK(this,t)},EWt.Rb=function(t){throw Fw(new py)},EWt.Ob=function(){return!1},EWt.Sb=function(){return!1},EWt.Pb=function(){throw Fw(new yy)},EWt.Tb=function(){return 0},EWt.Ub=function(){throw Fw(new yy)},EWt.Vb=function(){return-1},EWt.Qb=function(){throw Fw(new dy)},EWt.Wb=function(t){throw Fw(new dy)},bY(VWt,"Collections/EmptyListIterator",941),dOt(943,1967,xXt,A),EWt._b=function(t){return!1},EWt.uc=function(t){return!1},EWt.vc=function(){return EV(),lne},EWt.xc=function(t){return null},EWt.ec=function(){return EV(),lne},EWt.gc=function(){return 0},EWt.Cc=function(){return EV(),cne},bY(VWt,"Collections/EmptyMap",943),dOt(942,JWt,_Xt,T),EWt.Hc=function(t){return!1},EWt.Kc=function(){return EV(),OE(),hne},EWt.gc=function(){return 0},bY(VWt,"Collections/EmptySet",942),dOt(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},Hd),EWt.Hc=function(t){return iX(this.a,t)},EWt.Xb=function(t){return l1(t,1),this.a},EWt.gc=function(){return 1},bY(VWt,"Collections/SingletonList",599),dOt(372,1,wXt,Fd),EWt.Jc=function(t){t5(this,t)},EWt.Lc=function(){return new PU(null,this.Nc())},EWt.Nc=function(){return new f1(this,0)},EWt.Oc=function(){return new PU(null,this.Nc())},EWt.Fc=function(t){return o_()},EWt.Gc=function(t){return s_()},EWt.$b=function(){c_()},EWt.Hc=function(t){return NE(this,t)},EWt.Ic=function(t){return DE(this,t)},EWt.dc=function(){return this.b.dc()},EWt.Kc=function(){return new zd(this.b.Kc())},EWt.Mc=function(t){return u_()},EWt.gc=function(){return this.b.gc()},EWt.Pc=function(){return this.b.Pc()},EWt.Qc=function(t){return PE(this,t)},EWt.Ib=function(){return Fdt(this.b)},bY(VWt,"Collections/UnmodifiableCollection",372),dOt(371,1,XWt,zd),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.b.Ob()},EWt.Pb=function(){return this.b.Pb()},EWt.Qb=function(){l_()},bY(VWt,"Collections/UnmodifiableCollectionIterator",371),dOt(531,372,QVt,hD),EWt.Nc=function(){return new f1(this,16)},EWt.Vc=function(t,e){throw Fw(new py)},EWt.Wc=function(t,e){throw Fw(new py)},EWt.Fb=function(t){return Nht(this.a,t)},EWt.Xb=function(t){return this.a.Xb(t)},EWt.Hb=function(){return Jct(this.a)},EWt.Xc=function(t){return this.a.Xc(t)},EWt.dc=function(){return this.a.dc()},EWt.Yc=function(){return new fD(this.a.Zc(0))},EWt.Zc=function(t){return new fD(this.a.Zc(t))},EWt.$c=function(t){throw Fw(new py)},EWt._c=function(t,e){throw Fw(new py)},EWt.ad=function(t){throw Fw(new py)},EWt.bd=function(t,e){return new hD(this.a.bd(t,e))},bY(VWt,"Collections/UnmodifiableList",531),dOt(690,371,rXt,fD),EWt.Qb=function(){l_()},EWt.Rb=function(t){throw Fw(new py)},EWt.Sb=function(){return this.a.Sb()},EWt.Tb=function(){return this.a.Tb()},EWt.Ub=function(){return this.a.Ub()},EWt.Vb=function(){return this.a.Vb()},EWt.Wb=function(t){throw Fw(new py)},bY(VWt,"Collections/UnmodifiableListIterator",690),dOt(600,1,QWt,qd),EWt.wc=function(t){Jat(this,t)},EWt.yc=function(t,e,n){return Zft(this,t,e,n)},EWt.$b=function(){throw Fw(new py)},EWt._b=function(t){return this.c._b(t)},EWt.uc=function(t){return jE(this,t)},EWt.vc=function(){return tX(this)},EWt.Fb=function(t){return $E(this,t)},EWt.xc=function(t){return this.c.xc(t)},EWt.Hb=function(){return Jct(this.c)},EWt.dc=function(){return this.c.dc()},EWt.ec=function(){return eX(this)},EWt.zc=function(t,e){throw Fw(new py)},EWt.Bc=function(t){throw Fw(new py)},EWt.gc=function(){return this.c.gc()},EWt.Ib=function(){return Fdt(this.c)},EWt.Cc=function(){return JW(this)},bY(VWt,"Collections/UnmodifiableMap",600),dOt(382,372,kXt,Mx),EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return Nht(this.b,t)},EWt.Hb=function(){return Jct(this.b)},bY(VWt,"Collections/UnmodifiableSet",382),dOt(944,382,kXt,Ox),EWt.Hc=function(t){return BE(this,t)},EWt.Ic=function(t){return this.b.Ic(t)},EWt.Kc=function(){return new Ud(this.b.Kc())},EWt.Pc=function(){var t;return v4(t=this.b.Pc(),t.length),t},EWt.Qc=function(t){return SQ(this,t)},bY(VWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),dOt(945,1,XWt,Ud),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return new Gd($z(this.a.Pb(),42))},EWt.Ob=function(){return this.a.Ob()},EWt.Qb=function(){throw Fw(new py)},bY(VWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),dOt(688,1,WVt,Gd),EWt.Fb=function(t){return this.a.Fb(t)},EWt.cd=function(){return this.a.cd()},EWt.dd=function(){return this.a.dd()},EWt.Hb=function(){return this.a.Hb()},EWt.ed=function(t){throw Fw(new py)},EWt.Ib=function(){return Fdt(this.a)},bY(VWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),dOt(601,531,{20:1,14:1,15:1,54:1},Ix),bY(VWt,"Collections/UnmodifiableRandomAccessList",601),dOt(689,382,EXt,dD),EWt.Nc=function(){return new fC(this)},EWt.Fb=function(t){return Nht(this.a,t)},EWt.Hb=function(){return Jct(this.a)},bY(VWt,"Collections/UnmodifiableSortedSet",689),dOt(847,1,ZVt,B),EWt.ue=function(t,e){var n;return 0!=(n=k4($z(t,11),$z(e,11)))?n:J$t($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(VWt,"Comparator/lambda$0$Type",847),dOt(751,1,ZVt,j),EWt.ue=function(t,e){return jU($z(t,35),$z(e,35))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return TV(),gne},bY(VWt,"Comparators/NaturalOrderComparator",751),dOt(1177,1,ZVt,R),EWt.ue=function(t,e){return RU($z(t,35),$z(e,35))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return TV(),dne},bY(VWt,"Comparators/ReverseNaturalOrderComparator",1177),dOt(64,1,ZVt,Zd),EWt.Fb=function(t){return this===t},EWt.ue=function(t,e){return this.a.ue(e,t)},EWt.ve=function(){return this.a},bY(VWt,"Comparators/ReversedComparator",64),dOt(166,60,FXt,by),bY(VWt,"ConcurrentModificationException",166),dOt(1904,1,JVt,$),EWt.we=function(t){upt(this,t)},EWt.Ib=function(){return"DoubleSummaryStatistics[count = "+bq(this.a)+", avg = "+(oC(this.a,0)?l6(this)/v2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+l6(this)+"]"},EWt.a=0,EWt.b=jVt,EWt.c=BVt,EWt.d=0,EWt.e=0,EWt.f=0,bY(VWt,"DoubleSummaryStatistics",1904),dOt(1805,60,FXt,wy),bY(VWt,"EmptyStackException",1805),dOt(451,1967,QWt,zdt),EWt.zc=function(t,e){return fj(this,t,e)},EWt.$b=function(){kW(this)},EWt._b=function(t){return aC(this,t)},EWt.uc=function(t){var e,n;for(n=new WE(this.a);n.a<n.c.a.length;)if(e=a4(n),iX(t,this.b[e.g]))return!0;return!1},EWt.vc=function(){return new Jd(this)},EWt.xc=function(t){return oX(this,t)},EWt.Bc=function(t){return LJ(this,t)},EWt.gc=function(){return this.a.c},bY(VWt,"EnumMap",451),dOt(1352,JWt,tXt,Jd),EWt.$b=function(){kW(this.a)},EWt.Hc=function(t){return b2(this,t)},EWt.Kc=function(){return new MU(this.a)},EWt.Mc=function(t){var e;return!!b2(this,t)&&(e=$z(t,42).cd(),LJ(this.a,e),!0)},EWt.gc=function(){return this.a.a.c},bY(VWt,"EnumMap/EntrySet",1352),dOt(1353,1,XWt,MU),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return this.b=a4(this.a),new CC(this.c,this.b)},EWt.Ob=function(){return mL(this.a)},EWt.Qb=function(){_P(!!this.b),LJ(this.c,this.b),this.b=null},bY(VWt,"EnumMap/EntrySetIterator",1353),dOt(1354,1984,WVt,CC),EWt.cd=function(){return this.a},EWt.dd=function(){return this.b.b[this.a.g]},EWt.ed=function(t){return xK(this.b,this.a.g,t)},bY(VWt,"EnumMap/MapEntry",1354),dOt(174,JWt,{20:1,28:1,14:1,174:1,21:1});var yne=bY(VWt,"EnumSet",174);dOt(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},XR),EWt.Fc=function(t){return srt(this,$z(t,22))},EWt.Hc=function(t){return CG(this,t)},EWt.Kc=function(){return new WE(this)},EWt.Mc=function(t){return SG(this,t)},EWt.gc=function(){return this.c},EWt.c=0,bY(VWt,"EnumSet/EnumSetImpl",156),dOt(343,1,XWt,WE),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return a4(this)},EWt.Ob=function(){return mL(this)},EWt.Qb=function(){_P(-1!=this.b),IY(this.c.b,this.b,null),--this.c.c,this.b=-1},EWt.a=-1,EWt.b=-1,bY(VWt,"EnumSet/EnumSetImpl/IteratorImpl",343),dOt(43,488,tQt,Nw,qE,wI),EWt.re=function(t,e){return HM(t)===HM(e)||null!=t&&Nht(t,e)},EWt.se=function(t){return 0|Jct(t)},bY(VWt,"HashMap",43),dOt(53,JWt,eQt,Py,h_,IU),EWt.Fc=function(t){return kK(this,t)},EWt.$b=function(){this.a.$b()},EWt.Hc=function(t){return RE(this,t)},EWt.dc=function(){return 0==this.a.gc()},EWt.Kc=function(){return this.a.ec().Kc()},EWt.Mc=function(t){return tN(this,t)},EWt.gc=function(){return this.a.gc()};var mne,vne=bY(VWt,"HashSet",53);dOt(1781,1,dXt,F),EWt.ud=function(t){iot(this,t)},EWt.Ib=function(){return"IntSummaryStatistics[count = "+bq(this.a)+", avg = "+(oC(this.a,0)?v2(this.d)/v2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+bq(this.d)+"]"},EWt.a=0,EWt.b=RXt,EWt.c=PWt,EWt.d=0,bY(VWt,"IntSummaryStatistics",1781),dOt(1049,1,bXt,tO),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new E2(this)},EWt.c=0,bY(VWt,"InternalHashCodeMap",1049),dOt(711,1,XWt,E2),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return this.d=this.a[this.c++],this.d},EWt.Ob=function(){var t;return this.c<this.a.length||!(t=this.b.next()).done&&(this.a=t.value[1],this.c=0,!0)},EWt.Qb=function(){pOt(this.e,this.d.cd()),0!=this.c&&--this.c},EWt.c=0,EWt.d=null,bY(VWt,"InternalHashCodeMap/1",711),dOt(1047,1,bXt,eO),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new p4(this)},EWt.c=0,EWt.d=0,bY(VWt,"InternalStringMap",1047),dOt(710,1,XWt,p4),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return this.c=this.a,this.a=this.b.next(),new VR(this.d,this.c,this.d.d)},EWt.Ob=function(){return!this.a.done},EWt.Qb=function(){Uot(this.d,this.c.value[0])},bY(VWt,"InternalStringMap/1",710),dOt(1048,1984,WVt,VR),EWt.cd=function(){return this.b.value[0]},EWt.dd=function(){return this.a.d!=this.c?cC(this.a,this.b.value[0]):this.b.value[1]},EWt.ed=function(t){return odt(this.a,this.b.value[0],t)},EWt.c=0,bY(VWt,"InternalStringMap/2",1048),dOt(228,43,tQt,b4,z8),EWt.$b=function(){mj(this)},EWt._b=function(t){return lC(this,t)},EWt.uc=function(t){var e;for(e=this.d.a;e!=this.d;){if(iX(e.e,t))return!0;e=e.a}return!1},EWt.vc=function(){return new eg(this)},EWt.xc=function(t){return ltt(this,t)},EWt.zc=function(t,e){return Qbt(this,t,e)},EWt.Bc=function(t){return m9(this,t)},EWt.gc=function(){return LE(this.e)},EWt.c=!1,bY(VWt,"LinkedHashMap",228),dOt(387,383,{484:1,383:1,387:1,42:1},CP,Zz),bY(VWt,"LinkedHashMap/ChainEntry",387),dOt(701,JWt,tXt,eg),EWt.$b=function(){mj(this.a)},EWt.Hc=function(t){return y2(this,t)},EWt.Kc=function(){return new cW(this)},EWt.Mc=function(t){var e;return!!y2(this,t)&&(e=$z(t,42).cd(),m9(this.a,e),!0)},EWt.gc=function(){return LE(this.a.e)},bY(VWt,"LinkedHashMap/EntrySet",701),dOt(702,1,XWt,cW),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return s7(this)},EWt.Ob=function(){return this.b!=this.c.a.d},EWt.Qb=function(){_P(!!this.a),p2(this.c.a.e,this),PH(this.a),b6(this.c.a.e,this.a.d),hB(this.c.a.e,this),this.a=null},bY(VWt,"LinkedHashMap/EntrySet/EntryIterator",702),dOt(178,53,eQt,uO,OD,OU);var xne=bY(VWt,"LinkedHashSet",178);dOt(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},XE,ZR),EWt.Fc=function(t){return DH(this,t)},EWt.$b=function(){yV(this)},EWt.Zc=function(t){return cwt(this,t)},EWt.gc=function(){return this.b},EWt.b=0;var kne,_ne,Ene,Tne,Cne,Sne=bY(VWt,"LinkedList",68);dOt(970,1,rXt,QR),EWt.Nb=function(t){uK(this,t)},EWt.Rb=function(t){ZK(this,t)},EWt.Ob=function(){return x_(this)},EWt.Sb=function(){return this.b.b!=this.d.a},EWt.Pb=function(){return h3(this)},EWt.Tb=function(){return this.a},EWt.Ub=function(){return G0(this)},EWt.Vb=function(){return this.a-1},EWt.Qb=function(){yet(this)},EWt.Wb=function(t){_P(!!this.c),this.c.c=t},EWt.a=0,EWt.c=null,bY(VWt,"LinkedList/ListIteratorImpl",970),dOt(608,1,{},L),bY(VWt,"LinkedList/Node",608),dOt(1959,1,{}),bY(VWt,"Locale",1959),dOt(861,1959,{},N),EWt.Ib=function(){return""},bY(VWt,"Locale/1",861),dOt(862,1959,{},D),EWt.Ib=function(){return"unknown"},bY(VWt,"Locale/4",862),dOt(109,60,{3:1,102:1,60:1,78:1,109:1},yy,lX),bY(VWt,"NoSuchElementException",109),dOt(404,1,{404:1},bv),EWt.Fb=function(t){var e;return t===this||!!iN(t,404)&&(e=$z(t,404),iX(this.a,e.a))},EWt.Hb=function(){return BO(this.a)},EWt.Ib=function(){return null!=this.a?UWt+mD(this.a)+")":"Optional.empty()"},bY(VWt,"Optional",404),dOt(463,1,{463:1},CI,yP),EWt.Fb=function(t){var e;return t===this||!!iN(t,463)&&(e=$z(t,463),this.a==e.a&&0==Cft(this.b,e.b))},EWt.Hb=function(){return this.a?CZ(this.b):0},EWt.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},EWt.a=!1,EWt.b=0,bY(VWt,"OptionalDouble",463),dOt(517,1,{517:1},SI,mP),EWt.Fb=function(t){var e;return t===this||!!iN(t,517)&&(e=$z(t,517),this.a==e.a&&0==xL(this.b,e.b))},EWt.Hb=function(){return this.a?this.b:0},EWt.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},EWt.a=!1,EWt.b=0,bY(VWt,"OptionalInt",517),dOt(503,2004,ZWt,qq),EWt.Gc=function(t){return nxt(this,t)},EWt.$b=function(){this.b.c=N8(Ite,zWt,1,0,5,1)},EWt.Hc=function(t){return-1!=(null==t?-1:x9(this.b,t,0))},EWt.Kc=function(){return new Yd(this)},EWt.Mc=function(t){return crt(this,t)},EWt.gc=function(){return this.b.c.length},EWt.Nc=function(){return new f1(this,256)},EWt.Pc=function(){return hP(this.b)},EWt.Qc=function(t){return Xbt(this.b,t)},bY(VWt,"PriorityQueue",503),dOt(1277,1,XWt,Yd),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return this.a<this.c.b.c.length},EWt.Pb=function(){return TP(this.a<this.c.b.c.length),this.b=this.a++,NU(this.c.b,this.b)},EWt.Qb=function(){_P(-1!=this.b),urt(this.c,this.a=this.b),this.b=-1},EWt.a=0,EWt.b=-1,bY(VWt,"PriorityQueue/1",1277),dOt(230,1,{230:1},cdt,C4),EWt.a=0,EWt.b=0;var Ane,Mne,Ine,One=0;bY(VWt,"Random",230),dOt(27,1,lXt,f1,UK,CX),EWt.qd=function(){return this.a},EWt.rd=function(){return Dq(this),this.c},EWt.Nb=function(t){Dq(this),this.d.Nb(t)},EWt.sd=function(t){return Ztt(this,t)},EWt.a=0,EWt.c=0,bY(VWt,"Spliterators/IteratorSpliterator",27),dOt(485,27,lXt,fC),bY(VWt,"SortedSet/1",485),dOt(602,1,JVt,Wd),EWt.we=function(t){this.a.td(t)},bY(VWt,"Spliterator/OfDouble/0methodref$accept$Type",602),dOt(603,1,JVt,Xd),EWt.we=function(t){this.a.td(t)},bY(VWt,"Spliterator/OfDouble/1methodref$accept$Type",603),dOt(604,1,dXt,Vd),EWt.ud=function(t){this.a.td(nft(t))},bY(VWt,"Spliterator/OfInt/2methodref$accept$Type",604),dOt(605,1,dXt,Qd),EWt.ud=function(t){this.a.td(nft(t))},bY(VWt,"Spliterator/OfInt/3methodref$accept$Type",605),dOt(617,1,lXt),EWt.Nb=function(t){p_(this,t)},EWt.qd=function(){return this.d},EWt.rd=function(){return this.e},EWt.d=0,EWt.e=0,bY(VWt,"Spliterators/BaseSpliterator",617),dOt(721,617,lXt),EWt.xe=function(t){g_(this,t)},EWt.Nb=function(t){iN(t,182)?g_(this,$z(t,182)):g_(this,new Xd(t))},EWt.sd=function(t){return iN(t,182)?this.ye($z(t,182)):this.ye(new Wd(t))},bY(VWt,"Spliterators/AbstractDoubleSpliterator",721),dOt(720,617,lXt),EWt.xe=function(t){g_(this,t)},EWt.Nb=function(t){iN(t,196)?g_(this,$z(t,196)):g_(this,new Qd(t))},EWt.sd=function(t){return iN(t,196)?this.ye($z(t,196)):this.ye(new Vd(t))},bY(VWt,"Spliterators/AbstractIntSpliterator",720),dOt(540,617,lXt),bY(VWt,"Spliterators/AbstractSpliterator",540),dOt(692,1,lXt),EWt.Nb=function(t){p_(this,t)},EWt.qd=function(){return this.b},EWt.rd=function(){return this.d-this.c},EWt.b=0,EWt.c=0,EWt.d=0,bY(VWt,"Spliterators/BaseArraySpliterator",692),dOt(947,692,lXt,$H),EWt.ze=function(t,e){ik(this,$z(t,38),e)},EWt.Nb=function(t){DY(this,t)},EWt.sd=function(t){return B6(this,t)},bY(VWt,"Spliterators/ArraySpliterator",947),dOt(693,692,lXt,jR),EWt.ze=function(t,e){rk(this,$z(t,182),e)},EWt.xe=function(t){DY(this,t)},EWt.Nb=function(t){iN(t,182)?DY(this,$z(t,182)):DY(this,new Xd(t))},EWt.ye=function(t){return B6(this,t)},EWt.sd=function(t){return iN(t,182)?B6(this,$z(t,182)):B6(this,new Wd(t))},bY(VWt,"Spliterators/DoubleArraySpliterator",693),dOt(1968,1,lXt),EWt.Nb=function(t){p_(this,t)},EWt.qd=function(){return 16448},EWt.rd=function(){return 0},bY(VWt,"Spliterators/EmptySpliterator",1968),dOt(946,1968,lXt,q),EWt.xe=function(t){Rh(t)},EWt.Nb=function(t){iN(t,196)?Rh($z(t,196)):Rh(new Qd(t))},EWt.ye=function(t){return hC(t)},EWt.sd=function(t){return iN(t,196)?hC($z(t,196)):hC(new Vd(t))},bY(VWt,"Spliterators/EmptySpliterator/OfInt",946),dOt(580,52,lQt,jy),EWt.Vc=function(t,e){Bq(t,this.a.c.length+1),mG(this.a,t,e)},EWt.Fc=function(t){return Kz(this.a,t)},EWt.Wc=function(t,e){return Bq(t,this.a.c.length+1),slt(this.a,t,e)},EWt.Gc=function(t){return pst(this.a,t)},EWt.$b=function(){this.a.c=N8(Ite,zWt,1,0,5,1)},EWt.Hc=function(t){return-1!=x9(this.a,t,0)},EWt.Ic=function(t){return sst(this.a,t)},EWt.Jc=function(t){Met(this.a,t)},EWt.Xb=function(t){return Bq(t,this.a.c.length),NU(this.a,t)},EWt.Xc=function(t){return x9(this.a,t,0)},EWt.dc=function(){return 0==this.a.c.length},EWt.Kc=function(){return new Kd(this.a)},EWt.$c=function(t){return Bq(t,this.a.c.length),s6(this.a,t)},EWt.Ud=function(t,e){c1(this.a,t,e)},EWt._c=function(t,e){return Bq(t,this.a.c.length),i5(this.a,t,e)},EWt.gc=function(){return this.a.c.length},EWt.ad=function(t){wL(this.a,t)},EWt.bd=function(t,e){return new s1(this.a,t,e)},EWt.Pc=function(){return hP(this.a)},EWt.Qc=function(t){return Xbt(this.a,t)},EWt.Ib=function(){return LTt(this.a)},bY(VWt,"Vector",580),dOt(809,580,lQt,om),bY(VWt,"Stack",809),dOt(206,1,{206:1},Oot),EWt.Ib=function(){return K0(this)},bY(VWt,"StringJoiner",206),dOt(544,1992,{3:1,83:1,171:1,161:1},KE,Kq),EWt.$b=function(){wv(this)},EWt.vc=function(){return new ND(this)},EWt.zc=function(t,e){return Ect(this,t,e)},EWt.Bc=function(t){return IZ(this,t)},EWt.gc=function(){return this.c},EWt.c=0,bY(VWt,"TreeMap",544),dOt(390,1,XWt,$j),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return wP(this)},EWt.Ob=function(){return rC(this.a)},EWt.Qb=function(){t$(this)},bY(VWt,"TreeMap/EntryIterator",390),dOt(435,739,tXt,ND),EWt.$b=function(){wv(this.a)},bY(VWt,"TreeMap/EntrySet",435),dOt(436,383,{484:1,383:1,42:1,436:1},F8),EWt.b=!1;var Lne=bY(VWt,"TreeMap/Node",436);dOt(621,1,{},U),EWt.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},EWt.a=!1,EWt.b=!1,EWt.c=!1,bY(VWt,"TreeMap/State",621),dOt(297,22,hQt,gC),EWt.Ae=function(){return!1},EWt.Be=function(){return!1};var Nne,Dne,Pne,Bne,jne,Rne=Fnt(VWt,"TreeMap/SubMapType",297,Gte,V2,c$);dOt(1112,297,hQt,OO),EWt.Be=function(){return!0},Fnt(VWt,"TreeMap/SubMapType/1",1112,Rne,null,null),dOt(1113,297,hQt,ML),EWt.Ae=function(){return!0},EWt.Be=function(){return!0},Fnt(VWt,"TreeMap/SubMapType/2",1113,Rne,null,null),dOt(1114,297,hQt,LO),EWt.Ae=function(){return!0},Fnt(VWt,"TreeMap/SubMapType/3",1114,Rne,null,null),dOt(208,JWt,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},Uy,d_),EWt.Nc=function(){return new fC(this)},EWt.Fc=function(t){return QK(this,t)},EWt.$b=function(){wv(this.a)},EWt.Hc=function(t){return DR(this.a,t)},EWt.Kc=function(){return new Rd(new $j(new ND(new jd(this.a).a).b))},EWt.Mc=function(t){return _D(this,t)},EWt.gc=function(){return this.a.c};var $ne=bY(VWt,"TreeSet",208);dOt(966,1,{},ng),EWt.Ce=function(t,e){return DB(this.a,t,e)},bY(fQt,"BinaryOperator/lambda$0$Type",966),dOt(967,1,{},ig),EWt.Ce=function(t,e){return PB(this.a,t,e)},bY(fQt,"BinaryOperator/lambda$1$Type",967),dOt(846,1,{},G),EWt.Kb=function(t){return t},bY(fQt,"Function/lambda$0$Type",846),dOt(431,1,PXt,rg),EWt.Mb=function(t){return!this.a.Mb(t)},bY(fQt,"Predicate/lambda$2$Type",431),dOt(572,1,{572:1});var Fne,zne,Hne=bY(dQt,"Handler",572);dOt(2007,1,jWt),EWt.ne=function(){return"DUMMY"},EWt.Ib=function(){return this.ne()},bY(dQt,"Level",2007),dOt(1621,2007,jWt,K),EWt.ne=function(){return"INFO"},bY(dQt,"Level/LevelInfo",1621),dOt(1640,1,{},By),bY(dQt,"LogManager",1640),dOt(1780,1,jWt,e$),EWt.b=null,bY(dQt,"LogRecord",1780),dOt(512,1,{512:1},y5),EWt.e=!1;var Une=!1,Gne=!1,qne=!1,Kne=!1,Yne=!1;bY(dQt,"Logger",512),dOt(819,572,{572:1},Y),bY(dQt,"SimpleConsoleLogHandler",819),dOt(132,22,{3:1,35:1,22:1,132:1},pC);var Wne,Xne,Vne,Qne,Zne=Fnt(bQt,"Collector/Characteristics",132,Gte,p1,u$);dOt(744,1,{},vK),bY(bQt,"CollectorImpl",744),dOt(1060,1,{},W),EWt.Ce=function(t,e){return Mht($z(t,206),$z(e,206))},bY(bQt,"Collectors/10methodref$merge$Type",1060),dOt(1061,1,{},X),EWt.Kb=function(t){return K0($z(t,206))},bY(bQt,"Collectors/11methodref$toString$Type",1061),dOt(1062,1,{},ag),EWt.Kb=function(t){return cD(),!!kI(t)},bY(bQt,"Collectors/12methodref$test$Type",1062),dOt(251,1,{},z),EWt.Od=function(t,e){$z(t,14).Fc(e)},bY(bQt,"Collectors/20methodref$add$Type",251),dOt(253,1,{},H),EWt.Ee=function(){return new Lw},bY(bQt,"Collectors/21methodref$ctor$Type",253),dOt(346,1,{},V),EWt.Ee=function(){return new Py},bY(bQt,"Collectors/23methodref$ctor$Type",346),dOt(347,1,{},Q),EWt.Od=function(t,e){kK($z(t,53),e)},bY(bQt,"Collectors/24methodref$add$Type",347),dOt(1055,1,{},Z),EWt.Ce=function(t,e){return QE($z(t,15),$z(e,14))},bY(bQt,"Collectors/4methodref$addAll$Type",1055),dOt(1059,1,{},J),EWt.Od=function(t,e){h6($z(t,206),$z(e,475))},bY(bQt,"Collectors/9methodref$add$Type",1059),dOt(1058,1,{},Xz),EWt.Ee=function(){return new Oot(this.a,this.b,this.c)},bY(bQt,"Collectors/lambda$15$Type",1058),dOt(1063,1,{},tt),EWt.Ee=function(){var t;return Qbt(t=new b4,(cD(),!1),new Lw),Qbt(t,!0,new Lw),t},bY(bQt,"Collectors/lambda$22$Type",1063),dOt(1064,1,{},og),EWt.Ee=function(){return Cst(Hx(Ite,1),zWt,1,5,[this.a])},bY(bQt,"Collectors/lambda$25$Type",1064),dOt(1065,1,{},sg),EWt.Od=function(t,e){$U(this.a,ent(t))},bY(bQt,"Collectors/lambda$26$Type",1065),dOt(1066,1,{},cg),EWt.Ce=function(t,e){return jq(this.a,ent(t),ent(e))},bY(bQt,"Collectors/lambda$27$Type",1066),dOt(1067,1,{},et),EWt.Kb=function(t){return ent(t)[0]},bY(bQt,"Collectors/lambda$28$Type",1067),dOt(713,1,{},nt),EWt.Ce=function(t,e){return FU(t,e)},bY(bQt,"Collectors/lambda$4$Type",713),dOt(252,1,{},it),EWt.Ce=function(t,e){return HE($z(t,14),$z(e,14))},bY(bQt,"Collectors/lambda$42$Type",252),dOt(348,1,{},rt),EWt.Ce=function(t,e){return UE($z(t,53),$z(e,53))},bY(bQt,"Collectors/lambda$50$Type",348),dOt(349,1,{},at),EWt.Kb=function(t){return $z(t,53)},bY(bQt,"Collectors/lambda$51$Type",349),dOt(1054,1,{},ug),EWt.Od=function(t,e){fut(this.a,$z(t,83),e)},bY(bQt,"Collectors/lambda$7$Type",1054),dOt(1056,1,{},ot),EWt.Ce=function(t,e){return bst($z(t,83),$z(e,83),new Z)},bY(bQt,"Collectors/lambda$8$Type",1056),dOt(1057,1,{},lg),EWt.Kb=function(t){return ydt(this.a,$z(t,83))},bY(bQt,"Collectors/lambda$9$Type",1057),dOt(539,1,{}),EWt.He=function(){vW(this)},EWt.d=!1,bY(bQt,"TerminatableStream",539),dOt(812,539,wQt,MB),EWt.He=function(){vW(this)},bY(bQt,"DoubleStreamImpl",812),dOt(1784,721,lXt,Qz),EWt.ye=function(t){return bmt(this,$z(t,182))},EWt.a=null,bY(bQt,"DoubleStreamImpl/2",1784),dOt(1785,1,JVt,hg),EWt.we=function(t){FO(this.a,t)},bY(bQt,"DoubleStreamImpl/2/lambda$0$Type",1785),dOt(1782,1,JVt,fg),EWt.we=function(t){$O(this.a,t)},bY(bQt,"DoubleStreamImpl/lambda$0$Type",1782),dOt(1783,1,JVt,dg),EWt.we=function(t){upt(this.a,t)},bY(bQt,"DoubleStreamImpl/lambda$2$Type",1783),dOt(1358,720,lXt,w5),EWt.ye=function(t){return m2(this,$z(t,196))},EWt.a=0,EWt.b=0,EWt.c=0,bY(bQt,"IntStream/5",1358),dOt(787,539,wQt,IB),EWt.He=function(){vW(this)},EWt.Ie=function(){return xW(this),this.a},bY(bQt,"IntStreamImpl",787),dOt(788,539,wQt,YE),EWt.He=function(){vW(this)},EWt.Ie=function(){return xW(this),SN(),Ine},bY(bQt,"IntStreamImpl/Empty",788),dOt(1463,1,dXt,gg),EWt.ud=function(t){iot(this.a,t)},bY(bQt,"IntStreamImpl/lambda$4$Type",1463);var Jne,tie=hU(bQt,"Stream");dOt(30,539,{525:1,670:1,833:1},PU),EWt.He=function(){vW(this)},bY(bQt,"StreamImpl",30),dOt(845,1,{},st),EWt.ld=function(t){return lH(t)},bY(bQt,"StreamImpl/0methodref$lambda$2$Type",845),dOt(1084,540,lXt,BR),EWt.sd=function(t){for(;I7(this);){if(this.a.sd(t))return!0;vW(this.b),this.b=null,this.a=null}return!1},bY(bQt,"StreamImpl/1",1084),dOt(1085,1,hXt,pg),EWt.td=function(t){eH(this.a,$z(t,833))},bY(bQt,"StreamImpl/1/lambda$0$Type",1085),dOt(1086,1,PXt,bg),EWt.Mb=function(t){return kK(this.a,t)},bY(bQt,"StreamImpl/1methodref$add$Type",1086),dOt(1087,540,lXt,bV),EWt.sd=function(t){var e;return this.a||(e=new Lw,this.b.a.Nb(new wg(e)),EV(),wL(e,this.c),this.a=new f1(e,16)),Ztt(this.a,t)},EWt.a=null,bY(bQt,"StreamImpl/5",1087),dOt(1088,1,hXt,wg),EWt.td=function(t){Kz(this.a,t)},bY(bQt,"StreamImpl/5/2methodref$add$Type",1088),dOt(722,540,lXt,W7),EWt.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new MC(this,t)););return this.b},EWt.b=!1,bY(bQt,"StreamImpl/FilterSpliterator",722),dOt(1079,1,hXt,MC),EWt.td=function(t){Pq(this.a,this.b,t)},bY(bQt,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),dOt(1075,721,lXt,x6),EWt.ye=function(t){return vR(this,$z(t,182))},bY(bQt,"StreamImpl/MapToDoubleSpliterator",1075),dOt(1078,1,hXt,IC),EWt.td=function(t){vC(this.a,this.b,t)},bY(bQt,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),dOt(1074,720,lXt,k6),EWt.ye=function(t){return xR(this,$z(t,196))},bY(bQt,"StreamImpl/MapToIntSpliterator",1074),dOt(1077,1,hXt,OC),EWt.td=function(t){mC(this.a,this.b,t)},bY(bQt,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),dOt(719,540,lXt,_6),EWt.sd=function(t){return kR(this,t)},bY(bQt,"StreamImpl/MapToObjSpliterator",719),dOt(1076,1,hXt,LC),EWt.td=function(t){xC(this.a,this.b,t)},bY(bQt,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),dOt(618,1,hXt,ct),EWt.td=function(t){Sf(this,t)},bY(bQt,"StreamImpl/ValueConsumer",618),dOt(1080,1,hXt,ut),EWt.td=function(t){dT()},bY(bQt,"StreamImpl/lambda$0$Type",1080),dOt(1081,1,hXt,lt),EWt.td=function(t){dT()},bY(bQt,"StreamImpl/lambda$1$Type",1081),dOt(1082,1,{},yg),EWt.Ce=function(t,e){return R$(this.a,t,e)},bY(bQt,"StreamImpl/lambda$4$Type",1082),dOt(1083,1,hXt,SC),EWt.td=function(t){xj(this.b,this.a,t)},bY(bQt,"StreamImpl/lambda$5$Type",1083),dOt(1089,1,hXt,mg),EWt.td=function(t){zct(this.a,$z(t,365))},bY(bQt,"TerminatableStream/lambda$0$Type",1089),dOt(2041,1,{}),dOt(1914,1,{},ht),bY("javaemul.internal","ConsoleLogger",1914),dOt(2038,1,{});var eie,nie,iie=0,rie=0;dOt(1768,1,hXt,ft),EWt.td=function(t){$z(t,308)},bY(_Qt,"BowyerWatsonTriangulation/lambda$0$Type",1768),dOt(1769,1,hXt,vg),EWt.td=function(t){$rt(this.a,$z(t,308).e)},bY(_Qt,"BowyerWatsonTriangulation/lambda$1$Type",1769),dOt(1770,1,hXt,dt),EWt.td=function(t){$z(t,168)},bY(_Qt,"BowyerWatsonTriangulation/lambda$2$Type",1770),dOt(1765,1,EQt,xg),EWt.ue=function(t,e){return z3(this.a,$z(t,168),$z(e,168))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(_Qt,"NaiveMinST/lambda$0$Type",1765),dOt(499,1,{},kg),bY(_Qt,"NodeMicroLayout",499),dOt(168,1,{168:1},NC),EWt.Fb=function(t){var e;return!!iN(t,168)&&(e=$z(t,168),iX(this.a,e.a)&&iX(this.b,e.b)||iX(this.a,e.b)&&iX(this.b,e.a))},EWt.Hb=function(){return BO(this.a)+BO(this.b)};var aie=bY(_Qt,"TEdge",168);dOt(308,1,{308:1},ZFt),EWt.Fb=function(t){var e;return!!iN(t,308)&&B9(this,(e=$z(t,308)).a)&&B9(this,e.b)&&B9(this,e.c)},EWt.Hb=function(){return BO(this.a)+BO(this.b)+BO(this.c)},bY(_Qt,"TTriangle",308),dOt(221,1,{221:1},CL),bY(_Qt,"Tree",221),dOt(1254,1,{},SJ),bY(TQt,"Scanline",1254);var oie=hU(TQt,CQt);dOt(1692,1,{},het),bY(SQt,"CGraph",1692),dOt(307,1,{307:1},iJ),EWt.b=0,EWt.c=0,EWt.d=0,EWt.g=0,EWt.i=0,EWt.k=jVt,bY(SQt,"CGroup",307),dOt(815,1,{},qy),bY(SQt,"CGroup/CGroupBuilder",815),dOt(57,1,{57:1},Mj),EWt.Ib=function(){return this.j?EB(this.j.Kb(this)):(xB(cie),cie.o+"@"+(TD(this)>>>0).toString(16))},EWt.f=0,EWt.i=jVt;var sie,cie=bY(SQt,"CNode",57);dOt(814,1,{},Ky),bY(SQt,"CNode/CNodeBuilder",814),dOt(1525,1,{},gt),EWt.Oe=function(t,e){return 0},EWt.Pe=function(t,e){return 0},bY(SQt,MQt,1525),dOt(1790,1,{},pt),EWt.Le=function(t){var e,n,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=BVt,r=new Kd(t.a.b);r.a<r.c.c.length;)e=$z(Z1(r),57),l=i.Math.min(l,e.a.j.d.c+e.b.a);for(g=new XE,s=new Kd(t.a.a);s.a<s.c.c.length;)(o=$z(Z1(s),307)).k=l,0==o.g&&n5(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=$z(0==g.b?null:(TP(0!=g.b),Iet(g,g.a.a)),307)).j.d.c,d=o.a.a.ec().Kc();d.Ob();)h=$z(d.Pb(),57),b=o.k+h.b.a,!Ult(t,o,t.d)||h.d.c<b?h.i=b:h.i=h.d.c;for(a-=o.j.i,o.b+=a,t.d==($ht(),$Se)||t.d==jSe?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=$z(f.Pb(),57)).c.Kc();u.Ob();)c=$z(u.Pb(),57),p=dO(t.d)?t.g.Oe(h,c):t.g.Pe(h,c),c.a.k=i.Math.max(c.a.k,h.i+h.d.b+p-c.b.a),iQ(t,c,t.d)&&(c.a.k=i.Math.max(c.a.k,c.d.c-c.b.a)),--c.a.g,0==c.a.g&&DH(g,c.a)}for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Z1(n),57)).d.c=e.i},bY(SQt,"LongestPathCompaction",1790),dOt(1690,1,{},mIt),EWt.e=!1;var uie,lie,hie,fie=bY(SQt,DQt,1690);dOt(1691,1,hXt,_g),EWt.td=function(t){nst(this.a,$z(t,46))},bY(SQt,PQt,1691),dOt(1791,1,{},bt),EWt.Me=function(t){var e,n,i,r,a,o;for(e=new Kd(t.a.b);e.a<e.c.c.length;)$z(Z1(e),57).c.$b();for(i=new Kd(t.a.b);i.a<i.c.c.length;)for(n=$z(Z1(i),57),a=new Kd(t.a.b);a.a<a.c.c.length;)n!=(r=$z(Z1(a),57))&&(n.a&&n.a==r.a||(o=dO(t.d)?t.g.Pe(n,r):t.g.Oe(n,r),(r.d.c>n.d.c||n.d.c==r.d.c&&n.d.b<r.d.b)&&Bpt(r.d.d+r.d.a+o,n.d.d)&&jpt(r.d.d,n.d.d+n.d.a+o)&&n.c.Fc(r)))},bY(SQt,"QuadraticConstraintCalculation",1791),dOt(522,1,{522:1},Dw),EWt.a=!1,EWt.b=!1,EWt.c=!1,EWt.d=!1,bY(SQt,BQt,522),dOt(803,1,{},PG),EWt.Me=function(t){this.c=t,bAt(this,new mt)},bY(SQt,jQt,803),dOt(1718,1,{679:1},uQ),EWt.Ke=function(t){RSt(this,$z(t,464))},bY(SQt,RQt,1718),dOt(1719,1,EQt,wt),EWt.ue=function(t,e){return aV($z(t,57),$z(e,57))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(SQt,$Qt,1719),dOt(464,1,{464:1},AC),EWt.a=!1,bY(SQt,FQt,464),dOt(1720,1,EQt,yt),EWt.ue=function(t,e){return Qxt($z(t,464),$z(e,464))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(SQt,zQt,1720),dOt(1721,1,HQt,mt),EWt.Lb=function(t){return $z(t,57),!0},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return $z(t,57),!0},bY(SQt,"ScanlineConstraintCalculator/lambda$1$Type",1721),dOt(428,22,{3:1,35:1,22:1,428:1},RC);var die,gie,pie,bie=Fnt(UQt,"HighLevelSortingCriterion",428,Gte,nZ,l$);dOt(427,22,{3:1,35:1,22:1,427:1},$C);var wie,yie,mie,vie,xie,kie,_ie,Eie,Tie,Cie,Sie=Fnt(UQt,"LowLevelSortingCriterion",427,Gte,iZ,h$),Aie=hU(GQt,"ILayoutMetaDataProvider");dOt(853,1,XQt,Hl),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,qQt),VQt),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),Cie),(CSt(),pTe)),$ie),Jft((iwt(),uTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,KQt),VQt),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),Eie),pTe),Sie),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,YQt),VQt),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),kie),pTe),bie),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,WQt),VQt),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(cD(),!0)),dTe),vee),Jft(uTe))))},bY(UQt,"PolyominoOptions",853),dOt(250,22,{3:1,35:1,22:1,250:1},FC);var Mie,Iie,Oie,Lie,Nie,Die,Pie,Bie,jie,Rie,$ie=Fnt(UQt,"TraversalStrategy",250,Gte,_it,f$);dOt(213,1,{213:1},vt),EWt.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},EWt.a=1,EWt.b=0,EWt.c=0,EWt.f=!1,EWt.g=0;var Fie=bY(QQt,"NEdge",213);dOt(176,1,{},Fy),bY(QQt,"NEdge/NEdgeBuilder",176),dOt(653,1,{},Ry),bY(QQt,"NGraph",653),dOt(121,1,{121:1},m6),EWt.c=-1,EWt.d=0,EWt.e=0,EWt.i=-1,EWt.j=!1;var zie=bY(QQt,"NNode",121);dOt(795,1,QVt,$y),EWt.Jc=function(t){t5(this,t)},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.ad=function(t){Rrt(this,t)},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.Vc=function(t,e){++this.b,mG(this.a,t,e)},EWt.Fc=function(t){return PD(this,t)},EWt.Wc=function(t,e){return++this.b,slt(this.a,t,e)},EWt.Gc=function(t){return++this.b,pst(this.a,t)},EWt.$b=function(){++this.b,this.a.c=N8(Ite,zWt,1,0,5,1)},EWt.Hc=function(t){return-1!=x9(this.a,t,0)},EWt.Ic=function(t){return sst(this.a,t)},EWt.Xb=function(t){return NU(this.a,t)},EWt.Xc=function(t){return x9(this.a,t,0)},EWt.dc=function(){return 0==this.a.c.length},EWt.Kc=function(){return O7(new Kd(this.a))},EWt.Yc=function(){throw Fw(new py)},EWt.Zc=function(t){throw Fw(new py)},EWt.$c=function(t){return++this.b,s6(this.a,t)},EWt.Mc=function(t){return BD(this,t)},EWt._c=function(t,e){return++this.b,i5(this.a,t,e)},EWt.gc=function(){return this.a.c.length},EWt.bd=function(t,e){return new s1(this.a,t,e)},EWt.Pc=function(){return hP(this.a)},EWt.Qc=function(t){return Xbt(this.a,t)},EWt.b=0,bY(QQt,"NNode/ChangeAwareArrayList",795),dOt(269,1,{},zy),bY(QQt,"NNode/NNodeBuilder",269),dOt(1630,1,{},xt),EWt.a=!1,EWt.f=PWt,EWt.j=0,bY(QQt,"NetworkSimplex",1630),dOt(1294,1,hXt,Eg),EWt.td=function(t){Hqt(this.a,$z(t,680),!0,!1)},bY(JQt,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),dOt(558,1,{},Tg),EWt.b=!0,EWt.c=!0,EWt.d=!0,EWt.e=!0,bY(JQt,"NodeMarginCalculator",558),dOt(212,1,{212:1}),EWt.j=!1,EWt.k=!1;var Hie=bY(tZt,"Cell",212);dOt(124,212,{124:1,212:1},Rj),EWt.Re=function(){return qH(this)},EWt.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c},bY(tZt,"AtomicCell",124),dOt(232,22,{3:1,35:1,22:1,232:1},zC);var Uie,Gie,qie,Kie,Yie=Fnt(tZt,"ContainerArea",232,Gte,b1,d$);dOt(326,212,nZt),bY(tZt,"ContainerCell",326),dOt(1473,326,nZt,zgt),EWt.Re=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].Re()):t=Vdt(this,qmt(this,!0)),t>0?t+this.n.d+this.n.a:0},EWt.Se=function(){var t,e,n,r,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=Vdt(this,Mxt(this,null,!0));else for(Pet(),n=0,r=(e=Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length;n<r;++n)t=e[n],a=i.Math.max(a,Vdt(this,Mxt(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},EWt.Te=function(){var t,e,n,i,r;if(this.g)for(t=Mxt(this,null,!1),Pet(),i=0,r=(n=Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length;i<r;++i)WPt(this,e=n[i],t);else for(Pet(),i=0,r=(n=Cst(Hx(Yie,1),OXt,232,0,[Uie,Gie,qie])).length;i<r;++i)WPt(this,e=n[i],t=Mxt(this,e,!1))},EWt.Ue=function(){var t,e,n,r;e=this.i,t=this.n,r=qmt(this,!1),W5(this,(Pet(),Uie),e.d+t.d,r),W5(this,qie,e.d+e.a-t.a-r[2],r),n=e.a-t.d-t.a,r[0]>0&&(r[0]+=this.d,n-=r[0]),r[2]>0&&(r[2]+=this.d,n-=r[2]),this.c.a=i.Math.max(0,n),this.c.d=e.d+t.d+(this.c.a-n)/2,r[1]=i.Math.max(r[1],n),W5(this,Gie,e.d+t.d+r[0]-(r[1]-n)/2,r)},EWt.b=null,EWt.d=0,EWt.e=!1,EWt.f=!1,EWt.g=!1;var Wie=0,Xie=0;bY(tZt,"GridContainerCell",1473),dOt(461,22,{3:1,35:1,22:1,461:1},HC);var Vie,Qie,Zie,Jie,tre=Fnt(tZt,"HorizontalLabelAlignment",461,Gte,w1,g$);dOt(306,212,{212:1,306:1},yZ,det,BQ),EWt.Re=function(){return KH(this)},EWt.Se=function(){return YH(this)},EWt.a=0,EWt.c=!1;var ere=bY(tZt,"LabelCell",306);dOt(244,326,{212:1,326:1,244:1},Abt),EWt.Re=function(){return EMt(this)},EWt.Se=function(){return TMt(this)},EWt.Te=function(){RFt(this)},EWt.Ue=function(){UFt(this)},EWt.b=0,EWt.c=0,EWt.d=!1,bY(tZt,"StripContainerCell",244),dOt(1626,1,PXt,kt),EWt.Mb=function(t){return Wv($z(t,212))},bY(tZt,"StripContainerCell/lambda$0$Type",1626),dOt(1627,1,{},_t),EWt.Fe=function(t){return $z(t,212).Se()},bY(tZt,"StripContainerCell/lambda$1$Type",1627),dOt(1628,1,PXt,Et),EWt.Mb=function(t){return Xv($z(t,212))},bY(tZt,"StripContainerCell/lambda$2$Type",1628),dOt(1629,1,{},Tt),EWt.Fe=function(t){return $z(t,212).Re()},bY(tZt,"StripContainerCell/lambda$3$Type",1629),dOt(462,22,{3:1,35:1,22:1,462:1},UC);var nre,ire,rre,are,ore=Fnt(tZt,"VerticalLabelAlignment",462,Gte,y1,p$);dOt(789,1,{},eKt),EWt.c=0,EWt.d=0,EWt.k=0,EWt.s=0,EWt.t=0,EWt.v=!1,EWt.w=0,EWt.D=!1,bY(cZt,"NodeContext",789),dOt(1471,1,EQt,Ct),EWt.ue=function(t,e){return XI($z(t,61),$z(e,61))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(cZt,"NodeContext/0methodref$comparePortSides$Type",1471),dOt(1472,1,EQt,St),EWt.ue=function(t,e){return qEt($z(t,111),$z(e,111))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(cZt,"NodeContext/1methodref$comparePortContexts$Type",1472),dOt(159,22,{3:1,35:1,22:1,159:1},sat);var sre,cre,ure,lre,hre,fre,dre,gre,pre,bre,wre,yre,mre,vre,xre,kre,_re,Ere,Tre,Cre,Sre,Are,Mre,Ire,Ore,Lre=Fnt(cZt,"NodeLabelLocation",159,Gte,twt,b$);dOt(111,1,{111:1},EIt),EWt.a=!1,bY(cZt,"PortContext",111),dOt(1476,1,hXt,At),EWt.td=function(t){C_($z(t,306))},bY(hZt,fZt,1476),dOt(1477,1,PXt,Mt),EWt.Mb=function(t){return!!$z(t,111).c},bY(hZt,dZt,1477),dOt(1478,1,hXt,It),EWt.td=function(t){C_($z(t,111).c)},bY(hZt,"LabelPlacer/lambda$2$Type",1478),dOt(1475,1,hXt,Lt),EWt.td=function(t){zB(),Xw($z(t,111))},bY(hZt,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),dOt(790,1,hXt,I$),EWt.td=function(t){PT(this.b,this.c,this.a,$z(t,181))},EWt.a=!1,EWt.c=!1,bY(hZt,"NodeLabelCellCreator/lambda$0$Type",790),dOt(1474,1,hXt,Cg),EWt.td=function(t){Sy(this.a,$z(t,181))},bY(hZt,"PortContextCreator/lambda$0$Type",1474),dOt(1829,1,{},Nt),bY(pZt,"GreedyRectangleStripOverlapRemover",1829),dOt(1830,1,EQt,Ot),EWt.ue=function(t,e){return RD($z(t,222),$z(e,222))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(pZt,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),dOt(1786,1,{},Qy),EWt.a=5,EWt.e=0,bY(pZt,"RectangleStripOverlapRemover",1786),dOt(1787,1,EQt,Pt),EWt.ue=function(t,e){return $D($z(t,222),$z(e,222))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(pZt,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),dOt(1789,1,EQt,Bt),EWt.ue=function(t,e){return VK($z(t,222),$z(e,222))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(pZt,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),dOt(406,22,{3:1,35:1,22:1,406:1},GC);var Nre,Dre,Pre,Bre,jre,Rre=Fnt(pZt,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Gte,X2,w$);dOt(222,1,{222:1},NG),bY(pZt,"RectangleStripOverlapRemover/RectangleNode",222),dOt(1788,1,hXt,Sg),EWt.td=function(t){Smt(this.a,$z(t,222))},bY(pZt,"RectangleStripOverlapRemover/lambda$1$Type",1788),dOt(1304,1,EQt,jt),EWt.ue=function(t,e){return GHt($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(wZt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),dOt(1307,1,{},Rt),EWt.Kb=function(t){return $z(t,324).a},bY(wZt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),dOt(1308,1,PXt,$t),EWt.Mb=function(t){return $z(t,323).a},bY(wZt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),dOt(1309,1,PXt,Ft),EWt.Mb=function(t){return $z(t,323).a},bY(wZt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),dOt(1302,1,EQt,zt),EWt.ue=function(t,e){return Yjt($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(wZt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),dOt(1305,1,{},Dt),EWt.Kb=function(t){return $z(t,324).a},bY(wZt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),dOt(767,1,EQt,Ht),EWt.ue=function(t,e){return qot($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(wZt,"PolyominoCompactor/MinNumOfExtensionsComparator",767),dOt(1300,1,EQt,Ut),EWt.ue=function(t,e){return Xit($z(t,321),$z(e,321))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(wZt,"PolyominoCompactor/MinPerimeterComparator",1300),dOt(1301,1,EQt,Gt),EWt.ue=function(t,e){return ayt($z(t,321),$z(e,321))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(wZt,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),dOt(1303,1,EQt,qt),EWt.ue=function(t,e){return FRt($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(wZt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),dOt(1306,1,{},Kt),EWt.Kb=function(t){return $z(t,324).a},bY(wZt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),dOt(777,1,{},DC),EWt.Ce=function(t,e){return A2(this,$z(t,46),$z(e,167))},bY(wZt,"SuccessorCombination",777),dOt(644,1,{},Yt),EWt.Ce=function(t,e){var n;return KMt((n=$z(t,46),$z(e,167),n))},bY(wZt,"SuccessorJitter",644),dOt(643,1,{},Wt),EWt.Ce=function(t,e){var n;return fPt((n=$z(t,46),$z(e,167),n))},bY(wZt,"SuccessorLineByLine",643),dOt(568,1,{},Xt),EWt.Ce=function(t,e){var n;return lLt((n=$z(t,46),$z(e,167),n))},bY(wZt,"SuccessorManhattan",568),dOt(1356,1,{},Vt),EWt.Ce=function(t,e){var n;return xDt((n=$z(t,46),$z(e,167),n))},bY(wZt,"SuccessorMaxNormWindingInMathPosSense",1356),dOt(400,1,{},Ag),EWt.Ce=function(t,e){return $K(this,t,e)},EWt.c=!1,EWt.d=!1,EWt.e=!1,EWt.f=!1,bY(wZt,"SuccessorQuadrantsGeneric",400),dOt(1357,1,{},Qt),EWt.Kb=function(t){return $z(t,324).a},bY(wZt,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),dOt(323,22,{3:1,35:1,22:1,323:1},jC),EWt.a=!1;var $re,Fre,zre,Hre,Ure,Gre=Fnt(kZt,_Zt,323,Gte,Z2,y$);dOt(1298,1,{}),EWt.Ib=function(){var t,e,n,i,r,a;for(n=" ",t=nft(0),r=0;r<this.o;r++)n+=""+t.a,t=nft(lj(t.a));for(n+="\n",t=nft(0),a=0;a<this.p;a++){for(n+=""+t.a,t=nft(lj(t.a)),i=0;i<this.o;i++)0==Wlt(e=trt(this,i,a),0)?n+="_":0==Wlt(e,1)?n+="X":n+="0";n+="\n"}return uP(n,0,n.length-1)},EWt.o=0,EWt.p=0,bY(kZt,"TwoBitGrid",1298),dOt(321,1298,{321:1},Hgt),EWt.j=0,EWt.k=0,bY(kZt,"PlanarGrid",321),dOt(167,321,{321:1,167:1}),EWt.g=0,EWt.i=0,bY(kZt,"Polyomino",167);var qre=hU(AZt,MZt);dOt(134,1,IZt,Zt),EWt.Ye=function(t,e){return cct(this,t,e)},EWt.Ve=function(){return HU(this)},EWt.We=function(t){return yTt(this,t)},EWt.Xe=function(t){return OP(this,t)},bY(AZt,"MapPropertyHolder",134),dOt(1299,134,IZt,mPt),bY(kZt,"Polyominoes",1299);var Kre,Yre,Wre,Xre,Vre=!1;dOt(1766,1,hXt,Jt),EWt.td=function(t){oUt($z(t,221))},bY(OZt,"DepthFirstCompaction/0methodref$compactTree$Type",1766),dOt(810,1,hXt,Mg),EWt.td=function(t){BW(this.a,$z(t,221))},bY(OZt,"DepthFirstCompaction/lambda$1$Type",810),dOt(1767,1,hXt,L$),EWt.td=function(t){gbt(this.a,this.b,this.c,$z(t,221))},bY(OZt,"DepthFirstCompaction/lambda$2$Type",1767),dOt(65,1,{65:1},MJ),bY(OZt,"Node",65),dOt(1250,1,{},SL),bY(OZt,"ScanlineOverlapCheck",1250),dOt(1251,1,{679:1},cQ),EWt.Ke=function(t){HB(this,$z(t,440))},bY(OZt,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),dOt(1252,1,EQt,te),EWt.ue=function(t,e){return Dft($z(t,65),$z(e,65))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(OZt,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),dOt(440,1,{440:1},PC),EWt.a=!1,bY(OZt,"ScanlineOverlapCheck/Timestamp",440),dOt(1253,1,EQt,ee),EWt.ue=function(t,e){return Zxt($z(t,440),$z(e,440))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(OZt,"ScanlineOverlapCheck/lambda$0$Type",1253),dOt(550,1,{},ne),bY(LZt,"SVGImage",550),dOt(324,1,{324:1},N$),EWt.Ib=function(){return"("+this.a+$Wt+this.b+$Wt+this.c+")"},bY(LZt,"UniqueTriple",324),dOt(209,1,NZt),bY(DZt,"AbstractLayoutProvider",209),dOt(1132,209,NZt,ie),EWt.Ze=function(t,e){var n,i,r;0===(MEt(e,PZt,1),this.a=Hv(_B(ZOt(t,(kwt(),xae)))),T8(t,hae)&&(i=EB(ZOt(t,hae)),(n=Kjt(rit(),i))&&$z(sZ(n.f),209).Ze(t,yat(e,1))),r=new s4(this.a),this.b=Bqt(r,t),$z(ZOt(t,(Uut(),oae)),481).g)?(FIt(new re,this.b),Vwt(t,gae,yTt(this.b,gae))):IE(),qqt(r),Vwt(t,dae,this.b),zCt(e)},EWt.a=0,bY(BZt,"DisCoLayoutProvider",1132),dOt(1244,1,{},re),EWt.c=!1,EWt.e=0,EWt.f=0,bY(BZt,"DisCoPolyominoCompactor",1244),dOt(561,1,{561:1},cG),EWt.b=!0,bY(jZt,"DCComponent",561),dOt(394,22,{3:1,35:1,22:1,394:1},BC),EWt.a=!1;var Qre,Zre,Jre,tae,eae,nae=Fnt(jZt,"DCDirection",394,Gte,Q2,m$);dOt(266,134,{3:1,266:1,94:1,134:1},kOt),bY(jZt,"DCElement",266),dOt(395,1,{395:1},Amt),EWt.c=0,bY(jZt,"DCExtension",395),dOt(755,134,IZt,jk),bY(jZt,"DCGraph",755),dOt(481,22,{3:1,35:1,22:1,481:1},SP);var iae,rae,aae,oae,sae,cae,uae,lae,hae,fae,dae,gae,pae,bae,wae,yae,mae,vae,xae,kae,_ae,Eae,Tae=Fnt(RZt,$Zt,481,Gte,PX,v$);dOt(854,1,XQt,Fl),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,FZt),GZt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),sae),(CSt(),pTe)),Tae),Jft((iwt(),uTe))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,zZt),GZt),"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."),mTe),zee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,HZt),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),yTe),Ite),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,UZt),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),yTe),Ite),Jft(uTe)))),Fzt((new zl,t))},bY(RZt,"DisCoMetaDataProvider",854),dOt(998,1,XQt,zl),EWt.Qe=function(t){Fzt(t)},bY(RZt,"DisCoOptions",998),dOt(999,1,{},ae),EWt.$e=function(){return new ie},EWt._e=function(t){},bY(RZt,"DisCoOptions/DiscoFactory",999),dOt(562,167,{321:1,167:1,562:1},XLt),EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,bY("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),dOt(1268,1,PXt,oe),EWt.Mb=function(t){return kI(t)},bY(VZt,"ElkGraphComponentsProcessor/lambda$0$Type",1268),dOt(1269,1,{},se),EWt.Kb=function(t){return _V(),CTt($z(t,79))},bY(VZt,"ElkGraphComponentsProcessor/lambda$1$Type",1269),dOt(1270,1,PXt,ce),EWt.Mb=function(t){return zH($z(t,79))},bY(VZt,"ElkGraphComponentsProcessor/lambda$2$Type",1270),dOt(1271,1,{},ue),EWt.Kb=function(t){return _V(),MTt($z(t,79))},bY(VZt,"ElkGraphComponentsProcessor/lambda$3$Type",1271),dOt(1272,1,PXt,le),EWt.Mb=function(t){return HH($z(t,79))},bY(VZt,"ElkGraphComponentsProcessor/lambda$4$Type",1272),dOt(1273,1,PXt,Ig),EWt.Mb=function(t){return _Z(this.a,$z(t,79))},bY(VZt,"ElkGraphComponentsProcessor/lambda$5$Type",1273),dOt(1274,1,{},Og),EWt.Kb=function(t){return BY(this.a,$z(t,79))},bY(VZt,"ElkGraphComponentsProcessor/lambda$6$Type",1274),dOt(1241,1,{},s4),EWt.a=0,bY(VZt,"ElkGraphTransformer",1241),dOt(1242,1,{},he),EWt.Od=function(t,e){tIt(this,$z(t,160),$z(e,266))},bY(VZt,"ElkGraphTransformer/OffsetApplier",1242),dOt(1243,1,hXt,Lg),EWt.td=function(t){kN(this,$z(t,8))},bY(VZt,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),dOt(753,1,{},fe),bY(eJt,nJt,753),dOt(1232,1,EQt,de),EWt.ue=function(t,e){return SMt($z(t,231),$z(e,231))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(eJt,iJt,1232),dOt(740,209,NZt,Hy),EWt.Ze=function(t,e){wNt(this,t,e)},bY(eJt,"ForceLayoutProvider",740),dOt(357,134,{3:1,357:1,94:1,134:1}),bY(rJt,"FParticle",357),dOt(559,357,{3:1,559:1,357:1,94:1,134:1},cY),EWt.Ib=function(){var t;return this.a?(t=x9(this.a.a,this,0))>=0?"b"+t+"["+a5(this.a)+"]":"b["+a5(this.a)+"]":"b_"+TD(this)},bY(rJt,"FBendpoint",559),dOt(282,134,{3:1,282:1,94:1,134:1},Sj),EWt.Ib=function(){return a5(this)},bY(rJt,"FEdge",282),dOt(231,134,{3:1,231:1,94:1,134:1},y6);var Cae,Sae,Aae,Mae,Iae,Oae,Lae,Nae,Dae=bY(rJt,"FGraph",231);dOt(447,357,{3:1,447:1,357:1,94:1,134:1},w4),EWt.Ib=function(){return null==this.b||0==this.b.length?"l["+a5(this.a)+"]":"l_"+this.b},bY(rJt,"FLabel",447),dOt(144,357,{3:1,144:1,357:1,94:1,134:1},zY),EWt.Ib=function(){return p0(this)},EWt.b=0,bY(rJt,"FNode",144),dOt(2003,1,{}),EWt.bf=function(t){cFt(this,t)},EWt.cf=function(){Hmt(this)},EWt.d=0,bY(oJt,"AbstractForceModel",2003),dOt(631,2003,{631:1},Lot),EWt.af=function(t,e){var n,r,a,o;return tMt(this.f,t,e),a=qj($L(e.d),t.d),o=i.Math.sqrt(a.a*a.a+a.b*a.b),r=i.Math.max(0,o-lW(t.e)/2-lW(e.e)/2),mN(a,((n=Hct(this.e,t,e))>0?-jK(r,this.c)*n:NP(r,this.b)*$z(yTt(t,(ljt(),Qae)),19).a)/o),a},EWt.bf=function(t){cFt(this,t),this.a=$z(yTt(t,(ljt(),zae)),19).a,this.c=Hv(_B(yTt(t,ioe))),this.b=Hv(_B(yTt(t,Jae)))},EWt.df=function(t){return t<this.a},EWt.a=0,EWt.b=0,EWt.c=0,bY(oJt,"EadesModel",631),dOt(632,2003,{632:1},uH),EWt.af=function(t,e){var n,r,a,o,s;return tMt(this.f,t,e),a=qj($L(e.d),t.d),s=i.Math.sqrt(a.a*a.a+a.b*a.b),o=LP(r=i.Math.max(0,s-lW(t.e)/2-lW(e.e)/2),this.a)*$z(yTt(t,(ljt(),Qae)),19).a,(n=Hct(this.e,t,e))>0&&(o-=Ev(r,this.a)*n),mN(a,o*this.b/s),a},EWt.bf=function(t){var e,n,r,a,o,s,c;for(cFt(this,t),this.b=Hv(_B(yTt(t,(ljt(),roe)))),this.c=this.b/$z(yTt(t,zae),19).a,r=t.e.c.length,o=0,a=0,c=new Kd(t.e);c.a<c.c.c.length;)o+=(s=$z(Z1(c),144)).e.a,a+=s.e.b;e=o*a,n=Hv(_B(yTt(t,ioe)))*lZt,this.a=i.Math.sqrt(e/(2*r))*n},EWt.cf=function(){Hmt(this),this.b-=this.c},EWt.df=function(t){return this.b>0},EWt.a=0,EWt.b=0,EWt.c=0,bY(oJt,"FruchtermanReingoldModel",632),dOt(849,1,XQt,Ul),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,sJt),""),"Force Model"),"Determines the model for force calculation."),Aae),(CSt(),pTe)),Soe),Jft((iwt(),uTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,cJt),""),"Iterations"),"The number of iterations on the force model."),nft(300)),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,uJt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),nft(0)),wTe),Iee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,lJt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),hJt),gTe),Cee),Jft(uTe)))),r2(t,lJt,sJt,Nae),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,fJt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),gTe),Cee),Jft(uTe)))),r2(t,fJt,sJt,Iae),bKt((new Gl,t))},bY(dJt,"ForceMetaDataProvider",849),dOt(424,22,{3:1,35:1,22:1,424:1},qC);var Pae,Bae,jae,Rae,$ae,Fae,zae,Hae,Uae,Gae,qae,Kae,Yae,Wae,Xae,Vae,Qae,Zae,Jae,toe,eoe,noe,ioe,roe,aoe,ooe,soe,coe,uoe,loe,hoe,foe,doe,goe,poe,boe,woe,yoe,moe,voe,xoe,koe,_oe,Eoe,Toe,Coe,Soe=Fnt(dJt,"ForceModelStrategy",424,Gte,rZ,x$);dOt(988,1,XQt,Gl),EWt.Qe=function(t){bKt(t)},bY(dJt,"ForceOptions",988),dOt(989,1,{},ge),EWt.$e=function(){return new Hy},EWt._e=function(t){},bY(dJt,"ForceOptions/ForceFactory",989),dOt(850,1,XQt,ql),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,NJt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(cD(),!1)),(CSt(),dTe)),vee),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,DJt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),gTe),Cee),xG(uTe,Cst(Hx(fTe,1),OXt,175,0,[oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,PJt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),hoe),pTe),Poe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,BJt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),hJt),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,jJt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),nft(PWt)),wTe),Iee),Jft(uTe)))),qGt((new Kl,t))},bY(dJt,"StressMetaDataProvider",850),dOt(992,1,XQt,Kl),EWt.Qe=function(t){qGt(t)},bY(dJt,"StressOptions",992),dOt(993,1,{},pe),EWt.$e=function(){return new Aj},EWt._e=function(t){},bY(dJt,"StressOptions/StressFactory",993),dOt(1128,209,NZt,Aj),EWt.Ze=function(t,e){var n,i,r,a;for(MEt(e,$Jt,1),zv(kB(ZOt(t,(ixt(),moe))))?zv(kB(ZOt(t,Toe)))||vZ(new kg((HT(),new Dv(t)))):wNt(new Hy,t,yat(e,1)),i=lct(t),a=(n=zFt(this.a,i)).Kc();a.Ob();)!((r=$z(a.Pb(),231)).e.c.length<=1)&&(zHt(this.b,r),nLt(this.b),Met(r.d,new be));TKt(i=UKt(n)),zCt(e)},bY(zJt,"StressLayoutProvider",1128),dOt(1129,1,hXt,be),EWt.td=function(t){Rzt($z(t,447))},bY(zJt,"StressLayoutProvider/lambda$0$Type",1129),dOt(990,1,{},ky),EWt.c=0,EWt.e=0,EWt.g=0,bY(zJt,"StressMajorization",990),dOt(379,22,{3:1,35:1,22:1,379:1},KC);var Aoe,Moe,Ioe,Ooe,Loe,Noe,Doe,Poe=Fnt(zJt,"StressMajorization/Dimension",379,Gte,v1,k$);dOt(991,1,EQt,Ng),EWt.ue=function(t,e){return ER(this.a,$z(t,144),$z(e,144))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(zJt,"StressMajorization/lambda$0$Type",991),dOt(1229,1,{},D0),bY(UJt,"ElkLayered",1229),dOt(1230,1,hXt,we),EWt.td=function(t){BMt($z(t,37))},bY(UJt,"ElkLayered/lambda$0$Type",1230),dOt(1231,1,hXt,Dg),EWt.td=function(t){TR(this.a,$z(t,37))},bY(UJt,"ElkLayered/lambda$1$Type",1231),dOt(1263,1,{},IL),bY(UJt,"GraphConfigurator",1263),dOt(759,1,hXt,Pg),EWt.td=function(t){WTt(this.a,$z(t,10))},bY(UJt,"GraphConfigurator/lambda$0$Type",759),dOt(760,1,{},ye),EWt.Kb=function(t){return tkt(),new PU(null,new f1($z(t,29).a,16))},bY(UJt,"GraphConfigurator/lambda$1$Type",760),dOt(761,1,hXt,Bg),EWt.td=function(t){WTt(this.a,$z(t,10))},bY(UJt,"GraphConfigurator/lambda$2$Type",761),dOt(1127,209,NZt,Gy),EWt.Ze=function(t,e){var n;n=Tzt(new Jy,t),HM(ZOt(t,(zYt(),sbe)))===HM((oht(),bAe))?igt(this.a,n,e):dIt(this.a,n,e),pKt(new Wl,n)},bY(UJt,"LayeredLayoutProvider",1127),dOt(356,22,{3:1,35:1,22:1,356:1},YC);var Boe,joe,Roe,$oe,Foe,zoe,Hoe,Uoe,Goe=Fnt(UJt,"LayeredPhases",356,Gte,s5,_$);dOt(1651,1,{},wit),EWt.i=0,bY(GJt,"ComponentsToCGraphTransformer",1651),dOt(1652,1,{},me),EWt.ef=function(t,e){return i.Math.min(null!=t.a?Hv(t.a):t.c.i,null!=e.a?Hv(e.a):e.c.i)},EWt.ff=function(t,e){return i.Math.min(null!=t.a?Hv(t.a):t.c.i,null!=e.a?Hv(e.a):e.c.i)},bY(GJt,"ComponentsToCGraphTransformer/1",1652),dOt(81,1,{81:1}),EWt.i=0,EWt.k=!0,EWt.o=jVt;var qoe,Koe,Yoe=bY(qJt,"CNode",81);dOt(460,81,{460:1,81:1},LD,Tbt),EWt.Ib=function(){return""},bY(GJt,"ComponentsToCGraphTransformer/CRectNode",460),dOt(1623,1,{},ve),bY(GJt,"OneDimensionalComponentsCompaction",1623),dOt(1624,1,{},xe),EWt.Kb=function(t){return NJ($z(t,46))},EWt.Fb=function(t){return this===t},bY(GJt,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),dOt(1625,1,{},ke),EWt.Kb=function(t){return kgt($z(t,46))},EWt.Fb=function(t){return this===t},bY(GJt,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),dOt(1654,1,{},$Y),bY(qJt,"CGraph",1654),dOt(189,1,{189:1},Cbt),EWt.b=0,EWt.c=0,EWt.e=0,EWt.g=!0,EWt.i=jVt,bY(qJt,"CGroup",189),dOt(1653,1,{},Ce),EWt.ef=function(t,e){return i.Math.max(null!=t.a?Hv(t.a):t.c.i,null!=e.a?Hv(e.a):e.c.i)},EWt.ff=function(t,e){return i.Math.max(null!=t.a?Hv(t.a):t.c.i,null!=e.a?Hv(e.a):e.c.i)},bY(qJt,MQt,1653),dOt(1655,1,{},cIt),EWt.d=!1;var Woe,Xoe=bY(qJt,DQt,1655);dOt(1656,1,{},Se),EWt.Kb=function(t){return mT(),cD(),0!=$z($z(t,46).a,81).d.e},EWt.Fb=function(t){return this===t},bY(qJt,PQt,1656),dOt(823,1,{},EU),EWt.a=!1,EWt.b=!1,EWt.c=!1,EWt.d=!1,bY(qJt,BQt,823),dOt(1825,1,{},DG),bY(KJt,jQt,1825);var Voe=hU(YJt,CQt);dOt(1826,1,{369:1},lQ),EWt.Ke=function(t){UPt(this,$z(t,466))},bY(KJt,RQt,1826),dOt(1827,1,EQt,Ae),EWt.ue=function(t,e){return oV($z(t,81),$z(e,81))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(KJt,$Qt,1827),dOt(466,1,{466:1},uS),EWt.a=!1,bY(KJt,FQt,466),dOt(1828,1,EQt,Me),EWt.ue=function(t,e){return Jxt($z(t,466),$z(e,466))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(KJt,zQt,1828),dOt(140,1,{140:1},dS,wH),EWt.Fb=function(t){var e;return null!=t&&Qoe==tut(t)&&(e=$z(t,140),iX(this.c,e.c)&&iX(this.d,e.d))},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[this.c,this.d]))},EWt.Ib=function(){return"("+this.c+$Wt+this.d+(this.a?"cx":"")+this.b+")"},EWt.a=!0,EWt.c=0,EWt.d=0;var Qoe=bY(YJt,"Point",140);dOt(405,22,{3:1,35:1,22:1,405:1},WC);var Zoe,Joe,tse,ese,nse,ise,rse,ase,ose,sse,cse,use,lse=Fnt(YJt,"Point/Quadrant",405,Gte,J2,E$);dOt(1642,1,{},Yy),EWt.b=null,EWt.c=null,EWt.d=null,EWt.e=null,EWt.f=null,bY(YJt,"RectilinearConvexHull",1642),dOt(574,1,{369:1},_wt),EWt.Ke=function(t){j7(this,$z(t,140))},EWt.b=0,bY(YJt,"RectilinearConvexHull/MaximalElementsEventHandler",574),dOt(1644,1,EQt,Ee),EWt.ue=function(t,e){return DX(_B(t),_B(e))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(YJt,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),dOt(1643,1,{369:1},uet),EWt.Ke=function(t){CDt(this,$z(t,140))},EWt.a=0,EWt.b=null,EWt.c=null,EWt.d=null,EWt.e=null,bY(YJt,"RectilinearConvexHull/RectangleEventHandler",1643),dOt(1645,1,EQt,Te),EWt.ue=function(t,e){return a0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(YJt,"RectilinearConvexHull/lambda$0$Type",1645),dOt(1646,1,EQt,_e),EWt.ue=function(t,e){return o0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(YJt,"RectilinearConvexHull/lambda$1$Type",1646),dOt(1647,1,EQt,Ie),EWt.ue=function(t,e){return c0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(YJt,"RectilinearConvexHull/lambda$2$Type",1647),dOt(1648,1,EQt,Oe),EWt.ue=function(t,e){return s0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(YJt,"RectilinearConvexHull/lambda$3$Type",1648),dOt(1649,1,EQt,Le),EWt.ue=function(t,e){return xTt($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(YJt,"RectilinearConvexHull/lambda$4$Type",1649),dOt(1650,1,{},AJ),bY(YJt,"Scanline",1650),dOt(2005,1,{}),bY(WJt,"AbstractGraphPlacer",2005),dOt(325,1,{325:1},qP),EWt.mf=function(t){return!!this.nf(t)&&(QMt(this.b,$z(yTt(t,(uWt(),qhe)),21),t),!0)},EWt.nf=function(t){var e,n,i;for(e=$z(yTt(t,(uWt(),qhe)),21),i=$z(c6(use,e),21).Kc();i.Ob();)if(n=$z(i.Pb(),21),!$z(c6(this.b,n),15).dc())return!1;return!0},bY(WJt,"ComponentGroup",325),dOt(765,2005,{},Wy),EWt.of=function(t){var e;for(e=new Kd(this.a);e.a<e.c.c.length;)if($z(Z1(e),325).mf(t))return;Kz(this.a,new qP(t))},EWt.lf=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(this.a.c=N8(Ite,zWt,1,0,5,1),e.a.c=N8(Ite,zWt,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(Hot(e,o=$z(t.Xb(0),37)),r=t.Kc();r.Ob();)i=$z(r.Pb(),37),this.of(i);for(g=new Hk,a=Hv(_B(yTt(o,(zYt(),wwe)))),u=new Kd(this.a);u.a<u.c.c.length;)l=_Yt(s=$z(Z1(u),325),a),f7(kY(s.b),g.a,g.b),g.a+=l.a,g.b+=l.b;if(e.f.a=g.a-a,e.f.b=g.b-a,zv(kB(yTt(o,_pe)))&&HM(yTt(o,Qpe))===HM((Edt(),XSe))){for(d=t.Kc();d.Ob();)Zjt(h=$z(d.Pb(),37),h.c.a,h.c.b);for(jYt(n=new Ne,t,a),f=t.Kc();f.Ob();)Gj(mI((h=$z(f.Pb(),37)).c),n.e);Gj(mI(e.f),n.a)}for(c=new Kd(this.a);c.a<c.c.c.length;)d7(e,kY((s=$z(Z1(c),325)).b))},bY(WJt,"ComponentGroupGraphPlacer",765),dOt(1293,765,{},cm),EWt.of=function(t){bht(this,t)},EWt.lf=function(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(this.a.c=N8(Ite,zWt,1,0,5,1),e.a.c=N8(Ite,zWt,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(Hot(e,o=$z(t.Xb(0),37)),r=t.Kc();r.Ob();)bht(this,$z(r.Pb(),37));for(y=new Hk,w=new Hk,p=new Hk,g=new Hk,a=Hv(_B(yTt(o,(zYt(),wwe)))),u=new Kd(this.a);u.a<u.c.c.length;){if(s=$z(Z1(u),325),dO($z(yTt(e,(cWt(),hCe)),103))){for(p.a=y.a,b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),cMe))){p.a=w.a;break}}else if(gO($z(yTt(e,hCe),103)))for(p.b=y.b,b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),SMe))){p.b=w.b;break}if(l=_Yt($z(s,570),a),f7(kY(s.b),p.a,p.b),dO($z(yTt(e,hCe),103))){for(w.a=p.a+l.a,g.a=i.Math.max(g.a,w.a),b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),TMe))){y.a=p.a+l.a;break}w.b=p.b+l.b,p.b=w.b,g.b=i.Math.max(g.b,p.b)}else if(gO($z(yTt(e,hCe),103))){for(w.b=p.b+l.b,g.b=i.Math.max(g.b,w.b),b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),sMe))){y.b=p.b+l.b;break}w.a=p.a+l.a,p.a=w.a,g.a=i.Math.max(g.a,p.a)}}if(e.f.a=g.a-a,e.f.b=g.b-a,zv(kB(yTt(o,_pe)))&&HM(yTt(o,Qpe))===HM((Edt(),XSe))){for(d=t.Kc();d.Ob();)Zjt(h=$z(d.Pb(),37),h.c.a,h.c.b);for(jYt(n=new Ne,t,a),f=t.Kc();f.Ob();)Gj(mI((h=$z(f.Pb(),37)).c),n.e);Gj(mI(e.f),n.a)}for(c=new Kd(this.a);c.a<c.c.c.length;)d7(e,kY((s=$z(Z1(c),325)).b))},bY(WJt,"ComponentGroupModelOrderGraphPlacer",1293),dOt(423,22,{3:1,35:1,22:1,423:1},XC);var hse,fse,dse,gse,pse,bse,wse=Fnt(WJt,"ComponentOrderingStrategy",423,Gte,m1,T$);dOt(650,1,{},Ne),bY(WJt,"ComponentsCompactor",650),dOt(1468,12,XVt,b5),EWt.Fc=function(t){return Vkt(this,$z(t,140))},bY(WJt,"ComponentsCompactor/Hullpoints",1468),dOt(1465,1,{841:1},uyt),EWt.a=!1,bY(WJt,"ComponentsCompactor/InternalComponent",1465),dOt(1464,1,bXt,Xy),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new Kd(this.a)},bY(WJt,"ComponentsCompactor/InternalConnectedComponents",1464),dOt(1467,1,{594:1},gIt),EWt.hf=function(){return null},EWt.jf=function(){return this.a},EWt.gf=function(){return owt(this.d)},EWt.kf=function(){return this.b},bY(WJt,"ComponentsCompactor/InternalExternalExtension",1467),dOt(1466,1,{594:1},Zy),EWt.jf=function(){return this.a},EWt.gf=function(){return owt(this.d)},EWt.hf=function(){return this.c},EWt.kf=function(){return this.b},bY(WJt,"ComponentsCompactor/InternalUnionExternalExtension",1466),dOt(1470,1,{},XPt),bY(WJt,"ComponentsCompactor/OuterSegments",1470),dOt(1469,1,{},Vy),bY(WJt,"ComponentsCompactor/Segments",1469),dOt(1264,1,{},hQ),bY(WJt,nJt,1264),dOt(1265,1,EQt,De),EWt.ue=function(t,e){return h0($z(t,37),$z(e,37))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(WJt,"ComponentsProcessor/lambda$0$Type",1265),dOt(570,325,{325:1,570:1},p5),EWt.mf=function(t){return gut(this,t)},EWt.nf=function(t){return fDt(this,t)},bY(WJt,"ModelOrderComponentGroup",570),dOt(1291,2005,{},Pe),EWt.lf=function(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;if(1!=t.gc()){if(t.dc())return e.a.c=N8(Ite,zWt,1,0,5,1),e.f.a=0,void(e.f.b=0);if(HM(yTt(e,(zYt(),Cpe)))===HM((Fht(),dse))){for(u=t.Kc();u.Ob();){for(w=0,p=new Kd((s=$z(u.Pb(),37)).a);p.a<p.c.c.length;)g=$z(Z1(p),10),w+=$z(yTt(g,cwe),19).a;s.p=w}EV(),t.ad(new Be)}for(o=$z(t.Xb(0),37),e.a.c=N8(Ite,zWt,1,0,5,1),Hot(e,o),d=0,v=0,l=t.Kc();l.Ob();)y=(s=$z(l.Pb(),37)).f,d=i.Math.max(d,y.a),v+=y.a*y.b;for(d=i.Math.max(d,i.Math.sqrt(v)*Hv(_B(yTt(e,xpe)))),x=0,k=0,f=0,n=a=Hv(_B(yTt(e,wwe))),c=t.Kc();c.Ob();)x+(y=(s=$z(c.Pb(),37)).f).a>d&&(x=0,k+=f+a,f=0),Zjt(s,x+(b=s.c).a,k+b.b),mI(b),n=i.Math.max(n,x+y.a),f=i.Math.max(f,y.b),x+=y.a+a;if(e.f.a=n,e.f.b=k+f,zv(kB(yTt(o,_pe)))){for(jYt(r=new Ne,t,a),h=t.Kc();h.Ob();)Gj(mI($z(h.Pb(),37).c),r.e);Gj(mI(e.f),r.a)}d7(e,t)}else(m=$z(t.Xb(0),37))!=e&&(e.a.c=N8(Ite,zWt,1,0,5,1),ORt(e,m,0,0),Hot(e,m),mV(e.d,m.d),e.f.a=m.f.a,e.f.b=m.f.b)},bY(WJt,"SimpleRowGraphPlacer",1291),dOt(1292,1,EQt,Be),EWt.ue=function(t,e){return Got($z(t,37),$z(e,37))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(WJt,"SimpleRowGraphPlacer/1",1292),dOt(1262,1,HQt,je),EWt.Lb=function(t){var e;return!!(e=$z(yTt($z(t,243).b,(zYt(),bbe)),74))&&0!=e.b},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){var e;return!!(e=$z(yTt($z(t,243).b,(zYt(),bbe)),74))&&0!=e.b},bY(ZJt,"CompoundGraphPostprocessor/1",1262),dOt(1261,1,JJt,tm),EWt.pf=function(t,e){yyt(this,$z(t,37),e)},bY(ZJt,"CompoundGraphPreprocessor",1261),dOt(441,1,{441:1},Ght),EWt.c=!1,bY(ZJt,"CompoundGraphPreprocessor/ExternalPort",441),dOt(243,1,{243:1},O$),EWt.Ib=function(){return dP(this.c)+":"+MMt(this.b)},bY(ZJt,"CrossHierarchyEdge",243),dOt(763,1,EQt,jg),EWt.ue=function(t,e){return Wvt(this,$z(t,243),$z(e,243))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(ZJt,"CrossHierarchyEdgeComparator",763),dOt(299,134,{3:1,299:1,94:1,134:1}),EWt.p=0,bY(t1t,"LGraphElement",299),dOt(17,299,{3:1,17:1,299:1,94:1,134:1},fQ),EWt.Ib=function(){return MMt(this)};var yse=bY(t1t,"LEdge",17);dOt(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},yit),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new Kd(this.b)},EWt.Ib=function(){return 0==this.b.c.length?"G-unlayered"+LTt(this.a):0==this.a.c.length?"G-layered"+LTt(this.b):"G[layerless"+LTt(this.a)+", layers"+LTt(this.b)+"]"};var mse,vse=bY(t1t,"LGraph",37);dOt(657,1,{}),EWt.qf=function(){return this.e.n},EWt.We=function(t){return yTt(this.e,t)},EWt.rf=function(){return this.e.o},EWt.sf=function(){return this.e.p},EWt.Xe=function(t){return OP(this.e,t)},EWt.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},EWt.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},EWt.vf=function(t){this.e.p=t},bY(t1t,"LGraphAdapters/AbstractLShapeAdapter",657),dOt(577,1,{839:1},Rg),EWt.wf=function(){var t,e;if(!this.b)for(this.b=sP(this.a.b.c.length),e=new Kd(this.a.b);e.a<e.c.c.length;)t=$z(Z1(e),70),Kz(this.b,new $g(t));return this.b},EWt.b=null,bY(t1t,"LGraphAdapters/LEdgeAdapter",577),dOt(656,1,{},FX),EWt.xf=function(){var t,e,n,i,r;if(!this.b)for(this.b=new Lw,n=new Kd(this.a.b);n.a<n.c.c.length;)for(r=new Kd($z(Z1(n),29).a);r.a<r.c.c.length;)if(i=$z(Z1(r),10),this.c.Mb(i)&&(Kz(this.b,new j$(this,i,this.e)),this.d)){if(OP(i,(uWt(),Bfe)))for(e=$z(yTt(i,Bfe),15).Kc();e.Ob();)t=$z(e.Pb(),10),Kz(this.b,new j$(this,t,!1));if(OP(i,Dhe))for(e=$z(yTt(i,Dhe),15).Kc();e.Ob();)t=$z(e.Pb(),10),Kz(this.b,new j$(this,t,!1))}return this.b},EWt.qf=function(){throw Fw(new Jv(n1t))},EWt.We=function(t){return yTt(this.a,t)},EWt.rf=function(){return this.a.f},EWt.sf=function(){return this.a.p},EWt.Xe=function(t){return OP(this.a,t)},EWt.tf=function(t){throw Fw(new Jv(n1t))},EWt.uf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},EWt.vf=function(t){this.a.p=t},EWt.b=null,EWt.d=!1,EWt.e=!1,bY(t1t,"LGraphAdapters/LGraphAdapter",656),dOt(576,657,{181:1},$g),bY(t1t,"LGraphAdapters/LLabelAdapter",576),dOt(575,657,{680:1},j$),EWt.yf=function(){return this.b},EWt.zf=function(){return EV(),EV(),cne},EWt.wf=function(){var t,e;if(!this.a)for(this.a=sP($z(this.e,10).b.c.length),e=new Kd($z(this.e,10).b);e.a<e.c.c.length;)t=$z(Z1(e),70),Kz(this.a,new $g(t));return this.a},EWt.Af=function(){var t;return new Fj((t=$z(this.e,10).d).d,t.c,t.a,t.b)},EWt.Bf=function(){return EV(),EV(),cne},EWt.Cf=function(){var t,e;if(!this.c)for(this.c=sP($z(this.e,10).j.c.length),e=new Kd($z(this.e,10).j);e.a<e.c.c.length;)t=$z(Z1(e),11),Kz(this.c,new gS(t,this.d));return this.c},EWt.Df=function(){return zv(kB(yTt($z(this.e,10),(uWt(),jhe))))},EWt.Ef=function(t){$z(this.e,10).d.b=t.b,$z(this.e,10).d.d=t.d,$z(this.e,10).d.c=t.c,$z(this.e,10).d.a=t.a},EWt.Ff=function(t){$z(this.e,10).f.b=t.b,$z(this.e,10).f.d=t.d,$z(this.e,10).f.c=t.c,$z(this.e,10).f.a=t.a},EWt.Gf=function(){Net(this,(gT(),mse))},EWt.a=null,EWt.b=null,EWt.c=null,EWt.d=!1,bY(t1t,"LGraphAdapters/LNodeAdapter",575),dOt(1722,657,{838:1},gS),EWt.zf=function(){var t,e,n,i;if(this.d&&$z(this.e,11).i.k==(oCt(),Ase))return EV(),EV(),cne;if(!this.a){for(this.a=new Lw,n=new Kd($z(this.e,11).e);n.a<n.c.c.length;)t=$z(Z1(n),17),Kz(this.a,new Rg(t));if(this.d&&(i=$z(yTt($z(this.e,11),(uWt(),xfe)),10)))for(e=new oq(QN(ldt(i).a.Kc(),new l));gOt(e);)t=$z(G5(e),17),Kz(this.a,new Rg(t))}return this.a},EWt.wf=function(){var t,e;if(!this.b)for(this.b=sP($z(this.e,11).f.c.length),e=new Kd($z(this.e,11).f);e.a<e.c.c.length;)t=$z(Z1(e),70),Kz(this.b,new $g(t));return this.b},EWt.Bf=function(){var t,e,n,i;if(this.d&&$z(this.e,11).i.k==(oCt(),Ase))return EV(),EV(),cne;if(!this.c){for(this.c=new Lw,n=new Kd($z(this.e,11).g);n.a<n.c.c.length;)t=$z(Z1(n),17),Kz(this.c,new Rg(t));if(this.d&&(i=$z(yTt($z(this.e,11),(uWt(),xfe)),10)))for(e=new oq(QN(hdt(i).a.Kc(),new l));gOt(e);)t=$z(G5(e),17),Kz(this.c,new Rg(t))}return this.c},EWt.Hf=function(){return $z(this.e,11).j},EWt.If=function(){return zv(kB(yTt($z(this.e,11),(uWt(),tfe))))},EWt.a=null,EWt.b=null,EWt.c=null,EWt.d=!1,bY(t1t,"LGraphAdapters/LPortAdapter",1722),dOt(1723,1,EQt,Re),EWt.ue=function(t,e){return YBt($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(t1t,"LGraphAdapters/PortComparator",1723),dOt(804,1,PXt,$e),EWt.Mb=function(t){return $z(t,10),gT(),!0},bY(t1t,"LGraphAdapters/lambda$0$Type",804),dOt(392,299,{3:1,299:1,392:1,94:1,134:1}),bY(t1t,"LShape",392),dOt(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},zk,AL),EWt.Ib=function(){var t;return null==(t=XH(this))?"label":"l_"+t},bY(t1t,"LLabel",70),dOt(207,1,{3:1,4:1,207:1,414:1}),EWt.Fb=function(t){var e;return!!iN(t,207)&&(e=$z(t,207),this.d==e.d&&this.a==e.a&&this.b==e.b&&this.c==e.c)},EWt.Hb=function(){var t,e;return t=YI(this.b)<<16,t|=YI(this.a)&XXt,e=YI(this.c)<<16,t^(e|=YI(this.d)&XXt)},EWt.Jf=function(t){var e,n,i,r,a,o,s,c,u;for(r=0;r<t.length&&Plt((h1(r,t.length),t.charCodeAt(r)),s1t);)++r;for(e=t.length;e>0&&Plt((h1(e-1,t.length),t.charCodeAt(e-1)),c1t);)--e;if(r<e){c=vRt(t.substr(r,e-r),",|;");try{for(o=0,s=(a=c).length;o<s;++o){if(2!=(i=vRt(a[o],"=")).length)throw Fw(new jv("Expecting a list of key-value pairs."));n=BTt(i[0]),u=fCt(BTt(i[1])),wR(n,"top")?this.d=u:wR(n,"left")?this.b=u:wR(n,"bottom")?this.a=u:wR(n,"right")&&(this.c=u)}}catch(l){throw iN(l=hst(l),127)?Fw(new jv(u1t+l)):Fw(l)}}},EWt.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,bY(l1t,"Spacing",207),dOt(142,207,h1t,lm,lO,Fj,M$);var xse=bY(l1t,"ElkMargin",142);dOt(651,142,h1t,um),bY(t1t,"LMargin",651),dOt(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},Oyt),EWt.Ib=function(){return Owt(this)},EWt.i=!1;var kse=bY(t1t,"LNode",10);dOt(267,22,{3:1,35:1,22:1,267:1},VC);var _se,Ese,Tse,Cse,Sse,Ase,Mse,Ise=Fnt(t1t,"LNode/NodeType",267,Gte,a7,S$);dOt(116,207,f1t,hm,KO,A$);var Ose=bY(l1t,"ElkPadding",116);dOt(764,116,f1t,fm),bY(t1t,"LPadding",764),dOt(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},SCt),EWt.Ib=function(){var t,e,n;return oI(((t=new Cx).a+="p_",t),bvt(this)),this.i&&oI(aI((t.a+="[",t),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&$z(NU(this.e,0),17).c!=this&&(e=$z(NU(this.e,0),17).c,oI((t.a+=" << ",t),bvt(e)),oI(aI((t.a+="[",t),e.i),"]")),0==this.e.c.length&&1==this.g.c.length&&$z(NU(this.g,0),17).d!=this&&(n=$z(NU(this.g,0),17).d,oI((t.a+=" >> ",t),bvt(n)),oI(aI((t.a+="[",t),n.i),"]")),t.a},EWt.c=!0,EWt.d=!1;var Lse,Nse,Dse,Pse,Bse,jse,Rse,$se,Fse=bY(t1t,"LPort",11);dOt(397,1,bXt,Fg),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new zg(new Kd(this.a.e))},bY(t1t,"LPort/1",397),dOt(1290,1,XWt,zg),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return $z(Z1(this.a),17).c},EWt.Ob=function(){return yL(this.a)},EWt.Qb=function(){MK(this.a)},bY(t1t,"LPort/1/1",1290),dOt(359,1,bXt,Hg),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new Ug(new Kd(this.a.g))},bY(t1t,"LPort/2",359),dOt(762,1,XWt,Ug),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return $z(Z1(this.a),17).d},EWt.Ob=function(){return yL(this.a)},EWt.Qb=function(){MK(this.a)},bY(t1t,"LPort/2/1",762),dOt(1283,1,bXt,cS),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new w6(this)},bY(t1t,"LPort/CombineIter",1283),dOt(201,1,XWt,w6),EWt.Nb=function(t){uK(this,t)},EWt.Qb=function(){a_()},EWt.Ob=function(){return UD(this)},EWt.Pb=function(){return yL(this.a)?Z1(this.a):Z1(this.b)},bY(t1t,"LPort/CombineIter/1",201),dOt(1285,1,HQt,Fe),EWt.Lb=function(t){return Mq(t)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),0!=$z(t,11).e.c.length},bY(t1t,"LPort/lambda$0$Type",1285),dOt(1284,1,HQt,ze),EWt.Lb=function(t){return Iq(t)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),0!=$z(t,11).g.c.length},bY(t1t,"LPort/lambda$1$Type",1284),dOt(1286,1,HQt,He),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),cMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),cMe)},bY(t1t,"LPort/lambda$2$Type",1286),dOt(1287,1,HQt,Ue),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),sMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),sMe)},bY(t1t,"LPort/lambda$3$Type",1287),dOt(1288,1,HQt,Ge),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),TMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),TMe)},bY(t1t,"LPort/lambda$4$Type",1288),dOt(1289,1,HQt,qe),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),SMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),SMe)},bY(t1t,"LPort/lambda$5$Type",1289),dOt(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},FY),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new Kd(this.a)},EWt.Ib=function(){return"L_"+x9(this.b.b,this,0)+LTt(this.a)},bY(t1t,"Layer",29),dOt(1342,1,{},Jy),bY(g1t,p1t,1342),dOt(1346,1,{},Ke),EWt.Kb=function(t){return CEt($z(t,82))},bY(g1t,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),dOt(1349,1,{},Ye),EWt.Kb=function(t){return CEt($z(t,82))},bY(g1t,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),dOt(1343,1,hXt,Gg),EWt.td=function(t){CIt(this.a,$z(t,118))},bY(g1t,b1t,1343),dOt(1344,1,hXt,qg),EWt.td=function(t){CIt(this.a,$z(t,118))},bY(g1t,w1t,1344),dOt(1345,1,{},We),EWt.Kb=function(t){return new PU(null,new f1(pX($z(t,79)),16))},bY(g1t,y1t,1345),dOt(1347,1,PXt,Kg),EWt.Mb=function(t){return jO(this.a,$z(t,33))},bY(g1t,m1t,1347),dOt(1348,1,{},Xe),EWt.Kb=function(t){return new PU(null,new f1(bX($z(t,79)),16))},bY(g1t,"ElkGraphImporter/lambda$5$Type",1348),dOt(1350,1,PXt,Yg),EWt.Mb=function(t){return RO(this.a,$z(t,33))},bY(g1t,"ElkGraphImporter/lambda$7$Type",1350),dOt(1351,1,PXt,Ve),EWt.Mb=function(t){return MV($z(t,79))},bY(g1t,"ElkGraphImporter/lambda$8$Type",1351),dOt(1278,1,{},Wl),bY(g1t,"ElkGraphLayoutTransferrer",1278),dOt(1279,1,PXt,Wg),EWt.Mb=function(t){return Vj(this.a,$z(t,17))},bY(g1t,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),dOt(1280,1,hXt,Xg),EWt.td=function(t){wT(),Kz(this.a,$z(t,17))},bY(g1t,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),dOt(1281,1,PXt,Vg),EWt.Mb=function(t){return GB(this.a,$z(t,17))},bY(g1t,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),dOt(1282,1,hXt,Qg),EWt.td=function(t){wT(),Kz(this.a,$z(t,17))},bY(g1t,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),dOt(1485,1,JJt,Qe),EWt.pf=function(t,e){Wrt($z(t,37),e)},bY(x1t,"CommentNodeMarginCalculator",1485),dOt(1486,1,{},Ze),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"CommentNodeMarginCalculator/lambda$0$Type",1486),dOt(1487,1,hXt,Je),EWt.td=function(t){tHt($z(t,10))},bY(x1t,"CommentNodeMarginCalculator/lambda$1$Type",1487),dOt(1488,1,JJt,tn),EWt.pf=function(t,e){aBt($z(t,37),e)},bY(x1t,"CommentPostprocessor",1488),dOt(1489,1,JJt,en),EWt.pf=function(t,e){oKt($z(t,37),e)},bY(x1t,"CommentPreprocessor",1489),dOt(1490,1,JJt,nn),EWt.pf=function(t,e){xNt($z(t,37),e)},bY(x1t,"ConstraintsPostprocessor",1490),dOt(1491,1,JJt,rn),EWt.pf=function(t,e){rot($z(t,37),e)},bY(x1t,"EdgeAndLayerConstraintEdgeReverser",1491),dOt(1492,1,JJt,an),EWt.pf=function(t,e){Ugt($z(t,37),e)},bY(x1t,"EndLabelPostprocessor",1492),dOt(1493,1,{},on),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"EndLabelPostprocessor/lambda$0$Type",1493),dOt(1494,1,PXt,sn),EWt.Mb=function(t){return _Q($z(t,10))},bY(x1t,"EndLabelPostprocessor/lambda$1$Type",1494),dOt(1495,1,hXt,cn),EWt.td=function(t){ekt($z(t,10))},bY(x1t,"EndLabelPostprocessor/lambda$2$Type",1495),dOt(1496,1,JJt,un),EWt.pf=function(t,e){ZSt($z(t,37),e)},bY(x1t,"EndLabelPreprocessor",1496),dOt(1497,1,{},ln),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"EndLabelPreprocessor/lambda$0$Type",1497),dOt(1498,1,hXt,D$),EWt.td=function(t){BT(this.a,this.b,this.c,$z(t,10))},EWt.a=0,EWt.b=0,EWt.c=!1,bY(x1t,"EndLabelPreprocessor/lambda$1$Type",1498),dOt(1499,1,PXt,hn),EWt.Mb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),KSe))},bY(x1t,"EndLabelPreprocessor/lambda$2$Type",1499),dOt(1500,1,hXt,Zg),EWt.td=function(t){DH(this.a,$z(t,70))},bY(x1t,"EndLabelPreprocessor/lambda$3$Type",1500),dOt(1501,1,PXt,fn),EWt.Mb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),qSe))},bY(x1t,"EndLabelPreprocessor/lambda$4$Type",1501),dOt(1502,1,hXt,Jg),EWt.td=function(t){DH(this.a,$z(t,70))},bY(x1t,"EndLabelPreprocessor/lambda$5$Type",1502),dOt(1551,1,JJt,Yl),EWt.pf=function(t,e){Sft($z(t,37),e)},bY(x1t,"EndLabelSorter",1551),dOt(1552,1,EQt,dn),EWt.ue=function(t,e){return zbt($z(t,456),$z(e,456))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"EndLabelSorter/1",1552),dOt(456,1,{456:1},kV),bY(x1t,"EndLabelSorter/LabelGroup",456),dOt(1553,1,{},gn),EWt.Kb=function(t){return xT(),new PU(null,new f1($z(t,29).a,16))},bY(x1t,"EndLabelSorter/lambda$0$Type",1553),dOt(1554,1,PXt,pn),EWt.Mb=function(t){return xT(),$z(t,10).k==(oCt(),Sse)},bY(x1t,"EndLabelSorter/lambda$1$Type",1554),dOt(1555,1,hXt,bn),EWt.td=function(t){sCt($z(t,10))},bY(x1t,"EndLabelSorter/lambda$2$Type",1555),dOt(1556,1,PXt,wn),EWt.Mb=function(t){return xT(),HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),qSe))},bY(x1t,"EndLabelSorter/lambda$3$Type",1556),dOt(1557,1,PXt,yn),EWt.Mb=function(t){return xT(),HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),KSe))},bY(x1t,"EndLabelSorter/lambda$4$Type",1557),dOt(1503,1,JJt,mn),EWt.pf=function(t,e){AHt(this,$z(t,37))},EWt.b=0,EWt.c=0,bY(x1t,"FinalSplineBendpointsCalculator",1503),dOt(1504,1,{},vn),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),dOt(1505,1,{},xn),EWt.Kb=function(t){return new PU(null,new UK(new oq(QN(hdt($z(t,10)).a.Kc(),new l))))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),dOt(1506,1,PXt,kn),EWt.Mb=function(t){return!h5($z(t,17))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),dOt(1507,1,PXt,_n),EWt.Mb=function(t){return OP($z(t,17),(uWt(),Lfe))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),dOt(1508,1,hXt,tp),EWt.td=function(t){GRt(this.a,$z(t,128))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),dOt(1509,1,hXt,En),EWt.td=function(t){QSt($z(t,17).a)},bY(x1t,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),dOt(792,1,JJt,ep),EWt.pf=function(t,e){WUt(this,$z(t,37),e)},bY(x1t,"GraphTransformer",792),dOt(511,22,{3:1,35:1,22:1,511:1},QC);var zse,Hse,Use,Gse,qse,Kse=Fnt(x1t,"GraphTransformer/Mode",511,Gte,aZ,JF);dOt(1510,1,JJt,Tn),EWt.pf=function(t,e){ePt($z(t,37),e)},bY(x1t,"HierarchicalNodeResizingProcessor",1510),dOt(1511,1,JJt,Cn),EWt.pf=function(t,e){hrt($z(t,37),e)},bY(x1t,"HierarchicalPortConstraintProcessor",1511),dOt(1512,1,EQt,Sn),EWt.ue=function(t,e){return Awt($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"HierarchicalPortConstraintProcessor/NodeComparator",1512),dOt(1513,1,JJt,An),EWt.pf=function(t,e){xzt($z(t,37),e)},bY(x1t,"HierarchicalPortDummySizeProcessor",1513),dOt(1514,1,JJt,Mn),EWt.pf=function(t,e){QBt(this,$z(t,37),e)},EWt.a=0,bY(x1t,"HierarchicalPortOrthogonalEdgeRouter",1514),dOt(1515,1,EQt,In),EWt.ue=function(t,e){return jD($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"HierarchicalPortOrthogonalEdgeRouter/1",1515),dOt(1516,1,EQt,On),EWt.ue=function(t,e){return T7($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"HierarchicalPortOrthogonalEdgeRouter/2",1516),dOt(1517,1,JJt,Ln),EWt.pf=function(t,e){kTt($z(t,37),e)},bY(x1t,"HierarchicalPortPositionProcessor",1517),dOt(1518,1,JJt,Xl),EWt.pf=function(t,e){iYt(this,$z(t,37))},EWt.a=0,EWt.c=0,bY(x1t,"HighDegreeNodeLayeringProcessor",1518),dOt(571,1,{571:1},Nn),EWt.b=-1,EWt.d=-1,bY(x1t,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),dOt(1519,1,{},Dn),EWt.Kb=function(t){return z$(),ldt($z(t,10))},EWt.Fb=function(t){return this===t},bY(x1t,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),dOt(1520,1,{},Pn),EWt.Kb=function(t){return z$(),hdt($z(t,10))},EWt.Fb=function(t){return this===t},bY(x1t,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),dOt(1526,1,JJt,Bn),EWt.pf=function(t,e){gFt(this,$z(t,37),e)},bY(x1t,"HyperedgeDummyMerger",1526),dOt(793,1,{},P$),EWt.a=!1,EWt.b=!1,EWt.c=!1,bY(x1t,"HyperedgeDummyMerger/MergeState",793),dOt(1527,1,{},jn),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"HyperedgeDummyMerger/lambda$0$Type",1527),dOt(1528,1,{},Rn),EWt.Kb=function(t){return new PU(null,new f1($z(t,10).j,16))},bY(x1t,"HyperedgeDummyMerger/lambda$1$Type",1528),dOt(1529,1,hXt,$n),EWt.td=function(t){$z(t,11).p=-1},bY(x1t,"HyperedgeDummyMerger/lambda$2$Type",1529),dOt(1530,1,JJt,Fn),EWt.pf=function(t,e){fFt($z(t,37),e)},bY(x1t,"HypernodesProcessor",1530),dOt(1531,1,JJt,zn),EWt.pf=function(t,e){dFt($z(t,37),e)},bY(x1t,"InLayerConstraintProcessor",1531),dOt(1532,1,JJt,Hn),EWt.pf=function(t,e){Lat($z(t,37),e)},bY(x1t,"InnermostNodeMarginCalculator",1532),dOt(1533,1,JJt,Un),EWt.pf=function(t,e){Wqt(this,$z(t,37))},EWt.a=jVt,EWt.b=jVt,EWt.c=BVt,EWt.d=BVt;var Yse=bY(x1t,"InteractiveExternalPortPositioner",1533);dOt(1534,1,{},Gn),EWt.Kb=function(t){return $z(t,17).d.i},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$0$Type",1534),dOt(1535,1,{},np),EWt.Kb=function(t){return zD(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$1$Type",1535),dOt(1536,1,{},qn),EWt.Kb=function(t){return $z(t,17).c.i},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$2$Type",1536),dOt(1537,1,{},ip),EWt.Kb=function(t){return HD(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$3$Type",1537),dOt(1538,1,{},rp),EWt.Kb=function(t){return Kj(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$4$Type",1538),dOt(1539,1,{},ap),EWt.Kb=function(t){return Yj(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$5$Type",1539),dOt(77,22,{3:1,35:1,22:1,77:1,234:1},ZC),EWt.Kf=function(){switch(this.g){case 15:return new pa;case 22:return new ba;case 47:return new ma;case 28:case 35:return new ni;case 32:return new Qe;case 42:return new tn;case 1:return new en;case 41:return new nn;case 56:return new ep((Trt(),Hse));case 0:return new ep((Trt(),zse));case 2:return new rn;case 54:return new an;case 33:return new un;case 51:return new mn;case 55:return new Tn;case 13:return new Cn;case 38:return new An;case 44:return new Mn;case 40:return new Ln;case 9:return new Xl;case 49:return new oP;case 37:return new Bn;case 43:return new Fn;case 27:return new zn;case 30:return new Hn;case 3:return new Un;case 18:return new Yn;case 29:return new Wn;case 5:return new Vl;case 50:return new Kn;case 34:return new Ql;case 36:return new ii;case 52:return new Yl;case 11:return new ai;case 7:return new Jl;case 39:return new oi;case 45:return new si;case 16:return new ci;case 10:return new ui;case 48:return new hi;case 21:return new fi;case 23:return new Lv((sit(),Ime));case 8:return new gi;case 12:return new bi;case 4:return new wi;case 19:return new ih;case 17:return new Si;case 53:return new Ai;case 6:return new zi;case 25:return new rm;case 46:return new Di;case 31:return new Nj;case 14:return new Xi;case 26:return new Ca;case 20:return new tr;case 24:return new Lv((sit(),Ome));default:throw Fw(new jv(E1t+(null!=this.f?this.f:""+this.g)))}};var Wse,Xse,Vse,Qse,Zse,Jse,tce,ece,nce,ice,rce,ace,oce,sce,cce,uce,lce,hce,fce,dce,gce,pce,bce,wce,yce,mce,vce,xce,kce,_ce,Ece,Tce,Cce,Sce,Ace,Mce,Ice,Oce,Lce,Nce,Dce,Pce,Bce,jce,Rce,$ce,Fce,zce,Hce,Uce,Gce,qce,Kce,Yce,Wce,Xce,Vce,Qce,Zce,Jce,tue,eue=Fnt(x1t,T1t,77,Gte,kDt,ZF);dOt(1540,1,JJt,Yn),EWt.pf=function(t,e){Qqt($z(t,37),e)},bY(x1t,"InvertedPortProcessor",1540),dOt(1541,1,JJt,Wn),EWt.pf=function(t,e){LRt($z(t,37),e)},bY(x1t,"LabelAndNodeSizeProcessor",1541),dOt(1542,1,PXt,Xn),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Sse)},bY(x1t,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),dOt(1543,1,PXt,Vn),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Ese)},bY(x1t,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),dOt(1544,1,hXt,B$),EWt.td=function(t){jT(this.b,this.a,this.c,$z(t,10))},EWt.a=!1,EWt.c=!1,bY(x1t,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),dOt(1545,1,JJt,Vl),EWt.pf=function(t,e){lqt($z(t,37),e)},bY(x1t,"LabelDummyInserter",1545),dOt(1546,1,HQt,Qn),EWt.Lb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),GSe))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),GSe))},bY(x1t,"LabelDummyInserter/1",1546),dOt(1547,1,JJt,Kn),EWt.pf=function(t,e){CUt($z(t,37),e)},bY(x1t,"LabelDummyRemover",1547),dOt(1548,1,PXt,Zn),EWt.Mb=function(t){return zv(kB(yTt($z(t,70),(zYt(),Wpe))))},bY(x1t,"LabelDummyRemover/lambda$0$Type",1548),dOt(1359,1,JJt,Ql),EWt.pf=function(t,e){_Gt(this,$z(t,37),e)},EWt.a=null,bY(x1t,"LabelDummySwitcher",1359),dOt(286,1,{286:1},rRt),EWt.c=0,EWt.d=null,EWt.f=0,bY(x1t,"LabelDummySwitcher/LabelDummyInfo",286),dOt(1360,1,{},Jn),EWt.Kb=function(t){return Art(),new PU(null,new f1($z(t,29).a,16))},bY(x1t,"LabelDummySwitcher/lambda$0$Type",1360),dOt(1361,1,PXt,ti),EWt.Mb=function(t){return Art(),$z(t,10).k==(oCt(),Tse)},bY(x1t,"LabelDummySwitcher/lambda$1$Type",1361),dOt(1362,1,{},cp),EWt.Kb=function(t){return qB(this.a,$z(t,10))},bY(x1t,"LabelDummySwitcher/lambda$2$Type",1362),dOt(1363,1,hXt,up),EWt.td=function(t){XY(this.a,$z(t,286))},bY(x1t,"LabelDummySwitcher/lambda$3$Type",1363),dOt(1364,1,EQt,ei),EWt.ue=function(t,e){return Oq($z(t,286),$z(e,286))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"LabelDummySwitcher/lambda$4$Type",1364),dOt(791,1,JJt,ni),EWt.pf=function(t,e){X6($z(t,37),e)},bY(x1t,"LabelManagementProcessor",791),dOt(1549,1,JJt,ii),EWt.pf=function(t,e){NPt($z(t,37),e)},bY(x1t,"LabelSideSelector",1549),dOt(1550,1,PXt,ri),EWt.Mb=function(t){return zv(kB(yTt($z(t,70),(zYt(),Wpe))))},bY(x1t,"LabelSideSelector/lambda$0$Type",1550),dOt(1558,1,JJt,ai),EWt.pf=function(t,e){kzt($z(t,37),e)},bY(x1t,"LayerConstraintPostprocessor",1558),dOt(1559,1,JJt,Jl),EWt.pf=function(t,e){iLt($z(t,37),e)},bY(x1t,"LayerConstraintPreprocessor",1559),dOt(360,22,{3:1,35:1,22:1,360:1},JC);var nue,iue,rue,aue,oue,sue,cue,uue,lue,hue,fue,due,gue,pue=Fnt(x1t,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Gte,t3,U$);dOt(1560,1,JJt,oi),EWt.pf=function(t,e){kUt($z(t,37),e)},bY(x1t,"LayerSizeAndGraphHeightCalculator",1560),dOt(1561,1,JJt,si),EWt.pf=function(t,e){INt($z(t,37),e)},bY(x1t,"LongEdgeJoiner",1561),dOt(1562,1,JJt,ci),EWt.pf=function(t,e){YHt($z(t,37),e)},bY(x1t,"LongEdgeSplitter",1562),dOt(1563,1,JJt,ui),EWt.pf=function(t,e){CGt(this,$z(t,37),e)},EWt.d=0,EWt.e=0,EWt.i=0,EWt.j=0,EWt.k=0,EWt.n=0,bY(x1t,"NodePromotion",1563),dOt(1564,1,{},li),EWt.Kb=function(t){return $z(t,46),cD(),!0},EWt.Fb=function(t){return this===t},bY(x1t,"NodePromotion/lambda$0$Type",1564),dOt(1565,1,{},op),EWt.Kb=function(t){return rX(this.a,$z(t,46))},EWt.Fb=function(t){return this===t},EWt.a=0,bY(x1t,"NodePromotion/lambda$1$Type",1565),dOt(1566,1,{},sp),EWt.Kb=function(t){return aX(this.a,$z(t,46))},EWt.Fb=function(t){return this===t},EWt.a=0,bY(x1t,"NodePromotion/lambda$2$Type",1566),dOt(1567,1,JJt,hi),EWt.pf=function(t,e){KKt($z(t,37),e)},bY(x1t,"NorthSouthPortPostprocessor",1567),dOt(1568,1,JJt,fi),EWt.pf=function(t,e){EKt($z(t,37),e)},bY(x1t,"NorthSouthPortPreprocessor",1568),dOt(1569,1,EQt,di),EWt.ue=function(t,e){return Zot($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"NorthSouthPortPreprocessor/lambda$0$Type",1569),dOt(1570,1,JJt,gi),EWt.pf=function(t,e){O$t($z(t,37),e)},bY(x1t,"PartitionMidprocessor",1570),dOt(1571,1,PXt,pi),EWt.Mb=function(t){return OP($z(t,10),(zYt(),Kbe))},bY(x1t,"PartitionMidprocessor/lambda$0$Type",1571),dOt(1572,1,hXt,lp),EWt.td=function(t){IV(this.a,$z(t,10))},bY(x1t,"PartitionMidprocessor/lambda$1$Type",1572),dOt(1573,1,JJt,bi),EWt.pf=function(t,e){dDt($z(t,37),e)},bY(x1t,"PartitionPostprocessor",1573),dOt(1574,1,JJt,wi),EWt.pf=function(t,e){NIt($z(t,37),e)},bY(x1t,"PartitionPreprocessor",1574),dOt(1575,1,PXt,yi),EWt.Mb=function(t){return OP($z(t,10),(zYt(),Kbe))},bY(x1t,"PartitionPreprocessor/lambda$0$Type",1575),dOt(1576,1,{},mi),EWt.Kb=function(t){return new PU(null,new UK(new oq(QN(hdt($z(t,10)).a.Kc(),new l))))},bY(x1t,"PartitionPreprocessor/lambda$1$Type",1576),dOt(1577,1,PXt,vi),EWt.Mb=function(t){return Lbt($z(t,17))},bY(x1t,"PartitionPreprocessor/lambda$2$Type",1577),dOt(1578,1,hXt,xi),EWt.td=function(t){Bst($z(t,17))},bY(x1t,"PartitionPreprocessor/lambda$3$Type",1578),dOt(1579,1,JJt,ih),EWt.pf=function(t,e){o$t($z(t,37),e)},bY(x1t,"PortListSorter",1579),dOt(1580,1,{},ki),EWt.Kb=function(t){return Gut(),$z(t,11).e},bY(x1t,"PortListSorter/lambda$0$Type",1580),dOt(1581,1,{},_i),EWt.Kb=function(t){return Gut(),$z(t,11).g},bY(x1t,"PortListSorter/lambda$1$Type",1581),dOt(1582,1,EQt,Ei),EWt.ue=function(t,e){return k4($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"PortListSorter/lambda$2$Type",1582),dOt(1583,1,EQt,Ti),EWt.ue=function(t,e){return Mvt($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"PortListSorter/lambda$3$Type",1583),dOt(1584,1,EQt,Ci),EWt.ue=function(t,e){return J$t($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"PortListSorter/lambda$4$Type",1584),dOt(1585,1,JJt,Si),EWt.pf=function(t,e){YOt($z(t,37),e)},bY(x1t,"PortSideProcessor",1585),dOt(1586,1,JJt,Ai),EWt.pf=function(t,e){Ajt($z(t,37),e)},bY(x1t,"ReversedEdgeRestorer",1586),dOt(1591,1,JJt,rm),EWt.pf=function(t,e){Vmt(this,$z(t,37),e)},bY(x1t,"SelfLoopPortRestorer",1591),dOt(1592,1,{},Mi),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"SelfLoopPortRestorer/lambda$0$Type",1592),dOt(1593,1,PXt,Ii),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Sse)},bY(x1t,"SelfLoopPortRestorer/lambda$1$Type",1593),dOt(1594,1,PXt,Oi),EWt.Mb=function(t){return OP($z(t,10),(uWt(),Afe))},bY(x1t,"SelfLoopPortRestorer/lambda$2$Type",1594),dOt(1595,1,{},Li),EWt.Kb=function(t){return $z(yTt($z(t,10),(uWt(),Afe)),403)},bY(x1t,"SelfLoopPortRestorer/lambda$3$Type",1595),dOt(1596,1,hXt,hp),EWt.td=function(t){TCt(this.a,$z(t,403))},bY(x1t,"SelfLoopPortRestorer/lambda$4$Type",1596),dOt(794,1,hXt,Ni),EWt.td=function(t){JCt($z(t,101))},bY(x1t,"SelfLoopPortRestorer/lambda$5$Type",794),dOt(1597,1,JJt,Di),EWt.pf=function(t,e){Lwt($z(t,37),e)},bY(x1t,"SelfLoopPostProcessor",1597),dOt(1598,1,{},Pi),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"SelfLoopPostProcessor/lambda$0$Type",1598),dOt(1599,1,PXt,Bi),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Sse)},bY(x1t,"SelfLoopPostProcessor/lambda$1$Type",1599),dOt(1600,1,PXt,ji),EWt.Mb=function(t){return OP($z(t,10),(uWt(),Afe))},bY(x1t,"SelfLoopPostProcessor/lambda$2$Type",1600),dOt(1601,1,hXt,Ri),EWt.td=function(t){Lkt($z(t,10))},bY(x1t,"SelfLoopPostProcessor/lambda$3$Type",1601),dOt(1602,1,{},$i),EWt.Kb=function(t){return new PU(null,new f1($z(t,101).f,1))},bY(x1t,"SelfLoopPostProcessor/lambda$4$Type",1602),dOt(1603,1,hXt,fp),EWt.td=function(t){r3(this.a,$z(t,409))},bY(x1t,"SelfLoopPostProcessor/lambda$5$Type",1603),dOt(1604,1,PXt,Fi),EWt.Mb=function(t){return!!$z(t,101).i},bY(x1t,"SelfLoopPostProcessor/lambda$6$Type",1604),dOt(1605,1,hXt,dp),EWt.td=function(t){kv(this.a,$z(t,101))},bY(x1t,"SelfLoopPostProcessor/lambda$7$Type",1605),dOt(1587,1,JJt,zi),EWt.pf=function(t,e){ZLt($z(t,37),e)},bY(x1t,"SelfLoopPreProcessor",1587),dOt(1588,1,{},Hi),EWt.Kb=function(t){return new PU(null,new f1($z(t,101).f,1))},bY(x1t,"SelfLoopPreProcessor/lambda$0$Type",1588),dOt(1589,1,{},Ui),EWt.Kb=function(t){return $z(t,409).a},bY(x1t,"SelfLoopPreProcessor/lambda$1$Type",1589),dOt(1590,1,hXt,Gi),EWt.td=function(t){zL($z(t,17))},bY(x1t,"SelfLoopPreProcessor/lambda$2$Type",1590),dOt(1606,1,JJt,Nj),EWt.pf=function(t,e){cCt(this,$z(t,37),e)},bY(x1t,"SelfLoopRouter",1606),dOt(1607,1,{},qi),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"SelfLoopRouter/lambda$0$Type",1607),dOt(1608,1,PXt,Ki),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Sse)},bY(x1t,"SelfLoopRouter/lambda$1$Type",1608),dOt(1609,1,PXt,Yi),EWt.Mb=function(t){return OP($z(t,10),(uWt(),Afe))},bY(x1t,"SelfLoopRouter/lambda$2$Type",1609),dOt(1610,1,{},Wi),EWt.Kb=function(t){return $z(yTt($z(t,10),(uWt(),Afe)),403)},bY(x1t,"SelfLoopRouter/lambda$3$Type",1610),dOt(1611,1,hXt,tS),EWt.td=function(t){WX(this.a,this.b,$z(t,403))},bY(x1t,"SelfLoopRouter/lambda$4$Type",1611),dOt(1612,1,JJt,Xi),EWt.pf=function(t,e){lPt($z(t,37),e)},bY(x1t,"SemiInteractiveCrossMinProcessor",1612),dOt(1613,1,PXt,Vi),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Sse)},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),dOt(1614,1,PXt,Qi),EWt.Mb=function(t){return HU($z(t,10))._b((zYt(),swe))},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),dOt(1615,1,EQt,Zi),EWt.ue=function(t,e){return grt($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),dOt(1616,1,{},Ji),EWt.Ce=function(t,e){return qV($z(t,10),$z(e,10))},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),dOt(1618,1,JJt,tr),EWt.pf=function(t,e){Ezt($z(t,37),e)},bY(x1t,"SortByInputModelProcessor",1618),dOt(1619,1,PXt,er),EWt.Mb=function(t){return 0!=$z(t,11).g.c.length},bY(x1t,"SortByInputModelProcessor/lambda$0$Type",1619),dOt(1620,1,hXt,gp),EWt.td=function(t){lSt(this.a,$z(t,11))},bY(x1t,"SortByInputModelProcessor/lambda$1$Type",1620),dOt(1693,803,{},prt),EWt.Me=function(t){var e,n,i,r;switch(this.c=t,this.a.g){case 2:e=new Lw,VE(MX(new PU(null,new f1(this.c.a.b,16)),new pr),new aS(this,e)),bAt(this,new rr),Met(e,new ar),e.c=N8(Ite,zWt,1,0,5,1),VE(MX(new PU(null,new f1(this.c.a.b,16)),new or),new bp(e)),bAt(this,new sr),Met(e,new cr),e.c=N8(Ite,zWt,1,0,5,1),n=vL(nat(OX(new PU(null,new f1(this.c.a.b,16)),new wp(this))),new ur),VE(new PU(null,new f1(this.c.a.a,16)),new nS(n,e)),bAt(this,new hr),Met(e,new nr),e.c=N8(Ite,zWt,1,0,5,1);break;case 3:i=new Lw,bAt(this,new ir),r=vL(nat(OX(new PU(null,new f1(this.c.a.b,16)),new pp(this))),new lr),VE(MX(new PU(null,new f1(this.c.a.b,16)),new fr),new rS(r,i)),bAt(this,new dr),Met(i,new gr),i.c=N8(Ite,zWt,1,0,5,1);break;default:throw Fw(new my)}},EWt.b=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation",1693),dOt(1694,1,HQt,ir),EWt.Lb=function(t){return iN($z(t,57).g,145)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return iN($z(t,57).g,145)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),dOt(1695,1,{},pp),EWt.Fe=function(t){return UAt(this.a,$z(t,57))},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),dOt(1703,1,BXt,eS),EWt.Vd=function(){$xt(this.a,this.b,-1)},EWt.b=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),dOt(1705,1,HQt,rr),EWt.Lb=function(t){return iN($z(t,57).g,145)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return iN($z(t,57).g,145)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),dOt(1706,1,hXt,ar),EWt.td=function(t){$z(t,365).Vd()},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),dOt(1707,1,PXt,or),EWt.Mb=function(t){return iN($z(t,57).g,10)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),dOt(1709,1,hXt,bp),EWt.td=function(t){kdt(this.a,$z(t,57))},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),dOt(1708,1,BXt,lS),EWt.Vd=function(){$xt(this.b,this.a,-1)},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),dOt(1710,1,HQt,sr),EWt.Lb=function(t){return iN($z(t,57).g,10)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return iN($z(t,57).g,10)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),dOt(1711,1,hXt,cr),EWt.td=function(t){$z(t,365).Vd()},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),dOt(1712,1,{},wp),EWt.Fe=function(t){return GAt(this.a,$z(t,57))},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),dOt(1713,1,{},ur),EWt.De=function(){return 0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),dOt(1696,1,{},lr),EWt.De=function(){return 0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),dOt(1715,1,hXt,nS),EWt.td=function(t){FG(this.a,this.b,$z(t,307))},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),dOt(1714,1,BXt,iS),EWt.Vd=function(){WOt(this.a,this.b,-1)},EWt.b=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),dOt(1716,1,HQt,hr),EWt.Lb=function(t){return $z(t,57),!0},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return $z(t,57),!0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),dOt(1717,1,hXt,nr),EWt.td=function(t){$z(t,365).Vd()},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),dOt(1697,1,PXt,fr),EWt.Mb=function(t){return iN($z(t,57).g,10)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),dOt(1699,1,hXt,rS),EWt.td=function(t){zG(this.a,this.b,$z(t,57))},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),dOt(1698,1,BXt,hS),EWt.Vd=function(){$xt(this.b,this.a,-1)},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),dOt(1700,1,HQt,dr),EWt.Lb=function(t){return $z(t,57),!0},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return $z(t,57),!0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),dOt(1701,1,hXt,gr),EWt.td=function(t){$z(t,365).Vd()},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),dOt(1702,1,PXt,pr),EWt.Mb=function(t){return iN($z(t,57).g,145)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),dOt(1704,1,hXt,aS),EWt.td=function(t){_et(this.a,this.b,$z(t,57))},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),dOt(1521,1,JJt,oP),EWt.pf=function(t,e){rUt(this,$z(t,37),e)},bY(I1t,"HorizontalGraphCompactor",1521),dOt(1522,1,{},yp),EWt.Oe=function(t,e){var n,i;return Q9(t,e)||(n=u2(t),i=u2(e),n&&n.k==(oCt(),Ese)||i&&i.k==(oCt(),Ese))?0:GD($z(yTt(this.a.a,(uWt(),Mfe)),304),n?n.k:(oCt(),Cse),i?i.k:(oCt(),Cse))},EWt.Pe=function(t,e){var n,i;return Q9(t,e)?1:(n=u2(t),i=u2(e),qD($z(yTt(this.a.a,(uWt(),Mfe)),304),n?n.k:(oCt(),Cse),i?i.k:(oCt(),Cse)))},bY(I1t,"HorizontalGraphCompactor/1",1522),dOt(1523,1,{},br),EWt.Ne=function(t,e){return _T(),0==t.a.i},bY(I1t,"HorizontalGraphCompactor/lambda$0$Type",1523),dOt(1524,1,{},mp),EWt.Ne=function(t,e){return jV(this.a,t,e)},bY(I1t,"HorizontalGraphCompactor/lambda$1$Type",1524),dOt(1664,1,{},S9),bY(I1t,"LGraphToCGraphTransformer",1664),dOt(1672,1,PXt,wr),EWt.Mb=function(t){return null!=t},bY(I1t,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),dOt(1665,1,{},yr),EWt.Kb=function(t){return H$(),Fdt(yTt($z($z(t,57).g,10),(uWt(),dfe)))},bY(I1t,"LGraphToCGraphTransformer/lambda$0$Type",1665),dOt(1666,1,{},mr),EWt.Kb=function(t){return H$(),yht($z($z(t,57).g,145))},bY(I1t,"LGraphToCGraphTransformer/lambda$1$Type",1666),dOt(1675,1,PXt,vr),EWt.Mb=function(t){return H$(),iN($z(t,57).g,10)},bY(I1t,"LGraphToCGraphTransformer/lambda$10$Type",1675),dOt(1676,1,hXt,xr),EWt.td=function(t){BV($z(t,57))},bY(I1t,"LGraphToCGraphTransformer/lambda$11$Type",1676),dOt(1677,1,PXt,kr),EWt.Mb=function(t){return H$(),iN($z(t,57).g,145)},bY(I1t,"LGraphToCGraphTransformer/lambda$12$Type",1677),dOt(1681,1,hXt,_r),EWt.td=function(t){wht($z(t,57))},bY(I1t,"LGraphToCGraphTransformer/lambda$13$Type",1681),dOt(1678,1,hXt,vp),EWt.td=function(t){aO(this.a,$z(t,8))},EWt.a=0,bY(I1t,"LGraphToCGraphTransformer/lambda$14$Type",1678),dOt(1679,1,hXt,xp),EWt.td=function(t){sO(this.a,$z(t,110))},EWt.a=0,bY(I1t,"LGraphToCGraphTransformer/lambda$15$Type",1679),dOt(1680,1,hXt,kp),EWt.td=function(t){oO(this.a,$z(t,8))},EWt.a=0,bY(I1t,"LGraphToCGraphTransformer/lambda$16$Type",1680),dOt(1682,1,{},Er),EWt.Kb=function(t){return H$(),new PU(null,new UK(new oq(QN(hdt($z(t,10)).a.Kc(),new l))))},bY(I1t,"LGraphToCGraphTransformer/lambda$17$Type",1682),dOt(1683,1,PXt,Tr),EWt.Mb=function(t){return H$(),h5($z(t,17))},bY(I1t,"LGraphToCGraphTransformer/lambda$18$Type",1683),dOt(1684,1,hXt,_p),EWt.td=function(t){Ett(this.a,$z(t,17))},bY(I1t,"LGraphToCGraphTransformer/lambda$19$Type",1684),dOt(1668,1,hXt,Ep),EWt.td=function(t){l0(this.a,$z(t,145))},bY(I1t,"LGraphToCGraphTransformer/lambda$2$Type",1668),dOt(1685,1,{},Cr),EWt.Kb=function(t){return H$(),new PU(null,new f1($z(t,29).a,16))},bY(I1t,"LGraphToCGraphTransformer/lambda$20$Type",1685),dOt(1686,1,{},Sr),EWt.Kb=function(t){return H$(),new PU(null,new UK(new oq(QN(hdt($z(t,10)).a.Kc(),new l))))},bY(I1t,"LGraphToCGraphTransformer/lambda$21$Type",1686),dOt(1687,1,{},Ar),EWt.Kb=function(t){return H$(),$z(yTt($z(t,17),(uWt(),Lfe)),15)},bY(I1t,"LGraphToCGraphTransformer/lambda$22$Type",1687),dOt(1688,1,PXt,Mr),EWt.Mb=function(t){return JD($z(t,15))},bY(I1t,"LGraphToCGraphTransformer/lambda$23$Type",1688),dOt(1689,1,hXt,Tp),EWt.td=function(t){CAt(this.a,$z(t,15))},bY(I1t,"LGraphToCGraphTransformer/lambda$24$Type",1689),dOt(1667,1,hXt,oS),EWt.td=function(t){F3(this.a,this.b,$z(t,145))},bY(I1t,"LGraphToCGraphTransformer/lambda$3$Type",1667),dOt(1669,1,{},Ir),EWt.Kb=function(t){return H$(),new PU(null,new f1($z(t,29).a,16))},bY(I1t,"LGraphToCGraphTransformer/lambda$4$Type",1669),dOt(1670,1,{},Or),EWt.Kb=function(t){return H$(),new PU(null,new UK(new oq(QN(hdt($z(t,10)).a.Kc(),new l))))},bY(I1t,"LGraphToCGraphTransformer/lambda$5$Type",1670),dOt(1671,1,{},Lr),EWt.Kb=function(t){return H$(),$z(yTt($z(t,17),(uWt(),Lfe)),15)},bY(I1t,"LGraphToCGraphTransformer/lambda$6$Type",1671),dOt(1673,1,hXt,Cp),EWt.td=function(t){jMt(this.a,$z(t,15))},bY(I1t,"LGraphToCGraphTransformer/lambda$8$Type",1673),dOt(1674,1,hXt,sS),EWt.td=function(t){NL(this.a,this.b,$z(t,145))},bY(I1t,"LGraphToCGraphTransformer/lambda$9$Type",1674),dOt(1663,1,{},Nr),EWt.Le=function(t){var e,n,i,r,a;for(this.a=t,this.d=new Ry,this.c=N8(zie,zWt,121,this.a.a.a.c.length,0,1),this.b=0,n=new Kd(this.a.a.a);n.a<n.c.c.length;)(e=$z(Z1(n),307)).d=this.b,a=MD(oT(new zy,e),this.d),this.c[this.b]=a,++this.b;for(QGt(this),IKt(this),ZNt(this),YRt($$(this.d),new qm),r=new Kd(this.a.a.b);r.a<r.c.c.length;)(i=$z(Z1(r),57)).d.c=this.c[i.a.d].e+i.b.a},EWt.b=0,bY(I1t,"NetworkSimplexCompaction",1663),dOt(145,1,{35:1,145:1},Czt),EWt.wd=function(t){return Ott(this,$z(t,145))},EWt.Ib=function(){return yht(this)},bY(I1t,"VerticalSegment",145),dOt(827,1,{},G_t),EWt.c=0,EWt.e=0,EWt.i=0,bY(O1t,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),dOt(663,1,{663:1},vat),EWt.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},EWt.b=0,EWt.c=0,EWt.f=0,bY(O1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),dOt(287,1,{35:1,287:1},HP),EWt.wd=function(t){return rU(this,$z(t,287))},EWt.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},EWt.a=0,EWt.b=0,EWt.c=0,bY(O1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),dOt(1929,1,{},ZCt),EWt.b=0,EWt.e=!1,bY(O1t,"CrossingMatrixFiller",1929);var bue=hU(L1t,"IInitializable");dOt(1804,1,N1t,bS),EWt.Nf=function(t,e,n,i,r,a){},EWt.Pf=function(t,e,n){},EWt.Lf=function(){return this.c!=(sit(),Ime)},EWt.Mf=function(){this.e=N8(ADe,uVt,25,this.d,15,1)},EWt.Of=function(t,e){e[t][0].c.p=t},EWt.Qf=function(t,e,n,i){++this.d},EWt.Rf=function(){return!0},EWt.Sf=function(t,e,n,i){return Vlt(this,t,e,n),Q4(this,e)},EWt.Tf=function(t,e){var n;return Vlt(this,t,n=ck(e,t.length),e),fct(this,n)},EWt.d=0,bY(O1t,"GreedySwitchHeuristic",1804),dOt(1930,1,{},lG),EWt.b=0,EWt.d=0,bY(O1t,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),dOt(1917,1,{},ojt),EWt.a=!1,bY(O1t,"SwitchDecider",1917),dOt(101,1,{101:1},bSt),EWt.a=null,EWt.c=null,EWt.i=null,bY(D1t,"SelfHyperLoop",101),dOt(1916,1,{},ewt),EWt.c=0,EWt.e=0,bY(D1t,"SelfHyperLoopLabels",1916),dOt(411,22,{3:1,35:1,22:1,411:1},wS);var wue,yue,mue,vue,xue,kue=Fnt(D1t,"SelfHyperLoopLabels/Alignment",411,Gte,n3,G$);dOt(409,1,{409:1},v6),bY(D1t,"SelfLoopEdge",409),dOt(403,1,{403:1},Mbt),EWt.a=!1,bY(D1t,"SelfLoopHolder",403),dOt(1724,1,PXt,Ur),EWt.Mb=function(t){return h5($z(t,17))},bY(D1t,"SelfLoopHolder/lambda$0$Type",1724),dOt(113,1,{113:1},nwt),EWt.a=!1,EWt.c=!1,bY(D1t,"SelfLoopPort",113),dOt(1792,1,PXt,Gr),EWt.Mb=function(t){return h5($z(t,17))},bY(D1t,"SelfLoopPort/lambda$0$Type",1792),dOt(363,22,{3:1,35:1,22:1,363:1},yS);var _ue,Eue,Tue,Cue,Sue,Aue,Mue,Iue,Oue,Lue,Nue=Fnt(D1t,"SelfLoopType",363,Gte,N5,X$);dOt(1732,1,{},rh),bY(P1t,"PortRestorer",1732),dOt(361,22,{3:1,35:1,22:1,361:1},mS);var Due,Pue,Bue,jue,Rue=Fnt(P1t,"PortRestorer/PortSideArea",361,Gte,T1,V$);dOt(1733,1,{},Wr),EWt.Kb=function(t){return RTt(),$z(t,15).Oc()},bY(P1t,"PortRestorer/lambda$0$Type",1733),dOt(1734,1,hXt,Xr),EWt.td=function(t){RTt(),$z(t,113).c=!1},bY(P1t,"PortRestorer/lambda$1$Type",1734),dOt(1743,1,PXt,Vr),EWt.Mb=function(t){return RTt(),$z(t,11).j==(vKt(),SMe)},bY(P1t,"PortRestorer/lambda$10$Type",1743),dOt(1744,1,{},Qr),EWt.Kb=function(t){return RTt(),$z(t,113).d},bY(P1t,"PortRestorer/lambda$11$Type",1744),dOt(1745,1,hXt,Sp),EWt.td=function(t){Lk(this.a,$z(t,11))},bY(P1t,"PortRestorer/lambda$12$Type",1745),dOt(1735,1,hXt,Ap),EWt.td=function(t){MP(this.a,$z(t,101))},bY(P1t,"PortRestorer/lambda$2$Type",1735),dOt(1736,1,EQt,Zr),EWt.ue=function(t,e){return snt($z(t,113),$z(e,113))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(P1t,"PortRestorer/lambda$3$Type",1736),dOt(1737,1,PXt,Jr),EWt.Mb=function(t){return RTt(),$z(t,113).c},bY(P1t,"PortRestorer/lambda$4$Type",1737),dOt(1738,1,PXt,Pr),EWt.Mb=function(t){return Iat($z(t,11))},bY(P1t,"PortRestorer/lambda$5$Type",1738),dOt(1739,1,PXt,Dr),EWt.Mb=function(t){return RTt(),$z(t,11).j==(vKt(),cMe)},bY(P1t,"PortRestorer/lambda$6$Type",1739),dOt(1740,1,PXt,Br),EWt.Mb=function(t){return RTt(),$z(t,11).j==(vKt(),sMe)},bY(P1t,"PortRestorer/lambda$7$Type",1740),dOt(1741,1,PXt,jr),EWt.Mb=function(t){return i3($z(t,11))},bY(P1t,"PortRestorer/lambda$8$Type",1741),dOt(1742,1,PXt,Rr),EWt.Mb=function(t){return RTt(),$z(t,11).j==(vKt(),TMe)},bY(P1t,"PortRestorer/lambda$9$Type",1742),dOt(270,22,{3:1,35:1,22:1,270:1},KX);var $ue,Fue,zue,Hue,Uue,Gue,que,Kue,Yue,Wue,Xue=Fnt(P1t,"PortSideAssigner/Target",270,Gte,$et,q$);dOt(1725,1,{},$r),EWt.Kb=function(t){return MX(new PU(null,new f1($z(t,101).j,16)),new Yr)},bY(P1t,"PortSideAssigner/lambda$1$Type",1725),dOt(1726,1,{},Fr),EWt.Kb=function(t){return $z(t,113).d},bY(P1t,"PortSideAssigner/lambda$2$Type",1726),dOt(1727,1,hXt,zr),EWt.td=function(t){HAt($z(t,11),(vKt(),cMe))},bY(P1t,"PortSideAssigner/lambda$3$Type",1727),dOt(1728,1,{},Hr),EWt.Kb=function(t){return $z(t,113).d},bY(P1t,"PortSideAssigner/lambda$4$Type",1728),dOt(1729,1,hXt,Mp),EWt.td=function(t){Jw(this.a,$z(t,11))},bY(P1t,"PortSideAssigner/lambda$5$Type",1729),dOt(1730,1,EQt,qr),EWt.ue=function(t,e){return _W($z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(P1t,"PortSideAssigner/lambda$6$Type",1730),dOt(1731,1,EQt,Kr),EWt.ue=function(t,e){return oH($z(t,113),$z(e,113))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(P1t,"PortSideAssigner/lambda$7$Type",1731),dOt(805,1,PXt,Yr),EWt.Mb=function(t){return $z(t,113).c},bY(P1t,"PortSideAssigner/lambda$8$Type",805),dOt(2009,1,{}),bY(B1t,"AbstractSelfLoopRouter",2009),dOt(1750,1,EQt,ta),EWt.ue=function(t,e){return SR($z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(B1t,fZt,1750),dOt(1751,1,EQt,ea),EWt.ue=function(t,e){return CR($z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(B1t,dZt,1751),dOt(1793,2009,{},na),EWt.Uf=function(t,e,n){return n},bY(B1t,"OrthogonalSelfLoopRouter",1793),dOt(1795,1,hXt,fS),EWt.td=function(t){bbt(this.b,this.a,$z(t,8))},bY(B1t,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),dOt(1794,1793,{},ia),EWt.Uf=function(t,e,n){var i,r;return BP(n,0,Gj($L((i=t.c.d).n),i.a)),DH(n,Gj($L((r=t.d.d).n),r.a)),k$t(n)},bY(B1t,"PolylineSelfLoopRouter",1794),dOt(1746,1,{},Zl),EWt.a=null,bY(B1t,"RoutingDirector",1746),dOt(1747,1,EQt,ra),EWt.ue=function(t,e){return fH($z(t,113),$z(e,113))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(B1t,"RoutingDirector/lambda$0$Type",1747),dOt(1748,1,{},aa),EWt.Kb=function(t){return ET(),$z(t,101).j},bY(B1t,"RoutingDirector/lambda$1$Type",1748),dOt(1749,1,hXt,oa),EWt.td=function(t){ET(),$z(t,15).ad(Wue)},bY(B1t,"RoutingDirector/lambda$2$Type",1749),dOt(1752,1,{},sa),bY(B1t,"RoutingSlotAssigner",1752),dOt(1753,1,PXt,Ip),EWt.Mb=function(t){return CA(this.a,$z(t,101))},bY(B1t,"RoutingSlotAssigner/lambda$0$Type",1753),dOt(1754,1,EQt,Op),EWt.ue=function(t,e){return GU(this.a,$z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(B1t,"RoutingSlotAssigner/lambda$1$Type",1754),dOt(1796,1793,{},ca),EWt.Uf=function(t,e,n){var i,r,a,o;return i=Hv(_B(pwt(t.b.g.b,(zYt(),vwe)))),JLt(t,e,n,o=new GP(Cst(Hx(TTe,1),cXt,8,0,[(a=t.c.d,Gj(new fO(a.n),a.a))])),i),DH(o,Gj(new fO((r=t.d.d).n),r.a)),$yt(new szt(o))},bY(B1t,"SplineSelfLoopRouter",1796),dOt(578,1,EQt,Urt,mH),EWt.ue=function(t,e){return lYt(this,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(j1t,"ModelOrderNodeComparator",578),dOt(1755,1,PXt,ua),EWt.Mb=function(t){return 0!=$z(t,11).e.c.length},bY(j1t,"ModelOrderNodeComparator/lambda$0$Type",1755),dOt(1756,1,{},la),EWt.Kb=function(t){return $z(NU($z(t,11).e,0),17).c},bY(j1t,"ModelOrderNodeComparator/lambda$1$Type",1756),dOt(1757,1,PXt,ha),EWt.Mb=function(t){return 0!=$z(t,11).e.c.length},bY(j1t,"ModelOrderNodeComparator/lambda$2$Type",1757),dOt(1758,1,{},fa),EWt.Kb=function(t){return $z(NU($z(t,11).e,0),17).c},bY(j1t,"ModelOrderNodeComparator/lambda$3$Type",1758),dOt(1759,1,PXt,da),EWt.Mb=function(t){return 0!=$z(t,11).e.c.length},bY(j1t,"ModelOrderNodeComparator/lambda$4$Type",1759),dOt(806,1,EQt,A9,pS),EWt.ue=function(t,e){return Lq(this,t,e)},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(j1t,"ModelOrderPortComparator",806),dOt(801,1,{},ga),EWt.Vf=function(t,e){var n,r,a,o;for(a=CCt(e),n=new Lw,o=e.f/a,r=1;r<a;++r)Kz(n,nft(dG(lot(i.Math.round(r*o)))));return n},EWt.Wf=function(){return!1},bY(R1t,"ARDCutIndexHeuristic",801),dOt(1479,1,JJt,pa),EWt.pf=function(t,e){sRt($z(t,37),e)},bY(R1t,"BreakingPointInserter",1479),dOt(305,1,{305:1},b3),EWt.Ib=function(){var t;return(t=new Cx).a+="BPInfo[",t.a+="\n\tstart=",aI(t,this.i),t.a+="\n\tend=",aI(t,this.a),t.a+="\n\tnodeStartEdge=",aI(t,this.e),t.a+="\n\tstartEndEdge=",aI(t,this.j),t.a+="\n\toriginalEdge=",aI(t,this.f),t.a+="\n\tstartInLayerDummy=",aI(t,this.k),t.a+="\n\tstartInLayerEdge=",aI(t,this.n),t.a+="\n\tendInLayerDummy=",aI(t,this.b),t.a+="\n\tendInLayerEdge=",aI(t,this.c),t.a},bY(R1t,"BreakingPointInserter/BPInfo",305),dOt(652,1,{652:1},Fp),EWt.a=!1,EWt.b=0,EWt.c=0,bY(R1t,"BreakingPointInserter/Cut",652),dOt(1480,1,JJt,ba),EWt.pf=function(t,e){yNt($z(t,37),e)},bY(R1t,"BreakingPointProcessor",1480),dOt(1481,1,PXt,wa),EWt.Mb=function(t){return Vtt($z(t,10))},bY(R1t,"BreakingPointProcessor/0methodref$isEnd$Type",1481),dOt(1482,1,PXt,ya),EWt.Mb=function(t){return Qtt($z(t,10))},bY(R1t,"BreakingPointProcessor/1methodref$isStart$Type",1482),dOt(1483,1,JJt,ma),EWt.pf=function(t,e){iDt(this,$z(t,37),e)},bY(R1t,"BreakingPointRemover",1483),dOt(1484,1,hXt,va),EWt.td=function(t){$z(t,128).k=!0},bY(R1t,"BreakingPointRemover/lambda$0$Type",1484),dOt(797,1,{},EOt),EWt.b=0,EWt.e=0,EWt.f=0,EWt.j=0,bY(R1t,"GraphStats",797),dOt(798,1,{},xa),EWt.Ce=function(t,e){return i.Math.max(Hv(_B(t)),Hv(_B(e)))},bY(R1t,"GraphStats/0methodref$max$Type",798),dOt(799,1,{},ka),EWt.Ce=function(t,e){return i.Math.max(Hv(_B(t)),Hv(_B(e)))},bY(R1t,"GraphStats/2methodref$max$Type",799),dOt(1660,1,{},_a),EWt.Ce=function(t,e){return bz(_B(t),_B(e))},bY(R1t,"GraphStats/lambda$1$Type",1660),dOt(1661,1,{},Lp),EWt.Kb=function(t){return dwt(this.a,$z(t,29))},bY(R1t,"GraphStats/lambda$2$Type",1661),dOt(1662,1,{},Np),EWt.Kb=function(t){return WNt(this.a,$z(t,29))},bY(R1t,"GraphStats/lambda$6$Type",1662),dOt(800,1,{},Ea),EWt.Vf=function(t,e){return $z(yTt(t,(zYt(),jwe)),15)||(EV(),EV(),cne)},EWt.Wf=function(){return!1},bY(R1t,"ICutIndexCalculator/ManualCutIndexCalculator",800),dOt(802,1,{},Ta),EWt.Vf=function(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(null==e.n&&Pmt(e),x=e.n,null==e.d&&Pmt(e),u=e.d,(v=N8(LDe,HVt,25,x.length,15,1))[0]=x[0],y=x[0],l=1;l<x.length;l++)v[l]=v[l-1]+x[l],y+=x[l];for(a=CCt(e)-1,s=$z(yTt(t,(zYt(),Rwe)),19).a,r=jVt,n=new Lw,d=i.Math.max(0,a-s);d<=i.Math.min(e.f-1,a+s);d++){if(b=y/(d+1),w=0,h=1,o=new Lw,m=jVt,f=0,c=0,p=u[0],0==d)m=y,null==e.g&&(e.g=Krt(e,new ka)),c=Hv(e.g);else{for(;h<e.f;)v[h-1]-w>=b&&(Kz(o,nft(h)),m=i.Math.max(m,v[h-1]-f),c+=p,w+=v[h-1]-w,f=v[h-1],p=u[h]),p=i.Math.max(p,u[h]),++h;c+=p}(g=i.Math.min(1/m,1/e.b/c))>r&&(r=g,n=o)}return n},EWt.Wf=function(){return!1},bY(R1t,"MSDCutIndexHeuristic",802),dOt(1617,1,JJt,Ca),EWt.pf=function(t,e){fzt($z(t,37),e)},bY(R1t,"SingleEdgeGraphWrapper",1617),dOt(227,22,{3:1,35:1,22:1,227:1},vS);var Vue,Que,Zue,Jue,tle,ele,nle,ile=Fnt($1t,"CenterEdgeLabelPlacementStrategy",227,Gte,Q8,K$);dOt(422,22,{3:1,35:1,22:1,422:1},xS);var rle,ale,ole,sle=Fnt($1t,"ConstraintCalculationStrategy",422,Gte,HQ,Y$);dOt(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},kS),EWt.Kf=function(){return cMt(this)},EWt.Xf=function(){return cMt(this)};var cle,ule,lle,hle,fle=Fnt($1t,"CrossingMinimizationStrategy",314,Gte,k1,W$);dOt(337,22,{3:1,35:1,22:1,337:1},_S);var dle,gle,ple,ble,wle=Fnt($1t,"CuttingStrategy",337,Gte,_1,Q$);dOt(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},ES),EWt.Kf=function(){return BOt(this)},EWt.Xf=function(){return BOt(this)};var yle,mle,vle,xle,kle,_le,Ele=Fnt($1t,"CycleBreakingStrategy",335,Gte,O5,Z$);dOt(419,22,{3:1,35:1,22:1,419:1},TS);var Tle,Cle,Sle,Ale=Fnt($1t,"DirectionCongruency",419,Gte,zQ,J$);dOt(450,22,{3:1,35:1,22:1,450:1},CS);var Mle,Ile,Ole,Lle,Nle=Fnt($1t,"EdgeConstraint",450,Gte,E1,tF);dOt(276,22,{3:1,35:1,22:1,276:1},SS);var Dle,Ple,Ble,jle,Rle,$le,Fle,zle=Fnt($1t,"EdgeLabelSideSelection",276,Gte,e7,eF);dOt(479,22,{3:1,35:1,22:1,479:1},AS);var Hle,Ule,Gle,qle=Fnt($1t,"EdgeStraighteningStrategy",479,Gte,FQ,nF);dOt(274,22,{3:1,35:1,22:1,274:1},MS);var Kle,Yle,Wle,Xle,Vle,Qle,Zle,Jle=Fnt($1t,"FixedAlignment",274,Gte,J8,iF);dOt(275,22,{3:1,35:1,22:1,275:1},IS);var the,ehe,nhe,ihe,rhe,ahe,ohe,she=Fnt($1t,"GraphCompactionStrategy",275,Gte,Z8,rF);dOt(256,22,{3:1,35:1,22:1,256:1},OS);var che,uhe,lhe,hhe,fhe,dhe,ghe,phe,bhe,whe,yhe,mhe=Fnt($1t,"GraphProperties",256,Gte,fat,aF);dOt(292,22,{3:1,35:1,22:1,292:1},LS);var vhe,xhe,khe,_he,Ehe=Fnt($1t,"GreedySwitchType",292,Gte,S1,oF);dOt(303,22,{3:1,35:1,22:1,303:1},NS);var The,Che,She,Ahe,Mhe=Fnt($1t,"InLayerConstraint",303,Gte,C1,sF);dOt(420,22,{3:1,35:1,22:1,420:1},DS);var Ihe,Ohe,Lhe,Nhe,Dhe,Phe,Bhe,jhe,Rhe,$he,Fhe,zhe,Hhe,Uhe,Ghe,qhe,Khe,Yhe,Whe,Xhe,Vhe,Qhe,Zhe,Jhe,tfe,efe,nfe,ife,rfe,afe,ofe,sfe,cfe,ufe,lfe,hfe,ffe,dfe,gfe,pfe,bfe,wfe,yfe,mfe,vfe,xfe,kfe,_fe,Efe,Tfe,Cfe,Sfe,Afe,Mfe,Ife,Ofe,Lfe,Nfe,Dfe,Pfe,Bfe,jfe=Fnt($1t,"InteractiveReferencePoint",420,Gte,UQ,cF);dOt(163,22,{3:1,35:1,22:1,163:1},$S);var Rfe,$fe,Ffe,zfe,Hfe,Ufe,Gfe,qfe,Kfe,Yfe,Wfe,Xfe,Vfe,Qfe,Zfe,Jfe,tde,ede,nde,ide,rde,ade,ode,sde,cde,ude,lde,hde,fde,dde,gde,pde,bde,wde,yde,mde,vde,xde,kde,_de,Ede,Tde,Cde,Sde,Ade,Mde,Ide,Ode,Lde,Nde,Dde,Pde,Bde,jde,Rde,$de,Fde,zde,Hde,Ude,Gde,qde,Kde,Yde,Wde,Xde,Vde,Qde,Zde,Jde,tge,ege,nge,ige,rge,age,oge,sge,cge,uge,lge,hge,fge,dge,gge,pge,bge,wge,yge,mge,vge,xge,kge,_ge,Ege,Tge,Cge,Sge,Age,Mge,Ige,Oge,Lge,Nge,Dge,Pge,Bge,jge,Rge,$ge,Fge,zge,Hge,Uge,Gge,qge,Kge,Yge,Wge,Xge,Vge,Qge,Zge,Jge,tpe,epe,npe,ipe,rpe,ape,ope,spe,cpe,upe,lpe,hpe,fpe,dpe,gpe,ppe,bpe,wpe,ype,mpe,vpe,xpe,kpe,_pe,Epe,Tpe,Cpe,Spe,Ape,Mpe,Ipe,Ope,Lpe,Npe,Dpe,Ppe,Bpe,jpe,Rpe,$pe,Fpe,zpe,Hpe,Upe,Gpe,qpe,Kpe,Ype,Wpe,Xpe,Vpe,Qpe,Zpe,Jpe,tbe,ebe,nbe,ibe,rbe,abe,obe,sbe,cbe,ube,lbe,hbe,fbe,dbe,gbe,pbe,bbe,wbe,ybe,mbe,vbe,xbe,kbe,_be,Ebe,Tbe,Cbe,Sbe,Abe,Mbe,Ibe,Obe,Lbe,Nbe,Dbe,Pbe,Bbe,jbe,Rbe,$be,Fbe,zbe,Hbe,Ube,Gbe,qbe,Kbe,Ybe,Wbe,Xbe,Vbe,Qbe,Zbe,Jbe,twe,ewe,nwe,iwe,rwe,awe,owe,swe,cwe,uwe,lwe,hwe,fwe,dwe,gwe,pwe,bwe,wwe,ywe,mwe,vwe,xwe,kwe,_we,Ewe,Twe,Cwe,Swe,Awe,Mwe,Iwe,Owe,Lwe,Nwe,Dwe,Pwe,Bwe,jwe,Rwe,$we,Fwe,zwe,Hwe,Uwe,Gwe,qwe,Kwe,Ywe,Wwe,Xwe=Fnt($1t,"LayerConstraint",163,Gte,D5,uF);dOt(848,1,XQt,sh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q1t),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),Tde),(CSt(),pTe)),Ale),Jft((iwt(),uTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K1t),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(cD(),!1)),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y1t),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Wde),pTe),jfe),Jft(uTe)))),r2(t,Y1t,e0t,Vde),r2(t,Y1t,h0t,Xde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,W1t),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,X1t),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Tk(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,V1t),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),dTe),vee),Jft(lTe)),Cst(Hx(zee,1),cXt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Q1t),""),"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."),Nge),pTe),Fye),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Z1t),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),nft(7)),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,J1t),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,t0t),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,e0t),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),_de),pTe),Ele),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,n0t),l2t),"Node Layering Strategy"),"Strategy for node layering."),hge),pTe),iye),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,i0t),l2t),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),ege),pTe),Xwe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,r0t),l2t),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),nft(-1)),wTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,a0t),l2t),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),nft(-1)),wTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o0t),h2t),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),nft(4)),wTe),Iee),Jft(uTe)))),r2(t,o0t,n0t,rge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s0t),h2t),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),nft(2)),wTe),Iee),Jft(uTe)))),r2(t,s0t,n0t,oge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c0t),f2t),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),uge),pTe),Oye),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,u0t),f2t),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),nft(0)),wTe),Iee),Jft(uTe)))),r2(t,u0t,c0t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,l0t),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),nft(PWt)),wTe),Iee),Jft(uTe)))),r2(t,l0t,n0t,Zde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,h0t),d2t),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),xde),pTe),fle),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,f0t),d2t),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,d0t),d2t),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),gTe),Cee),Jft(uTe)))),r2(t,d0t,g2t,pde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,g0t),d2t),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),dTe),vee),Jft(uTe)))),r2(t,g0t,h0t,mde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,p0t),d2t),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),nft(-1)),wTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,b0t),d2t),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),nft(-1)),wTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,w0t),p2t),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),nft(40)),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,y0t),p2t),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),fde),pTe),Ehe),Jft(uTe)))),r2(t,y0t,h0t,dde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,m0t),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),cde),pTe),Ehe),Jft(uTe)))),r2(t,m0t,h0t,ude),r2(t,m0t,g2t,lde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,v0t),b2t),"Node Placement Strategy"),"Strategy for node placement."),Oge),pTe),xye),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,x0t),b2t),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),dTe),vee),Jft(uTe)))),r2(t,x0t,v0t,xge),r2(t,x0t,v0t,kge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,k0t),w2t),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),pge),pTe),qle),Jft(uTe)))),r2(t,k0t,v0t,bge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_0t),w2t),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),yge),pTe),Jle),Jft(uTe)))),r2(t,_0t,v0t,mge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,E0t),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),gTe),Cee),Jft(uTe)))),r2(t,E0t,v0t,Ege),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,T0t),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),pTe),gye),Jft(cTe)))),r2(t,T0t,v0t,Mge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,C0t),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Sge),pTe),gye),Jft(uTe)))),r2(t,C0t,v0t,Age),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,S0t),y2t),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Nde),pTe),Vye),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,A0t),y2t),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Pde),pTe),tme),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,M0t),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),jde),pTe),ame),Jft(uTe)))),r2(t,M0t,m2t,Rde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,I0t),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),gTe),Cee),Jft(uTe)))),r2(t,I0t,m2t,Fde),r2(t,I0t,M0t,zde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,O0t),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),gTe),Cee),Jft(uTe)))),r2(t,O0t,m2t,Ode),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,L0t),v2t),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,N0t),v2t),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,D0t),v2t),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,P0t),v2t),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,B0t),x2t),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),nft(0)),wTe),Iee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,j0t),x2t),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),nft(0)),wTe),Iee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,R0t),x2t),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),nft(0)),wTe),Iee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,$0t),k2t),PZt),"Tries to further compact components (disconnected sub-graphs)."),!1),dTe),vee),Jft(uTe)))),r2(t,$0t,vJt,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,F0t),_2t),"Post Compaction Strategy"),E2t),Xfe),pTe),she),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,z0t),_2t),"Post Compaction Constraint Calculation"),E2t),Yfe),pTe),sle),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,H0t),T2t),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,U0t),T2t),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),nft(16)),wTe),Iee),Jft(uTe)))),r2(t,U0t,H0t,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,G0t),T2t),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),nft(5)),wTe),Iee),Jft(uTe)))),r2(t,G0t,H0t,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q0t),C2t),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),hpe),pTe),Eme),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K0t),C2t),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),gTe),Cee),Jft(uTe)))),r2(t,K0t,q0t,Gge),r2(t,K0t,q0t,qge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y0t),C2t),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),gTe),Cee),Jft(uTe)))),r2(t,Y0t,q0t,Yge),r2(t,Y0t,q0t,Wge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,W0t),S2t),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),epe),pTe),wle),Jft(uTe)))),r2(t,W0t,q0t,npe),r2(t,W0t,q0t,ipe),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,X0t),S2t),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),yTe),Bte),Jft(uTe)))),r2(t,X0t,W0t,Vge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,V0t),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),Zge),wTe),Iee),Jft(uTe)))),r2(t,V0t,W0t,Jge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Q0t),A2t),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),bpe),pTe),lme),Jft(uTe)))),r2(t,Q0t,q0t,wpe),r2(t,Q0t,q0t,ype),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,Z0t),A2t),"Valid Indices for Wrapping"),null),yTe),Bte),Jft(uTe)))),r2(t,Z0t,q0t,dpe),r2(t,Z0t,q0t,gpe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,J0t),M2t),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),dTe),vee),Jft(uTe)))),r2(t,J0t,q0t,spe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,t2t),M2t),"Distance Penalty When Improving Cuts"),null),2),gTe),Cee),Jft(uTe)))),r2(t,t2t,q0t,ape),r2(t,t2t,J0t,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,e2t),M2t),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),dTe),vee),Jft(uTe)))),r2(t,e2t,q0t,upe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,n2t),I2t),"Edge Label Side Selection"),"Method to decide on edge label sides."),Mde),pTe),zle),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,i2t),I2t),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),Sde),pTe),ile),xG(uTe,Cst(Hx(fTe,1),OXt,175,0,[sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,r2t),O2t),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),rde),pTe),Bye),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,a2t),O2t),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o2t),O2t),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Qfe),pTe),wse),Jft(uTe)))),r2(t,o2t,vJt,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s2t),O2t),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),ede),pTe),cye),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c2t),O2t),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),gTe),Cee),Jft(uTe)))),r2(t,c2t,r2t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,u2t),O2t),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),gTe),Cee),Jft(uTe)))),r2(t,u2t,r2t,null),wWt((new lh,t))},bY($1t,"LayeredMetaDataProvider",848),dOt(986,1,XQt,lh),EWt.Qe=function(t){wWt(t)},bY($1t,"LayeredOptions",986),dOt(987,1,{},Aa),EWt.$e=function(){return new Gy},EWt._e=function(t){},bY($1t,"LayeredOptions/LayeredFactory",987),dOt(1372,1,{}),EWt.a=0,bY(m3t,"ElkSpacings/AbstractSpacingsBuilder",1372),dOt(779,1372,{},ogt),bY($1t,"LayeredSpacings/LayeredSpacingsBuilder",779),dOt(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},PS),EWt.Kf=function(){return iNt(this)},EWt.Xf=function(){return iNt(this)};var Vwe,Qwe,Zwe,Jwe,tye,eye,nye,iye=Fnt($1t,"LayeringStrategy",313,Gte,t7,lF);dOt(378,22,{3:1,35:1,22:1,378:1},BS);var rye,aye,oye,sye,cye=Fnt($1t,"LongEdgeOrderingStrategy",378,Gte,x1,hF);dOt(197,22,{3:1,35:1,22:1,197:1},jS);var uye,lye,hye,fye,dye,gye=Fnt($1t,"NodeFlexibility",197,Gte,m3,fF);dOt(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},RS),EWt.Kf=function(){return POt(this)},EWt.Xf=function(){return POt(this)};var pye,bye,wye,yye,mye,vye,xye=Fnt($1t,"NodePlacementStrategy",315,Gte,I5,yF);dOt(260,22,{3:1,35:1,22:1,260:1},FS);var kye,_ye,Eye,Tye,Cye,Sye,Aye,Mye,Iye,Oye=Fnt($1t,"NodePromotionStrategy",260,Gte,Fet,gF);dOt(339,22,{3:1,35:1,22:1,339:1},zS);var Lye,Nye,Dye,Pye,Bye=Fnt($1t,"OrderingStrategy",339,Gte,M1,pF);dOt(421,22,{3:1,35:1,22:1,421:1},HS);var jye,Rye,$ye,Fye=Fnt($1t,"PortSortingStrategy",421,Gte,GQ,bF);dOt(452,22,{3:1,35:1,22:1,452:1},US);var zye,Hye,Uye,Gye,qye=Fnt($1t,"PortType",452,Gte,A1,dF);dOt(375,22,{3:1,35:1,22:1,375:1},GS);var Kye,Yye,Wye,Xye,Vye=Fnt($1t,"SelfLoopDistributionStrategy",375,Gte,I1,wF);dOt(376,22,{3:1,35:1,22:1,376:1},qS);var Qye,Zye,Jye,tme=Fnt($1t,"SelfLoopOrderingStrategy",376,Gte,$Q,mF);dOt(304,1,{304:1},cGt),bY($1t,"Spacings",304),dOt(336,22,{3:1,35:1,22:1,336:1},KS);var eme,nme,ime,rme,ame=Fnt($1t,"SplineRoutingMode",336,Gte,L1,vF);dOt(338,22,{3:1,35:1,22:1,338:1},YS);var ome,sme,cme,ume,lme=Fnt($1t,"ValidifyStrategy",338,Gte,N1,xF);dOt(377,22,{3:1,35:1,22:1,377:1},WS);var hme,fme,dme,gme,pme,bme,wme,yme,mme,vme,xme,kme,_me,Eme=Fnt($1t,"WrappingStrategy",377,Gte,O1,kF);dOt(1383,1,k3t,hh),EWt.Yf=function(t){return $z(t,37),pme},EWt.pf=function(t,e){QHt(this,$z(t,37),e)},bY(_3t,"DepthFirstCycleBreaker",1383),dOt(782,1,k3t,BG),EWt.Yf=function(t){return $z(t,37),bme},EWt.pf=function(t,e){qYt(this,$z(t,37),e)},EWt.Zf=function(t){return $z(NU(t,byt(this.d,t.c.length)),10)},bY(_3t,"GreedyCycleBreaker",782),dOt(1386,782,k3t,kM),EWt.Zf=function(t){var e,n,i,r;for(r=null,e=PWt,i=new Kd(t);i.a<i.c.c.length;)OP(n=$z(Z1(i),10),(uWt(),ffe))&&$z(yTt(n,ffe),19).a<e&&(e=$z(yTt(n,ffe),19).a,r=n);return r||$z(NU(t,byt(this.d,t.c.length)),10)},bY(_3t,"GreedyModelOrderCycleBreaker",1386),dOt(1384,1,k3t,eh),EWt.Yf=function(t){return $z(t,37),wme},EWt.pf=function(t,e){AUt(this,$z(t,37),e)},bY(_3t,"InteractiveCycleBreaker",1384),dOt(1385,1,k3t,nh),EWt.Yf=function(t){return $z(t,37),yme},EWt.pf=function(t,e){LUt(this,$z(t,37),e)},EWt.a=0,EWt.b=0,bY(_3t,"ModelOrderCycleBreaker",1385),dOt(1389,1,k3t,IT),EWt.Yf=function(t){return $z(t,37),mme},EWt.pf=function(t,e){QYt(this,$z(t,37),e)},bY(E3t,"CoffmanGrahamLayerer",1389),dOt(1390,1,EQt,Dp),EWt.ue=function(t,e){return FMt(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(E3t,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),dOt(1391,1,EQt,Pp),EWt.ue=function(t,e){return UG(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(E3t,"CoffmanGrahamLayerer/lambda$1$Type",1391),dOt(1392,1,k3t,Ma),EWt.Yf=function(t){return $z(t,37),dU(dU(dU(new $2,(mTt(),Boe),(hWt(),vce)),joe,Mce),Roe,Ace)},EWt.pf=function(t,e){kKt(this,$z(t,37),e)},bY(E3t,"InteractiveLayerer",1392),dOt(569,1,{569:1},em),EWt.a=0,EWt.c=0,bY(E3t,"InteractiveLayerer/LayerSpan",569),dOt(1388,1,k3t,th),EWt.Yf=function(t){return $z(t,37),vme},EWt.pf=function(t,e){HPt(this,$z(t,37),e)},bY(E3t,"LongestPathLayerer",1388),dOt(1395,1,k3t,oh),EWt.Yf=function(t){return $z(t,37),dU(dU(dU(new $2,(mTt(),Boe),(hWt(),rce)),joe,Mce),Roe,Ace)},EWt.pf=function(t,e){nYt(this,$z(t,37),e)},EWt.a=0,EWt.b=0,EWt.d=0,bY(E3t,"MinWidthLayerer",1395),dOt(1396,1,EQt,Bp),EWt.ue=function(t,e){return got(this,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(E3t,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),dOt(1387,1,k3t,ah),EWt.Yf=function(t){return $z(t,37),_me},EWt.pf=function(t,e){yGt(this,$z(t,37),e)},bY(E3t,"NetworkSimplexLayerer",1387),dOt(1393,1,k3t,Pj),EWt.Yf=function(t){return $z(t,37),dU(dU(dU(new $2,(mTt(),Boe),(hWt(),rce)),joe,Mce),Roe,Ace)},EWt.pf=function(t,e){Oqt(this,$z(t,37),e)},EWt.d=0,EWt.f=0,EWt.g=0,EWt.i=0,EWt.s=0,EWt.t=0,EWt.u=0,bY(E3t,"StretchWidthLayerer",1393),dOt(1394,1,EQt,Ia),EWt.ue=function(t,e){return P6($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(E3t,"StretchWidthLayerer/1",1394),dOt(402,1,T3t),EWt.Nf=function(t,e,n,i,r,a){},EWt._f=function(t,e,n){return i$t(this,t,e,n)},EWt.Mf=function(){this.g=N8(NDe,C3t,25,this.d,15,1),this.f=N8(NDe,C3t,25,this.d,15,1)},EWt.Of=function(t,e){this.e[t]=N8(ADe,uVt,25,e[t].length,15,1)},EWt.Pf=function(t,e,n){n[t][e].p=e,this.e[t][e]=e},EWt.Qf=function(t,e,n,i){$z(NU(i[t][e].j,n),11).p=this.d++},EWt.b=0,EWt.c=0,EWt.d=0,bY(S3t,"AbstractBarycenterPortDistributor",402),dOt(1633,1,EQt,jp),EWt.ue=function(t,e){return Hbt(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(S3t,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),dOt(817,1,N1t,H2),EWt.Nf=function(t,e,n,i,r,a){},EWt.Pf=function(t,e,n){},EWt.Qf=function(t,e,n,i){},EWt.Lf=function(){return!1},EWt.Mf=function(){this.c=this.e.a,this.g=this.f.g},EWt.Of=function(t,e){e[t][0].c.p=t},EWt.Rf=function(){return!1},EWt.ag=function(t,e,n,i){n?ckt(this,t):(Pkt(this,t,i),ZGt(this,t,e)),t.c.length>1&&(zv(kB(yTt(bW((l1(0,t.c.length),$z(t.c[0],10))),(zYt(),Npe))))?BLt(t,this.d,$z(this,660)):(EV(),wL(t,this.d)),Fot(this.e,t))},EWt.Sf=function(t,e,n,i){var r,a,o,s,c,u,l;for(e!=VU(n,t.length)&&(a=t[e-(n?1:-1)],H6(this.f,a,n?(ait(),Hye):(ait(),zye))),r=t[e][0],l=!i||r.k==(oCt(),Ese),u=a6(t[e]),this.ag(u,l,!1,n),o=0,c=new Kd(u);c.a<c.c.c.length;)s=$z(Z1(c),10),t[e][o++]=s;return!1},EWt.Tf=function(t,e){var n,i,r,a,o;for(a=a6(t[o=VU(e,t.length)]),this.ag(a,!1,!0,e),n=0,r=new Kd(a);r.a<r.c.c.length;)i=$z(Z1(r),10),t[o][n++]=i;return!1},bY(S3t,"BarycenterHeuristic",817),dOt(658,1,{658:1},$p),EWt.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},EWt.b=0,EWt.d=0,EWt.e=!1;var Tme=bY(S3t,"BarycenterHeuristic/BarycenterState",658);dOt(1802,1,EQt,Rp),EWt.ue=function(t,e){return E_t(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(S3t,"BarycenterHeuristic/lambda$0$Type",1802),dOt(816,1,N1t,q_t),EWt.Mf=function(){},EWt.Nf=function(t,e,n,i,r,a){},EWt.Qf=function(t,e,n,i){},EWt.Of=function(t,e){this.a[t]=N8(Tme,{3:1,4:1,5:1,2018:1},658,e[t].length,0,1),this.b[t]=N8(Ame,{3:1,4:1,5:1,2019:1},233,e[t].length,0,1)},EWt.Pf=function(t,e,n){Pbt(this,n[t][e],!0)},EWt.c=!1,bY(S3t,"ForsterConstraintResolver",816),dOt(233,1,{233:1},DQ,oGt),EWt.Ib=function(){var t,e;for((e=new Cx).a+="[",t=0;t<this.d.length;t++)oI(e,Owt(this.d[t])),null!=lN(this.g,this.d[0]).a&&oI(oI((e.a+="<",e),QM(lN(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(e.a+=$Wt);return(e.a+="]",e).a},EWt.a=0,EWt.c=0,EWt.f=0;var Cme,Sme,Ame=bY(S3t,"ForsterConstraintResolver/ConstraintGroup",233);dOt(1797,1,hXt,zp),EWt.td=function(t){Pbt(this.a,$z(t,10),!1)},bY(S3t,"ForsterConstraintResolver/lambda$0$Type",1797),dOt(214,1,{214:1,225:1},SGt),EWt.Nf=function(t,e,n,i,r,a){},EWt.Of=function(t,e){},EWt.Mf=function(){this.r=N8(ADe,uVt,25,this.n,15,1)},EWt.Pf=function(t,e,n){var i;(i=n[t][e].e)&&Kz(this.b,i)},EWt.Qf=function(t,e,n,i){++this.n},EWt.Ib=function(){return nqt(this.e,new Py)},EWt.g=!1,EWt.i=!1,EWt.n=0,EWt.s=!1,bY(S3t,"GraphInfoHolder",214),dOt(1832,1,N1t,Sa),EWt.Nf=function(t,e,n,i,r,a){},EWt.Of=function(t,e){},EWt.Qf=function(t,e,n,i){},EWt._f=function(t,e,n){return n&&e>0?aJ(this.a,t[e-1],t[e]):!n&&e<t.length-1?aJ(this.a,t[e],t[e+1]):mrt(this.a,t[e],n?(vKt(),SMe):(vKt(),sMe)),fNt(this,t,e,n)},EWt.Mf=function(){this.d=N8(ADe,uVt,25,this.c,15,1),this.a=new WR(this.d)},EWt.Pf=function(t,e,n){var i;i=n[t][e],this.c+=i.j.c.length},EWt.c=0,bY(S3t,"GreedyPortDistributor",1832),dOt(1401,1,k3t,fh),EWt.Yf=function(t){return Klt($z(t,37))},EWt.pf=function(t,e){KGt($z(t,37),e)},bY(S3t,"InteractiveCrossingMinimizer",1401),dOt(1402,1,EQt,Hp),EWt.ue=function(t,e){return zkt(this,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(S3t,"InteractiveCrossingMinimizer/1",1402),dOt(507,1,{507:1,123:1,51:1},Lv),EWt.Yf=function(t){var e;return $z(t,37),dU(e=mO(Sme),(mTt(),Roe),(hWt(),Fce)),e},EWt.pf=function(t,e){C$t(this,$z(t,37),e)},EWt.e=0,bY(S3t,"LayerSweepCrossingMinimizer",507),dOt(1398,1,hXt,Up),EWt.td=function(t){dzt(this.a,$z(t,214))},bY(S3t,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),dOt(1399,1,hXt,Gp),EWt.td=function(t){Mlt(this.a,$z(t,214))},bY(S3t,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),dOt(1400,1,hXt,qp),EWt.td=function(t){bFt(this.a,$z(t,214))},bY(S3t,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),dOt(454,22,{3:1,35:1,22:1,454:1},XS);var Mme,Ime,Ome,Lme,Nme=Fnt(S3t,"LayerSweepCrossingMinimizer/CrossMinType",454,Gte,D1,_F);dOt(1397,1,PXt,Oa),EWt.Mb=function(t){return Rat(),0==$z(t,29).a.c.length},bY(S3t,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),dOt(1799,1,N1t,rJ),EWt.Mf=function(){},EWt.Nf=function(t,e,n,i,r,a){},EWt.Qf=function(t,e,n,i){},EWt.Of=function(t,e){e[t][0].c.p=t,this.b[t]=N8(jme,{3:1,4:1,5:1,1944:1},659,e[t].length,0,1)},EWt.Pf=function(t,e,n){n[t][e].p=e,IY(this.b[t],e,new La)},bY(S3t,"LayerSweepTypeDecider",1799),dOt(659,1,{659:1},La),EWt.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},EWt.a=0,EWt.b=0,EWt.c=0;var Dme,Pme,Bme,jme=bY(S3t,"LayerSweepTypeDecider/NodeInfo",659);dOt(1800,1,HQt,Na),EWt.Lb=function(t){return UD(new w6($z(t,11).b))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return UD(new w6($z(t,11).b))},bY(S3t,"LayerSweepTypeDecider/lambda$0$Type",1800),dOt(1801,1,HQt,Da),EWt.Lb=function(t){return UD(new w6($z(t,11).b))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return UD(new w6($z(t,11).b))},bY(S3t,"LayerSweepTypeDecider/lambda$1$Type",1801),dOt(1833,402,T3t,Dk),EWt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h;switch(u=this.g,n.g){case 1:for(i=0,r=0,c=new Kd(t.j);c.a<c.c.c.length;)0!=(o=$z(Z1(c),11)).e.c.length&&(++i,o.j==(vKt(),cMe)&&++r);for(a=e+r,h=e+i,s=Dgt(t,(ait(),zye)).Kc();s.Ob();)(o=$z(s.Pb(),11)).j==(vKt(),cMe)?(u[o.p]=a,--a):(u[o.p]=h,--h);return i;case 2:for(l=0,s=Dgt(t,(ait(),Hye)).Kc();s.Ob();)++l,u[(o=$z(s.Pb(),11)).p]=e+l;return l;default:throw Fw(new fy)}},bY(S3t,"LayerTotalPortDistributor",1833),dOt(660,817,{660:1,225:1},brt),EWt.ag=function(t,e,n,i){n?ckt(this,t):(Pkt(this,t,i),ZGt(this,t,e)),t.c.length>1&&(zv(kB(yTt(bW((l1(0,t.c.length),$z(t.c[0],10))),(zYt(),Npe))))?BLt(t,this.d,this):(EV(),wL(t,this.d)),zv(kB(yTt(bW((l1(0,t.c.length),$z(t.c[0],10))),Npe)))||Fot(this.e,t))},bY(S3t,"ModelOrderBarycenterHeuristic",660),dOt(1803,1,EQt,Kp),EWt.ue=function(t,e){return jCt(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(S3t,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),dOt(1403,1,k3t,mh),EWt.Yf=function(t){var e;return $z(t,37),dU(e=mO(Dme),(mTt(),Roe),(hWt(),Fce)),e},EWt.pf=function(t,e){wQ(($z(t,37),e))},bY(S3t,"NoCrossingMinimizer",1403),dOt(796,402,T3t,Pk),EWt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;switch(h=this.g,n.g){case 1:for(r=0,a=0,l=new Kd(t.j);l.a<l.c.c.length;)0!=(c=$z(Z1(l),11)).e.c.length&&(++r,c.j==(vKt(),cMe)&&++a);for(o=e+a*(i=1/(r+1)),d=e+1-i,u=Dgt(t,(ait(),zye)).Kc();u.Ob();)(c=$z(u.Pb(),11)).j==(vKt(),cMe)?(h[c.p]=o,o-=i):(h[c.p]=d,d-=i);break;case 2:for(s=0,l=new Kd(t.j);l.a<l.c.c.length;)0==(c=$z(Z1(l),11)).g.c.length||++s;for(f=e+(i=1/(s+1)),u=Dgt(t,(ait(),Hye)).Kc();u.Ob();)h[(c=$z(u.Pb(),11)).p]=f,f+=i;break;default:throw Fw(new jv("Port type is undefined"))}return 1},bY(S3t,"NodeRelativePortDistributor",796),dOt(807,1,{},Yq,zTt),bY(S3t,"SweepCopy",807),dOt(1798,1,N1t,dpt),EWt.Of=function(t,e){},EWt.Mf=function(){var t;t=N8(ADe,uVt,25,this.f,15,1),this.d=new tb(t),this.a=new WR(t)},EWt.Nf=function(t,e,n,i,r,a){var o;o=$z(NU(a[t][e].j,n),11),r.c==o&&r.c.i.c==r.d.i.c&&++this.e[t]},EWt.Pf=function(t,e,n){var i;i=n[t][e],this.c[t]=this.c[t]|i.k==(oCt(),Ase)},EWt.Qf=function(t,e,n,i){var r;(r=$z(NU(i[t][e].j,n),11)).p=this.f++,r.g.c.length+r.e.c.length>1&&(r.j==(vKt(),sMe)?this.b[t]=!0:r.j==SMe&&t>0&&(this.b[t-1]=!0))},EWt.f=0,bY(L1t,"AllCrossingsCounter",1798),dOt(587,1,{},yrt),EWt.b=0,EWt.d=0,bY(L1t,"BinaryIndexedTree",587),dOt(524,1,{},WR),bY(L1t,"CrossingsCounter",524),dOt(1906,1,EQt,Yp),EWt.ue=function(t,e){return qU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(L1t,"CrossingsCounter/lambda$0$Type",1906),dOt(1907,1,EQt,Wp),EWt.ue=function(t,e){return KU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(L1t,"CrossingsCounter/lambda$1$Type",1907),dOt(1908,1,EQt,Xp),EWt.ue=function(t,e){return YU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(L1t,"CrossingsCounter/lambda$2$Type",1908),dOt(1909,1,EQt,Vp),EWt.ue=function(t,e){return WU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(L1t,"CrossingsCounter/lambda$3$Type",1909),dOt(1910,1,hXt,Qp),EWt.td=function(t){p9(this.a,$z(t,11))},bY(L1t,"CrossingsCounter/lambda$4$Type",1910),dOt(1911,1,PXt,Zp),EWt.Mb=function(t){return yM(this.a,$z(t,11))},bY(L1t,"CrossingsCounter/lambda$5$Type",1911),dOt(1912,1,hXt,Jp),EWt.td=function(t){wM(this,t)},bY(L1t,"CrossingsCounter/lambda$6$Type",1912),dOt(1913,1,hXt,QS),EWt.td=function(t){var e;cH(),d3(this.b,(e=this.a,$z(t,11),e))},bY(L1t,"CrossingsCounter/lambda$7$Type",1913),dOt(826,1,HQt,Pa),EWt.Lb=function(t){return cH(),OP($z(t,11),(uWt(),xfe))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return cH(),OP($z(t,11),(uWt(),xfe))},bY(L1t,"CrossingsCounter/lambda$8$Type",826),dOt(1905,1,{},tb),bY(L1t,"HyperedgeCrossingsCounter",1905),dOt(467,1,{35:1,467:1},Dj),EWt.wd=function(t){return wbt(this,$z(t,467))},EWt.b=0,EWt.c=0,EWt.e=0,EWt.f=0;var Rme=bY(L1t,"HyperedgeCrossingsCounter/Hyperedge",467);dOt(362,1,{35:1,362:1},zX),EWt.wd=function(t){return hLt(this,$z(t,362))},EWt.b=0,EWt.c=0;var $me=bY(L1t,"HyperedgeCrossingsCounter/HyperedgeCorner",362);dOt(523,22,{3:1,35:1,22:1,523:1},VS);var Fme,zme,Hme,Ume,Gme,qme,Kme,Yme=Fnt(L1t,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Gte,qQ,EF);dOt(1405,1,k3t,uh),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Qhe)),21).Hc((fBt(),hhe))?Ume:null},EWt.pf=function(t,e){hkt(this,$z(t,37),e)},bY(A3t,"InteractiveNodePlacer",1405),dOt(1406,1,k3t,ch),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Qhe)),21).Hc((fBt(),hhe))?Gme:null},EWt.pf=function(t,e){xmt(this,$z(t,37),e)},bY(A3t,"LinearSegmentsNodePlacer",1406),dOt(257,1,{35:1,257:1},nm),EWt.wd=function(t){return ak(this,$z(t,257))},EWt.Fb=function(t){var e;return!!iN(t,257)&&(e=$z(t,257),this.b==e.b)},EWt.Hb=function(){return this.b},EWt.Ib=function(){return"ls"+LTt(this.e)},EWt.a=0,EWt.b=0,EWt.c=-1,EWt.d=-1,EWt.g=0;var Wme,Xme=bY(A3t,"LinearSegmentsNodePlacer/LinearSegment",257);dOt(1408,1,k3t,jG),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Qhe)),21).Hc((fBt(),hhe))?Wme:null},EWt.pf=function(t,e){TYt(this,$z(t,37),e)},EWt.b=0,EWt.g=0,bY(A3t,"NetworkSimplexPlacer",1408),dOt(1427,1,EQt,Ba),EWt.ue=function(t,e){return xL($z(t,19).a,$z(e,19).a)},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(A3t,"NetworkSimplexPlacer/0methodref$compare$Type",1427),dOt(1429,1,EQt,ja),EWt.ue=function(t,e){return xL($z(t,19).a,$z(e,19).a)},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(A3t,"NetworkSimplexPlacer/1methodref$compare$Type",1429),dOt(649,1,{649:1},ZS);var Vme=bY(A3t,"NetworkSimplexPlacer/EdgeRep",649);dOt(401,1,{401:1},HX),EWt.b=!1;var Qme,Zme=bY(A3t,"NetworkSimplexPlacer/NodeRep",401);dOt(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},am),bY(A3t,"NetworkSimplexPlacer/Path",508),dOt(1409,1,{},Ra),EWt.Kb=function(t){return $z(t,17).d.i.k},bY(A3t,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),dOt(1410,1,PXt,$a),EWt.Mb=function(t){return $z(t,267)==(oCt(),Cse)},bY(A3t,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),dOt(1411,1,{},Fa),EWt.Kb=function(t){return $z(t,17).d.i},bY(A3t,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),dOt(1412,1,PXt,eb),EWt.Mb=function(t){return FB(tpt($z(t,10)))},bY(A3t,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),dOt(1413,1,PXt,za),EWt.Mb=function(t){return cU($z(t,11))},bY(A3t,"NetworkSimplexPlacer/lambda$0$Type",1413),dOt(1414,1,hXt,JS),EWt.td=function(t){DL(this.a,this.b,$z(t,11))},bY(A3t,"NetworkSimplexPlacer/lambda$1$Type",1414),dOt(1423,1,hXt,nb),EWt.td=function(t){YAt(this.a,$z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$10$Type",1423),dOt(1424,1,{},Ha),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$11$Type",1424),dOt(1425,1,hXt,ib),EWt.td=function(t){FBt(this.a,$z(t,10))},bY(A3t,"NetworkSimplexPlacer/lambda$12$Type",1425),dOt(1426,1,{},Ua),EWt.Kb=function(t){return $J(),nft($z(t,121).e)},bY(A3t,"NetworkSimplexPlacer/lambda$13$Type",1426),dOt(1428,1,{},Ga),EWt.Kb=function(t){return $J(),nft($z(t,121).e)},bY(A3t,"NetworkSimplexPlacer/lambda$15$Type",1428),dOt(1430,1,PXt,qa),EWt.Mb=function(t){return $J(),$z(t,401).c.k==(oCt(),Sse)},bY(A3t,"NetworkSimplexPlacer/lambda$17$Type",1430),dOt(1431,1,PXt,Ka),EWt.Mb=function(t){return $J(),$z(t,401).c.j.c.length>1},bY(A3t,"NetworkSimplexPlacer/lambda$18$Type",1431),dOt(1432,1,hXt,UX),EWt.td=function(t){rgt(this.c,this.b,this.d,this.a,$z(t,401))},EWt.c=0,EWt.d=0,bY(A3t,"NetworkSimplexPlacer/lambda$19$Type",1432),dOt(1415,1,{},Ya),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$2$Type",1415),dOt(1433,1,hXt,rb),EWt.td=function(t){LL(this.a,$z(t,11))},EWt.a=0,bY(A3t,"NetworkSimplexPlacer/lambda$20$Type",1433),dOt(1434,1,{},Wa),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$21$Type",1434),dOt(1435,1,hXt,ab),EWt.td=function(t){dN(this.a,$z(t,10))},bY(A3t,"NetworkSimplexPlacer/lambda$22$Type",1435),dOt(1436,1,PXt,Xa),EWt.Mb=function(t){return FB(t)},bY(A3t,"NetworkSimplexPlacer/lambda$23$Type",1436),dOt(1437,1,{},Va),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$24$Type",1437),dOt(1438,1,PXt,ob),EWt.Mb=function(t){return xI(this.a,$z(t,10))},bY(A3t,"NetworkSimplexPlacer/lambda$25$Type",1438),dOt(1439,1,hXt,tA),EWt.td=function(t){ESt(this.a,this.b,$z(t,10))},bY(A3t,"NetworkSimplexPlacer/lambda$26$Type",1439),dOt(1440,1,PXt,Qa),EWt.Mb=function(t){return $J(),!h5($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$27$Type",1440),dOt(1441,1,PXt,Za),EWt.Mb=function(t){return $J(),!h5($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$28$Type",1441),dOt(1442,1,{},sb),EWt.Ce=function(t,e){return sN(this.a,$z(t,29),$z(e,29))},bY(A3t,"NetworkSimplexPlacer/lambda$29$Type",1442),dOt(1416,1,{},Ja),EWt.Kb=function(t){return $J(),new PU(null,new UK(new oq(QN(hdt($z(t,10)).a.Kc(),new l))))},bY(A3t,"NetworkSimplexPlacer/lambda$3$Type",1416),dOt(1417,1,PXt,to),EWt.Mb=function(t){return $J(),J0($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$4$Type",1417),dOt(1418,1,hXt,cb),EWt.td=function(t){nzt(this.a,$z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$5$Type",1418),dOt(1419,1,{},eo),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$6$Type",1419),dOt(1420,1,PXt,no),EWt.Mb=function(t){return $J(),$z(t,10).k==(oCt(),Sse)},bY(A3t,"NetworkSimplexPlacer/lambda$7$Type",1420),dOt(1421,1,{},io),EWt.Kb=function(t){return $J(),new PU(null,new UK(new oq(QN(udt($z(t,10)).a.Kc(),new l))))},bY(A3t,"NetworkSimplexPlacer/lambda$8$Type",1421),dOt(1422,1,PXt,ro),EWt.Mb=function(t){return $J(),GH($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$9$Type",1422),dOt(1404,1,k3t,Th),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Qhe)),21).Hc((fBt(),hhe))?Qme:null},EWt.pf=function(t,e){vHt($z(t,37),e)},bY(A3t,"SimpleNodePlacer",1404),dOt(180,1,{180:1},HRt),EWt.Ib=function(){var t;return t="",this.c==(gZ(),tve)?t+=aZt:this.c==Jme&&(t+=rZt),this.o==(oJ(),ive)?t+=bZt:this.o==rve?t+="UP":t+="BALANCED",t},bY(O3t,"BKAlignedLayout",180),dOt(516,22,{3:1,35:1,22:1,516:1},iA);var Jme,tve,eve,nve=Fnt(O3t,"BKAlignedLayout/HDirection",516,Gte,YQ,TF);dOt(515,22,{3:1,35:1,22:1,515:1},nA);var ive,rve,ave,ove,sve,cve,uve,lve,hve,fve,dve,gve,pve,bve,wve,yve,mve,vve,xve,kve=Fnt(O3t,"BKAlignedLayout/VDirection",515,Gte,WQ,CF);dOt(1634,1,{},eA),bY(O3t,"BKAligner",1634),dOt(1637,1,{},Qvt),bY(O3t,"BKCompactor",1637),dOt(654,1,{654:1},ao),EWt.a=0,bY(O3t,"BKCompactor/ClassEdge",654),dOt(458,1,{458:1},im),EWt.a=null,EWt.b=0,bY(O3t,"BKCompactor/ClassNode",458),dOt(1407,1,k3t,vM),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Qhe)),21).Hc((fBt(),hhe))?ove:null},EWt.pf=function(t,e){iWt(this,$z(t,37),e)},EWt.d=!1,bY(O3t,"BKNodePlacer",1407),dOt(1635,1,{},oo),EWt.d=0,bY(O3t,"NeighborhoodInformation",1635),dOt(1636,1,EQt,ub),EWt.ue=function(t,e){return Eet(this,$z(t,46),$z(e,46))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(O3t,"NeighborhoodInformation/NeighborComparator",1636),dOt(808,1,{}),bY(O3t,"ThresholdStrategy",808),dOt(1763,808,{},dm),EWt.bg=function(t,e,n){return this.a.o==(oJ(),rve)?BVt:jVt},EWt.cg=function(){},bY(O3t,"ThresholdStrategy/NullThresholdStrategy",1763),dOt(579,1,{579:1},rA),EWt.c=!1,EWt.d=!1,bY(O3t,"ThresholdStrategy/Postprocessable",579),dOt(1764,808,{},gm),EWt.bg=function(t,e,n){var i,r,a;return r=e==n,i=this.a.a[n.p]==e,r||i?(a=t,this.a.c,gZ(),r&&(a=_Ht(this,e,!0)),!isNaN(a)&&!isFinite(a)&&i&&(a=_Ht(this,n,!1)),a):t},EWt.cg=function(){for(var t,e,n;0!=this.d.b;)(e=rFt(this,n=$z(TZ(this.d),579))).a&&(t=e.a,(zv(this.a.f[this.a.g[n.b.p].p])||h5(t)||t.c.i.c!=t.d.i.c)&&(fLt(this,n)||nO(this.e,n)));for(;0!=this.e.a.c.length;)fLt(this,$z(tlt(this.e),579))},bY(O3t,"ThresholdStrategy/SimpleThresholdStrategy",1764),dOt(635,1,{635:1,246:1,234:1},so),EWt.Kf=function(){return _ot(this)},EWt.Xf=function(){return _ot(this)},bY(L3t,"EdgeRouterFactory",635),dOt(1458,1,k3t,Ch),EWt.Yf=function(t){return qPt($z(t,37))},EWt.pf=function(t,e){PHt($z(t,37),e)},bY(L3t,"OrthogonalEdgeRouter",1458),dOt(1451,1,k3t,xM),EWt.Yf=function(t){return kkt($z(t,37))},EWt.pf=function(t,e){MKt(this,$z(t,37),e)},bY(L3t,"PolylineEdgeRouter",1451),dOt(1452,1,HQt,co),EWt.Lb=function(t){return Xot($z(t,10))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return Xot($z(t,10))},bY(L3t,"PolylineEdgeRouter/1",1452),dOt(1809,1,PXt,uo),EWt.Mb=function(t){return $z(t,129).c==(A6(),_ve)},bY(N3t,"HyperEdgeCycleDetector/lambda$0$Type",1809),dOt(1810,1,{},lo),EWt.Ge=function(t){return $z(t,129).d},bY(N3t,"HyperEdgeCycleDetector/lambda$1$Type",1810),dOt(1811,1,PXt,ho),EWt.Mb=function(t){return $z(t,129).c==(A6(),_ve)},bY(N3t,"HyperEdgeCycleDetector/lambda$2$Type",1811),dOt(1812,1,{},fo),EWt.Ge=function(t){return $z(t,129).d},bY(N3t,"HyperEdgeCycleDetector/lambda$3$Type",1812),dOt(1813,1,{},go),EWt.Ge=function(t){return $z(t,129).d},bY(N3t,"HyperEdgeCycleDetector/lambda$4$Type",1813),dOt(1814,1,{},po),EWt.Ge=function(t){return $z(t,129).d},bY(N3t,"HyperEdgeCycleDetector/lambda$5$Type",1814),dOt(112,1,{35:1,112:1},$ot),EWt.wd=function(t){return ok(this,$z(t,112))},EWt.Fb=function(t){var e;return!!iN(t,112)&&(e=$z(t,112),this.g==e.g)},EWt.Hb=function(){return this.g},EWt.Ib=function(){var t,e,n,i;for(t=new lD("{"),i=new Kd(this.n);i.a<i.c.c.length;)null==(e=pvt((n=$z(Z1(i),11)).i))&&(e="n"+MR(n.i)),t.a+=""+e,i.a<i.c.c.length&&(t.a+=",");return t.a+="}",t.a},EWt.a=0,EWt.b=0,EWt.c=NaN,EWt.d=0,EWt.g=0,EWt.i=0,EWt.o=0,EWt.s=NaN,bY(N3t,"HyperEdgeSegment",112),dOt(129,1,{129:1},UJ),EWt.Ib=function(){return this.a+"->"+this.b+" ("+fP(this.c)+")"},EWt.d=0,bY(N3t,"HyperEdgeSegmentDependency",129),dOt(520,22,{3:1,35:1,22:1,520:1},aA);var _ve,Eve,Tve,Cve,Sve,Ave,Mve,Ive,Ove=Fnt(N3t,"HyperEdgeSegmentDependency/DependencyType",520,Gte,KQ,SF);dOt(1815,1,{},lb),bY(N3t,"HyperEdgeSegmentSplitter",1815),dOt(1816,1,{},Uk),EWt.a=0,EWt.b=0,bY(N3t,"HyperEdgeSegmentSplitter/AreaRating",1816),dOt(329,1,{329:1},mz),EWt.a=0,EWt.b=0,EWt.c=0,bY(N3t,"HyperEdgeSegmentSplitter/FreeArea",329),dOt(1817,1,EQt,_o),EWt.ue=function(t,e){return AR($z(t,112),$z(e,112))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(N3t,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),dOt(1818,1,hXt,qX),EWt.td=function(t){Z3(this.a,this.d,this.c,this.b,$z(t,112))},EWt.b=0,bY(N3t,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),dOt(1819,1,{},Eo),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).e,16))},bY(N3t,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),dOt(1820,1,{},To),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).j,16))},bY(N3t,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),dOt(1821,1,{},Co),EWt.Fe=function(t){return Hv(_B(t))},bY(N3t,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),dOt(655,1,{},uY),EWt.a=0,EWt.b=0,EWt.c=0,bY(N3t,"OrthogonalRoutingGenerator",655),dOt(1638,1,{},So),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).e,16))},bY(N3t,"OrthogonalRoutingGenerator/lambda$0$Type",1638),dOt(1639,1,{},Ao),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).j,16))},bY(N3t,"OrthogonalRoutingGenerator/lambda$1$Type",1639),dOt(661,1,{}),bY(D3t,"BaseRoutingDirectionStrategy",661),dOt(1807,661,{},pm),EWt.dg=function(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e+t.o*n,l=new Kd(t.n);l.a<l.c.c.length;)for(u=$z(Z1(l),11),f=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).a,c=new Kd(u.g);c.a<c.c.c.length;)h5(s=$z(Z1(c),17))||(p=s.d,b=Ict(Cst(Hx(TTe,1),cXt,8,0,[p.i.n,p.n,p.a])).a,i.Math.abs(f-b)>hJt&&(a=t,r=new NA(f,o=h),DH(s.a,r),$$t(this,s,a,r,!1),(d=t.r)&&(r=new NA(g=Hv(_B(Pwt(d.e,0))),o),DH(s.a,r),$$t(this,s,a,r,!1),a=d,r=new NA(g,o=e+d.o*n),DH(s.a,r),$$t(this,s,a,r,!1)),r=new NA(b,o),DH(s.a,r),$$t(this,s,a,r,!1)))},EWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},EWt.fg=function(){return vKt(),TMe},EWt.gg=function(){return vKt(),cMe},bY(D3t,"NorthToSouthRoutingStrategy",1807),dOt(1808,661,{},bm),EWt.dg=function(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e-t.o*n,l=new Kd(t.n);l.a<l.c.c.length;)for(u=$z(Z1(l),11),f=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).a,c=new Kd(u.g);c.a<c.c.c.length;)h5(s=$z(Z1(c),17))||(p=s.d,b=Ict(Cst(Hx(TTe,1),cXt,8,0,[p.i.n,p.n,p.a])).a,i.Math.abs(f-b)>hJt&&(a=t,r=new NA(f,o=h),DH(s.a,r),$$t(this,s,a,r,!1),(d=t.r)&&(r=new NA(g=Hv(_B(Pwt(d.e,0))),o),DH(s.a,r),$$t(this,s,a,r,!1),a=d,r=new NA(g,o=e-d.o*n),DH(s.a,r),$$t(this,s,a,r,!1)),r=new NA(b,o),DH(s.a,r),$$t(this,s,a,r,!1)))},EWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},EWt.fg=function(){return vKt(),cMe},EWt.gg=function(){return vKt(),TMe},bY(D3t,"SouthToNorthRoutingStrategy",1808),dOt(1806,661,{},wm),EWt.dg=function(t,e,n){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e+t.o*n,l=new Kd(t.n);l.a<l.c.c.length;)for(u=$z(Z1(l),11),f=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).b,c=new Kd(u.g);c.a<c.c.c.length;)h5(s=$z(Z1(c),17))||(p=s.d,b=Ict(Cst(Hx(TTe,1),cXt,8,0,[p.i.n,p.n,p.a])).b,i.Math.abs(f-b)>hJt&&(a=t,r=new NA(o=h,f),DH(s.a,r),$$t(this,s,a,r,!0),(d=t.r)&&(r=new NA(o,g=Hv(_B(Pwt(d.e,0)))),DH(s.a,r),$$t(this,s,a,r,!0),a=d,r=new NA(o=e+d.o*n,g),DH(s.a,r),$$t(this,s,a,r,!0)),r=new NA(o,b),DH(s.a,r),$$t(this,s,a,r,!0)))},EWt.eg=function(t){return t.i.n.b+t.n.b+t.a.b},EWt.fg=function(){return vKt(),sMe},EWt.gg=function(){return vKt(),SMe},bY(D3t,"WestToEastRoutingStrategy",1806),dOt(813,1,{},szt),EWt.Ib=function(){return LTt(this.a)},EWt.b=0,EWt.c=!1,EWt.d=!1,EWt.f=0,bY(B3t,"NubSpline",813),dOt(407,1,{407:1},kPt,fZ),bY(B3t,"NubSpline/PolarCP",407),dOt(1453,1,k3t,uvt),EWt.Yf=function(t){return iEt($z(t,37))},EWt.pf=function(t,e){rYt(this,$z(t,37),e)},bY(B3t,"SplineEdgeRouter",1453),dOt(268,1,{268:1},E6),EWt.Ib=function(){return this.a+" ->("+this.c+") "+this.b},EWt.c=0,bY(B3t,"SplineEdgeRouter/Dependency",268),dOt(455,22,{3:1,35:1,22:1,455:1},oA);var Lve,Nve,Dve,Pve=Fnt(B3t,"SplineEdgeRouter/SideToProcess",455,Gte,XQ,AF);dOt(1454,1,PXt,xo),EWt.Mb=function(t){return pPt(),!$z(t,128).o},bY(B3t,"SplineEdgeRouter/lambda$0$Type",1454),dOt(1455,1,{},vo),EWt.Ge=function(t){return pPt(),$z(t,128).v+1},bY(B3t,"SplineEdgeRouter/lambda$1$Type",1455),dOt(1456,1,hXt,sA),EWt.td=function(t){eU(this.a,this.b,$z(t,46))},bY(B3t,"SplineEdgeRouter/lambda$2$Type",1456),dOt(1457,1,hXt,cA),EWt.td=function(t){nU(this.a,this.b,$z(t,46))},bY(B3t,"SplineEdgeRouter/lambda$3$Type",1457),dOt(128,1,{35:1,128:1},tAt,uUt),EWt.wd=function(t){return sk(this,$z(t,128))},EWt.b=0,EWt.e=!1,EWt.f=0,EWt.g=0,EWt.j=!1,EWt.k=!1,EWt.n=0,EWt.o=!1,EWt.p=!1,EWt.q=!1,EWt.s=0,EWt.u=0,EWt.v=0,EWt.F=0,bY(B3t,"SplineSegment",128),dOt(459,1,{459:1},ko),EWt.a=0,EWt.b=!1,EWt.c=!1,EWt.d=!1,EWt.e=!1,EWt.f=0,bY(B3t,"SplineSegment/EdgeInformation",459),dOt(1234,1,{},bo),bY(z3t,nJt,1234),dOt(1235,1,EQt,wo),EWt.ue=function(t,e){return AMt($z(t,135),$z(e,135))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(z3t,iJt,1235),dOt(1233,1,{},M_),bY(z3t,"MrTree",1233),dOt(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},uA),EWt.Kf=function(){return IMt(this)},EWt.Xf=function(){return IMt(this)};var Bve,jve,Rve,$ve,Fve,zve=Fnt(z3t,"TreeLayoutPhases",393,Gte,v3,MF);dOt(1130,209,NZt,jj),EWt.Ze=function(t,e){var n,i,r,a,o,s;for(zv(kB(ZOt(t,(SOt(),Cxe))))||vZ(new kg((HT(),new Dv(t)))),Hot(o=new T6,t),uct(o,(HUt(),sxe),t),w$t(t,o,s=new Nw),Y$t(t,o,s),a=o,i=new Kd(r=D$t(this.a,a));i.a<i.c.c.length;)n=$z(Z1(i),135),Y_t(this.b,n,yat(e,1/r.c.length));Aqt(a=tWt(r))},bY(z3t,"TreeLayoutProvider",1130),dOt(1847,1,bXt,yo),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return EV(),OE(),hne},bY(z3t,"TreeUtil/1",1847),dOt(1848,1,bXt,mo),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return EV(),OE(),hne},bY(z3t,"TreeUtil/2",1848),dOt(502,134,{3:1,502:1,94:1,134:1}),EWt.g=0,bY(H3t,"TGraphElement",502),dOt(188,502,{3:1,188:1,502:1,94:1,134:1},GV),EWt.Ib=function(){return this.b&&this.c?g0(this.b)+"->"+g0(this.c):"e_"+Jct(this)},bY(H3t,"TEdge",188),dOt(135,134,{3:1,135:1,94:1,134:1},T6),EWt.Ib=function(){var t,e,n,i,r;for(r=null,i=cwt(this.b,0);i.b!=i.d.c;)r+=(null==(n=$z(h3(i),86)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(e=cwt(this.a,0);e.b!=e.d.c;)r+=((t=$z(h3(e),188)).b&&t.c?g0(t.b)+"->"+g0(t.c):"e_"+Jct(t))+"\n";return r};var Hve=bY(H3t,"TGraph",135);dOt(633,502,{3:1,502:1,633:1,94:1,134:1}),bY(H3t,"TShape",633),dOt(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},rut),EWt.Ib=function(){return g0(this)};var Uve=bY(H3t,"TNode",86);dOt(255,1,bXt,hb),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return new fb(cwt(this.a.d,0))},bY(H3t,"TNode/2",255),dOt(358,1,XWt,fb),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return $z(h3(this.a),188).c},EWt.Ob=function(){return x_(this.a)},EWt.Qb=function(){yet(this.a)},bY(H3t,"TNode/2/1",358),dOt(1840,1,JJt,Bj),EWt.pf=function(t,e){DFt(this,$z(t,135),e)},bY(U3t,"FanProcessor",1840),dOt(327,22,{3:1,35:1,22:1,327:1,234:1},lA),EWt.Kf=function(){switch(this.g){case 0:return new Wm;case 1:return new Bj;case 2:return new Oo;case 3:return new Mo;case 4:return new No;case 5:return new Do;default:throw Fw(new jv(E1t+(null!=this.f?this.f:""+this.g)))}};var Gve,qve,Kve,Yve,Wve,Xve,Vve,Qve,Zve,Jve,txe,exe,nxe,ixe,rxe,axe,oxe,sxe,cxe,uxe,lxe,hxe,fxe,dxe,gxe,pxe,bxe,wxe,yxe,mxe,vxe,xxe,kxe,_xe,Exe,Txe,Cxe,Sxe,Axe,Mxe,Ixe,Oxe,Lxe,Nxe,Dxe,Pxe=Fnt(U3t,T1t,327,Gte,n7,IF);dOt(1843,1,JJt,Mo),EWt.pf=function(t,e){oLt(this,$z(t,135),e)},EWt.a=0,bY(U3t,"LevelHeightProcessor",1843),dOt(1844,1,bXt,Io),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return EV(),OE(),hne},bY(U3t,"LevelHeightProcessor/1",1844),dOt(1841,1,JJt,Oo),EWt.pf=function(t,e){XSt(this,$z(t,135),e)},EWt.a=0,bY(U3t,"NeighborsProcessor",1841),dOt(1842,1,bXt,Lo),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return EV(),OE(),hne},bY(U3t,"NeighborsProcessor/1",1842),dOt(1845,1,JJt,No),EWt.pf=function(t,e){aLt(this,$z(t,135),e)},EWt.a=0,bY(U3t,"NodePositionProcessor",1845),dOt(1839,1,JJt,Wm),EWt.pf=function(t,e){ZHt(this,$z(t,135))},bY(U3t,"RootProcessor",1839),dOt(1846,1,JJt,Do),EWt.pf=function(t,e){gft($z(t,135))},bY(U3t,"Untreeifyer",1846),dOt(851,1,XQt,Eh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K3t),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),mxe),(CSt(),pTe)),$xe),Jft((iwt(),uTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y3t),""),"Search Order"),"Which search order to use when computing a spanning tree."),wxe),pTe),Wxe),Jft(uTe)))),jGt((new _h,t))},bY(W3t,"MrTreeMetaDataProvider",851),dOt(994,1,XQt,_h),EWt.Qe=function(t){jGt(t)},bY(W3t,"MrTreeOptions",994),dOt(995,1,{},Po),EWt.$e=function(){return new jj},EWt._e=function(t){},bY(W3t,"MrTreeOptions/MrtreeFactory",995),dOt(480,22,{3:1,35:1,22:1,480:1},hA);var Bxe,jxe,Rxe,$xe=Fnt(W3t,"OrderWeighting",480,Gte,QQ,OF);dOt(425,22,{3:1,35:1,22:1,425:1},fA);var Fxe,zxe,Hxe,Uxe,Gxe,qxe,Kxe,Yxe,Wxe=Fnt(W3t,"TreeifyingOrder",425,Gte,VQ,NF);dOt(1459,1,k3t,gh),EWt.Yf=function(t){return $z(t,135),Uxe},EWt.pf=function(t,e){mat(this,$z(t,135),e)},bY("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),dOt(1460,1,k3t,ph),EWt.Yf=function(t){return $z(t,135),Gxe},EWt.pf=function(t,e){lAt(this,$z(t,135),e)},bY("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),dOt(1461,1,k3t,dh),EWt.Yf=function(t){return $z(t,135),qxe},EWt.pf=function(t,e){JBt(this,$z(t,135),e)},EWt.a=0,bY("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),dOt(1462,1,k3t,bh),EWt.Yf=function(t){return $z(t,135),Kxe},EWt.pf=function(t,e){Dxt($z(t,135),e)},bY("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462),dOt(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},dA),EWt.Kf=function(){return fgt(this)},EWt.Xf=function(){return fgt(this)};var Xxe,Vxe,Qxe,Zxe=Fnt(Q3t,"RadialLayoutPhases",495,Gte,ZQ,LF);dOt(1131,209,NZt,A_),EWt.Ze=function(t,e){var n,i,r;if(MEt(e,"Radial layout",kAt(this,t).c.length),zv(kB(ZOt(t,(qvt(),Mke))))||vZ(new kg((HT(),new Dv(t)))),r=oEt(t),Vwt(t,(fB(),Yxe),r),!r)throw Fw(new jv("The given graph is not a tree!"));for(0==(n=Hv(_B(ZOt(t,Dke))))&&(n=lMt(t)),Vwt(t,Dke,n),i=new Kd(kAt(this,t));i.a<i.c.c.length;)$z(Z1(i),51).pf(t,yat(e,1));zCt(e)},bY(Q3t,"RadialLayoutProvider",1131),dOt(549,1,EQt,S_),EWt.ue=function(t,e){return Pjt(this.a,this.b,$z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},EWt.a=0,EWt.b=0,bY(Q3t,"RadialUtil/lambda$0$Type",549),dOt(1375,1,JJt,jo),EWt.pf=function(t,e){gGt($z(t,33),e)},bY(t4t,"CalculateGraphSize",1375),dOt(442,22,{3:1,35:1,22:1,442:1,234:1},gA),EWt.Kf=function(){switch(this.g){case 0:return new Ho;case 1:return new Bo;case 2:return new jo;default:throw Fw(new jv(E1t+(null!=this.f?this.f:""+this.g)))}};var Jxe,tke,eke,nke,ike=Fnt(t4t,T1t,442,Gte,P1,DF);dOt(645,1,{}),EWt.e=1,EWt.g=0,bY(e4t,"AbstractRadiusExtensionCompaction",645),dOt(1772,645,{},gB),EWt.hg=function(t){var e,n,i,r,a,o,s,c,u;for(this.c=$z(ZOt(t,(fB(),Yxe)),33),td(this,this.c),this.d=kyt($z(ZOt(t,(qvt(),Pke)),293)),(c=$z(ZOt(t,_ke),19))&&Jf(this,c.a),ed(this,(mW(s=_B(ZOt(t,(cWt(),OSe)))),s)),u=dBt(this.c),this.d&&this.d.lg(u),wRt(this,u),o=new Vv(Cst(Hx(UIe,1),n4t,33,0,[this.c])),n=0;n<2;n++)for(e=0;e<u.c.length;e++)r=new Vv(Cst(Hx(UIe,1),n4t,33,0,[(l1(e,u.c.length),$z(u.c[e],33))])),a=e<u.c.length-1?(l1(e+1,u.c.length),$z(u.c[e+1],33)):(l1(0,u.c.length),$z(u.c[0],33)),i=0==e?$z(NU(u,u.c.length-1),33):(l1(e-1,u.c.length),$z(u.c[e-1],33)),ZEt(this,(l1(e,u.c.length),$z(u.c[e],33),o),i,a,r)},bY(e4t,"AnnulusWedgeCompaction",1772),dOt(1374,1,JJt,Bo),EWt.pf=function(t,e){fkt($z(t,33),e)},bY(e4t,"GeneralCompactor",1374),dOt(1771,645,{},Ro),EWt.hg=function(t){var e,n,i,r;n=$z(ZOt(t,(fB(),Yxe)),33),this.f=n,this.b=kyt($z(ZOt(t,(qvt(),Pke)),293)),(r=$z(ZOt(t,_ke),19))&&Jf(this,r.a),ed(this,(mW(i=_B(ZOt(t,(cWt(),OSe)))),i)),e=dBt(n),this.b&&this.b.lg(e),wSt(this,e)},EWt.a=0,bY(e4t,"RadialCompaction",1771),dOt(1779,1,{},$o),EWt.ig=function(t){var e,n,i,r,a,o;for(this.a=t,e=0,i=0,a=new Kd(o=dBt(t));a.a<a.c.c.length;)for(r=$z(Z1(a),33),n=++i;n<o.c.length;n++)VFt(this,r,(l1(n,o.c.length),$z(o.c[n],33)))&&(e+=1);return e},bY(i4t,"CrossingMinimizationPosition",1779),dOt(1777,1,{},Fo),EWt.ig=function(t){var e,n,r,a,o,s,c,u,h,f,d,g,p;for(r=0,n=new oq(QN(gNt(t).a.Kc(),new l));gOt(n);)e=$z(G5(n),79),h=(c=CEt($z(Yet((!e.c&&(e.c=new cR(PIe,e,5,8)),e.c),0),82))).i+c.g/2,f=c.j+c.f/2,a=t.i+t.g/2,o=t.j+t.f/2,(d=new Hk).a=h-a,d.b=f-o,qxt(s=new NA(d.a,d.b),t.g,t.f),d.a-=s.a,d.b-=s.b,a=h-d.a,o=f-d.b,qxt(u=new NA(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,g=(h=a+d.a)-a,p=(f=o+d.b)-o,r+=i.Math.sqrt(g*g+p*p);return r},bY(i4t,"EdgeLengthOptimization",1777),dOt(1778,1,{},zo),EWt.ig=function(t){var e,n,r,a,o,s,c,u,h;for(r=0,n=new oq(QN(gNt(t).a.Kc(),new l));gOt(n);)e=$z(G5(n),79),s=(o=CEt($z(Yet((!e.c&&(e.c=new cR(PIe,e,5,8)),e.c),0),82))).i+o.g/2,c=o.j+o.f/2,a=$z(ZOt(o,(cWt(),gSe)),8),u=s-(t.i+a.a+t.g/2),h=c-(t.j+a.b+t.f),r+=i.Math.sqrt(u*u+h*h);return r},bY(i4t,"EdgeLengthPositionOptimization",1778),dOt(1373,645,JJt,Ho),EWt.pf=function(t,e){lNt(this,$z(t,33),e)},bY("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),dOt(426,22,{3:1,35:1,22:1,426:1},pA);var rke,ake,oke,ske=Fnt(a4t,"AnnulusWedgeCriteria",426,Gte,JQ,PF);dOt(380,22,{3:1,35:1,22:1,380:1},bA);var cke,uke,lke,hke,fke,dke,gke,pke,bke,wke,yke,mke,vke,xke,kke,_ke,Eke,Tke,Cke,Ske,Ake,Mke,Ike,Oke,Lke,Nke,Dke,Pke,Bke,jke,Rke=Fnt(a4t,$Zt,380,Gte,B1,BF);dOt(852,1,XQt,wh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o4t),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),nft(0)),(CSt(),wTe)),Iee),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s4t),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c4t),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),gke),pTe),Rke),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,u4t),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),nft(1)),wTe),Iee),Jft(uTe)))),r2(t,u4t,c4t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,l4t),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),vke),pTe),Xke),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,h4t),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),kke),pTe),ske),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,f4t),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),bke),pTe),Gke),Jft(uTe)))),tKt((new yh,t))},bY(a4t,"RadialMetaDataProvider",852),dOt(996,1,XQt,yh),EWt.Qe=function(t){tKt(t)},bY(a4t,"RadialOptions",996),dOt(997,1,{},Uo),EWt.$e=function(){return new A_},EWt._e=function(t){},bY(a4t,"RadialOptions/RadialFactory",997),dOt(340,22,{3:1,35:1,22:1,340:1},wA);var $ke,Fke,zke,Hke,Uke,Gke=Fnt(a4t,"RadialTranslationStrategy",340,Gte,x3,jF);dOt(293,22,{3:1,35:1,22:1,293:1},yA);var qke,Kke,Yke,Wke,Xke=Fnt(a4t,"SortingStrategy",293,Gte,R1,RF);dOt(1449,1,k3t,Go),EWt.Yf=function(t){return $z(t,33),null},EWt.pf=function(t,e){TNt(this,$z(t,33),e)},EWt.c=0,bY("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),dOt(1775,1,{},qo),EWt.jg=function(t){return qwt(t)},bY(g4t,"AnnulusWedgeByLeafs",1775),dOt(1776,1,{},Ko),EWt.jg=function(t){return W_t(this,t)},bY(g4t,"AnnulusWedgeByNodeSpace",1776),dOt(1450,1,k3t,Yo),EWt.Yf=function(t){return $z(t,33),null},EWt.pf=function(t,e){f_t(this,$z(t,33),e)},bY("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),dOt(811,1,{},Vm),EWt.kg=function(t){},EWt.lg=function(t){Zw(this,t)},bY(p4t,"IDSorter",811),dOt(1774,1,EQt,Wo),EWt.ue=function(t,e){return Xrt($z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(p4t,"IDSorter/lambda$0$Type",1774),dOt(1773,1,{},Irt),EWt.kg=function(t){i2(this,t)},EWt.lg=function(t){t.dc()||(this.e||i2(this,ZU($z(t.Xb(0),33))),Zw(this.e,t))},bY(p4t,"PolarCoordinateSorter",1773),dOt(1136,209,NZt,Xo),EWt.Ze=function(t,e){var n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;if(MEt(e,"Rectangle Packing",1),e.n&&e.n&&t&&y0(e,o2(t),(Fut(),oIe)),n=Hv(_B(ZOt(t,(YLt(),l_e)))),g=$z(ZOt(t,T_e),381),w=zv(kB(ZOt(t,y_e))),v=zv(kB(ZOt(t,E_e))),h=zv(kB(ZOt(t,g_e))),x=$z(ZOt(t,C_e),116),m=Hv(_B(ZOt(t,I_e))),r=zv(kB(ZOt(t,M_e))),f=zv(kB(ZOt(t,p_e))),b=zv(kB(ZOt(t,b_e))),E=Hv(_B(ZOt(t,O_e))),!t.a&&(t.a=new tK(UIe,t,10,11)),_rt(_=t.a),b){for(d=new Lw,c=new MN(_);c.e!=c.i.gc();)T8(o=$z(vwt(c),33),d_e)&&(d.c[d.c.length]=o);for(u=new Kd(d);u.a<u.c.c.length;)stt(_,o=$z(Z1(u),33));for(EV(),wL(d,new Vo),l=new Kd(d);l.a<l.c.c.length;)o=$z(Z1(l),33),k=$z(ZOt(o,d_e),19).a,cft(_,k=i.Math.min(k,_.i),o);for(p=0,s=new MN(_);s.e!=s.i.gc();)Vwt(o=$z(vwt(s),33),f_e,nft(p)),++p}(y=KSt(t)).a-=x.b+x.c,y.b-=x.d+x.a,y.a,E<0||E<y.a?(a=MRt(new vz(n,g,w),_,m,x),e.n&&e.n&&t&&y0(e,o2(t),(Fut(),oIe))):a=new tU(n,E,0,(VNt(),R_e)),y.a+=x.b+x.c,y.b+=x.d+x.a,v||(_rt(_),a=vqt(new w3(n,h,f,r,m),_,i.Math.max(y.a,a.c),y,e,t,x)),bot(_,x),jKt(t,a.c+(x.b+x.c),a.b+(x.d+x.a),!1,!0),zv(kB(ZOt(t,__e)))||vZ(new kg((HT(),new Dv(t)))),e.n&&e.n&&t&&y0(e,o2(t),(Fut(),oIe)),zCt(e)},bY(m4t,"RectPackingLayoutProvider",1136),dOt(1137,1,EQt,Vo),EWt.ue=function(t,e){return dut($z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(m4t,"RectPackingLayoutProvider/lambda$0$Type",1137),dOt(1256,1,{},vz),EWt.a=0,EWt.c=!1,bY(v4t,"AreaApproximation",1256);var Vke=hU(v4t,"BestCandidateFilter");dOt(638,1,{526:1},Qo),EWt.mg=function(t,e,n){var r,a,o,s,c,u;for(u=new Lw,o=BVt,c=new Kd(t);c.a<c.c.c.length;)s=$z(Z1(c),220),o=i.Math.min(o,(s.c+(n.b+n.c))*(s.b+(n.d+n.a)));for(a=new Kd(t);a.a<a.c.c.length;)((r=$z(Z1(a),220)).c+(n.b+n.c))*(r.b+(n.d+n.a))==o&&(u.c[u.c.length]=r);return u},bY(v4t,"AreaFilter",638),dOt(639,1,{526:1},Zo),EWt.mg=function(t,e,n){var r,a,o,s,c,u;for(c=new Lw,u=BVt,s=new Kd(t);s.a<s.c.c.length;)o=$z(Z1(s),220),u=i.Math.min(u,i.Math.abs((o.c+(n.b+n.c))/(o.b+(n.d+n.a))-e));for(a=new Kd(t);a.a<a.c.c.length;)r=$z(Z1(a),220),i.Math.abs((r.c+(n.b+n.c))/(r.b+(n.d+n.a))-e)==u&&(c.c[c.c.length]=r);return c},bY(v4t,"AspectRatioFilter",639),dOt(637,1,{526:1},Jo),EWt.mg=function(t,e,n){var r,a,o,s,c,u;for(u=new Lw,o=jVt,c=new Kd(t);c.a<c.c.c.length;)s=$z(Z1(c),220),o=i.Math.max(o,XU(s.c+(n.b+n.c),s.b+(n.d+n.a),s.a));for(a=new Kd(t);a.a<a.c.c.length;)XU((r=$z(Z1(a),220)).c+(n.b+n.c),r.b+(n.d+n.a),r.a)==o&&(u.c[u.c.length]=r);return u},bY(v4t,"ScaleMeasureFilter",637),dOt(381,22,{3:1,35:1,22:1,381:1},mA);var Qke,Zke,Jke,t_e,e_e,n_e,i_e,r_e,a_e,o_e,s_e,c_e,u_e,l_e,h_e,f_e,d_e,g_e,p_e,b_e,w_e,y_e,m_e,v_e,x_e,k_e,__e,E_e,T_e,C_e,S_e,A_e,M_e,I_e,O_e,L_e=Fnt(x4t,"OptimizationGoal",381,Gte,j1,$F);dOt(856,1,XQt,Sh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,k4t),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),s_e),(CSt(),pTe)),L_e),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_4t),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(cD(),!0)),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,E4t),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),nft(-1)),wTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,T4t),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),nft(-1)),wTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,C4t),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,S4t),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,A4t),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),dTe),vee),Jft(cTe)))),r2(t,A4t,I4t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,M4t),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),gTe),Cee),Jft(cTe)))),NYt((new Ah,t))},bY(x4t,"RectPackingMetaDataProvider",856),dOt(1004,1,XQt,Ah),EWt.Qe=function(t){NYt(t)},bY(x4t,"RectPackingOptions",1004),dOt(1005,1,{},ts),EWt.$e=function(){return new Xo},EWt._e=function(t){},bY(x4t,"RectPackingOptions/RectpackingFactory",1005),dOt(1257,1,{},w3),EWt.a=0,EWt.b=!1,EWt.c=0,EWt.d=0,EWt.e=!1,EWt.f=!1,EWt.g=0,bY("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),dOt(187,1,{187:1},aut),EWt.a=0,EWt.c=!1,EWt.d=0,EWt.e=0,EWt.f=0,EWt.g=0,EWt.i=0,EWt.k=!1,EWt.o=BVt,EWt.p=BVt,EWt.r=0,EWt.s=0,EWt.t=0,bY(L4t,"Block",187),dOt(211,1,{211:1},PZ),EWt.a=0,EWt.b=0,EWt.d=0,EWt.e=0,EWt.f=0,bY(L4t,"BlockRow",211),dOt(443,1,{443:1},BZ),EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0,EWt.f=0,bY(L4t,"BlockStack",443),dOt(220,1,{220:1},tU,agt),EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0;var N_e=bY(L4t,"DrawingData",220);dOt(355,22,{3:1,35:1,22:1,355:1},vA);var D_e,P_e,B_e,j_e,R_e,$_e,F_e=Fnt(L4t,"DrawingDataDescriptor",355,Gte,L5,FF);dOt(200,1,{200:1},N0),EWt.b=0,EWt.c=0,EWt.e=0,EWt.f=0,bY(L4t,"RectRow",200),dOt(756,1,{},klt),EWt.j=0,bY(D4t,p1t,756),dOt(1245,1,{},es),EWt.Je=function(t){return K8(t.a,t.b)},bY(D4t,b1t,1245),dOt(1246,1,{},db),EWt.Je=function(t){return p6(this.a,t)},bY(D4t,w1t,1246),dOt(1247,1,{},gb),EWt.Je=function(t){return Mwt(this.a,t)},bY(D4t,y1t,1247),dOt(1248,1,{},pb),EWt.Je=function(t){return oct(this.a,t)},bY(D4t,"ElkGraphImporter/lambda$3$Type",1248),dOt(1249,1,{},bb),EWt.Je=function(t){return nIt(this.a,t)},bY(D4t,m1t,1249),dOt(1133,209,NZt,I_),EWt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l,h;for(T8(t,(ETt(),mEe))&&(h=EB(ZOt(t,(Fyt(),zEe))),(a=Kjt(rit(),h))&&$z(sZ(a.f),209).Ze(t,yat(e,1))),Vwt(t,gEe,(I6(),Z_e)),Vwt(t,pEe,(OCt(),rEe)),Vwt(t,bEe,(Lst(),YEe)),o=$z(ZOt(t,(Fyt(),jEe)),19).a,MEt(e,"Overlap removal",1),zv(kB(ZOt(t,BEe))),c=new wb(s=new Py),n=UYt(i=new klt,t),u=!0,r=0;r<o&&u;){if(zv(kB(ZOt(t,REe)))){if(s.a.$b(),zSt(new SL(c),n.i),0==s.a.gc())break;n.e=s}for(c2(this.b),CK(this.b,(Cdt(),z_e),(AT(),UEe)),CK(this.b,H_e,n.g),CK(this.b,U_e,(ST(),X_e)),this.a=OUt(this.b,n),l=new Kd(this.a);l.a<l.c.c.length;)$z(Z1(l),51).pf(n,yat(e,1));rkt(i,n),u=zv(kB(yTt(n,(Kat(),Xre)))),++r}PGt(i,n),zCt(e)},bY(D4t,"OverlapRemovalLayoutProvider",1133),dOt(1134,1,{},wb),bY(D4t,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),dOt(437,22,{3:1,35:1,22:1,437:1},xA);var z_e,H_e,U_e,G_e,q_e=Fnt(D4t,"SPOrEPhases",437,Gte,$1,zF);dOt(1255,1,{},O_),bY(D4t,"ShrinkTree",1255),dOt(1135,209,NZt,Qm),EWt.Ze=function(t,e){var n,i,r,a;T8(t,(ETt(),mEe))&&(a=EB(ZOt(t,mEe)),(r=Kjt(rit(),a))&&$z(sZ(r.f),209).Ze(t,yat(e,1))),n=UYt(i=new klt,t),ONt(this.a,n,yat(e,1)),PGt(i,n)},bY(D4t,"ShrinkTreeLayoutProvider",1135),dOt(300,134,{3:1,300:1,94:1,134:1},DZ),EWt.c=!1,bY("org.eclipse.elk.alg.spore.graph","Graph",300),dOt(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},OT),EWt.Kf=function(){return eut(this)},EWt.Xf=function(){return eut(this)};var K_e,Y_e,W_e=Fnt(P4t,$Zt,482,Gte,BX,HF);dOt(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},bB),EWt.Kf=function(){return new as},EWt.Xf=function(){return new as};var X_e,V_e,Q_e=Fnt(P4t,"OverlapRemovalStrategy",551,Gte,jX,UF);dOt(430,22,{3:1,35:1,22:1,430:1},kA);var Z_e,J_e,tEe,eEe=Fnt(P4t,"RootSelection",430,Gte,eZ,GF);dOt(316,22,{3:1,35:1,22:1,316:1},_A);var nEe,iEe,rEe,aEe,oEe,sEe,cEe,uEe,lEe,hEe,fEe,dEe,gEe,pEe,bEe,wEe,yEe,mEe,vEe,xEe,kEe,_Ee,EEe,TEe,CEe,SEe,AEe,MEe,IEe,OEe,LEe,NEe,DEe,PEe,BEe,jEe,REe,$Ee,FEe,zEe,HEe=Fnt(P4t,"SpanningTreeCostFunction",316,Gte,M5,qF);dOt(1002,1,XQt,vh),EWt.Qe=function(t){mHt(t)},bY(P4t,"SporeCompactionOptions",1002),dOt(1003,1,{},ns),EWt.$e=function(){return new Qm},EWt._e=function(t){},bY(P4t,"SporeCompactionOptions/SporeCompactionFactory",1003),dOt(855,1,XQt,xh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,j4t),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(CSt(),mTe)),zee),Jft((iwt(),uTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,H4t),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),DEe),pTe),qEe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,R4t),Y4t),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),LEe),pTe),XEe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,$4t),Y4t),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),IEe),pTe),HEe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,F4t),Y4t),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),mTe),zee),Jft(uTe)))),r2(t,F4t,z4t,CEe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,z4t),Y4t),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),AEe),pTe),eEe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,U4t),k2t),"Compaction Strategy"),"This option defines how the compaction is applied."),xEe),pTe),W_e),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,G4t),k2t),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(cD(),!1)),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q4t),W4t),"Upper limit for iterations of overlap removal"),null),nft(64)),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K4t),W4t),"Whether to run a supplementary scanline overlap check."),null),!0),dTe),vee),Jft(uTe)))),IRt((new kh,t)),mHt((new vh,t))},bY(P4t,"SporeMetaDataProvider",855),dOt(WXt,1,XQt,kh),EWt.Qe=function(t){IRt(t)},bY(P4t,"SporeOverlapRemovalOptions",WXt),dOt(1001,1,{},is),EWt.$e=function(){return new I_},EWt._e=function(t){},bY(P4t,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),dOt(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},qW),EWt.Kf=function(){return nut(this)},EWt.Xf=function(){return nut(this)};var UEe,GEe,qEe=Fnt(P4t,"StructureExtractionStrategy",530,Gte,RX,KF);dOt(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},EA),EWt.Kf=function(){return dgt(this)},EWt.Xf=function(){return dgt(this)};var KEe,YEe,WEe,XEe=Fnt(P4t,"TreeConstructionStrategy",429,Gte,tZ,YF);dOt(1443,1,k3t,rs),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){_kt($z(t,300),e)},bY(V4t,"DelaunayTriangulationPhase",1443),dOt(1444,1,hXt,yb),EWt.td=function(t){Kz(this.a,$z(t,65).a)},bY(V4t,"DelaunayTriangulationPhase/lambda$0$Type",1444),dOt(783,1,k3t,Ym),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){this.ng($z(t,300),e)},EWt.ng=function(t,e){var n;MEt(e,"Minimum spanning tree construction",1),n=t.d?t.d.a:$z(NU(t.i,0),65).a,jst(this,(zv(kB(yTt(t,(Kat(),Wre)))),VHt(t.e,n,t.b)),t),zCt(e)},bY(Q4t,"MinSTPhase",783),dOt(1446,783,k3t,ym),EWt.ng=function(t,e){var n,i;MEt(e,"Maximum spanning tree construction",1),n=new mb(t),i=t.d?t.d.c:$z(NU(t.i,0),65).c,jst(this,(zv(kB(yTt(t,(Kat(),Wre)))),VHt(t.e,i,n)),t),zCt(e)},bY(Q4t,"MaxSTPhase",1446),dOt(1447,1,{},mb),EWt.Je=function(t){return SA(this.a,t)},bY(Q4t,"MaxSTPhase/lambda$0$Type",1447),dOt(1445,1,hXt,vb),EWt.td=function(t){PL(this.a,$z(t,65))},bY(Q4t,"MinSTPhase/lambda$0$Type",1445),dOt(785,1,k3t,as),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){YEt(this,$z(t,300),e)},EWt.a=!1,bY(Z4t,"GrowTreePhase",785),dOt(786,1,hXt,xz),EWt.td=function(t){est(this.a,this.b,this.c,$z(t,221))},bY(Z4t,"GrowTreePhase/lambda$0$Type",786),dOt(1448,1,k3t,os),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){tmt(this,$z(t,300),e)},bY(Z4t,"ShrinkTreeCompactionPhase",1448),dOt(784,1,hXt,kz),EWt.td=function(t){hOt(this.a,this.b,this.c,$z(t,221))},bY(Z4t,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var VEe,QEe,ZEe=hU(m3t,"IGraphElementVisitor");dOt(860,1,{527:1},P0),EWt.og=function(t){var e;Hot(e=ujt(this,t),$z(PY(this.b,t),94)),mNt(this,t,e)},bY(DZt,"LayoutConfigurator",860);var JEe,tTe,eTe,nTe=hU(DZt,"LayoutConfigurator/IPropertyHolderOptionFilter");dOt(932,1,{1933:1},ss),EWt.pg=function(t,e){return Nst(),!t.Xe(e)},bY(DZt,"LayoutConfigurator/lambda$0$Type",932),dOt(933,1,{1933:1},cs),EWt.pg=function(t,e){return E_(t,e)},bY(DZt,"LayoutConfigurator/lambda$1$Type",933),dOt(931,1,{831:1},us),EWt.qg=function(t,e){return Nst(),!t.Xe(e)},bY(DZt,"LayoutConfigurator/lambda$2$Type",931),dOt(934,1,PXt,OA),EWt.Mb=function(t){return XW(this.a,this.b,$z(t,1933))},bY(DZt,"LayoutConfigurator/lambda$3$Type",934),dOt(858,1,{},ls),bY(DZt,"RecursiveGraphLayoutEngine",858),dOt(296,60,FXt,my,nx),bY(DZt,"UnsupportedConfigurationException",296),dOt(453,60,FXt,ix),bY(DZt,"UnsupportedGraphException",453),dOt(754,1,{}),bY(m3t,"AbstractRandomListAccessor",754),dOt(500,754,{},SDt),EWt.rg=function(){return null},EWt.d=!0,EWt.e=!0,EWt.f=0,bY(t5t,"AlgorithmAssembler",500),dOt(1236,1,PXt,hs),EWt.Mb=function(t){return!!$z(t,123)},bY(t5t,"AlgorithmAssembler/lambda$0$Type",1236),dOt(1237,1,{},xb),EWt.Kb=function(t){return hk(this.a,$z(t,123))},bY(t5t,"AlgorithmAssembler/lambda$1$Type",1237),dOt(1238,1,PXt,fs),EWt.Mb=function(t){return!!$z(t,80)},bY(t5t,"AlgorithmAssembler/lambda$2$Type",1238),dOt(1239,1,hXt,kb),EWt.td=function(t){Qat(this.a,$z(t,80))},bY(t5t,"AlgorithmAssembler/lambda$3$Type",1239),dOt(1240,1,hXt,LA),EWt.td=function(t){DP(this.a,this.b,$z(t,234))},bY(t5t,"AlgorithmAssembler/lambda$4$Type",1240),dOt(1355,1,EQt,ds),EWt.ue=function(t,e){return RV($z(t,234),$z(e,234))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(t5t,"EnumBasedFactoryComparator",1355),dOt(80,754,{80:1},$2),EWt.rg=function(){return new Py},EWt.a=0,bY(t5t,"LayoutProcessorConfiguration",80),dOt(1013,1,{527:1},Mh),EWt.og=function(t){Jat(tTe,new _b(t))},bY(GQt,"DeprecatedLayoutOptionReplacer",1013),dOt(1014,1,hXt,gs),EWt.td=function(t){L7($z(t,160))},bY(GQt,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),dOt(1015,1,hXt,ps),EWt.td=function(t){_gt($z(t,160))},bY(GQt,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),dOt(1016,1,{},_b),EWt.Od=function(t,e){PP(this.a,$z(t,146),$z(e,38))},bY(GQt,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),dOt(149,1,{686:1,149:1},EEt),EWt.Fb=function(t){return v5(this,t)},EWt.sg=function(){return this.b},EWt.tg=function(){return this.c},EWt.ne=function(){return this.e},EWt.Hb=function(){return wyt(this.c)},EWt.Ib=function(){return"Layout Algorithm: "+this.c};var iTe,rTe=bY(GQt,"LayoutAlgorithmData",149);dOt(263,1,{},bs),bY(GQt,"LayoutAlgorithmData/Builder",263),dOt(1017,1,{527:1},ws),EWt.og=function(t){iN(t,239)&&!zv(kB(t.We((cWt(),UCe))))&&jFt($z(t,33))},bY(GQt,"LayoutAlgorithmResolver",1017),dOt(229,1,{686:1,229:1},GJ),EWt.Fb=function(t){return!!iN(t,229)&&wR(this.b,$z(t,229).b)},EWt.sg=function(){return this.a},EWt.tg=function(){return this.b},EWt.ne=function(){return this.d},EWt.Hb=function(){return wyt(this.b)},EWt.Ib=function(){return"Layout Type: "+this.b},bY(GQt,"LayoutCategoryData",229),dOt(344,1,{},ys),bY(GQt,"LayoutCategoryData/Builder",344),dOt(867,1,{},Mjt),bY(GQt,"LayoutMetaDataService",867),dOt(868,1,{},GY),bY(GQt,"LayoutMetaDataService/Registry",868),dOt(478,1,{478:1},ms),bY(GQt,"LayoutMetaDataService/Registry/Triple",478),dOt(869,1,e5t,vs),EWt.ug=function(){return new Hk},bY(GQt,"LayoutMetaDataService/lambda$0$Type",869),dOt(870,1,n5t,xs),EWt.vg=function(t){return $L($z(t,8))},bY(GQt,"LayoutMetaDataService/lambda$1$Type",870),dOt(879,1,e5t,ks),EWt.ug=function(){return new Lw},bY(GQt,"LayoutMetaDataService/lambda$10$Type",879),dOt(880,1,n5t,_s),EWt.vg=function(t){return new JR($z(t,12))},bY(GQt,"LayoutMetaDataService/lambda$11$Type",880),dOt(881,1,e5t,Es),EWt.ug=function(){return new XE},bY(GQt,"LayoutMetaDataService/lambda$12$Type",881),dOt(882,1,n5t,Ts),EWt.vg=function(t){return Uz($z(t,68))},bY(GQt,"LayoutMetaDataService/lambda$13$Type",882),dOt(883,1,e5t,Cs),EWt.ug=function(){return new Py},bY(GQt,"LayoutMetaDataService/lambda$14$Type",883),dOt(884,1,n5t,Ss),EWt.vg=function(t){return VV($z(t,53))},bY(GQt,"LayoutMetaDataService/lambda$15$Type",884),dOt(885,1,e5t,As),EWt.ug=function(){return new uO},bY(GQt,"LayoutMetaDataService/lambda$16$Type",885),dOt(886,1,n5t,Ms),EWt.vg=function(t){return E4($z(t,53))},bY(GQt,"LayoutMetaDataService/lambda$17$Type",886),dOt(887,1,e5t,Is),EWt.ug=function(){return new Uy},bY(GQt,"LayoutMetaDataService/lambda$18$Type",887),dOt(888,1,n5t,Os),EWt.vg=function(t){return Hz($z(t,208))},bY(GQt,"LayoutMetaDataService/lambda$19$Type",888),dOt(871,1,e5t,Ls),EWt.ug=function(){return new mm},bY(GQt,"LayoutMetaDataService/lambda$2$Type",871),dOt(872,1,n5t,Ns),EWt.vg=function(t){return new Bk($z(t,74))},bY(GQt,"LayoutMetaDataService/lambda$3$Type",872),dOt(873,1,e5t,Ds),EWt.ug=function(){return new lm},bY(GQt,"LayoutMetaDataService/lambda$4$Type",873),dOt(874,1,n5t,Ps),EWt.vg=function(t){return new M$($z(t,142))},bY(GQt,"LayoutMetaDataService/lambda$5$Type",874),dOt(875,1,e5t,js),EWt.ug=function(){return new hm},bY(GQt,"LayoutMetaDataService/lambda$6$Type",875),dOt(876,1,n5t,Rs),EWt.vg=function(t){return new A$($z(t,116))},bY(GQt,"LayoutMetaDataService/lambda$7$Type",876),dOt(877,1,e5t,$s),EWt.ug=function(){return new Zs},bY(GQt,"LayoutMetaDataService/lambda$8$Type",877),dOt(878,1,n5t,Fs),EWt.vg=function(t){return new ntt($z(t,373))},bY(GQt,"LayoutMetaDataService/lambda$9$Type",878);var aTe=hU(AZt,"IProperty");dOt(23,1,{35:1,686:1,23:1,146:1},fSt),EWt.wd=function(t){return gN(this,$z(t,146))},EWt.Fb=function(t){return iN(t,23)?wR(this.f,$z(t,23).f):iN(t,146)&&wR(this.f,$z(t,146).tg())},EWt.wg=function(){var t;if(iN(this.b,4)){if(null==(t=Qpt(this.b)))throw Fw(new Rv(s5t+this.f+"'. Make sure it's type is registered with the "+(xB(lOe),lOe.k)+r5t));return t}return this.b},EWt.sg=function(){return this.d},EWt.tg=function(){return this.f},EWt.ne=function(){return this.i},EWt.Hb=function(){return wyt(this.f)},EWt.Ib=function(){return"Layout Option: "+this.f},bY(GQt,"LayoutOptionData",23),dOt(24,1,{},zs),bY(GQt,"LayoutOptionData/Builder",24),dOt(175,22,{3:1,35:1,22:1,175:1},MA);var oTe,sTe,cTe,uTe,lTe,hTe,fTe=Fnt(GQt,"LayoutOptionData/Target",175,Gte,A5,WF);dOt(277,22,{3:1,35:1,22:1,277:1},IA);var dTe,gTe,pTe,bTe,wTe,yTe,mTe,vTe,xTe,kTe,_Te,ETe=Fnt(GQt,"LayoutOptionData/Type",277,Gte,Ret,XF);dOt(110,1,{110:1},hO,GX,gQ),EWt.Fb=function(t){var e;return!(null==t||!iN(t,110))&&(e=$z(t,110),iX(this.c,e.c)&&iX(this.d,e.d)&&iX(this.b,e.b)&&iX(this.a,e.a))},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[this.c,this.d,this.b,this.a]))},EWt.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,bY(l1t,"ElkRectangle",110),dOt(8,1,{3:1,4:1,8:1,414:1},Hk,qJ,NA,fO),EWt.Fb=function(t){return Jit(this,t)},EWt.Hb=function(){return YI(this.a)+fvt(YI(this.b))},EWt.Jf=function(t){var e,n,i;for(n=0;n<t.length&&Dlt((h1(n,t.length),t.charCodeAt(n)),s1t);)++n;for(e=t.length;e>0&&Dlt((h1(e-1,t.length),t.charCodeAt(e-1)),c1t);)--e;if(n>=e)throw Fw(new jv("The given string does not contain any numbers."));if(2!=(i=vRt(t.substr(n,e-n),",|;|\r|\n")).length)throw Fw(new jv("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=fCt(BTt(i[0])),this.b=fCt(BTt(i[1]))}catch(r){throw iN(r=hst(r),127)?Fw(new jv(u1t+r)):Fw(r)}},EWt.Ib=function(){return"("+this.a+","+this.b+")"},EWt.a=0,EWt.b=0;var TTe=bY(l1t,"KVector",8);dOt(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},mm,Bk,GP),EWt.Pc=function(){return Wut(this)},EWt.Jf=function(t){var e,n,i,r,a;n=vRt(t,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),yV(this);try{for(e=0,r=0,i=0,a=0;e<n.length;)null!=n[e]&&BTt(n[e]).length>0&&(r%2==0?i=fCt(n[e]):a=fCt(n[e]),r>0&&r%2!=0&&DH(this,new NA(i,a)),++r),++e}catch(o){throw iN(o=hst(o),127)?Fw(new jv("The given string does not match the expected format for vectors."+o)):Fw(o)}},EWt.Ib=function(){var t,e,n;for(t=new lD("("),e=cwt(this,0);e.b!=e.d.c;)oI(t,(n=$z(h3(e),8)).a+","+n.b),e.b!=e.d.c&&(t.a+="; ");return(t.a+=")",t).a};var CTe=bY(l1t,"KVectorChain",74);dOt(248,22,{3:1,35:1,22:1,248:1},DA);var STe,ATe,MTe,ITe,OTe,LTe,NTe,DTe,PTe,BTe,jTe,RTe,$Te,FTe,zTe,HTe,UTe,GTe,qTe,KTe=Fnt(u5t,"Alignment",248,Gte,V8,VF);dOt(979,1,XQt,Ih),EWt.Qe=function(t){U$t(t)},bY(u5t,"BoxLayouterOptions",979),dOt(980,1,{},Bs),EWt.$e=function(){return new qs},EWt._e=function(t){},bY(u5t,"BoxLayouterOptions/BoxFactory",980),dOt(291,22,{3:1,35:1,22:1,291:1},PA);var YTe,WTe,XTe,VTe,QTe,ZTe,JTe,tCe,eCe,nCe,iCe,rCe,aCe,oCe,sCe,cCe,uCe,lCe,hCe,fCe,dCe,gCe,pCe,bCe,wCe,yCe,mCe,vCe,xCe,kCe,_Ce,ECe,TCe,CCe,SCe,ACe,MCe,ICe,OCe,LCe,NCe,DCe,PCe,BCe,jCe,RCe,$Ce,FCe,zCe,HCe,UCe,GCe,qCe,KCe,YCe,WCe,XCe,VCe,QCe,ZCe,JCe,tSe,eSe,nSe,iSe,rSe,aSe,oSe,sSe,cSe,uSe,lSe,hSe,fSe,dSe,gSe,pSe,bSe,wSe,ySe,mSe,vSe,xSe,kSe,_Se,ESe,TSe,CSe,SSe,ASe,MSe,ISe,OSe,LSe,NSe,DSe,PSe,BSe=Fnt(u5t,"ContentAlignment",291,Gte,X8,QF);dOt(684,1,XQt,Oh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,d5t),""),"Layout Algorithm"),"Select a specific layout algorithm."),(CSt(),mTe)),zee),Jft((iwt(),uTe))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,g5t),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),yTe),rTe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y2t),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),nCe),pTe),KTe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,WZt),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,p5t),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),yTe),CTe),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o3t),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),uCe),bTe),BSe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K2t),""),"Debug Mode"),"Whether additional debug information shall be generated."),(cD(),!1)),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Q2t),""),_Zt),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),fCe),pTe),USe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,m2t),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),wCe),pTe),tAe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,I4t),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,g2t),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),kCe),pTe),vAe),xG(uTe,Cst(Hx(fTe,1),OXt,175,0,[cTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,XZt),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),KCe),yTe),Ose),xG(uTe,Cst(Hx(fTe,1),OXt,175,0,[cTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,xJt),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,y3t),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,EJt),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,kJt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),oSe),pTe),ZAe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,p3t),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),yTe),TTe),xG(cTe,Cst(Hx(fTe,1),OXt,175,0,[lTe,sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,bJt),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),wTe),Iee),xG(cTe,Cst(Hx(fTe,1),OXt,175,0,[oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,mJt),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,vJt),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s3t),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),MCe),yTe),CTe),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,l3t),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,h3t),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,b5t),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),yTe),PDe),xG(uTe,Cst(Hx(fTe,1),OXt,175,0,[sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,b3t),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),OCe),yTe),xse),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,G2t),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),dTe),vee),xG(cTe,Cst(Hx(fTe,1),OXt,175,0,[oTe,lTe,sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,w5t),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),gTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,y5t),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,m5t),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),nft(100)),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,v5t),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,x5t),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),nft(4e3)),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,k5t),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),nft(400)),wTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_5t),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,E5t),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,T5t),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,C5t),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,f5t),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),oCe),pTe),iIe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,L2t),v2t),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,N2t),v2t),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,KZt),v2t),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,D2t),v2t),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,yJt),v2t),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,P2t),v2t),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,B2t),v2t),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,$2t),v2t),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,j2t),v2t),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,R2t),v2t),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,wJt),v2t),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,F2t),v2t),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),gTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,z2t),v2t),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),gTe),Cee),xG(uTe,Cst(Hx(fTe,1),OXt,175,0,[cTe]))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,H2t),v2t),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),yTe),rIe),xG(cTe,Cst(Hx(fTe,1),OXt,175,0,[oTe,lTe,sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,w3t),v2t),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),DSe),yTe),xse),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,g3t),I5t),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),wTe),Iee),xG(uTe,Cst(Hx(fTe,1),OXt,175,0,[cTe]))))),r2(t,g3t,d3t,VCe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,d3t),I5t),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),WCe),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Z2t),O5t),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),NCe),yTe),Ose),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,SJt),O5t),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),PCe),bTe),jAe),xG(cTe,Cst(Hx(fTe,1),OXt,175,0,[sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,e3t),L5t),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),ZCe),pTe),GAe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,n3t),L5t),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),pTe),GAe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,i3t),L5t),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),pTe),GAe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,r3t),L5t),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),pTe),GAe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,a3t),L5t),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),pTe),GAe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,CJt),N5t),"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."),jCe),bTe),FMe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,TJt),N5t),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),HCe),bTe),QMe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,FJt),N5t),"Node Size Minimum"),"The minimal size to which a node can be reduced."),FCe),yTe),TTe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,V2t),N5t),"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),dTe),vee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c3t),I2t),"Edge Label Placement"),"Gives a hint on where to put edge labels."),pCe),pTe),WSe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_Jt),I2t),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),dTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,S5t),"font"),"Font Name"),"Font name used for a label."),mTe),zee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,A5t),"font"),"Font Size"),"Font size used for a label."),wTe),Iee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,f3t),D5t),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),yTe),TTe),Jft(lTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,u3t),D5t),"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."),wTe),Iee),Jft(lTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q2t),D5t),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),dSe),pTe),DMe),Jft(lTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,U2t),D5t),"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."),gTe),Cee),Jft(lTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,AJt),P5t),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),lSe),bTe),oMe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,J2t),P5t),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,t3t),P5t),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,W2t),B5t),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),dTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,X2t),B5t),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),dTe),vee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,YZt),"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),gTe),Cee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,M5t),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),mCe),pTe),pAe),Jft(oTe)))),NT(t,new GJ(yk(vk(mk(new ys,d1t),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),NT(t,new GJ(yk(vk(mk(new ys,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),NT(t,new GJ(yk(vk(mk(new ys,pJt),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),NT(t,new GJ(yk(vk(mk(new ys,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),NT(t,new GJ(yk(vk(mk(new ys,V3t),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),NT(t,new GJ(yk(vk(mk(new ys,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),NT(t,new GJ(yk(vk(mk(new ys,d4t),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),fRt((new Lh,t)),U$t((new Ih,t)),BBt((new Nh,t))},bY(u5t,"CoreOptions",684),dOt(103,22,{3:1,35:1,22:1,103:1},BA);var jSe,RSe,$Se,FSe,zSe,HSe,USe=Fnt(u5t,_Zt,103,Gte,C5,tz);dOt(272,22,{3:1,35:1,22:1,272:1},jA);var GSe,qSe,KSe,YSe,WSe=Fnt(u5t,"EdgeLabelPlacement",272,Gte,z1,ez);dOt(218,22,{3:1,35:1,22:1,218:1},RA);var XSe,VSe,QSe,ZSe,JSe,tAe=Fnt(u5t,"EdgeRouting",218,Gte,E3,nz);dOt(312,22,{3:1,35:1,22:1,312:1},$A);var eAe,nAe,iAe,rAe,aAe,oAe,sAe,cAe,uAe,lAe,hAe,fAe,dAe,gAe,pAe=Fnt(u5t,"EdgeType",312,Gte,r7,iz);dOt(977,1,XQt,Lh),EWt.Qe=function(t){fRt(t)},bY(u5t,"FixedLayouterOptions",977),dOt(978,1,{},Vs),EWt.$e=function(){return new Us},EWt._e=function(t){},bY(u5t,"FixedLayouterOptions/FixedFactory",978),dOt(334,22,{3:1,35:1,22:1,334:1},FA);var bAe,wAe,yAe,mAe,vAe=Fnt(u5t,"HierarchyHandling",334,Gte,F1,rz);dOt(285,22,{3:1,35:1,22:1,285:1},zA);var xAe,kAe,_Ae,EAe,TAe,CAe=Fnt(u5t,"LabelSide",285,Gte,_3,az);dOt(93,22,{3:1,35:1,22:1,93:1},HA);var SAe,AAe,MAe,IAe,OAe,LAe,NAe,DAe,PAe,BAe,jAe=Fnt(u5t,"NodeLabelPlacement",93,Gte,vnt,oz);dOt(249,22,{3:1,35:1,22:1,249:1},UA);var RAe,$Ae,FAe,zAe,HAe,UAe,GAe=Fnt(u5t,"PortAlignment",249,Gte,S5,sz);dOt(98,22,{3:1,35:1,22:1,98:1},GA);var qAe,KAe,YAe,WAe,XAe,VAe,QAe,ZAe=Fnt(u5t,"PortConstraints",98,Gte,E8,cz);dOt(273,22,{3:1,35:1,22:1,273:1},qA);var JAe,tMe,eMe,nMe,iMe,rMe,aMe,oMe=Fnt(u5t,"PortLabelPlacement",273,Gte,i7,uz);dOt(61,22,{3:1,35:1,22:1,61:1},KA);var sMe,cMe,uMe,lMe,hMe,fMe,dMe,gMe,pMe,bMe,wMe,yMe,mMe,vMe,xMe,kMe,_Me,EMe,TMe,CMe,SMe,AMe,MMe,IMe,OMe,LMe,NMe,DMe=Fnt(u5t,"PortSide",61,Gte,c5,fz);dOt(981,1,XQt,Nh),EWt.Qe=function(t){BBt(t)},bY(u5t,"RandomLayouterOptions",981),dOt(982,1,{},Qs),EWt.$e=function(){return new ec},EWt._e=function(t){},bY(u5t,"RandomLayouterOptions/RandomFactory",982),dOt(374,22,{3:1,35:1,22:1,374:1},YA);var PMe,BMe,jMe,RMe,$Me,FMe=Fnt(u5t,"SizeConstraint",374,Gte,k3,lz);dOt(259,22,{3:1,35:1,22:1,259:1},WA);var zMe,HMe,UMe,GMe,qMe,KMe,YMe,WMe,XMe,VMe,QMe=Fnt(u5t,"SizeOptions",259,Gte,kit,hz);dOt(370,1,{1949:1},qm),EWt.b=!1,EWt.c=0,EWt.d=-1,EWt.e=null,EWt.f=null,EWt.g=-1,EWt.j=!1,EWt.k=!1,EWt.n=!1,EWt.o=0,EWt.q=0,EWt.r=0,bY(m3t,"BasicProgressMonitor",370),dOt(972,209,NZt,qs),EWt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l;0===(MEt(e,"Box layout",2),r=Uv(_B(ZOt(t,(TTt(),qTe)))),a=$z(ZOt(t,HTe),116),n=zv(kB(ZOt(t,jTe))),i=zv(kB(ZOt(t,RTe))),$z(ZOt(t,PTe),311).g)?(s=new JR((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a)),EV(),wL(s,new Eb(i)),o=s,c=KSt(t),(null==(u=_B(ZOt(t,DTe)))||(mW(u),u<=0))&&(u=1.3),jKt(t,(l=zKt(o,r,a,c.a,c.b,n,(mW(u),u))).a,l.b,!1,!0)):vUt(t,r,a,n),zCt(e)},bY(m3t,"BoxLayoutProvider",972),dOt(973,1,EQt,Eb),EWt.ue=function(t,e){return uDt(this,$z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},EWt.a=!1,bY(m3t,"BoxLayoutProvider/1",973),dOt(157,1,{157:1},Uet,UP),EWt.Ib=function(){return this.c?Gjt(this.c):LTt(this.b)},bY(m3t,"BoxLayoutProvider/Group",157),dOt(311,22,{3:1,35:1,22:1,311:1},XA);var ZMe,JMe,tIe,eIe,nIe,iIe=Fnt(m3t,"BoxLayoutProvider/PackingMode",311,Gte,T3,dz);dOt(974,1,EQt,Ks),EWt.ue=function(t,e){return DV($z(t,157),$z(e,157))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(m3t,"BoxLayoutProvider/lambda$0$Type",974),dOt(975,1,EQt,Ys),EWt.ue=function(t,e){return iV($z(t,157),$z(e,157))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(m3t,"BoxLayoutProvider/lambda$1$Type",975),dOt(976,1,EQt,Ws),EWt.ue=function(t,e){return rV($z(t,157),$z(e,157))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(m3t,"BoxLayoutProvider/lambda$2$Type",976),dOt(1365,1,{831:1},Xs),EWt.qg=function(t,e){return MT(),!iN(e,160)||E_((Nst(),$z(t,160)),e)},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),dOt(1366,1,hXt,Tb),EWt.td=function(t){Qut(this.a,$z(t,146))},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),dOt(1367,1,hXt,Gs),EWt.td=function(t){$z(t,94),MT()},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),dOt(1371,1,hXt,Cb),EWt.td=function(t){Mrt(this.a,$z(t,94))},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),dOt(1369,1,PXt,VA),EWt.Mb=function(t){return Wct(this.a,this.b,$z(t,146))},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),dOt(1368,1,PXt,QA),EWt.Mb=function(t){return IP(this.a,this.b,$z(t,831))},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),dOt(1370,1,hXt,ZA),EWt.td=function(t){Rq(this.a,this.b,$z(t,146))},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),dOt(935,1,{},Hs),EWt.Kb=function(t){return yO(t)},EWt.Fb=function(t){return this===t},bY(m3t,"ElkUtil/lambda$0$Type",935),dOt(936,1,hXt,JA),EWt.td=function(t){iIt(this.a,this.b,$z(t,79))},EWt.a=0,EWt.b=0,bY(m3t,"ElkUtil/lambda$1$Type",936),dOt(937,1,hXt,tM),EWt.td=function(t){xv(this.a,this.b,$z(t,202))},EWt.a=0,EWt.b=0,bY(m3t,"ElkUtil/lambda$2$Type",937),dOt(938,1,hXt,eM),EWt.td=function(t){JO(this.a,this.b,$z(t,137))},EWt.a=0,EWt.b=0,bY(m3t,"ElkUtil/lambda$3$Type",938),dOt(939,1,hXt,Sb),EWt.td=function(t){iU(this.a,$z(t,469))},bY(m3t,"ElkUtil/lambda$4$Type",939),dOt(342,1,{35:1,342:1},Iw),EWt.wd=function(t){return bN(this,$z(t,236))},EWt.Fb=function(t){var e;return!!iN(t,342)&&(e=$z(t,342),this.a==e.a)},EWt.Hb=function(){return CZ(this.a)},EWt.Ib=function(){return this.a+" (exclusive)"},EWt.a=0,bY(m3t,"ExclusiveBounds/ExclusiveLowerBound",342),dOt(1138,209,NZt,Us),EWt.Ze=function(t,e){var n,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(MEt(e,"Fixed Layout",1),o=$z(ZOt(t,(cWt(),bCe)),218),d=0,g=0,y=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));y.e!=y.i.gc();){for(b=$z(vwt(y),33),(E=$z(ZOt(b,(Kut(),gAe)),8))&&(EO(b,E.a,E.b),$z(ZOt(b,uAe),174).Hc((ypt(),PMe))&&(p=$z(ZOt(b,hAe),8)).a>0&&p.b>0&&jKt(b,p.a,p.b,!0,!0)),d=i.Math.max(d,b.i+b.g),g=i.Math.max(g,b.j+b.f),h=new MN((!b.n&&(b.n=new tK(HIe,b,1,7)),b.n));h.e!=h.i.gc();)c=$z(vwt(h),137),(E=$z(ZOt(c,gAe),8))&&EO(c,E.a,E.b),d=i.Math.max(d,b.i+c.i+c.g),g=i.Math.max(g,b.j+c.j+c.f);for(x=new MN((!b.c&&(b.c=new tK(GIe,b,9,9)),b.c));x.e!=x.i.gc();)for(v=$z(vwt(x),118),(E=$z(ZOt(v,gAe),8))&&EO(v,E.a,E.b),k=b.i+v.i,_=b.j+v.j,d=i.Math.max(d,k+v.g),g=i.Math.max(g,_+v.f),u=new MN((!v.n&&(v.n=new tK(HIe,v,1,7)),v.n));u.e!=u.i.gc();)c=$z(vwt(u),137),(E=$z(ZOt(c,gAe),8))&&EO(c,E.a,E.b),d=i.Math.max(d,k+c.i+c.g),g=i.Math.max(g,_+c.j+c.f);for(a=new oq(QN(gNt(b).a.Kc(),new l));gOt(a);)f=RKt(n=$z(G5(a),79)),d=i.Math.max(d,f.a),g=i.Math.max(g,f.b);for(r=new oq(QN(dNt(b).a.Kc(),new l));gOt(r);)VZ(CTt(n=$z(G5(r),79)))!=t&&(f=RKt(n),d=i.Math.max(d,f.a),g=i.Math.max(g,f.b))}if(o==(Edt(),XSe))for(w=new MN((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));w.e!=w.i.gc();)for(r=new oq(QN(gNt(b=$z(vwt(w),33)).a.Kc(),new l));gOt(r);)0==(s=iFt(n=$z(G5(r),79))).b?Vwt(n,ACe,null):Vwt(n,ACe,s);zv(kB(ZOt(t,(Kut(),lAe))))||jKt(t,d+(m=$z(ZOt(t,fAe),116)).b+m.c,g+m.d+m.a,!0,!0),zCt(e)},bY(m3t,"FixedLayoutProvider",1138),dOt(373,134,{3:1,414:1,373:1,94:1,134:1},Zs,ntt),EWt.Jf=function(t){var e,n,i,r,a,o,s;if(t)try{for(o=vRt(t,";,;"),r=0,a=(i=o).length;r<a;++r){if(e=vRt(i[r],"\\:"),!(n=bGt(rit(),e[0])))throw Fw(new jv("Invalid option id: "+e[0]));if(null==(s=ZUt(n,e[1])))throw Fw(new jv("Invalid option value: "+e[1]));null==s?(!this.q&&(this.q=new Nw),b6(this.q,n)):(!this.q&&(this.q=new Nw),YW(this.q,n,s))}}catch(c){throw iN(c=hst(c),102)?Fw(new $ut(c)):Fw(c)}},EWt.Ib=function(){return EB(T4(IX((this.q?this.q:(EV(),EV(),une)).vc().Oc(),new Js),N9(new Xz,new J,new W,new X,Cst(Hx(Zne,1),OXt,132,0,[]))))};var rIe=bY(m3t,"IndividualSpacings",373);dOt(971,1,{},Js),EWt.Kb=function(t){return PV($z(t,42))},bY(m3t,"IndividualSpacings/lambda$0$Type",971),dOt(709,1,{},sG),EWt.c=0,bY(m3t,"InstancePool",709),dOt(1275,1,{},tc),bY(m3t,"LoggedGraph",1275),dOt(396,22,{3:1,35:1,22:1,396:1},iM);var aIe,oIe,sIe,cIe,uIe,lIe,hIe,fIe=Fnt(m3t,"LoggedGraph/Type",396,Gte,C3,gz);dOt(46,1,{20:1,46:1},nM),EWt.Jc=function(t){t5(this,t)},EWt.Fb=function(t){var e,n,i;return!!iN(t,46)&&(n=$z(t,46),e=null==this.a?null==n.a:Nht(this.a,n.a),i=null==this.b?null==n.b:Nht(this.b,n.b),e&&i)},EWt.Hb=function(){var t,e,n;return t=-65536&(e=null==this.a?0:Jct(this.a)),e&XXt^(-65536&(n=null==this.b?0:Jct(this.b)))>>16&XXt|t^(n&XXt)<<16},EWt.Kc=function(){return new Ab(this)},EWt.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+Fdt(this.b)+")":null==this.b?"pair("+Fdt(this.a)+",null)":"pair("+Fdt(this.a)+","+Fdt(this.b)+")"},bY(m3t,"Pair",46),dOt(983,1,XWt,Ab),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},EWt.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw Fw(new yy)},EWt.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Fw(new dy)},EWt.b=!1,EWt.c=!1,bY(m3t,"Pair/1",983),dOt(448,1,{448:1},YX),EWt.Fb=function(t){return iX(this.a,$z(t,448).a)&&iX(this.c,$z(t,448).c)&&iX(this.d,$z(t,448).d)&&iX(this.b,$z(t,448).b)},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[this.a,this.c,this.d,this.b]))},EWt.Ib=function(){return"("+this.a+$Wt+this.c+$Wt+this.d+$Wt+this.b+")"},bY(m3t,"Quadruple",448),dOt(1126,209,NZt,ec),EWt.Ze=function(t,e){var n;MEt(e,"Random Layout",1),0!=(!t.a&&(t.a=new tK(UIe,t,10,11)),t.a).i?(nKt(t,(n=$z(ZOt(t,(wpt(),LMe)),19))&&0!=n.a?new C4(n.a):new cdt,Uv(_B(ZOt(t,MMe))),Uv(_B(ZOt(t,NMe))),$z(ZOt(t,IMe),116)),zCt(e)):zCt(e)},bY(m3t,"RandomLayoutProvider",1126),dOt(553,1,{}),EWt.qf=function(){return new NA(this.f.i,this.f.j)},EWt.We=function(t){return xQ(t,(cWt(),rSe))?ZOt(this.f,hIe):ZOt(this.f,t)},EWt.rf=function(){return new NA(this.f.g,this.f.f)},EWt.sf=function(){return this.g},EWt.Xe=function(t){return T8(this.f,t)},EWt.tf=function(t){Cnt(this.f,t.a),Snt(this.f,t.b)},EWt.uf=function(t){Tnt(this.f,t.a),Ent(this.f,t.b)},EWt.vf=function(t){this.g=t},EWt.g=0,bY(z5t,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),dOt(554,1,{839:1},Mb),EWt.wf=function(){var t,e;if(!this.b)for(this.b=C2(wX(this.a).i),e=new MN(wX(this.a));e.e!=e.i.gc();)t=$z(vwt(e),137),Kz(this.b,new Pv(t));return this.b},EWt.b=null,bY(z5t,"ElkGraphAdapters/ElkEdgeAdapter",554),dOt(301,553,{},Dv),EWt.xf=function(){return evt(this)},EWt.a=null,bY(z5t,"ElkGraphAdapters/ElkGraphAdapter",301),dOt(630,553,{181:1},Pv),bY(z5t,"ElkGraphAdapters/ElkLabelAdapter",630),dOt(629,553,{680:1},VD),EWt.wf=function(){return Jmt(this)},EWt.Af=function(){var t;return!(t=$z(ZOt(this.f,(cWt(),ICe)),142))&&(t=new lm),t},EWt.Cf=function(){return tvt(this)},EWt.Ef=function(t){var e;e=new M$(t),Vwt(this.f,(cWt(),ICe),e)},EWt.Ff=function(t){Vwt(this.f,(cWt(),qCe),new A$(t))},EWt.yf=function(){return this.d},EWt.zf=function(){var t,e;if(!this.a)for(this.a=new Lw,e=new oq(QN(dNt($z(this.f,33)).a.Kc(),new l));gOt(e);)t=$z(G5(e),79),Kz(this.a,new Mb(t));return this.a},EWt.Bf=function(){var t,e;if(!this.c)for(this.c=new Lw,e=new oq(QN(gNt($z(this.f,33)).a.Kc(),new l));gOt(e);)t=$z(G5(e),79),Kz(this.c,new Mb(t));return this.c},EWt.Df=function(){return 0!=XV($z(this.f,33)).i||zv(kB($z(this.f,33).We((cWt(),ECe))))},EWt.Gf=function(){j9(this,(HT(),lIe))},EWt.a=null,EWt.b=null,EWt.c=null,EWt.d=null,EWt.e=null,bY(z5t,"ElkGraphAdapters/ElkNodeAdapter",629),dOt(1266,553,{838:1},ow),EWt.wf=function(){return vvt(this)},EWt.zf=function(){var t,e;if(!this.a)for(this.a=sP($z(this.f,118).xg().i),e=new MN($z(this.f,118).xg());e.e!=e.i.gc();)t=$z(vwt(e),79),Kz(this.a,new Mb(t));return this.a},EWt.Bf=function(){var t,e;if(!this.c)for(this.c=sP($z(this.f,118).yg().i),e=new MN($z(this.f,118).yg());e.e!=e.i.gc();)t=$z(vwt(e),79),Kz(this.c,new Mb(t));return this.c},EWt.Hf=function(){return $z($z(this.f,118).We((cWt(),fSe)),61)},EWt.If=function(){var t,e,n,i,r,a,o;for(i=KZ($z(this.f,118)),n=new MN($z(this.f,118).yg());n.e!=n.i.gc();)for(o=new MN((!(t=$z(vwt(n),79)).c&&(t.c=new cR(PIe,t,5,8)),t.c));o.e!=o.i.gc();){if(Set(CEt(a=$z(vwt(o),82)),i))return!0;if(CEt(a)==i&&zv(kB(ZOt(t,(cWt(),TCe)))))return!0}for(e=new MN($z(this.f,118).xg());e.e!=e.i.gc();)for(r=new MN((!(t=$z(vwt(e),79)).b&&(t.b=new cR(PIe,t,4,7)),t.b));r.e!=r.i.gc();)if(Set(CEt($z(vwt(r),82)),i))return!0;return!1},EWt.a=null,EWt.b=null,EWt.c=null,bY(z5t,"ElkGraphAdapters/ElkPortAdapter",1266),dOt(1267,1,EQt,nc),EWt.ue=function(t,e){return Ujt($z(t,118),$z(e,118))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(z5t,"ElkGraphAdapters/PortComparator",1267);var dIe,gIe,pIe,bIe,wIe,yIe,mIe,vIe,xIe,kIe,_Ie,EIe,TIe,CIe,SIe,AIe,MIe,IIe=hU(H5t,"EObject"),OIe=hU(U5t,G5t),LIe=hU(U5t,q5t),NIe=hU(U5t,K5t),DIe=hU(U5t,"ElkShape"),PIe=hU(U5t,Y5t),BIe=hU(U5t,W5t),jIe=hU(U5t,X5t),RIe=hU(H5t,V5t),$Ie=hU(H5t,"EFactory"),FIe=hU(H5t,Q5t),zIe=hU(H5t,"EPackage"),HIe=hU(U5t,Z5t),UIe=hU(U5t,J5t),GIe=hU(U5t,t6t);dOt(90,1,e6t),EWt.Jg=function(){return this.Kg(),null},EWt.Kg=function(){return null},EWt.Lg=function(){return this.Kg(),!1},EWt.Mg=function(){return!1},EWt.Ng=function(t){fot(this,t)},bY(n6t,"BasicNotifierImpl",90),dOt(97,90,l6t),EWt.nh=function(){return wO(this)},EWt.Og=function(t,e){return t},EWt.Pg=function(){throw Fw(new py)},EWt.Qg=function(t){var e;return e=Syt($z(eet(this.Tg(),this.Vg()),18)),this.eh().ih(this,e.n,e.f,t)},EWt.Rg=function(t,e){throw Fw(new py)},EWt.Sg=function(t,e,n){return _$t(this,t,e,n)},EWt.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck())?t:this.zh()},EWt.Ug=function(){return rOt(this)},EWt.Vg=function(){throw Fw(new py)},EWt.Wg=function(){var t,e;return!(e=this.ph().dk())&&this.Pg().ik((WT(),e=null==(t=lZ(HFt(this.Tg())))?OLe:new WD(this,t))),e},EWt.Xg=function(t,e){return t},EWt.Yg=function(t){return t.Gj()?t.aj():Igt(this.Tg(),t)},EWt.Zg=function(){var t;return(t=this.Pg())?t.fk():null},EWt.$g=function(){return this.Pg()?this.Pg().ck():null},EWt._g=function(t,e,n){return Zwt(this,t,e,n)},EWt.ah=function(t){return E7(this,t)},EWt.bh=function(t,e){return Y5(this,t,e)},EWt.dh=function(){var t;return!!(t=this.Pg())&&t.gk()},EWt.eh=function(){throw Fw(new py)},EWt.fh=function(){return Vpt(this)},EWt.gh=function(t,e,n,i){return Nwt(this,t,e,i)},EWt.hh=function(t,e,n){return $z(eet(this.Tg(),e),66).Nj().Qj(this,this.yh(),e-this.Ah(),t,n)},EWt.ih=function(t,e,n,i){return oZ(this,t,e,i)},EWt.jh=function(t,e,n){return $z(eet(this.Tg(),e),66).Nj().Rj(this,this.yh(),e-this.Ah(),t,n)},EWt.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},EWt.lh=function(t){return wwt(this,t)},EWt.mh=function(t){return QZ(this,t)},EWt.oh=function(t){return RUt(this,t)},EWt.ph=function(){throw Fw(new py)},EWt.qh=function(){return this.Pg()?this.Pg().ek():null},EWt.rh=function(){return Vpt(this)},EWt.sh=function(t,e){mAt(this,t,e)},EWt.th=function(t){this.ph().hk(t)},EWt.uh=function(t){this.ph().kk(t)},EWt.vh=function(t){this.ph().jk(t)},EWt.wh=function(t,e){var n,i,r,a;return(a=this.Zg())&&t&&(e=Rwt(a.Vk(),this,e),a.Zk(this)),(i=this.eh())&&(pRt(this,this.eh(),this.Vg()).Bb&FVt?(r=i.fh())&&(t?!a&&r.Zk(this):r.Yk(this)):(e=(n=this.Vg())>=0?this.Qg(e):this.eh().ih(this,-1-n,null,e),e=this.Sg(null,-1,e))),this.uh(t),e},EWt.xh=function(t){var e,n,i,r,a,o,s;if((a=Igt(n=this.Tg(),t))>=(e=this.Ah()))return $z(t,66).Nj().Uj(this,this.yh(),a-e);if(a<=-1){if(!(o=$Ut((ASt(),VLe),n,t)))throw Fw(new jv(i6t+t.ne()+o6t));if(QT(),$z(o,66).Oj()||(o=Q1($9(VLe,o))),r=$z((i=this.Yg(o))>=0?this._g(i,!0,!0):rIt(this,o,!0),153),(s=o.Zj())>1||-1==s)return $z($z(r,215).hl(t,!1),76)}else if(t.$j())return $z((i=this.Yg(t))>=0?this._g(i,!1,!0):rIt(this,t,!1),76);return new SM(this,t)},EWt.yh=function(){return W9(this)},EWt.zh=function(){return(WY(),ZOe).S},EWt.Ah=function(){return hY(this.zh())},EWt.Bh=function(t){ySt(this,t)},EWt.Ib=function(){return CLt(this)},bY(h6t,"BasicEObjectImpl",97),dOt(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),EWt.Ch=function(t){return X9(this)[t]},EWt.Dh=function(t,e){IY(X9(this),t,e)},EWt.Eh=function(t){IY(X9(this),t,null)},EWt.Jg=function(){return $z(mot(this,4),126)},EWt.Kg=function(){throw Fw(new py)},EWt.Lg=function(){return!!(4&this.Db)},EWt.Pg=function(){throw Fw(new py)},EWt.Fh=function(t){ubt(this,2,t)},EWt.Rg=function(t,e){this.Db=e<<16|255&this.Db,this.Fh(t)},EWt.Tg=function(){return vQ(this)},EWt.Vg=function(){return this.Db>>16},EWt.Wg=function(){var t;return WT(),null==(t=lZ(HFt($z(mot(this,16),26)||this.zh())))?OLe:new WD(this,t)},EWt.Mg=function(){return!(1&this.Db)},EWt.Zg=function(){return $z(mot(this,128),1935)},EWt.$g=function(){return $z(mot(this,16),26)},EWt.dh=function(){return!!(32&this.Db)},EWt.eh=function(){return $z(mot(this,2),49)},EWt.kh=function(){return!!(64&this.Db)},EWt.ph=function(){throw Fw(new py)},EWt.qh=function(){return $z(mot(this,64),281)},EWt.th=function(t){ubt(this,16,t)},EWt.uh=function(t){ubt(this,128,t)},EWt.vh=function(t){ubt(this,64,t)},EWt.yh=function(){return lbt(this)},EWt.Db=0,bY(h6t,"MinimalEObjectImpl",114),dOt(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt.Fh=function(t){this.Cb=t},EWt.eh=function(){return this.Cb},bY(h6t,"MinimalEObjectImpl/Container",115),dOt(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return kvt(this,t,e,n)},EWt.jh=function(t,e,n){return eCt(this,t,e,n)},EWt.lh=function(t){return w0(this,t)},EWt.sh=function(t,e){iut(this,t,e)},EWt.zh=function(){return SYt(),TIe},EWt.Bh=function(t){Gst(this,t)},EWt.Ve=function(){return hwt(this)},EWt.We=function(t){return ZOt(this,t)},EWt.Xe=function(t){return T8(this,t)},EWt.Ye=function(t,e){return Vwt(this,t,e)},bY(f6t,"EMapPropertyHolderImpl",1985),dOt(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ac),EWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return Zwt(this,t,e,n)},EWt.lh=function(t){switch(t){case 0:return 0!=this.a;case 1:return 0!=this.b}return wwt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return void xnt(this,Hv(_B(e)));case 1:return void knt(this,Hv(_B(e)))}mAt(this,t,e)},EWt.zh=function(){return SYt(),pIe},EWt.Bh=function(t){switch(t){case 0:return void xnt(this,0);case 1:return void knt(this,0)}ySt(this,t)},EWt.Ib=function(){var t;return 64&this.Db?CLt(this):((t=new uD(CLt(this))).a+=" (x: ",b_(t,this.a),t.a+=", y: ",b_(t,this.b),t.a+=")",t.a)},EWt.a=0,EWt.b=0,bY(f6t,"ElkBendPointImpl",567),dOt(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return Rht(this,t,e,n)},EWt.hh=function(t,e,n){return $Et(this,t,e,n)},EWt.jh=function(t,e,n){return ist(this,t,e,n)},EWt.lh=function(t){return kot(this,t)},EWt.sh=function(t,e){Ukt(this,t,e)},EWt.zh=function(){return SYt(),mIe},EWt.Bh=function(t){sht(this,t)},EWt.zg=function(){return this.k},EWt.Ag=function(){return wX(this)},EWt.Ib=function(){return Vft(this)},EWt.k=null,bY(f6t,"ElkGraphElementImpl",723),dOt(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return Bdt(this,t,e,n)},EWt.lh=function(t){return lgt(this,t)},EWt.sh=function(t,e){Gkt(this,t,e)},EWt.zh=function(){return SYt(),EIe},EWt.Bh=function(t){Pgt(this,t)},EWt.Bg=function(){return this.f},EWt.Cg=function(){return this.g},EWt.Dg=function(){return this.i},EWt.Eg=function(){return this.j},EWt.Fg=function(t,e){_O(this,t,e)},EWt.Gg=function(t,e){EO(this,t,e)},EWt.Hg=function(t){Cnt(this,t)},EWt.Ig=function(t){Snt(this,t)},EWt.Ib=function(){return yCt(this)},EWt.f=0,EWt.g=0,EWt.i=0,EWt.j=0,bY(f6t,"ElkShapeImpl",724),dOt(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return zyt(this,t,e,n)},EWt.hh=function(t,e,n){return gkt(this,t,e,n)},EWt.jh=function(t,e,n){return pkt(this,t,e,n)},EWt.lh=function(t){return Uct(this,t)},EWt.sh=function(t,e){LOt(this,t,e)},EWt.zh=function(){return SYt(),bIe},EWt.Bh=function(t){Dwt(this,t)},EWt.xg=function(){return!this.d&&(this.d=new cR(BIe,this,8,5)),this.d},EWt.yg=function(){return!this.e&&(this.e=new cR(BIe,this,7,4)),this.e},bY(f6t,"ElkConnectableShapeImpl",725),dOt(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},rc),EWt.Qg=function(t){return Ext(this,t)},EWt._g=function(t,e,n){switch(t){case 3:return qZ(this);case 4:return!this.b&&(this.b=new cR(PIe,this,4,7)),this.b;case 5:return!this.c&&(this.c=new cR(PIe,this,5,8)),this.c;case 6:return!this.a&&(this.a=new tK(jIe,this,6,6)),this.a;case 7:return cD(),!this.b&&(this.b=new cR(PIe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new cR(PIe,this,5,8)),this.c.i<=1));case 8:return cD(),!!JIt(this);case 9:return cD(),!!XMt(this);case 10:return cD(),!this.b&&(this.b=new cR(PIe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new cR(PIe,this,5,8)),0!=this.c.i)}return Rht(this,t,e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?Ext(this,n):this.Cb.ih(this,-1-i,null,n)),YB(this,$z(t,33),n);case 4:return!this.b&&(this.b=new cR(PIe,this,4,7)),Vgt(this.b,t,n);case 5:return!this.c&&(this.c=new cR(PIe,this,5,8)),Vgt(this.c,t,n);case 6:return!this.a&&(this.a=new tK(jIe,this,6,6)),Vgt(this.a,t,n)}return $Et(this,t,e,n)},EWt.jh=function(t,e,n){switch(e){case 3:return YB(this,null,n);case 4:return!this.b&&(this.b=new cR(PIe,this,4,7)),Rwt(this.b,t,n);case 5:return!this.c&&(this.c=new cR(PIe,this,5,8)),Rwt(this.c,t,n);case 6:return!this.a&&(this.a=new tK(jIe,this,6,6)),Rwt(this.a,t,n)}return ist(this,t,e,n)},EWt.lh=function(t){switch(t){case 3:return!!qZ(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 cR(PIe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new cR(PIe,this,5,8)),this.c.i<=1));case 8:return JIt(this);case 9:return XMt(this);case 10:return!this.b&&(this.b=new cR(PIe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new cR(PIe,this,5,8)),0!=this.c.i)}return kot(this,t)},EWt.sh=function(t,e){switch(t){case 3:return void zNt(this,$z(e,33));case 4:return!this.b&&(this.b=new cR(PIe,this,4,7)),cUt(this.b),!this.b&&(this.b=new cR(PIe,this,4,7)),void pY(this.b,$z(e,14));case 5:return!this.c&&(this.c=new cR(PIe,this,5,8)),cUt(this.c),!this.c&&(this.c=new cR(PIe,this,5,8)),void pY(this.c,$z(e,14));case 6:return!this.a&&(this.a=new tK(jIe,this,6,6)),cUt(this.a),!this.a&&(this.a=new tK(jIe,this,6,6)),void pY(this.a,$z(e,14))}Ukt(this,t,e)},EWt.zh=function(){return SYt(),wIe},EWt.Bh=function(t){switch(t){case 3:return void zNt(this,null);case 4:return!this.b&&(this.b=new cR(PIe,this,4,7)),void cUt(this.b);case 5:return!this.c&&(this.c=new cR(PIe,this,5,8)),void cUt(this.c);case 6:return!this.a&&(this.a=new tK(jIe,this,6,6)),void cUt(this.a)}sht(this,t)},EWt.Ib=function(){return hHt(this)},bY(f6t,"ElkEdgeImpl",352),dOt(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},oc),EWt.Qg=function(t){return cxt(this,t)},EWt._g=function(t,e,n){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new IN(LIe,this,5)),this.a;case 6:return YZ(this);case 7:return e?Cyt(this):this.i;case 8:return e?Tyt(this):this.f;case 9:return!this.g&&(this.g=new cR(jIe,this,9,10)),this.g;case 10:return!this.e&&(this.e=new cR(jIe,this,10,9)),this.e;case 11:return this.d}return kvt(this,t,e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?cxt(this,n):this.Cb.ih(this,-1-i,null,n)),WB(this,$z(t,79),n);case 9:return!this.g&&(this.g=new cR(jIe,this,9,10)),Vgt(this.g,t,n);case 10:return!this.e&&(this.e=new cR(jIe,this,10,9)),Vgt(this.e,t,n)}return $z(eet($z(mot(this,16),26)||(SYt(),yIe),e),66).Nj().Qj(this,lbt(this),e-hY((SYt(),yIe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 5:return!this.a&&(this.a=new IN(LIe,this,5)),Rwt(this.a,t,n);case 6:return WB(this,null,n);case 9:return!this.g&&(this.g=new cR(jIe,this,9,10)),Rwt(this.g,t,n);case 10:return!this.e&&(this.e=new cR(jIe,this,10,9)),Rwt(this.e,t,n)}return eCt(this,t,e,n)},EWt.lh=function(t){switch(t){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!YZ(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return w0(this,t)},EWt.sh=function(t,e){switch(t){case 1:return void Ant(this,Hv(_B(e)));case 2:return void Int(this,Hv(_B(e)));case 3:return void _nt(this,Hv(_B(e)));case 4:return void Mnt(this,Hv(_B(e)));case 5:return!this.a&&(this.a=new IN(LIe,this,5)),cUt(this.a),!this.a&&(this.a=new IN(LIe,this,5)),void pY(this.a,$z(e,14));case 6:return void $Nt(this,$z(e,79));case 7:return void Nit(this,$z(e,82));case 8:return void Lit(this,$z(e,82));case 9:return!this.g&&(this.g=new cR(jIe,this,9,10)),cUt(this.g),!this.g&&(this.g=new cR(jIe,this,9,10)),void pY(this.g,$z(e,14));case 10:return!this.e&&(this.e=new cR(jIe,this,10,9)),cUt(this.e),!this.e&&(this.e=new cR(jIe,this,10,9)),void pY(this.e,$z(e,14));case 11:return void rrt(this,EB(e))}iut(this,t,e)},EWt.zh=function(){return SYt(),yIe},EWt.Bh=function(t){switch(t){case 1:return void Ant(this,0);case 2:return void Int(this,0);case 3:return void _nt(this,0);case 4:return void Mnt(this,0);case 5:return!this.a&&(this.a=new IN(LIe,this,5)),void cUt(this.a);case 6:return void $Nt(this,null);case 7:return void Nit(this,null);case 8:return void Lit(this,null);case 9:return!this.g&&(this.g=new cR(jIe,this,9,10)),void cUt(this.g);case 10:return!this.e&&(this.e=new cR(jIe,this,10,9)),void cUt(this.e);case 11:return void rrt(this,null)}Gst(this,t)},EWt.Ib=function(){return BIt(this)},EWt.b=0,EWt.c=0,EWt.d=null,EWt.j=0,EWt.k=0,bY(f6t,"ElkEdgeSectionImpl",439),dOt(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),EWt._g=function(t,e,n){return 0==t?(!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab):G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.hh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n)):$z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Qj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.jh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n)):$z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){return 0==t?!!this.Ab&&0!=this.Ab.i:A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.oh=function(t){return uKt(this,t)},EWt.sh=function(t,e){if(0===t)return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e)},EWt.uh=function(t){ubt(this,128,t)},EWt.zh=function(){return pWt(),lLe},EWt.Bh=function(t){if(0===t)return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.Gh=function(){this.Bb|=1},EWt.Hh=function(t){return N$t(this,t)},EWt.Bb=0,bY(h6t,"EModelElementImpl",150),dOt(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},Dh),EWt.Ih=function(t,e){return HGt(this,t,e)},EWt.Jh=function(t){var e,n,i,r;if(this.a!=qet(t)||256&t.Bb)throw Fw(new jv(y6t+t.zb+p6t));for(n=mQ(t);0!=r4(n.a).i;){if(nvt(e=$z(eGt(n,0,iN(r=$z(Yet(r4(n.a),0),87).c,88)?$z(r,26):(pWt(),fLe)),26)))return $z(i=qet(e).Nh().Jh(e),49).th(t),i;n=mQ(e)}return"java.util.Map$Entry"==(null!=t.D?t.D:t.B)?new uU(t):new vH(t)},EWt.Kh=function(t,e){return DYt(this,t,e)},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.a}return G7(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t),e,n)},EWt.hh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 1:return this.a&&(n=$z(this.a,49).ih(this,4,zIe,n)),Qlt(this,$z(t,235),n)}return $z(eet($z(mot(this,16),26)||(pWt(),sLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),sLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 1:return Qlt(this,null,n)}return $z(eet($z(mot(this,16),26)||(pWt(),sLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),sLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return A3(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void DTt(this,$z(e,235))}Ldt(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t),e)},EWt.zh=function(){return pWt(),sLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void DTt(this,null)}Hht(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t))},bY(h6t,"EFactoryImpl",704),dOt(v6t,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},sc),EWt.Ih=function(t,e){switch(t.yj()){case 12:return $z(e,146).tg();case 13:return Fdt(e);default:throw Fw(new jv(g6t+t.ne()+p6t))}},EWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=qet(t))?oyt(e.Mh(),t):-1),t.G){case 4:return new cc;case 6:return new vm;case 7:return new xm;case 8:return new rc;case 9:return new ac;case 10:return new oc;case 11:return new lc;default:throw Fw(new jv(y6t+t.zb+p6t))}},EWt.Kh=function(t,e){switch(t.yj()){case 13:case 12:return null;default:throw Fw(new jv(g6t+t.ne()+p6t))}},bY(f6t,"ElkGraphFactoryImpl",v6t),dOt(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),EWt.Wg=function(){var t;return null==(t=lZ(HFt($z(mot(this,16),26)||this.zh())))?(WT(),WT(),OLe):new KP(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.ne()}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void this.Lh(EB(e))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e)},EWt.zh=function(){return pWt(),hLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void this.Lh(null)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.ne=function(){return this.zb},EWt.Lh=function(t){Nrt(this,t)},EWt.Ib=function(){return vht(this)},EWt.zb=null,bY(h6t,"ENamedElementImpl",438),dOt(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},bQ),EWt.Qg=function(t){return dxt(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new Vq(this,$Oe,this)),this.rb;case 6:return!this.vb&&(this.vb=new tR(zIe,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?$z(this.Cb,235):null:WZ(this)}return G7(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 4:return this.sb&&(n=$z(this.sb,49).ih(this,1,$Ie,n)),xht(this,$z(t,471),n);case 5:return!this.rb&&(this.rb=new Vq(this,$Oe,this)),Vgt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new tR(zIe,this,6,7)),Vgt(this.vb,t,n);case 7:return this.Cb&&(n=(i=this.Db>>16)>=0?dxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,7,n)}return $z(eet($z(mot(this,16),26)||(pWt(),pLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),pLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 4:return xht(this,null,n);case 5:return!this.rb&&(this.rb=new Vq(this,$Oe,this)),Rwt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new tR(zIe,this,6,7)),Rwt(this.vb,t,n);case 7:return _$t(this,null,7,n)}return $z(eet($z(mot(this,16),26)||(pWt(),pLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),pLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!WZ(this)}return A3(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t))},EWt.oh=function(t){return LDt(this,t)||uKt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Nrt(this,EB(e));case 2:return void Prt(this,EB(e));case 3:return void Drt(this,EB(e));case 4:return void nCt(this,$z(e,471));case 5:return!this.rb&&(this.rb=new Vq(this,$Oe,this)),cUt(this.rb),!this.rb&&(this.rb=new Vq(this,$Oe,this)),void pY(this.rb,$z(e,14));case 6:return!this.vb&&(this.vb=new tR(zIe,this,6,7)),cUt(this.vb),!this.vb&&(this.vb=new tR(zIe,this,6,7)),void pY(this.vb,$z(e,14))}Ldt(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t),e)},EWt.vh=function(t){var e,n;if(t&&this.rb)for(n=new MN(this.rb);n.e!=n.i.gc();)iN(e=vwt(n),351)&&($z(e,351).w=null);ubt(this,64,t)},EWt.zh=function(){return pWt(),pLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Nrt(this,null);case 2:return void Prt(this,null);case 3:return void Drt(this,null);case 4:return void nCt(this,null);case 5:return!this.rb&&(this.rb=new Vq(this,$Oe,this)),void cUt(this.rb);case 6:return!this.vb&&(this.vb=new tR(zIe,this,6,7)),void cUt(this.vb)}Hht(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t))},EWt.Gh=function(){_vt(this)},EWt.Mh=function(){return!this.rb&&(this.rb=new Vq(this,$Oe,this)),this.rb},EWt.Nh=function(){return this.sb},EWt.Oh=function(){return this.ub},EWt.Ph=function(){return this.xb},EWt.Qh=function(){return this.yb},EWt.Rh=function(t){this.ub=t},EWt.Ib=function(){var t;return 64&this.Db?vht(this):((t=new uD(vht(this))).a+=" (nsURI: ",iI(t,this.yb),t.a+=", nsPrefix: ",iI(t,this.xb),t.a+=")",t.a)},EWt.xb=null,EWt.yb=null,bY(h6t,"EPackageImpl",179),dOt(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},cOt),EWt.q=!1,EWt.r=!1;var qIe=!1;bY(f6t,"ElkGraphPackageImpl",555),dOt(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},cc),EWt.Qg=function(t){return uxt(this,t)},EWt._g=function(t,e,n){switch(t){case 7:return XZ(this);case 8:return this.a}return Bdt(this,t,e,n)},EWt.hh=function(t,e,n){var i;return 7===e?(this.Cb&&(n=(i=this.Db>>16)>=0?uxt(this,n):this.Cb.ih(this,-1-i,null,n)),YG(this,$z(t,160),n)):$Et(this,t,e,n)},EWt.jh=function(t,e,n){return 7==e?YG(this,null,n):ist(this,t,e,n)},EWt.lh=function(t){switch(t){case 7:return!!XZ(this);case 8:return!wR("",this.a)}return lgt(this,t)},EWt.sh=function(t,e){switch(t){case 7:return void ADt(this,$z(e,160));case 8:return void Dit(this,EB(e))}Gkt(this,t,e)},EWt.zh=function(){return SYt(),vIe},EWt.Bh=function(t){switch(t){case 7:return void ADt(this,null);case 8:return void Dit(this,"")}Pgt(this,t)},EWt.Ib=function(){return rSt(this)},EWt.a="",bY(f6t,"ElkLabelImpl",354),dOt(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},vm),EWt.Qg=function(t){return Txt(this,t)},EWt._g=function(t,e,n){switch(t){case 9:return!this.c&&(this.c=new tK(GIe,this,9,9)),this.c;case 10:return!this.a&&(this.a=new tK(UIe,this,10,11)),this.a;case 11:return VZ(this);case 12:return!this.b&&(this.b=new tK(BIe,this,12,3)),this.b;case 13:return cD(),!this.a&&(this.a=new tK(UIe,this,10,11)),this.a.i>0}return zyt(this,t,e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 9:return!this.c&&(this.c=new tK(GIe,this,9,9)),Vgt(this.c,t,n);case 10:return!this.a&&(this.a=new tK(UIe,this,10,11)),Vgt(this.a,t,n);case 11:return this.Cb&&(n=(i=this.Db>>16)>=0?Txt(this,n):this.Cb.ih(this,-1-i,null,n)),Uj(this,$z(t,33),n);case 12:return!this.b&&(this.b=new tK(BIe,this,12,3)),Vgt(this.b,t,n)}return gkt(this,t,e,n)},EWt.jh=function(t,e,n){switch(e){case 9:return!this.c&&(this.c=new tK(GIe,this,9,9)),Rwt(this.c,t,n);case 10:return!this.a&&(this.a=new tK(UIe,this,10,11)),Rwt(this.a,t,n);case 11:return Uj(this,null,n);case 12:return!this.b&&(this.b=new tK(BIe,this,12,3)),Rwt(this.b,t,n)}return pkt(this,t,e,n)},EWt.lh=function(t){switch(t){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!VZ(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new tK(UIe,this,10,11)),this.a.i>0}return Uct(this,t)},EWt.sh=function(t,e){switch(t){case 9:return!this.c&&(this.c=new tK(GIe,this,9,9)),cUt(this.c),!this.c&&(this.c=new tK(GIe,this,9,9)),void pY(this.c,$z(e,14));case 10:return!this.a&&(this.a=new tK(UIe,this,10,11)),cUt(this.a),!this.a&&(this.a=new tK(UIe,this,10,11)),void pY(this.a,$z(e,14));case 11:return void JNt(this,$z(e,33));case 12:return!this.b&&(this.b=new tK(BIe,this,12,3)),cUt(this.b),!this.b&&(this.b=new tK(BIe,this,12,3)),void pY(this.b,$z(e,14))}LOt(this,t,e)},EWt.zh=function(){return SYt(),xIe},EWt.Bh=function(t){switch(t){case 9:return!this.c&&(this.c=new tK(GIe,this,9,9)),void cUt(this.c);case 10:return!this.a&&(this.a=new tK(UIe,this,10,11)),void cUt(this.a);case 11:return void JNt(this,null);case 12:return!this.b&&(this.b=new tK(BIe,this,12,3)),void cUt(this.b)}Dwt(this,t)},EWt.Ib=function(){return Gjt(this)},bY(f6t,"ElkNodeImpl",239),dOt(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},xm),EWt.Qg=function(t){return lxt(this,t)},EWt._g=function(t,e,n){return 9==t?KZ(this):zyt(this,t,e,n)},EWt.hh=function(t,e,n){var i;return 9===e?(this.Cb&&(n=(i=this.Db>>16)>=0?lxt(this,n):this.Cb.ih(this,-1-i,null,n)),XB(this,$z(t,33),n)):gkt(this,t,e,n)},EWt.jh=function(t,e,n){return 9==e?XB(this,null,n):pkt(this,t,e,n)},EWt.lh=function(t){return 9==t?!!KZ(this):Uct(this,t)},EWt.sh=function(t,e){9!==t?LOt(this,t,e):FNt(this,$z(e,33))},EWt.zh=function(){return SYt(),kIe},EWt.Bh=function(t){9!==t?Dwt(this,t):FNt(this,null)},EWt.Ib=function(){return qjt(this)},bY(f6t,"ElkPortImpl",186);var KIe=hU(F6t,"BasicEMap/Entry");dOt(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},lc),EWt.Fb=function(t){return this===t},EWt.cd=function(){return this.b},EWt.Hb=function(){return TD(this)},EWt.Uh=function(t){Pit(this,$z(t,146))},EWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return Zwt(this,t,e,n)},EWt.lh=function(t){switch(t){case 0:return!!this.b;case 1:return null!=this.c}return wwt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return void Pit(this,$z(e,146));case 1:return void Rit(this,e)}mAt(this,t,e)},EWt.zh=function(){return SYt(),_Ie},EWt.Bh=function(t){switch(t){case 0:return void Pit(this,null);case 1:return void Rit(this,null)}ySt(this,t)},EWt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=t?Jct(t):0),this.a},EWt.dd=function(){return this.c},EWt.Th=function(t){this.a=t},EWt.ed=function(t){var e;return e=this.c,Rit(this,t),e},EWt.Ib=function(){var t;return 64&this.Db?CLt(this):(oI(oI(oI(t=new Cx,this.b?this.b.tg():GWt),e1t),mD(this.c)),t.a)},EWt.a=-1,EWt.c=null;var YIe=bY(f6t,"ElkPropertyToValueMapEntryImpl",1092);dOt(984,1,{},dc),bY(U6t,"JsonAdapter",984),dOt(210,60,FXt,tx),bY(U6t,"JsonImportException",210),dOt(857,1,{},gxt),bY(U6t,"JsonImporter",857),dOt(891,1,{},rM),bY(U6t,"JsonImporter/lambda$0$Type",891),dOt(892,1,{},aM),bY(U6t,"JsonImporter/lambda$1$Type",892),dOt(900,1,{},Ib),bY(U6t,"JsonImporter/lambda$10$Type",900),dOt(902,1,{},oM),bY(U6t,"JsonImporter/lambda$11$Type",902),dOt(903,1,{},sM),bY(U6t,"JsonImporter/lambda$12$Type",903),dOt(909,1,{},uV),bY(U6t,"JsonImporter/lambda$13$Type",909),dOt(908,1,{},cV),bY(U6t,"JsonImporter/lambda$14$Type",908),dOt(904,1,{},cM),bY(U6t,"JsonImporter/lambda$15$Type",904),dOt(905,1,{},uM),bY(U6t,"JsonImporter/lambda$16$Type",905),dOt(906,1,{},lM),bY(U6t,"JsonImporter/lambda$17$Type",906),dOt(907,1,{},hM),bY(U6t,"JsonImporter/lambda$18$Type",907),dOt(912,1,{},Ob),bY(U6t,"JsonImporter/lambda$19$Type",912),dOt(893,1,{},Lb),bY(U6t,"JsonImporter/lambda$2$Type",893),dOt(910,1,{},Nb),bY(U6t,"JsonImporter/lambda$20$Type",910),dOt(911,1,{},Db),bY(U6t,"JsonImporter/lambda$21$Type",911),dOt(915,1,{},Pb),bY(U6t,"JsonImporter/lambda$22$Type",915),dOt(913,1,{},Bb),bY(U6t,"JsonImporter/lambda$23$Type",913),dOt(914,1,{},jb),bY(U6t,"JsonImporter/lambda$24$Type",914),dOt(917,1,{},Rb),bY(U6t,"JsonImporter/lambda$25$Type",917),dOt(916,1,{},$b),bY(U6t,"JsonImporter/lambda$26$Type",916),dOt(918,1,hXt,fM),EWt.td=function(t){x7(this.b,this.a,EB(t))},bY(U6t,"JsonImporter/lambda$27$Type",918),dOt(919,1,hXt,dM),EWt.td=function(t){k7(this.b,this.a,EB(t))},bY(U6t,"JsonImporter/lambda$28$Type",919),dOt(920,1,{},gM),bY(U6t,"JsonImporter/lambda$29$Type",920),dOt(896,1,{},Fb),bY(U6t,"JsonImporter/lambda$3$Type",896),dOt(921,1,{},pM),bY(U6t,"JsonImporter/lambda$30$Type",921),dOt(922,1,{},zb),bY(U6t,"JsonImporter/lambda$31$Type",922),dOt(923,1,{},Hb),bY(U6t,"JsonImporter/lambda$32$Type",923),dOt(924,1,{},Ub),bY(U6t,"JsonImporter/lambda$33$Type",924),dOt(925,1,{},Gb),bY(U6t,"JsonImporter/lambda$34$Type",925),dOt(859,1,{},qb),bY(U6t,"JsonImporter/lambda$35$Type",859),dOt(929,1,{},_z),bY(U6t,"JsonImporter/lambda$36$Type",929),dOt(926,1,hXt,Kb),EWt.td=function(t){X4(this.a,$z(t,469))},bY(U6t,"JsonImporter/lambda$37$Type",926),dOt(927,1,hXt,EM),EWt.td=function(t){lI(this.a,this.b,$z(t,202))},bY(U6t,"JsonImporter/lambda$38$Type",927),dOt(928,1,hXt,TM),EWt.td=function(t){hI(this.a,this.b,$z(t,202))},bY(U6t,"JsonImporter/lambda$39$Type",928),dOt(894,1,{},Yb),bY(U6t,"JsonImporter/lambda$4$Type",894),dOt(930,1,hXt,Wb),EWt.td=function(t){V4(this.a,$z(t,8))},bY(U6t,"JsonImporter/lambda$40$Type",930),dOt(895,1,{},Xb),bY(U6t,"JsonImporter/lambda$5$Type",895),dOt(899,1,{},Vb),bY(U6t,"JsonImporter/lambda$6$Type",899),dOt(897,1,{},Qb),bY(U6t,"JsonImporter/lambda$7$Type",897),dOt(898,1,{},Zb),bY(U6t,"JsonImporter/lambda$8$Type",898),dOt(901,1,{},Jb),bY(U6t,"JsonImporter/lambda$9$Type",901),dOt(948,1,hXt,tw),EWt.td=function(t){ZY(this.a,new HY(EB(t)))},bY(U6t,"JsonMetaDataConverter/lambda$0$Type",948),dOt(949,1,hXt,ew),EWt.td=function(t){jY(this.a,$z(t,237))},bY(U6t,"JsonMetaDataConverter/lambda$1$Type",949),dOt(950,1,hXt,nw),EWt.td=function(t){JJ(this.a,$z(t,149))},bY(U6t,"JsonMetaDataConverter/lambda$2$Type",950),dOt(951,1,hXt,iw),EWt.td=function(t){RY(this.a,$z(t,175))},bY(U6t,"JsonMetaDataConverter/lambda$3$Type",951),dOt(237,22,{3:1,35:1,22:1,237:1},_M);var WIe,XIe,VIe,QIe,ZIe,JIe,tOe,eOe,nOe,iOe=Fnt(AZt,"GraphFeature",237,Gte,jet,pz);dOt(13,1,{35:1,146:1},aw,ej,II,qO),EWt.wd=function(t){return pN(this,$z(t,146))},EWt.Fb=function(t){return xQ(this,t)},EWt.wg=function(){return ywt(this)},EWt.tg=function(){return this.b},EWt.Hb=function(){return wyt(this.b)},EWt.Ib=function(){return this.b},bY(AZt,"Property",13),dOt(818,1,EQt,rw),EWt.ue=function(t,e){return Rft(this,$z(t,94),$z(e,94))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Zd(this)},bY(AZt,"PropertyHolderComparator",818),dOt(695,1,XWt,sw),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return M7(this)},EWt.Qb=function(){a_()},EWt.Ob=function(){return!!this.a},bY(r8t,"ElkGraphUtil/AncestorIterator",695);var rOe=hU(F6t,"EList");dOt(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),EWt.Vc=function(t,e){cft(this,t,e)},EWt.Fc=function(t){return u7(this,t)},EWt.Wc=function(t,e){return sct(this,t,e)},EWt.Gc=function(t){return pY(this,t)},EWt.Zh=function(){return new rP(this)},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},EWt.ai=function(){return!0},EWt.bi=function(t,e){},EWt.ci=function(){},EWt.di=function(t,e){O8(this,t,e)},EWt.ei=function(t,e,n){},EWt.fi=function(t,e){},EWt.gi=function(t,e,n){},EWt.Fb=function(t){return XBt(this,t)},EWt.Hb=function(){return Est(this)},EWt.hi=function(){return!1},EWt.Kc=function(){return new MN(this)},EWt.Yc=function(){return new iP(this)},EWt.Zc=function(t){var e;if(e=this.gc(),t<0||t>e)throw Fw(new Jj(t,e));return new HK(this,t)},EWt.ji=function(t,e){this.ii(t,this.Xc(e))},EWt.Mc=function(t){return stt(this,t)},EWt.li=function(t,e){return e},EWt._c=function(t,e){return syt(this,t,e)},EWt.Ib=function(){return Qdt(this)},EWt.ni=function(){return!0},EWt.oi=function(t,e){return Dut(this,e)},bY(F6t,"AbstractEList",67),dOt(63,67,u8t,bc,pet,xat),EWt.Vh=function(t,e){return FEt(this,t,e)},EWt.Wh=function(t){return fmt(this,t)},EWt.Xh=function(t,e){Aht(this,t,e)},EWt.Yh=function(t){i6(this,t)},EWt.pi=function(t){return R7(this,t)},EWt.$b=function(){r6(this)},EWt.Hc=function(t){return Tkt(this,t)},EWt.Xb=function(t){return Yet(this,t)},EWt.qi=function(t){var e,n,i;++this.j,t>(n=null==this.g?0:this.g.length)&&(i=this.g,(e=n+(n/2|0)+4)<t&&(e=t),this.g=this.ri(e),null!=i&&aHt(i,0,this.g,0,this.i))},EWt.Xc=function(t){return Yvt(this,t)},EWt.dc=function(){return 0==this.i},EWt.ii=function(t,e){return VMt(this,t,e)},EWt.ri=function(t){return N8(Ite,zWt,1,t,5,1)},EWt.ki=function(t){return this.g[t]},EWt.$c=function(t){return Lvt(this,t)},EWt.mi=function(t,e){return ott(this,t,e)},EWt.gc=function(){return this.i},EWt.Pc=function(){return L3(this)},EWt.Qc=function(t){return Xgt(this,t)},EWt.i=0;var aOe=bY(F6t,"BasicEList",63),oOe=hU(F6t,"TreeIterator");dOt(694,63,l8t),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&$z(this.g[this.i-1],47).Ob():JZ(this)},EWt.Pb=function(){return aNt(this)},EWt.Qb=function(){if(!this.e)throw Fw(new Rv("There is no valid object to remove."));this.e.Qb()},EWt.c=!1,bY(F6t,"AbstractTreeIterator",694),dOt(685,694,l8t,AO),EWt.si=function(t){var e;return iN(e=$z(t,56).Wg().Kc(),279)&&$z(e,279).Nk(new gc),e},bY(r8t,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),dOt(952,1,{},gc),bY(r8t,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var sOe,cOe,uOe,lOe=bY(r8t,"ElkReflect",null);dOt(889,1,n5t,pc),EWt.vg=function(t){return cJ(),$6($z(t,174))},bY(r8t,"ElkReflect/lambda$0$Type",889),hU(F6t,"ResourceLocator"),dOt(1051,1,{}),bY(F6t,"DelegatingResourceLocator",1051),dOt(1052,1051,{}),bY("org.eclipse.emf.common","EMFPlugin",1052);var hOe,fOe=hU(Q8t,"Adapter"),dOe=hU(Q8t,"Notification");dOt(1153,1,Z8t),EWt.ti=function(){return this.d},EWt.ui=function(t){},EWt.vi=function(t){this.d=t},EWt.wi=function(t){this.d==t&&(this.d=null)},EWt.d=null,bY(n6t,"AdapterImpl",1153),dOt(1995,67,J8t),EWt.Vh=function(t,e){return vgt(this,t,e)},EWt.Wh=function(t){var e,n,i;if(++this.j,t.dc())return!1;for(e=this.Vi(),i=t.Kc();i.Ob();)n=i.Pb(),this.Ii(this.oi(e,n)),++e;return!0},EWt.Xh=function(t,e){QB(this,t,e)},EWt.Yh=function(t){tW(this,t)},EWt.Gi=function(){return this.Ji()},EWt.$b=function(){VB(this,this.Vi(),this.Wi())},EWt.Hc=function(t){return this.Li(t)},EWt.Ic=function(t){return this.Mi(t)},EWt.Hi=function(t,e){this.Si().jm()},EWt.Ii=function(t){this.Si().jm()},EWt.Ji=function(){return this.Si()},EWt.Ki=function(){this.Si().jm()},EWt.Li=function(t){return this.Si().jm()},EWt.Mi=function(t){return this.Si().jm()},EWt.Ni=function(t){return this.Si().jm()},EWt.Oi=function(t){return this.Si().jm()},EWt.Pi=function(){return this.Si().jm()},EWt.Qi=function(t){return this.Si().jm()},EWt.Ri=function(){return this.Si().jm()},EWt.Ti=function(t){return this.Si().jm()},EWt.Ui=function(t,e){return this.Si().jm()},EWt.Vi=function(){return this.Si().jm()},EWt.Wi=function(){return this.Si().jm()},EWt.Xi=function(t){return this.Si().jm()},EWt.Yi=function(){return this.Si().jm()},EWt.Fb=function(t){return this.Ni(t)},EWt.Xb=function(t){return this.li(t,this.Oi(t))},EWt.Hb=function(){return this.Pi()},EWt.Xc=function(t){return this.Qi(t)},EWt.dc=function(){return this.Ri()},EWt.ii=function(t,e){return ITt(this,t,e)},EWt.ki=function(t){return this.Oi(t)},EWt.$c=function(t){return fU(this,t)},EWt.Mc=function(t){var e;return(e=this.Xc(t))>=0&&(this.$c(e),!0)},EWt.mi=function(t,e){return this.Ui(t,this.oi(t,e))},EWt.gc=function(){return this.Vi()},EWt.Pc=function(){return this.Wi()},EWt.Qc=function(t){return this.Xi(t)},EWt.Ib=function(){return this.Yi()},bY(F6t,"DelegatingEList",1995),dOt(1996,1995,J8t),EWt.Vh=function(t,e){return oFt(this,t,e)},EWt.Wh=function(t){return this.Vh(this.Vi(),t)},EWt.Xh=function(t,e){eOt(this,t,e)},EWt.Yh=function(t){MIt(this,t)},EWt.ai=function(){return!this.bj()},EWt.$b=function(){wUt(this)},EWt.Zi=function(t,e,n,i,r){return new LQ(this,t,e,n,i,r)},EWt.$i=function(t){fot(this.Ai(),t)},EWt._i=function(){return null},EWt.aj=function(){return-1},EWt.Ai=function(){return null},EWt.bj=function(){return!1},EWt.cj=function(t,e){return e},EWt.dj=function(t,e){return e},EWt.ej=function(){return!1},EWt.fj=function(){return!this.Ri()},EWt.ii=function(t,e){var n,i;return this.ej()?(i=this.fj(),n=ITt(this,t,e),this.$i(this.Zi(7,nft(e),n,t,i)),n):ITt(this,t,e)},EWt.$c=function(t){var e,n,i,r;return this.ej()?(n=null,i=this.fj(),e=this.Zi(4,r=fU(this,t),null,t,i),this.bj()&&r?(n=this.dj(r,n))?(n.Ei(e),n.Fi()):this.$i(e):n?(n.Ei(e),n.Fi()):this.$i(e),r):(r=fU(this,t),this.bj()&&r&&(n=this.dj(r,null))&&n.Fi(),r)},EWt.mi=function(t,e){return sFt(this,t,e)},bY(n6t,"DelegatingNotifyingListImpl",1996),dOt(143,1,t7t),EWt.Ei=function(t){return j_t(this,t)},EWt.Fi=function(){I9(this)},EWt.xi=function(){return this.d},EWt._i=function(){return null},EWt.gj=function(){return null},EWt.yi=function(t){return-1},EWt.zi=function(){return BPt(this)},EWt.Ai=function(){return null},EWt.Bi=function(){return jPt(this)},EWt.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},EWt.hj=function(){return!1},EWt.Di=function(t){var e,n,i,r,a,o,s,c;switch(this.d){case 1:case 2:switch(t.xi()){case 1:case 2:if(HM(t.Ai())===HM(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0}case 4:if(4===t.xi()&&HM(t.Ai())===HM(this.Ai())&&this.yi(null)==t.yi(null))return o=tGt(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=t.Ci(),this.d=6,c=new pet(2),a<=i?(u7(c,this.n),u7(c,t.Bi()),this.g=Cst(Hx(ADe,1),uVt,25,15,[this.o=a,i+1])):(u7(c,t.Bi()),u7(c,this.n),this.g=Cst(Hx(ADe,1),uVt,25,15,[this.o=i,a])),this.n=c,o||(this.o=-2-this.o-1),!0;break;case 6:if(4===t.xi()&&HM(t.Ai())===HM(this.Ai())&&this.yi(null)==t.yi(null)){for(o=tGt(this),i=t.Ci(),s=$z(this.g,48),n=N8(ADe,uVt,25,s.length+1,15,1),e=0;e<s.length&&(r=s[e])<=i;)n[e++]=r,++i;for($z(this.n,15).Vc(e,t.Bi()),n[e]=i;++e<n.length;)n[e]=s[e-1];return this.g=n,o||(this.o=-2-n[0]),!0}}return!1},EWt.Ib=function(){var t,e,n;switch((n=new uD(Zk(this.gm)+"@"+(Jct(this)>>>0).toString(16))).a+=" (eventType: ",this.d){case 1:n.a+="SET";break;case 2:n.a+="UNSET";break;case 3:n.a+="ADD";break;case 5:n.a+="ADD_MANY";break;case 4:n.a+="REMOVE";break;case 6:n.a+="REMOVE_MANY";break;case 7:n.a+="MOVE";break;case 8:n.a+="REMOVING_ADAPTER";break;case 9:n.a+="RESOLVE";break;default:w_(n,this.d)}if(hRt(this)&&(n.a+=", touch: true"),n.a+=", position: ",w_(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",nI(n,this.Ai()),n.a+=", feature: ",nI(n,this._i()),n.a+=", oldValue: ",nI(n,jPt(this)),n.a+=", newValue: ",6==this.d&&iN(this.g,48)){for(e=$z(this.g,48),n.a+="[",t=0;t<e.length;)n.a+=e[t],++t<e.length&&(n.a+=$Wt);n.a+="]"}else nI(n,BPt(this));return n.a+=", isTouch: ",y_(n,hRt(this)),n.a+=", wasSet: ",y_(n,tGt(this)),n.a+=")",n.a},EWt.d=0,EWt.e=0,EWt.f=0,EWt.j=0,EWt.k=0,EWt.o=0,EWt.p=0,bY(n6t,"NotificationImpl",143),dOt(1167,143,t7t,LQ),EWt._i=function(){return this.a._i()},EWt.yi=function(t){return this.a.aj()},EWt.Ai=function(){return this.a.Ai()},bY(n6t,"DelegatingNotifyingListImpl/1",1167),dOt(242,63,u8t,wc,Rk),EWt.Fc=function(t){return Egt(this,$z(t,366))},EWt.Ei=function(t){return Egt(this,t)},EWt.Fi=function(){var t,e,n;for(t=0;t<this.i;++t)null!=(n=(e=$z(this.g[t],366)).Ai())&&-1!=e.xi()&&$z(n,92).Ng(e)},EWt.ri=function(t){return N8(dOe,zWt,366,t,0,1)},bY(n6t,"NotificationChainImpl",242),dOt(1378,90,e6t),EWt.Kg=function(){return this.e},EWt.Mg=function(){return!!(1&this.f)},EWt.f=1,bY(n6t,"NotifierImpl",1378),dOt(1993,63,u8t),EWt.Vh=function(t,e){return LFt(this,t,e)},EWt.Wh=function(t){return this.Vh(this.i,t)},EWt.Xh=function(t,e){HIt(this,t,e)},EWt.Yh=function(t){tOt(this,t)},EWt.ai=function(){return!this.bj()},EWt.$b=function(){cUt(this)},EWt.Zi=function(t,e,n,i,r){return new NQ(this,t,e,n,i,r)},EWt.$i=function(t){fot(this.Ai(),t)},EWt._i=function(){return null},EWt.aj=function(){return-1},EWt.Ai=function(){return null},EWt.bj=function(){return!1},EWt.ij=function(){return!1},EWt.cj=function(t,e){return e},EWt.dj=function(t,e){return e},EWt.ej=function(){return!1},EWt.fj=function(){return 0!=this.i},EWt.ii=function(t,e){return Aft(this,t,e)},EWt.$c=function(t){return lBt(this,t)},EWt.mi=function(t,e){return lzt(this,t,e)},EWt.jj=function(t,e){return e},EWt.kj=function(t,e){return e},EWt.lj=function(t,e,n){return n},bY(n6t,"NotifyingListImpl",1993),dOt(1166,143,t7t,NQ),EWt._i=function(){return this.a._i()},EWt.yi=function(t){return this.a.aj()},EWt.Ai=function(){return this.a.Ai()},bY(n6t,"NotifyingListImpl/1",1166),dOt(953,63,u8t,rj),EWt.Hc=function(t){return this.i>10?((!this.b||this.c.j!=this.a)&&(this.b=new IU(this),this.a=this.j),RE(this.b,t)):Tkt(this,t)},EWt.ni=function(){return!0},EWt.a=0,bY(F6t,"AbstractEList/1",953),dOt(295,73,NVt,Jj),bY(F6t,"AbstractEList/BasicIndexOutOfBoundsException",295),dOt(40,1,XWt,MN),EWt.Nb=function(t){uK(this,t)},EWt.mj=function(){if(this.i.j!=this.f)throw Fw(new by)},EWt.nj=function(){return vwt(this)},EWt.Ob=function(){return this.e!=this.i.gc()},EWt.Pb=function(){return this.nj()},EWt.Qb=function(){Xkt(this)},EWt.e=0,EWt.f=0,EWt.g=-1,bY(F6t,"AbstractEList/EIterator",40),dOt(278,40,rXt,iP,HK),EWt.Qb=function(){Xkt(this)},EWt.Rb=function(t){spt(this,t)},EWt.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(e){throw iN(e=hst(e),73)?(this.mj(),Fw(new yy)):Fw(e)}},EWt.pj=function(t){vmt(this,t)},EWt.Sb=function(){return 0!=this.e},EWt.Tb=function(){return this.e},EWt.Ub=function(){return this.oj()},EWt.Vb=function(){return this.e-1},EWt.Wb=function(t){this.pj(t)},bY(F6t,"AbstractEList/EListIterator",278),dOt(341,40,XWt,rP),EWt.nj=function(){return xwt(this)},EWt.Qb=function(){throw Fw(new py)},bY(F6t,"AbstractEList/NonResolvingEIterator",341),dOt(385,278,rXt,aP,PR),EWt.Rb=function(t){throw Fw(new py)},EWt.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(e){throw iN(e=hst(e),73)?(this.mj(),Fw(new yy)):Fw(e)}},EWt.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(e){throw iN(e=hst(e),73)?(this.mj(),Fw(new yy)):Fw(e)}},EWt.Qb=function(){throw Fw(new py)},EWt.Wb=function(t){throw Fw(new py)},bY(F6t,"AbstractEList/NonResolvingEListIterator",385),dOt(1982,67,i7t),EWt.Vh=function(t,e){var n,i,r,a,o,s,c,u,l;if(0!=(i=e.gc())){for(n=Cut(this,(u=null==(c=$z(mot(this.a,4),126))?0:c.length)+i),(l=u-t)>0&&aHt(c,t,n,t+i,l),s=e.Kc(),a=0;a<i;++a)VO(n,t+a,Dut(this,o=s.Pb()));for($bt(this,n),r=0;r<i;++r)o=n[t],this.bi(t,o),++t;return!0}return++this.j,!1},EWt.Wh=function(t){var e,n,i,r,a,o,s,c,u;if(0!=(i=t.gc())){for(e=Cut(this,u=(c=null==(n=$z(mot(this.a,4),126))?0:n.length)+i),s=t.Kc(),a=c;a<u;++a)VO(e,a,Dut(this,o=s.Pb()));for($bt(this,e),r=c;r<u;++r)o=e[r],this.bi(r,o);return!0}return++this.j,!1},EWt.Xh=function(t,e){var n,i,r,a;n=Cut(this,(r=null==(i=$z(mot(this.a,4),126))?0:i.length)+1),a=Dut(this,e),t!=r&&aHt(i,t,n,t+1,r-t),IY(n,t,a),$bt(this,n),this.bi(t,e)},EWt.Yh=function(t){var e,n,i;VO(e=Cut(this,(i=null==(n=$z(mot(this.a,4),126))?0:n.length)+1),i,Dut(this,t)),$bt(this,e),this.bi(i,t)},EWt.Zh=function(){return new E5(this)},EWt.$h=function(){return new Xq(this)},EWt._h=function(t){var e,n;if(n=null==(e=$z(mot(this.a,4),126))?0:e.length,t<0||t>n)throw Fw(new Jj(t,n));return new $W(this,t)},EWt.$b=function(){var t,e;++this.j,e=null==(t=$z(mot(this.a,4),126))?0:t.length,$bt(this,null),O8(this,e,t)},EWt.Hc=function(t){var e,n,i,r;if(null!=(e=$z(mot(this.a,4),126)))if(null!=t){for(i=0,r=(n=e).length;i<r;++i)if(Nht(t,n[i]))return!0}else for(i=0,r=(n=e).length;i<r;++i)if(HM(n[i])===HM(t))return!0;return!1},EWt.Xb=function(t){var e,n;if(t>=(n=null==(e=$z(mot(this.a,4),126))?0:e.length))throw Fw(new Jj(t,n));return e[t]},EWt.Xc=function(t){var e,n,i;if(null!=(e=$z(mot(this.a,4),126)))if(null!=t){for(n=0,i=e.length;n<i;++n)if(Nht(t,e[n]))return n}else for(n=0,i=e.length;n<i;++n)if(HM(e[n])===HM(t))return n;return-1},EWt.dc=function(){return null==$z(mot(this.a,4),126)},EWt.Kc=function(){return new _5(this)},EWt.Yc=function(){return new Wq(this)},EWt.Zc=function(t){var e,n;if(n=null==(e=$z(mot(this.a,4),126))?0:e.length,t<0||t>n)throw Fw(new Jj(t,n));return new RW(this,t)},EWt.ii=function(t,e){var n,i,r;if(t>=(r=null==(n=Opt(this))?0:n.length))throw Fw(new Mv(o8t+t+s8t+r));if(e>=r)throw Fw(new Mv(c8t+e+s8t+r));return i=n[e],t!=e&&(t<e?aHt(n,t,n,t+1,e-t):aHt(n,e+1,n,e,t-e),IY(n,t,i),$bt(this,n)),i},EWt.ki=function(t){return $z(mot(this.a,4),126)[t]},EWt.$c=function(t){return kIt(this,t)},EWt.mi=function(t,e){var n,i;return i=(n=Opt(this))[t],VO(n,t,Dut(this,e)),$bt(this,n),i},EWt.gc=function(){var t;return null==(t=$z(mot(this.a,4),126))?0:t.length},EWt.Pc=function(){var t,e,n;return n=null==(t=$z(mot(this.a,4),126))?0:t.length,e=N8(fOe,n7t,415,n,0,1),n>0&&aHt(t,0,e,0,n),e},EWt.Qc=function(t){var e,n;return(n=null==(e=$z(mot(this.a,4),126))?0:e.length)>0&&(t.length<n&&(t=Pnt(tut(t).c,n)),aHt(e,0,t,0,n)),t.length>n&&IY(t,n,null),t},bY(F6t,"ArrayDelegatingEList",1982),dOt(1038,40,XWt,_5),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},EWt.Qb=function(){Xkt(this),this.a=$z(mot(this.b.a,4),126)},bY(F6t,"ArrayDelegatingEList/EIterator",1038),dOt(706,278,rXt,Wq,RW),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},EWt.pj=function(t){vmt(this,t),this.a=$z(mot(this.b.a,4),126)},EWt.Qb=function(){Xkt(this),this.a=$z(mot(this.b.a,4),126)},bY(F6t,"ArrayDelegatingEList/EListIterator",706),dOt(1039,341,XWt,E5),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},bY(F6t,"ArrayDelegatingEList/NonResolvingEIterator",1039),dOt(707,385,rXt,Xq,$W),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},bY(F6t,"ArrayDelegatingEList/NonResolvingEListIterator",707),dOt(606,295,NVt,OI),bY(F6t,"BasicEList/BasicIndexOutOfBoundsException",606),dOt(696,63,u8t,DM),EWt.Vc=function(t,e){throw Fw(new py)},EWt.Fc=function(t){throw Fw(new py)},EWt.Wc=function(t,e){throw Fw(new py)},EWt.Gc=function(t){throw Fw(new py)},EWt.$b=function(){throw Fw(new py)},EWt.qi=function(t){throw Fw(new py)},EWt.Kc=function(){return this.Zh()},EWt.Yc=function(){return this.$h()},EWt.Zc=function(t){return this._h(t)},EWt.ii=function(t,e){throw Fw(new py)},EWt.ji=function(t,e){throw Fw(new py)},EWt.$c=function(t){throw Fw(new py)},EWt.Mc=function(t){throw Fw(new py)},EWt._c=function(t,e){throw Fw(new py)},bY(F6t,"BasicEList/UnmodifiableEList",696),dOt(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),EWt.Vc=function(t,e){WL(this,t,$z(e,42))},EWt.Fc=function(t){return rB(this,$z(t,42))},EWt.Jc=function(t){t5(this,t)},EWt.Xb=function(t){return $z(Yet(this.c,t),133)},EWt.ii=function(t,e){return $z(this.c.ii(t,e),42)},EWt.ji=function(t,e){XL(this,t,$z(e,42))},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.$c=function(t){return $z(this.c.$c(t),42)},EWt._c=function(t,e){return aY(this,t,$z(e,42))},EWt.ad=function(t){Rrt(this,t)},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.Wc=function(t,e){return this.c.Wc(t,e)},EWt.Gc=function(t){return this.c.Gc(t)},EWt.$b=function(){this.c.$b()},EWt.Hc=function(t){return this.c.Hc(t)},EWt.Ic=function(t){return sst(this.c,t)},EWt.qj=function(){var t,e;if(null==this.d){for(this.d=N8(aOe,r7t,63,2*this.f+1,0,1),e=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)Ayt(this,$z(t.nj(),133));this.e=e}},EWt.Fb=function(t){return LR(this,t)},EWt.Hb=function(){return Est(this.c)},EWt.Xc=function(t){return this.c.Xc(t)},EWt.rj=function(){this.c=new cw(this)},EWt.dc=function(){return 0==this.f},EWt.Kc=function(){return this.c.Kc()},EWt.Yc=function(){return this.c.Yc()},EWt.Zc=function(t){return this.c.Zc(t)},EWt.sj=function(){return M8(this)},EWt.tj=function(t,e,n){return new Ez(t,e,n)},EWt.uj=function(){return new yc},EWt.Mc=function(t){return uit(this,t)},EWt.gc=function(){return this.f},EWt.bd=function(t,e){return new s1(this.c,t,e)},EWt.Pc=function(){return this.c.Pc()},EWt.Qc=function(t){return this.c.Qc(t)},EWt.Ib=function(){return Qdt(this.c)},EWt.e=0,EWt.f=0,bY(F6t,"BasicEMap",705),dOt(1033,63,u8t,cw),EWt.bi=function(t,e){My(this,$z(e,133))},EWt.ei=function(t,e,n){var i;++(i=this,$z(e,133),i).a.e},EWt.fi=function(t,e){Iy(this,$z(e,133))},EWt.gi=function(t,e,n){YD(this,$z(e,133),$z(n,133))},EWt.di=function(t,e){aot(this.a)},bY(F6t,"BasicEMap/1",1033),dOt(1034,63,u8t,yc),EWt.ri=function(t){return N8(pOe,a7t,612,t,0,1)},bY(F6t,"BasicEMap/2",1034),dOt(1035,JWt,tXt,uw),EWt.$b=function(){this.a.c.$b()},EWt.Hc=function(t){return ipt(this.a,t)},EWt.Kc=function(){return 0==this.a.f?(dB(),gOe.a):new $k(this.a)},EWt.Mc=function(t){var e;return e=this.a.f,Ypt(this.a,t),this.a.f!=e},EWt.gc=function(){return this.a.f},bY(F6t,"BasicEMap/3",1035),dOt(1036,28,ZWt,lw),EWt.$b=function(){this.a.c.$b()},EWt.Hc=function(t){return VBt(this.a,t)},EWt.Kc=function(){return 0==this.a.f?(dB(),gOe.a):new Fk(this.a)},EWt.gc=function(){return this.a.f},bY(F6t,"BasicEMap/4",1036),dOt(1037,JWt,tXt,hw),EWt.$b=function(){this.a.c.$b()},EWt.Hc=function(t){var e,n,i,r,a,o,s,c,u;if(this.a.f>0&&iN(t,42)&&(this.a.qj(),r=null==(s=(c=$z(t,42)).cd())?0:Jct(s),a=tj(this.a,r),e=this.a.d[a]))for(n=$z(e.g,367),u=e.i,o=0;o<u;++o)if((i=n[o]).Sh()==r&&i.Fb(c))return!0;return!1},EWt.Kc=function(){return 0==this.a.f?(dB(),gOe.a):new pV(this.a)},EWt.Mc=function(t){return AOt(this,t)},EWt.gc=function(){return this.a.f},bY(F6t,"BasicEMap/5",1037),dOt(613,1,XWt,pV),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return-1!=this.b},EWt.Pb=function(){var t;if(this.f.e!=this.c)throw Fw(new by);if(-1==this.b)throw Fw(new yy);return this.d=this.a,this.e=this.b,okt(this),t=$z(this.f.d[this.d].g[this.e],133),this.vj(t)},EWt.Qb=function(){if(this.f.e!=this.c)throw Fw(new by);if(-1==this.e)throw Fw(new dy);this.f.c.Mc(Yet(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b},EWt.vj=function(t){return t},EWt.a=0,EWt.b=-1,EWt.c=0,EWt.d=0,EWt.e=0,bY(F6t,"BasicEMap/BasicEMapIterator",613),dOt(1031,613,XWt,$k),EWt.vj=function(t){return t.cd()},bY(F6t,"BasicEMap/BasicEMapKeyIterator",1031),dOt(1032,613,XWt,Fk),EWt.vj=function(t){return t.dd()},bY(F6t,"BasicEMap/BasicEMapValueIterator",1032),dOt(1030,1,QWt,fw),EWt.wc=function(t){Jat(this,t)},EWt.yc=function(t,e,n){return Zft(this,t,e,n)},EWt.$b=function(){this.a.c.$b()},EWt._b=function(t){return $M(this,t)},EWt.uc=function(t){return VBt(this.a,t)},EWt.vc=function(){return S8(this.a)},EWt.Fb=function(t){return LR(this.a,t)},EWt.xc=function(t){return rpt(this.a,t)},EWt.Hb=function(){return Est(this.a.c)},EWt.dc=function(){return 0==this.a.f},EWt.ec=function(){return A8(this.a)},EWt.zc=function(t,e){return wkt(this.a,t,e)},EWt.Bc=function(t){return Ypt(this.a,t)},EWt.gc=function(){return this.a.f},EWt.Ib=function(){return Qdt(this.a.c)},EWt.Cc=function(){return C8(this.a)},bY(F6t,"BasicEMap/DelegatingMap",1030),dOt(612,1,{42:1,133:1,612:1},Ez),EWt.Fb=function(t){var e;return!!iN(t,42)&&(e=$z(t,42),(null!=this.b?Nht(this.b,e.cd()):HM(this.b)===HM(e.cd()))&&(null!=this.c?Nht(this.c,e.dd()):HM(this.c)===HM(e.dd())))},EWt.Sh=function(){return this.a},EWt.cd=function(){return this.b},EWt.dd=function(){return this.c},EWt.Hb=function(){return this.a^(null==this.c?0:Jct(this.c))},EWt.Th=function(t){this.a=t},EWt.Uh=function(t){throw Fw(new sy)},EWt.ed=function(t){var e;return e=this.c,this.c=t,e},EWt.Ib=function(){return this.b+"->"+this.c},EWt.a=0;var gOe,pOe=bY(F6t,"BasicEMap/EntryImpl",612);dOt(536,1,{},uc),bY(F6t,"BasicEMap/View",536),dOt(768,1,{}),EWt.Fb=function(t){return NOt((EV(),cne),t)},EWt.Hb=function(){return $ct((EV(),cne))},EWt.Ib=function(){return LTt((EV(),cne))},bY(F6t,"ECollections/BasicEmptyUnmodifiableEList",768),dOt(1312,1,rXt,mc),EWt.Nb=function(t){uK(this,t)},EWt.Rb=function(t){throw Fw(new py)},EWt.Ob=function(){return!1},EWt.Sb=function(){return!1},EWt.Pb=function(){throw Fw(new yy)},EWt.Tb=function(){return 0},EWt.Ub=function(){throw Fw(new yy)},EWt.Vb=function(){return-1},EWt.Qb=function(){throw Fw(new py)},EWt.Wb=function(t){throw Fw(new py)},bY(F6t,"ECollections/BasicEmptyUnmodifiableEList/1",1312),dOt(1310,768,{20:1,14:1,15:1,58:1},km),EWt.Vc=function(t,e){L_()},EWt.Fc=function(t){return N_()},EWt.Wc=function(t,e){return D_()},EWt.Gc=function(t){return P_()},EWt.$b=function(){B_()},EWt.Hc=function(t){return!1},EWt.Ic=function(t){return!1},EWt.Jc=function(t){t5(this,t)},EWt.Xb=function(t){return yI((EV(),t)),null},EWt.Xc=function(t){return-1},EWt.dc=function(){return!0},EWt.Kc=function(){return this.a},EWt.Yc=function(){return this.a},EWt.Zc=function(t){return this.a},EWt.ii=function(t,e){return j_()},EWt.ji=function(t,e){R_()},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.$c=function(t){return $_()},EWt.Mc=function(t){return F_()},EWt._c=function(t,e){return z_()},EWt.gc=function(){return 0},EWt.ad=function(t){Rrt(this,t)},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.bd=function(t,e){return EV(),new s1(cne,t,e)},EWt.Pc=function(){return iq((EV(),cne))},EWt.Qc=function(t){return EV(),kmt(cne,t)},bY(F6t,"ECollections/EmptyUnmodifiableEList",1310),dOt(1311,768,{20:1,14:1,15:1,58:1,589:1},_m),EWt.Vc=function(t,e){L_()},EWt.Fc=function(t){return N_()},EWt.Wc=function(t,e){return D_()},EWt.Gc=function(t){return P_()},EWt.$b=function(){B_()},EWt.Hc=function(t){return!1},EWt.Ic=function(t){return!1},EWt.Jc=function(t){t5(this,t)},EWt.Xb=function(t){return yI((EV(),t)),null},EWt.Xc=function(t){return-1},EWt.dc=function(){return!0},EWt.Kc=function(){return this.a},EWt.Yc=function(){return this.a},EWt.Zc=function(t){return this.a},EWt.ii=function(t,e){return j_()},EWt.ji=function(t,e){R_()},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.$c=function(t){return $_()},EWt.Mc=function(t){return F_()},EWt._c=function(t,e){return z_()},EWt.gc=function(){return 0},EWt.ad=function(t){Rrt(this,t)},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.bd=function(t,e){return EV(),new s1(cne,t,e)},EWt.Pc=function(){return iq((EV(),cne))},EWt.Qc=function(t){return EV(),kmt(cne,t)},EWt.sj=function(){return EV(),EV(),une},bY(F6t,"ECollections/EmptyUnmodifiableEMap",1311);var bOe,wOe=hU(F6t,"Enumerator");dOt(281,1,{281:1},ijt),EWt.Fb=function(t){var e;return this===t||!!iN(t,281)&&(e=$z(t,281),this.f==e.f&&bG(this.i,e.i)&&pG(this.a,256&this.f?256&e.f?e.a:null:256&e.f?null:e.a)&&pG(this.d,e.d)&&pG(this.g,e.g)&&pG(this.e,e.e)&&Twt(this,e))},EWt.Hb=function(){return this.f},EWt.Ib=function(){return E$t(this)},EWt.f=0;var yOe,mOe,vOe,xOe=0,kOe=0,_Oe=0,EOe=0,TOe=0,COe=0,SOe=0,AOe=0,MOe=0,IOe=0,OOe=0,LOe=0,NOe=0;bY(F6t,"URI",281),dOt(1091,43,tQt,Em),EWt.zc=function(t,e){return $z(wJ(this,EB(t),$z(e,281)),281)},bY(F6t,"URI/URICache",1091),dOt(497,63,u8t,fc,nG),EWt.hi=function(){return!0},bY(F6t,"UniqueEList",497),dOt(581,60,FXt,O9),bY(F6t,"WrappedException",581);var DOe,POe=hU(H5t,c7t),BOe=hU(H5t,u7t),jOe=hU(H5t,l7t),ROe=hU(H5t,h7t),$Oe=hU(H5t,f7t),FOe=hU(H5t,"EClass"),zOe=hU(H5t,"EDataType");dOt(1183,43,tQt,Tm),EWt.xc=function(t){return qM(t)?EZ(this,t):zM(MQ(this.f,t))},bY(H5t,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var HOe,UOe,GOe=hU(H5t,"EEnum"),qOe=hU(H5t,d7t),KOe=hU(H5t,g7t),YOe=hU(H5t,p7t),WOe=hU(H5t,b7t),XOe=hU(H5t,w7t);dOt(1029,1,{},hc),EWt.Ib=function(){return"NIL"},bY(H5t,"EStructuralFeature/Internal/DynamicValueHolder/1",1029),dOt(1028,43,tQt,Cm),EWt.xc=function(t){return qM(t)?EZ(this,t):zM(MQ(this.f,t))},bY(H5t,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var VOe,QOe,ZOe,JOe,tLe,eLe,nLe,iLe,rLe,aLe,oLe,sLe,cLe,uLe,lLe,hLe,fLe,dLe,gLe,pLe,bLe,wLe,yLe,mLe,vLe,xLe,kLe,_Le,ELe,TLe,CLe,SLe=hU(H5t,y7t),ALe=hU(H5t,"EValidator/PatternMatcher"),MLe=hU(m7t,"FeatureMap/Entry");dOt(535,1,{72:1},CM),EWt.ak=function(){return this.a},EWt.dd=function(){return this.b},bY(h6t,"BasicEObjectImpl/1",535),dOt(1027,1,v7t,SM),EWt.Wj=function(t){return Y5(this.a,this.b,t)},EWt.fj=function(){return QZ(this.a,this.b)},EWt.Wb=function(t){LZ(this.a,this.b,t)},EWt.Xj=function(){TW(this.a,this.b)},bY(h6t,"BasicEObjectImpl/4",1027),dOt(1983,1,{108:1}),EWt.bk=function(t){this.e=0==t?kLe:N8(Ite,zWt,1,t,5,1)},EWt.Ch=function(t){return this.e[t]},EWt.Dh=function(t,e){this.e[t]=e},EWt.Eh=function(t){this.e[t]=null},EWt.ck=function(){return this.c},EWt.dk=function(){throw Fw(new py)},EWt.ek=function(){throw Fw(new py)},EWt.fk=function(){return this.d},EWt.gk=function(){return null!=this.e},EWt.hk=function(t){this.c=t},EWt.ik=function(t){throw Fw(new py)},EWt.jk=function(t){throw Fw(new py)},EWt.kk=function(t){this.d=t},bY(h6t,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),dOt(185,1983,{108:1},Ph),EWt.dk=function(){return this.a},EWt.ek=function(){return this.b},EWt.ik=function(t){this.a=t},EWt.jk=function(t){this.b=t},bY(h6t,"BasicEObjectImpl/EPropertiesHolderImpl",185),dOt(506,97,l6t,vc),EWt.Kg=function(){return this.f},EWt.Pg=function(){return this.k},EWt.Rg=function(t,e){this.g=t,this.i=e},EWt.Tg=function(){return 2&this.j?this.ph().ck():this.zh()},EWt.Vg=function(){return this.i},EWt.Mg=function(){return!!(1&this.j)},EWt.eh=function(){return this.g},EWt.kh=function(){return!!(4&this.j)},EWt.ph=function(){return!this.k&&(this.k=new Ph),this.k},EWt.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},EWt.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},EWt.zh=function(){return(WY(),ZOe).S},EWt.i=0,EWt.j=1,bY(h6t,"EObjectImpl",506),dOt(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},vH),EWt.Ch=function(t){return this.e[t]},EWt.Dh=function(t,e){this.e[t]=e},EWt.Eh=function(t){this.e[t]=null},EWt.Tg=function(){return this.d},EWt.Yg=function(t){return Igt(this.d,t)},EWt.$g=function(){return this.d},EWt.dh=function(){return null!=this.e},EWt.ph=function(){return!this.k&&(this.k=new xc),this.k},EWt.th=function(t){this.d=t},EWt.yh=function(){var t;return null==this.e&&(t=hY(this.d),this.e=0==t?_Le:N8(Ite,zWt,1,t,5,1)),this},EWt.Ah=function(){return 0},bY(h6t,"DynamicEObjectImpl",780),dOt(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},uU),EWt.Fb=function(t){return this===t},EWt.Hb=function(){return TD(this)},EWt.th=function(t){this.d=t,this.b=NDt(t,"key"),this.c=NDt(t,k6t)},EWt.Sh=function(){var t;return-1==this.a&&(t=V9(this,this.b),this.a=null==t?0:Jct(t)),this.a},EWt.cd=function(){return V9(this,this.b)},EWt.dd=function(){return V9(this,this.c)},EWt.Th=function(t){this.a=t},EWt.Uh=function(t){LZ(this,this.b,t)},EWt.ed=function(t){var e;return e=V9(this,this.c),LZ(this,this.c,t),e},EWt.a=0,bY(h6t,"DynamicEObjectImpl/BasicEMapEntry",1376),dOt(1377,1,{108:1},xc),EWt.bk=function(t){throw Fw(new py)},EWt.Ch=function(t){throw Fw(new py)},EWt.Dh=function(t,e){throw Fw(new py)},EWt.Eh=function(t){throw Fw(new py)},EWt.ck=function(){throw Fw(new py)},EWt.dk=function(){return this.a},EWt.ek=function(){return this.b},EWt.fk=function(){return this.c},EWt.gk=function(){throw Fw(new py)},EWt.hk=function(t){throw Fw(new py)},EWt.ik=function(t){this.a=t},EWt.jk=function(t){this.b=t},EWt.kk=function(t){this.c=t},bY(h6t,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),dOt(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},kc),EWt.Qg=function(t){return fxt(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),this.b):(!this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),M8(this.b));case 3:return hJ(this);case 4:return!this.a&&(this.a=new IN(IIe,this,4)),this.a;case 5:return!this.c&&(this.c=new PN(IIe,this,5)),this.c}return G7(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?fxt(this,n):this.Cb.ih(this,-1-i,null,n)),WG(this,$z(t,147),n)}return $z(eet($z(mot(this,16),26)||(pWt(),JOe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),JOe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 2:return!this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),$R(this.b,t,n);case 3:return WG(this,null,n);case 4:return!this.a&&(this.a=new IN(IIe,this,4)),Rwt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),JOe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),JOe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!hJ(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return A3(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void pU(this,EB(e));case 2:return!this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),void tot(this.b,e);case 3:return void MDt(this,$z(e,147));case 4:return!this.a&&(this.a=new IN(IIe,this,4)),cUt(this.a),!this.a&&(this.a=new IN(IIe,this,4)),void pY(this.a,$z(e,14));case 5:return!this.c&&(this.c=new PN(IIe,this,5)),cUt(this.c),!this.c&&(this.c=new PN(IIe,this,5)),void pY(this.c,$z(e,14))}Ldt(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t),e)},EWt.zh=function(){return pWt(),JOe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Fit(this,null);case 2:return!this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),void this.b.c.$b();case 3:return void MDt(this,null);case 4:return!this.a&&(this.a=new IN(IIe,this,4)),void cUt(this.a);case 5:return!this.c&&(this.c=new PN(IIe,this,5)),void cUt(this.c)}Hht(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t))},EWt.Ib=function(){return Wht(this)},EWt.d=null,bY(h6t,"EAnnotationImpl",510),dOt(151,705,x7t,y7),EWt.Xh=function(t,e){ZO(this,t,$z(e,42))},EWt.lk=function(t,e){return RR(this,$z(t,42),e)},EWt.pi=function(t){return $z($z(this.c,69).pi(t),133)},EWt.Zh=function(){return $z(this.c,69).Zh()},EWt.$h=function(){return $z(this.c,69).$h()},EWt._h=function(t){return $z(this.c,69)._h(t)},EWt.mk=function(t,e){return $R(this,t,e)},EWt.Wj=function(t){return $z(this.c,76).Wj(t)},EWt.rj=function(){},EWt.fj=function(){return $z(this.c,76).fj()},EWt.tj=function(t,e,n){var i;return(i=$z(qet(this.b).Nh().Jh(this.b),133)).Th(t),i.Uh(e),i.ed(n),i},EWt.uj=function(){return new Sw(this)},EWt.Wb=function(t){tot(this,t)},EWt.Xj=function(){$z(this.c,76).Xj()},bY(m7t,"EcoreEMap",151),dOt(158,151,x7t,VP),EWt.qj=function(){var t,e,n,i,r;if(null==this.d){for(r=N8(aOe,r7t,63,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)!(t=r[i=((e=$z(n.nj(),133)).Sh()&PWt)%r.length])&&(t=r[i]=new Sw(this)),t.Fc(e);this.d=r}},bY(h6t,"EAnnotationImpl/1",158),dOt(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cD(),!!(256&this.Bb);case 3:return cD(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cD(),!!this.$j();case 7:return cD(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 9:return gY(this,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==yW(this.q).i)}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void this.Lh(EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void this.ok($z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi())}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e)},EWt.zh=function(){return pWt(),vLe},EWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void this.Lh(null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void this.ok(1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi())}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.Gh=function(){Axt(this),this.Bb|=1},EWt.Yj=function(){return Axt(this)},EWt.Zj=function(){return this.t},EWt.$j=function(){var t;return(t=this.t)>1||-1==t},EWt.hi=function(){return!!(512&this.Bb)},EWt.nk=function(t,e){return Cht(this,t,e)},EWt.ok=function(t){Nnt(this,t)},EWt.Ib=function(){return jIt(this)},EWt.s=0,EWt.t=1,bY(h6t,"ETypedElementImpl",284),dOt(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),EWt.Qg=function(t){return Nvt(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cD(),!!(256&this.Bb);case 3:return cD(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cD(),!!this.$j();case 7:return cD(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return cD(),!!(this.Bb&v6t);case 11:return cD(),!!(this.Bb&E7t);case 12:return cD(),!!(this.Bb&RVt);case 13:return this.j;case 14:return HNt(this);case 15:return cD(),!!(this.Bb&_7t);case 16:return cD(),!!(this.Bb&uXt);case 17:return dJ(this)}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 17:return this.Cb&&(n=(i=this.Db>>16)>=0?Nvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,17,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Qj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 9:return gY(this,n);case 17:return _$t(this,null,17,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return!(this.Bb&v6t);case 11:return!!(this.Bb&E7t);case 12:return!!(this.Bb&RVt);case 13:return null!=this.j;case 14:return null!=HNt(this);case 15:return!!(this.Bb&_7t);case 16:return!!(this.Bb&uXt);case 17:return!!dJ(this)}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void VJ(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void this.ok($z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 10:return void Ift(this,zv(kB(e)));case 11:return void Nft(this,zv(kB(e)));case 12:return void Oft(this,zv(kB(e)));case 13:return void jM(this,EB(e));case 15:return void Lft(this,zv(kB(e)));case 16:return void Hft(this,zv(kB(e)))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e)},EWt.zh=function(){return pWt(),mLe},EWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iN(this.Cb,88)&&IAt(T5($z(this.Cb,88)),4),void Nrt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void this.ok(1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 10:return void Ift(this,!0);case 11:return void Nft(this,!1);case 12:return void Oft(this,!1);case 13:return this.i=null,void art(this,null);case 15:return void Lft(this,!1);case 16:return void Hft(this,!1)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.Gh=function(){mX($9((ASt(),VLe),this)),Axt(this),this.Bb|=1},EWt.Gj=function(){return this.f},EWt.zj=function(){return HNt(this)},EWt.Hj=function(){return dJ(this)},EWt.Lj=function(){return null},EWt.pk=function(){return this.k},EWt.aj=function(){return this.n},EWt.Mj=function(){return s_t(this)},EWt.Nj=function(){var t,e,n,i,r,a,o,s,c;return this.p||((null==(n=dJ(this)).i&&HFt(n),n.i).length,(i=this.Lj())&&hY(dJ(i)),t=(o=(r=Axt(this)).Bj())?1&o.i?o==MDe?vee:o==ADe?Iee:o==NDe?See:o==LDe?Cee:o==IDe?Bee:o==DDe?Ree:o==ODe?kee:Tee:o:null,e=HNt(this),s=r.zj(),fdt(this),this.Bb&uXt&&((a=ykt((ASt(),VLe),n))&&a!=this||(a=Q1($9(VLe,this))))?this.p=new MM(this,a):this.$j()?this.rk()?i?this.Bb&_7t?t?this.sk()?this.p=new lV(47,t,this,i):this.p=new lV(5,t,this,i):this.sk()?this.p=new f4(46,this,i):this.p=new f4(4,this,i):t?this.sk()?this.p=new lV(49,t,this,i):this.p=new lV(7,t,this,i):this.sk()?this.p=new f4(48,this,i):this.p=new f4(6,this,i):this.Bb&_7t?t?t==zte?this.p=new Tz(50,KIe,this):this.sk()?this.p=new Tz(43,t,this):this.p=new Tz(1,t,this):this.sk()?this.p=new PQ(42,this):this.p=new PQ(0,this):t?t==zte?this.p=new Tz(41,KIe,this):this.sk()?this.p=new Tz(45,t,this):this.p=new Tz(3,t,this):this.sk()?this.p=new PQ(44,this):this.p=new PQ(2,this):iN(r,148)?t==MLe?this.p=new PQ(40,this):512&this.Bb?this.Bb&_7t?this.p=t?new Tz(9,t,this):new PQ(8,this):this.p=t?new Tz(11,t,this):new PQ(10,this):this.Bb&_7t?this.p=t?new Tz(13,t,this):new PQ(12,this):this.p=t?new Tz(15,t,this):new PQ(14,this):i?(c=i.t)>1||-1==c?this.sk()?this.Bb&_7t?this.p=t?new lV(25,t,this,i):new f4(24,this,i):this.p=t?new lV(27,t,this,i):new f4(26,this,i):this.Bb&_7t?this.p=t?new lV(29,t,this,i):new f4(28,this,i):this.p=t?new lV(31,t,this,i):new f4(30,this,i):this.sk()?this.Bb&_7t?this.p=t?new lV(33,t,this,i):new f4(32,this,i):this.p=t?new lV(35,t,this,i):new f4(34,this,i):this.Bb&_7t?this.p=t?new lV(37,t,this,i):new f4(36,this,i):this.p=t?new lV(39,t,this,i):new f4(38,this,i):this.sk()?this.Bb&_7t?this.p=t?new Tz(17,t,this):new PQ(16,this):this.p=t?new Tz(19,t,this):new PQ(18,this):this.Bb&_7t?this.p=t?new Tz(21,t,this):new PQ(20,this):this.p=t?new Tz(23,t,this):new PQ(22,this):this.qk()?this.sk()?this.p=new Cz($z(r,26),this,i):this.p=new wZ($z(r,26),this,i):iN(r,148)?t==MLe?this.p=new PQ(40,this):this.Bb&_7t?this.p=t?new ZG(e,s,this,(Fgt(),o==ADe?FLe:o==MDe?PLe:o==IDe?zLe:o==NDe?$Le:o==LDe?RLe:o==DDe?ULe:o==ODe?BLe:o==SDe?jLe:HLe)):new dV($z(r,148),e,s,this):this.p=t?new QG(e,s,this,(Fgt(),o==ADe?FLe:o==MDe?PLe:o==IDe?zLe:o==NDe?$Le:o==LDe?RLe:o==DDe?ULe:o==ODe?BLe:o==SDe?jLe:HLe)):new fV($z(r,148),e,s,this):this.rk()?i?this.Bb&_7t?this.sk()?this.p=new Lz($z(r,26),this,i):this.p=new Oz($z(r,26),this,i):this.sk()?this.p=new Iz($z(r,26),this,i):this.p=new Sz($z(r,26),this,i):this.Bb&_7t?this.sk()?this.p=new tB($z(r,26),this):this.p=new JP($z(r,26),this):this.sk()?this.p=new ZP($z(r,26),this):this.p=new QP($z(r,26),this):this.sk()?i?this.Bb&_7t?this.p=new Nz($z(r,26),this,i):this.p=new Az($z(r,26),this,i):this.Bb&_7t?this.p=new nB($z(r,26),this):this.p=new eB($z(r,26),this):i?this.Bb&_7t?this.p=new Dz($z(r,26),this,i):this.p=new Mz($z(r,26),this,i):this.Bb&_7t?this.p=new iB($z(r,26),this):this.p=new iG($z(r,26),this)),this.p},EWt.Ij=function(){return!!(this.Bb&v6t)},EWt.qk=function(){return!1},EWt.rk=function(){return!1},EWt.Jj=function(){return!!(this.Bb&uXt)},EWt.Oj=function(){return ctt(this)},EWt.sk=function(){return!1},EWt.Kj=function(){return!!(this.Bb&_7t)},EWt.tk=function(t){this.k=t},EWt.Lh=function(t){VJ(this,t)},EWt.Ib=function(){return kjt(this)},EWt.e=!1,EWt.n=0,bY(h6t,"EStructuralFeatureImpl",449),dOt(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},Am),EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cD(),!!(256&this.Bb);case 3:return cD(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cD(),!!NMt(this);case 7:return cD(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return cD(),!!(this.Bb&v6t);case 11:return cD(),!!(this.Bb&E7t);case 12:return cD(),!!(this.Bb&RVt);case 13:return this.j;case 14:return HNt(this);case 15:return cD(),!!(this.Bb&_7t);case 16:return cD(),!!(this.Bb&uXt);case 17:return dJ(this);case 18:return cD(),!!(this.Bb&u6t);case 19:return e?ost(this):N6(this)}return G7(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return NMt(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return!(this.Bb&v6t);case 11:return!!(this.Bb&E7t);case 12:return!!(this.Bb&RVt);case 13:return null!=this.j;case 14:return null!=HNt(this);case 15:return!!(this.Bb&_7t);case 16:return!!(this.Bb&uXt);case 17:return!!dJ(this);case 18:return!!(this.Bb&u6t);case 19:return!!N6(this)}return A3(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t))},EWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void VJ(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void Gk(this,$z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 10:return void Ift(this,zv(kB(e)));case 11:return void Nft(this,zv(kB(e)));case 12:return void Oft(this,zv(kB(e)));case 13:return void jM(this,EB(e));case 15:return void Lft(this,zv(kB(e)));case 16:return void Hft(this,zv(kB(e)));case 18:return void Uft(this,zv(kB(e)))}Ldt(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t),e)},EWt.zh=function(){return pWt(),tLe},EWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iN(this.Cb,88)&&IAt(T5($z(this.Cb,88)),4),void Nrt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return this.b=0,void Nnt(this,1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 10:return void Ift(this,!0);case 11:return void Nft(this,!1);case 12:return void Oft(this,!1);case 13:return this.i=null,void art(this,null);case 15:return void Lft(this,!1);case 16:return void Hft(this,!1);case 18:return void Uft(this,!1)}Hht(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t))},EWt.Gh=function(){ost(this),mX($9((ASt(),VLe),this)),Axt(this),this.Bb|=1},EWt.$j=function(){return NMt(this)},EWt.nk=function(t,e){return this.b=0,this.a=null,Cht(this,t,e)},EWt.ok=function(t){Gk(this,t)},EWt.Ib=function(){var t;return 64&this.Db?kjt(this):((t=new uD(kjt(this))).a+=" (iD: ",y_(t,!!(this.Bb&u6t)),t.a+=")",t.a)},EWt.b=0,bY(h6t,"EAttributeImpl",322),dOt(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),EWt.uk=function(t){return t.Tg()==this},EWt.Qg=function(t){return lvt(this,t)},EWt.Rg=function(t,e){this.w=null,this.Db=e<<16|255&this.Db,this.Cb=t},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),this.A}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,6,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Qj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 6:return _$t(this,null,6,n);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),Rwt(this.A,t,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nvt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fJ(this);case 7:return!!this.A&&0!=this.A.i}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void QJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return!this.A&&(this.A=new LN(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LN(SLe,this,7)),void pY(this.A,$z(e,14))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e)},EWt.zh=function(){return pWt(),nLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iN(this.Cb,179)&&($z(this.Cb,179).tb=null),void Nrt(this,null);case 2:return Put(this,null),void Dnt(this,this.D);case 5:return void VUt(this,null);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),void cUt(this.A)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.yj=function(){var t;return-1==this.G&&(this.G=(t=qet(this))?oyt(t.Mh(),this):-1),this.G},EWt.zj=function(){return null},EWt.Aj=function(){return qet(this)},EWt.vk=function(){return this.v},EWt.Bj=function(){return nvt(this)},EWt.Cj=function(){return null!=this.D?this.D:this.B},EWt.Dj=function(){return this.F},EWt.wj=function(t){return TFt(this,t)},EWt.wk=function(t){this.v=t},EWt.xk=function(t){qrt(this,t)},EWt.yk=function(t){this.C=t},EWt.Lh=function(t){QJ(this,t)},EWt.Ib=function(){return Sgt(this)},EWt.C=null,EWt.D=null,EWt.G=-1,bY(h6t,"EClassifierImpl",351),dOt(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Bh),EWt.uk=function(t){return Wj(this,t.Tg())},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return null;case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),this.A;case 8:return cD(),!!(256&this.Bb);case 9:return cD(),!!(512&this.Bb);case 10:return mQ(this);case 11:return!this.q&&(this.q=new tK(YOe,this,11,10)),this.q;case 12:return Vzt(this);case 13:return Bzt(this);case 14:return Bzt(this),this.r;case 15:return Vzt(this),this.k;case 16:return YSt(this);case 17:return pzt(this);case 18:return HFt(this);case 19:return SNt(this);case 20:return Vzt(this),this.o;case 21:return!this.s&&(this.s=new tK(jOe,this,21,17)),this.s;case 22:return r4(this);case 23:return zBt(this)}return G7(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,6,n);case 11:return!this.q&&(this.q=new tK(YOe,this,11,10)),Vgt(this.q,t,n);case 21:return!this.s&&(this.s=new tK(jOe,this,21,17)),Vgt(this.s,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),eLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),eLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 6:return _$t(this,null,6,n);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),Rwt(this.A,t,n);case 11:return!this.q&&(this.q=new tK(YOe,this,11,10)),Rwt(this.q,t,n);case 21:return!this.s&&(this.s=new tK(jOe,this,21,17)),Rwt(this.s,t,n);case 22:return Rwt(r4(this),t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),eLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),eLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nvt(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fJ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!!(256&this.Bb);case 9:return!!(512&this.Bb);case 10:return!(!this.u||0==r4(this.u.a).i||this.n&&Byt(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=Vzt(this).i;case 13:return 0!=Bzt(this).i;case 14:return Bzt(this),0!=this.r.i;case 15:return Vzt(this),0!=this.k.i;case 16:return 0!=YSt(this).i;case 17:return 0!=pzt(this).i;case 18:return 0!=HFt(this).i;case 19:return 0!=SNt(this).i;case 20:return Vzt(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Byt(this.n);case 23:return 0!=zBt(this).i}return A3(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t))},EWt.oh=function(t){return(null==this.i||this.q&&0!=this.q.i?null:NDt(this,t))||uKt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void QJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return!this.A&&(this.A=new LN(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LN(SLe,this,7)),void pY(this.A,$z(e,14));case 8:return void Qht(this,zv(kB(e)));case 9:return void tft(this,zv(kB(e)));case 10:return wUt(mQ(this)),void pY(mQ(this),$z(e,14));case 11:return!this.q&&(this.q=new tK(YOe,this,11,10)),cUt(this.q),!this.q&&(this.q=new tK(YOe,this,11,10)),void pY(this.q,$z(e,14));case 21:return!this.s&&(this.s=new tK(jOe,this,21,17)),cUt(this.s),!this.s&&(this.s=new tK(jOe,this,21,17)),void pY(this.s,$z(e,14));case 22:return cUt(r4(this)),void pY(r4(this),$z(e,14))}Ldt(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t),e)},EWt.zh=function(){return pWt(),eLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iN(this.Cb,179)&&($z(this.Cb,179).tb=null),void Nrt(this,null);case 2:return Put(this,null),void Dnt(this,this.D);case 5:return void VUt(this,null);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),void cUt(this.A);case 8:return void Qht(this,!1);case 9:return void tft(this,!1);case 10:return void(this.u&&wUt(this.u));case 11:return!this.q&&(this.q=new tK(YOe,this,11,10)),void cUt(this.q);case 21:return!this.s&&(this.s=new tK(jOe,this,21,17)),void cUt(this.s);case 22:return void(this.n&&cUt(this.n))}Hht(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t))},EWt.Gh=function(){var t,e;if(Vzt(this),Bzt(this),YSt(this),pzt(this),HFt(this),SNt(this),zBt(this),r6(qz(T5(this))),this.s)for(t=0,e=this.s.i;t<e;++t)bP(Yet(this.s,t));if(this.q)for(t=0,e=this.q.i;t<e;++t)bP(Yet(this.q,t));Sht((ASt(),VLe),this).ne(),this.Bb|=1},EWt.Ib=function(){return g_t(this)},EWt.k=null,EWt.r=null,bY(h6t,"EClassImpl",88),dOt(1994,1993,P7t),EWt.Vh=function(t,e){return LFt(this,t,e)},EWt.Wh=function(t){return LFt(this,this.i,t)},EWt.Xh=function(t,e){HIt(this,t,e)},EWt.Yh=function(t){tOt(this,t)},EWt.lk=function(t,e){return Vgt(this,t,e)},EWt.pi=function(t){return R7(this,t)},EWt.mk=function(t,e){return Rwt(this,t,e)},EWt.mi=function(t,e){return lzt(this,t,e)},EWt.Zh=function(){return new rP(this)},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},bY(m7t,"NotifyingInternalEListImpl",1994),dOt(622,1994,B7t),EWt.Hc=function(t){return fUt(this,t)},EWt.Zi=function(t,e,n,i,r){return yJ(this,t,e,n,i,r)},EWt.$i=function(t){Oy(this,t)},EWt.Wj=function(t){return this},EWt.ak=function(){return eet(this.e.Tg(),this.aj())},EWt._i=function(){return this.ak()},EWt.aj=function(){return Igt(this.e.Tg(),this.ak())},EWt.zk=function(){return $z(this.ak().Yj(),26).Bj()},EWt.Ak=function(){return Syt($z(this.ak(),18)).n},EWt.Ai=function(){return this.e},EWt.Bk=function(){return!0},EWt.Ck=function(){return!1},EWt.Dk=function(){return!1},EWt.Ek=function(){return!1},EWt.Xc=function(t){return oyt(this,t)},EWt.cj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.gh(this.e,this.Ak(),this.zk(),e):n.gh(this.e,Igt(n.Tg(),Syt($z(this.ak(),18))),null,e):n.gh(this.e,-1-this.aj(),null,e)},EWt.dj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.ih(this.e,this.Ak(),this.zk(),e):n.ih(this.e,Igt(n.Tg(),Syt($z(this.ak(),18))),null,e):n.ih(this.e,-1-this.aj(),null,e)},EWt.rk=function(){return!1},EWt.Fk=function(){return!0},EWt.wj=function(t){return N3(this.d,t)},EWt.ej=function(){return wO(this.e)},EWt.fj=function(){return 0!=this.i},EWt.ri=function(t){return Pnt(this.d,t)},EWt.li=function(t,e){return this.Fk()&&this.Ek()?UIt(this,t,$z(e,56)):e},EWt.Gk=function(t){return t.kh()?tht(this.e,$z(t,49)):t},EWt.Wb=function(t){VL(this,t)},EWt.Pc=function(){return F7(this)},EWt.Qc=function(t){var e;if(this.Ek())for(e=this.i-1;e>=0;--e)Yet(this,e);return Xgt(this,t)},EWt.Xj=function(){cUt(this)},EWt.oi=function(t,e){return Rnt(this,t,e)},bY(m7t,"EcoreEList",622),dOt(496,622,B7t,yH),EWt.ai=function(){return!1},EWt.aj=function(){return this.c},EWt.bj=function(){return!1},EWt.Fk=function(){return!0},EWt.hi=function(){return!0},EWt.li=function(t,e){return e},EWt.ni=function(){return!1},EWt.c=0,bY(m7t,"EObjectEList",496),dOt(85,496,B7t,IN),EWt.bj=function(){return!0},EWt.Dk=function(){return!1},EWt.rk=function(){return!0},bY(m7t,"EObjectContainmentEList",85),dOt(545,85,B7t,ON),EWt.ci=function(){this.b=!0},EWt.fj=function(){return this.b},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.b,this.b=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.b=!1},EWt.b=!1,bY(m7t,"EObjectContainmentEList/Unsettable",545),dOt(1140,545,B7t,XG),EWt.ii=function(t,e){var n,i;return n=$z(Aft(this,t,e),87),wO(this.e)&&Oy(this,new v7(this.a,7,(pWt(),iLe),nft(e),iN(i=n.c,88)?$z(i,26):fLe,t)),n},EWt.jj=function(t,e){return Zgt(this,$z(t,87),e)},EWt.kj=function(t,e){return Qgt(this,$z(t,87),e)},EWt.lj=function(t,e,n){return Rkt(this,$z(t,87),$z(e,87),n)},EWt.Zi=function(t,e,n,i,r){switch(t){case 3:return yJ(this,t,e,n,i,this.i>1);case 5:return yJ(this,t,e,n,i,this.i-$z(n,15).gc()>0);default:return new L9(this.e,t,this.c,e,n,i,!0)}},EWt.ij=function(){return!0},EWt.fj=function(){return Byt(this)},EWt.Xj=function(){cUt(this)},bY(h6t,"EClassImpl/1",1140),dOt(1154,1153,Z8t),EWt.ui=function(t){var e,n,i,r,a,o,s;if(8!=(n=t.xi())){if(0==(i=awt(t)))switch(n){case 1:case 9:null!=(s=t.Bi())&&(!(e=T5($z(s,473))).c&&(e.c=new zc),stt(e.c,t.Ai())),null!=(o=t.zi())&&(1&(r=$z(o,473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),u7(e.c,$z(t.Ai(),26))));break;case 3:null!=(o=t.zi())&&(1&(r=$z(o,473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),u7(e.c,$z(t.Ai(),26))));break;case 5:if(null!=(o=t.zi()))for(a=$z(o,14).Kc();a.Ob();)1&(r=$z(a.Pb(),473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),u7(e.c,$z(t.Ai(),26)));break;case 4:null!=(s=t.Bi())&&(1&(r=$z(s,473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),stt(e.c,t.Ai())));break;case 6:if(null!=(s=t.Bi()))for(a=$z(s,14).Kc();a.Ob();)1&(r=$z(a.Pb(),473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),stt(e.c,t.Ai()))}this.Hk(i)}},EWt.Hk=function(t){gjt(this,t)},EWt.b=63,bY(h6t,"ESuperAdapter",1154),dOt(1155,1154,Z8t,dw),EWt.Hk=function(t){IAt(this,t)},bY(h6t,"EClassImpl/10",1155),dOt(1144,696,B7t),EWt.Vh=function(t,e){return FEt(this,t,e)},EWt.Wh=function(t){return fmt(this,t)},EWt.Xh=function(t,e){Aht(this,t,e)},EWt.Yh=function(t){i6(this,t)},EWt.pi=function(t){return R7(this,t)},EWt.mi=function(t,e){return ott(this,t,e)},EWt.lk=function(t,e){throw Fw(new py)},EWt.Zh=function(){return new rP(this)},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},EWt.mk=function(t,e){throw Fw(new py)},EWt.Wj=function(t){return this},EWt.fj=function(){return 0!=this.i},EWt.Wb=function(t){throw Fw(new py)},EWt.Xj=function(){throw Fw(new py)},bY(m7t,"EcoreEList/UnmodifiableEList",1144),dOt(319,1144,B7t,LI),EWt.ni=function(){return!1},bY(m7t,"EcoreEList/UnmodifiableEList/FastCompare",319),dOt(1147,319,B7t,gct),EWt.Xc=function(t){var e,n;if(iN(t,170)&&-1!=(e=$z(t,170).aj()))for(n=this.i;e<n;++e)if(HM(this.g[e])===HM(t))return e;return-1},bY(h6t,"EClassImpl/1EAllStructuralFeaturesList",1147),dOt(1141,497,u8t,_c),EWt.ri=function(t){return N8(KOe,F7t,87,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/1EGenericSuperTypeEList",1141),dOt(623,497,u8t,Ec),EWt.ri=function(t){return N8(jOe,N7t,170,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/1EStructuralFeatureUniqueEList",623),dOt(741,497,u8t,Tc),EWt.ri=function(t){return N8(XOe,N7t,18,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/1ReferenceList",741),dOt(1142,497,u8t,gw),EWt.bi=function(t,e){JG(this,$z(e,34))},EWt.ri=function(t){return N8(ROe,N7t,34,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/2",1142),dOt(1143,497,u8t,Cc),EWt.ri=function(t){return N8(ROe,N7t,34,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/3",1143),dOt(1145,319,B7t,xH),EWt.Fc=function(t){return wz(this,$z(t,34))},EWt.Yh=function(t){V_(this,$z(t,34))},bY(h6t,"EClassImpl/4",1145),dOt(1146,319,B7t,kH),EWt.Fc=function(t){return yz(this,$z(t,18))},EWt.Yh=function(t){Q_(this,$z(t,18))},bY(h6t,"EClassImpl/5",1146),dOt(1148,497,u8t,Sc),EWt.ri=function(t){return N8(YOe,D7t,59,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/6",1148),dOt(1149,497,u8t,Ac),EWt.ri=function(t){return N8(XOe,N7t,18,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/7",1149),dOt(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),EWt.Vh=function(t,e){return oFt(this,t,e)},EWt.Wh=function(t){return oFt(this,this.Vi(),t)},EWt.Xh=function(t,e){eOt(this,t,e)},EWt.Yh=function(t){MIt(this,t)},EWt.lk=function(t,e){return dmt(this,t,e)},EWt.mk=function(t,e){return $wt(this,t,e)},EWt.mi=function(t,e){return sFt(this,t,e)},EWt.pi=function(t){return this.Oi(t)},EWt.Zh=function(){return new rP(this)},EWt.Gi=function(){return this.Ji()},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},bY(m7t,"DelegatingNotifyingInternalEListImpl",1997),dOt(742,1997,z7t),EWt.ai=function(){var t;return iN(t=eet(vQ(this.b),this.aj()).Yj(),148)&&!iN(t,457)&&!(1&t.Bj().i)},EWt.Hc=function(t){var e,n,i,r,a,o,s;if(this.Fk()){if((s=this.Vi())>4){if(!this.wj(t))return!1;if(this.rk()){if(o=(e=(n=$z(t,49)).Ug())==this.b&&(this.Dk()?n.Og(n.Vg(),$z(eet(vQ(this.b),this.aj()).Yj(),26).Bj())==Syt($z(eet(vQ(this.b),this.aj()),18)).n:-1-n.Vg()==this.aj()),this.Ek()&&!o&&!e&&n.Zg())for(i=0;i<s;++i)if(HM(Hq(this,this.Oi(i)))===HM(t))return!0;return o}if(this.Dk()&&!this.Ck()){if(HM(r=$z(t,56).ah(Syt($z(eet(vQ(this.b),this.aj()),18))))===HM(this.b))return!0;if(null==r||!$z(r,56).kh())return!1}}if(a=this.Li(t),this.Ek()&&!a)for(i=0;i<s;++i)if(HM(n=Hq(this,this.Oi(i)))===HM(t))return!0;return a}return this.Li(t)},EWt.Zi=function(t,e,n,i,r){return new L9(this.b,t,this.aj(),e,n,i,r)},EWt.$i=function(t){fot(this.b,t)},EWt.Wj=function(t){return this},EWt._i=function(){return eet(vQ(this.b),this.aj())},EWt.aj=function(){return Igt(vQ(this.b),eet(vQ(this.b),this.aj()))},EWt.Ai=function(){return this.b},EWt.Bk=function(){return!!eet(vQ(this.b),this.aj()).Yj().Bj()},EWt.bj=function(){var t;return!(!iN(t=eet(vQ(this.b),this.aj()),99)||!($z(t,18).Bb&u6t)&&!Syt($z(t,18)))},EWt.Ck=function(){var t,e,n;return!!iN(t=eet(vQ(this.b),this.aj()),99)&&!!(e=Syt($z(t,18)))&&((n=e.t)>1||-1==n)},EWt.Dk=function(){var t;return!!iN(t=eet(vQ(this.b),this.aj()),99)&&!!Syt($z(t,18))},EWt.Ek=function(){var t;return!!iN(t=eet(vQ(this.b),this.aj()),99)&&!!($z(t,18).Bb&FVt)},EWt.Xc=function(t){var e,n,i;if((n=this.Qi(t))>=0)return n;if(this.Fk())for(e=0,i=this.Vi();e<i;++e)if(HM(Hq(this,this.Oi(e)))===HM(t))return e;return-1},EWt.cj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.gh(this.b,Syt($z(eet(vQ(this.b),this.aj()),18)).n,$z(eet(vQ(this.b),this.aj()).Yj(),26).Bj(),e):n.gh(this.b,Igt(n.Tg(),Syt($z(eet(vQ(this.b),this.aj()),18))),null,e):n.gh(this.b,-1-this.aj(),null,e)},EWt.dj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.ih(this.b,Syt($z(eet(vQ(this.b),this.aj()),18)).n,$z(eet(vQ(this.b),this.aj()).Yj(),26).Bj(),e):n.ih(this.b,Igt(n.Tg(),Syt($z(eet(vQ(this.b),this.aj()),18))),null,e):n.ih(this.b,-1-this.aj(),null,e)},EWt.rk=function(){var t;return!!iN(t=eet(vQ(this.b),this.aj()),99)&&!!($z(t,18).Bb&u6t)},EWt.Fk=function(){return iN(eet(vQ(this.b),this.aj()).Yj(),88)},EWt.wj=function(t){return eet(vQ(this.b),this.aj()).Yj().wj(t)},EWt.ej=function(){return wO(this.b)},EWt.fj=function(){return!this.Ri()},EWt.hi=function(){return eet(vQ(this.b),this.aj()).hi()},EWt.li=function(t,e){return eGt(this,t,e)},EWt.Wb=function(t){wUt(this),pY(this,$z(t,15))},EWt.Pc=function(){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)eGt(this,t,this.Oi(t));return this.Wi()},EWt.Qc=function(t){var e;if(this.Ek())for(e=this.Vi()-1;e>=0;--e)eGt(this,e,this.Oi(e));return this.Xi(t)},EWt.Xj=function(){wUt(this)},EWt.oi=function(t,e){return $7(this,t,e)},bY(m7t,"DelegatingEcoreEList",742),dOt(1150,742,z7t,aj),EWt.Hi=function(t,e){lB(this,t,$z(e,26))},EWt.Ii=function(t){tL(this,$z(t,26))},EWt.Oi=function(t){var e;return iN(e=$z(Yet(r4(this.a),t),87).c,88)?$z(e,26):(pWt(),fLe)},EWt.Ti=function(t){var e;return iN(e=$z(lBt(r4(this.a),t),87).c,88)?$z(e,26):(pWt(),fLe)},EWt.Ui=function(t,e){return gmt(this,t,$z(e,26))},EWt.ai=function(){return!1},EWt.Zi=function(t,e,n,i,r){return null},EWt.Ji=function(){return new pw(this)},EWt.Ki=function(){cUt(r4(this.a))},EWt.Li=function(t){return qht(this,t)},EWt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!qht(this,e.Pb()))return!1;return!0},EWt.Ni=function(t){var e,n,i;if(iN(t,15)&&(i=$z(t,15)).gc()==r4(this.a).i){for(e=i.Kc(),n=new MN(this);e.Ob();)if(HM(e.Pb())!==HM(vwt(n)))return!1;return!0}return!1},EWt.Pi=function(){var t,e,n,i;for(e=1,t=new MN(r4(this.a));t.e!=t.i.gc();)e=31*e+((n=iN(i=$z(vwt(t),87).c,88)?$z(i,26):(pWt(),fLe))?TD(n):0);return e},EWt.Qi=function(t){var e,n,i,r;for(i=0,n=new MN(r4(this.a));n.e!=n.i.gc();){if(e=$z(vwt(n),87),HM(t)===HM(iN(r=e.c,88)?$z(r,26):(pWt(),fLe)))return i;++i}return-1},EWt.Ri=function(){return 0==r4(this.a).i},EWt.Si=function(){return null},EWt.Vi=function(){return r4(this.a).i},EWt.Wi=function(){var t,e,n,i,r,a;for(a=r4(this.a).i,r=N8(Ite,zWt,1,a,5,1),n=0,e=new MN(r4(this.a));e.e!=e.i.gc();)t=$z(vwt(e),87),r[n++]=iN(i=t.c,88)?$z(i,26):(pWt(),fLe);return r},EWt.Xi=function(t){var e,n,i,r;for(r=r4(this.a).i,t.length<r&&(t=Pnt(tut(t).c,r)),t.length>r&&IY(t,r,null),n=0,e=new MN(r4(this.a));e.e!=e.i.gc();)IY(t,n++,iN(i=$z(vwt(e),87).c,88)?$z(i,26):(pWt(),fLe));return t},EWt.Yi=function(){var t,e,n,i,r;for((r=new Ex).a+="[",t=r4(this.a),e=0,i=r4(this.a).i;e<i;)iI(r,mD(iN(n=$z(Yet(t,e),87).c,88)?$z(n,26):(pWt(),fLe))),++e<i&&(r.a+=$Wt);return r.a+="]",r.a},EWt.$i=function(t){},EWt.aj=function(){return 10},EWt.Bk=function(){return!0},EWt.bj=function(){return!1},EWt.Ck=function(){return!1},EWt.Dk=function(){return!1},EWt.Ek=function(){return!0},EWt.rk=function(){return!1},EWt.Fk=function(){return!0},EWt.wj=function(t){return iN(t,88)},EWt.fj=function(){return W0(this.a)},EWt.hi=function(){return!0},EWt.ni=function(){return!0},bY(h6t,"EClassImpl/8",1150),dOt(1151,1964,LXt,pw),EWt.Zc=function(t){return cit(this.a,t)},EWt.gc=function(){return r4(this.a.a).i},bY(h6t,"EClassImpl/8/1",1151),dOt(1152,497,u8t,Mc),EWt.ri=function(t){return N8($Oe,zWt,138,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"EClassImpl/9",1152),dOt(1139,53,eQt,Sm),bY(h6t,"EClassImpl/MyHashSet",1139),dOt(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},xy),EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),this.A;case 8:return cD(),!!(256&this.Bb)}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nvt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fJ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!(256&this.Bb)}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void QJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return!this.A&&(this.A=new LN(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LN(SLe,this,7)),void pY(this.A,$z(e,14));case 8:return void Zht(this,zv(kB(e)))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e)},EWt.zh=function(){return pWt(),rLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iN(this.Cb,179)&&($z(this.Cb,179).tb=null),void Nrt(this,null);case 2:return Put(this,null),void Dnt(this,this.D);case 5:return void VUt(this,null);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),void cUt(this.A);case 8:return void Zht(this,!0)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.Gh=function(){Sht((ASt(),VLe),this).ne(),this.Bb|=1},EWt.Fj=function(){var t,e;if(!this.c&&!(t=ULt(qet(this))).dc())for(e=t.Kc();e.Ob();)N$t(this,EB(e.Pb()))&&Bft(this);return this.b},EWt.zj=function(){var t;if(!this.e){t=null;try{t=nvt(this)}catch(e){if(!iN(e=hst(e),102))throw Fw(e)}this.d=null,t&&1&t.i&&(this.d=t==MDe?(cD(),wee):t==ADe?nft(0):t==NDe?new Ld(0):t==LDe?0:t==IDe?xbt(0):t==DDe?ift(0):t==ODe?Ttt(0):lst(0)),this.e=!0}return this.d},EWt.Ej=function(){return!!(256&this.Bb)},EWt.Ik=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},EWt.xk=function(t){qrt(this,t),this.Ik(t)},EWt.yk=function(t){this.C=t,this.e=!1},EWt.Ib=function(){var t;return 64&this.Db?Sgt(this):((t=new uD(Sgt(this))).a+=" (serializable: ",y_(t,!!(256&this.Bb)),t.a+=")",t.a)},EWt.c=!1,EWt.d=null,EWt.e=!1,bY(h6t,"EDataTypeImpl",566),dOt(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},Mm),EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return Xut(this);case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),this.A;case 8:return cD(),!!(256&this.Bb);case 9:return!this.a&&(this.a=new tK(qOe,this,9,5)),this.a}return G7(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,6,n);case 9:return!this.a&&(this.a=new tK(qOe,this,9,5)),Vgt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),aLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),aLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 6:return _$t(this,null,6,n);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),Rwt(this.A,t,n);case 9:return!this.a&&(this.a=new tK(qOe,this,9,5)),Rwt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),aLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),aLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!nvt(this);case 4:return!!Xut(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!fJ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return A3(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void QJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return!this.A&&(this.A=new LN(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LN(SLe,this,7)),void pY(this.A,$z(e,14));case 8:return void Zht(this,zv(kB(e)));case 9:return!this.a&&(this.a=new tK(qOe,this,9,5)),cUt(this.a),!this.a&&(this.a=new tK(qOe,this,9,5)),void pY(this.a,$z(e,14))}Ldt(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t),e)},EWt.zh=function(){return pWt(),aLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iN(this.Cb,179)&&($z(this.Cb,179).tb=null),void Nrt(this,null);case 2:return Put(this,null),void Dnt(this,this.D);case 5:return void VUt(this,null);case 7:return!this.A&&(this.A=new LN(SLe,this,7)),void cUt(this.A);case 8:return void Zht(this,!0);case 9:return!this.a&&(this.a=new tK(qOe,this,9,5)),void cUt(this.a)}Hht(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t))},EWt.Gh=function(){var t,e;if(this.a)for(t=0,e=this.a.i;t<e;++t)bP(Yet(this.a,t));Sht((ASt(),VLe),this).ne(),this.Bb|=1},EWt.zj=function(){return Xut(this)},EWt.wj=function(t){return null!=t},EWt.Ik=function(t){},bY(h6t,"EEnumImpl",457),dOt(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},vy),EWt.ne=function(){return this.zb},EWt.Qg=function(t){return hxt(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return nft(this.d);case 3:return this.b?this.b:this.a;case 4:return this.c??this.zb;case 5:return this.Db>>16==5?$z(this.Cb,671):null}return G7(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 5:return this.Cb&&(n=(i=this.Db>>16)>=0?hxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,5,n)}return $z(eet($z(mot(this,16),26)||(pWt(),oLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),oLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 5:return _$t(this,null,5,n)}return $z(eet($z(mot(this,16),26)||(pWt(),oLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),oLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!$z(this.Cb,671))}return A3(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Nrt(this,EB(e));case 2:return void Ont(this,$z(e,19).a);case 3:return void pIt(this,$z(e,1940));case 4:return void $it(this,EB(e))}Ldt(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t),e)},EWt.zh=function(){return pWt(),oLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Nrt(this,null);case 2:return void Ont(this,0);case 3:return void pIt(this,null);case 4:return void $it(this,null)}Hht(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t))},EWt.Ib=function(){return this.c??this.zb},EWt.b=null,EWt.c=null,EWt.d=0,bY(h6t,"EEnumLiteralImpl",573);var ILe,OLe,LLe,NLe=hU(h6t,"EFactoryImpl/InternalEDateTimeFormat");dOt(489,1,{2015:1},bw),bY(h6t,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),dOt(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Bw),EWt.Sg=function(t,e,n){var i;return n=_$t(this,t,e,n),this.e&&iN(t,170)&&(i=vNt(this,this.e))!=this.c&&(n=aqt(this,i,n)),n},EWt._g=function(t,e,n){switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new IN(KOe,this,1)),this.d;case 2:return e?hFt(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?Hyt(this):this.a}return G7(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return Jlt(this,null,n);case 1:return!this.d&&(this.d=new IN(KOe,this,1)),Rwt(this.d,t,n);case 3:return Zlt(this,null,n)}return $z(eet($z(mot(this,16),26)||(pWt(),cLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),cLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return A3(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t))},EWt.sh=function(t,e){switch(t){case 0:return void x_t(this,$z(e,87));case 1:return!this.d&&(this.d=new IN(KOe,this,1)),cUt(this.d),!this.d&&(this.d=new IN(KOe,this,1)),void pY(this.d,$z(e,14));case 3:return void v_t(this,$z(e,87));case 4:return void PTt(this,$z(e,836));case 5:return void rnt(this,$z(e,138))}Ldt(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t),e)},EWt.zh=function(){return pWt(),cLe},EWt.Bh=function(t){switch(t){case 0:return void x_t(this,null);case 1:return!this.d&&(this.d=new IN(KOe,this,1)),void cUt(this.d);case 3:return void v_t(this,null);case 4:return void PTt(this,null);case 5:return void rnt(this,null)}Hht(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t))},EWt.Ib=function(){var t;return(t=new lD(CLt(this))).a+=" (expression: ",fHt(this,t),t.a+=")",t.a},bY(h6t,"EGenericTypeImpl",241),dOt(1969,1964,H7t),EWt.Xh=function(t,e){ZB(this,t,e)},EWt.lk=function(t,e){return ZB(this,this.gc(),t),e},EWt.pi=function(t){return Pwt(this.Gi(),t)},EWt.Zh=function(){return this.$h()},EWt.Gi=function(){return new Tw(this)},EWt.$h=function(){return this._h(0)},EWt._h=function(t){return this.Gi().Zc(t)},EWt.mk=function(t,e){return mgt(this,t,!0),e},EWt.ii=function(t,e){var n;return n=txt(this,e),this.Zc(t).Rb(n),n},EWt.ji=function(t,e){mgt(this,e,!0),this.Zc(t).Rb(e)},bY(m7t,"AbstractSequentialInternalEList",1969),dOt(486,1969,H7t,WD),EWt.pi=function(t){return Pwt(this.Gi(),t)},EWt.Zh=function(){return null==this.b?(XT(),XT(),LLe):this.Jk()},EWt.Gi=function(){return new DI(this.a,this.b)},EWt.$h=function(){return null==this.b?(XT(),XT(),LLe):this.Jk()},EWt._h=function(t){var e,n;if(null==this.b){if(t<0||t>1)throw Fw(new Mv(e7t+t+", size=0"));return XT(),XT(),LLe}for(n=this.Jk(),e=0;e<t;++e)Eot(n);return n},EWt.dc=function(){var t,e,n,i,r,a;if(null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(a=this.a.bh(t,!1),QT(),$z(t,66).Oj()){for(i=0,r=(e=$z(a,153)).gc();i<r;++i)if(fY(e.il(i))&&null!=e.jl(i))return!1}else if(t.$j()){if(!$z(a,14).dc())return!1}else if(null!=a)return!1;return!0},EWt.Kc=function(){return krt(this)},EWt.Zc=function(t){var e,n;if(null==this.b){if(0!=t)throw Fw(new Mv(e7t+t+", size=0"));return XT(),XT(),LLe}for(n=this.Lk()?this.Kk():this.Jk(),e=0;e<t;++e)Eot(n);return n},EWt.ii=function(t,e){throw Fw(new py)},EWt.ji=function(t,e){throw Fw(new py)},EWt.Jk=function(){return new XD(this.a,this.b)},EWt.Kk=function(){return new YP(this.a,this.b)},EWt.Lk=function(){return!0},EWt.gc=function(){var t,e,n,i,r,a,o;if(r=0,null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(o=this.a.bh(t,!1),QT(),$z(t,66).Oj())for(i=0,a=(e=$z(o,153)).gc();i<a;++i)fY(e.il(i))&&null!=e.jl(i)&&++r;else t.$j()?r+=$z(o,14).gc():null!=o&&++r;return r},EWt.Mk=function(){return!0},bY(m7t,"EContentsEList",486),dOt(1156,486,H7t,KP),EWt.Jk=function(){return new WP(this.a,this.b)},EWt.Kk=function(){return new XP(this.a,this.b)},EWt.Mk=function(){return!1},bY(h6t,"ENamedElementImpl/1",1156),dOt(279,1,U7t,XD),EWt.Nb=function(t){uK(this,t)},EWt.Rb=function(t){throw Fw(new py)},EWt.Nk=function(t){if(0!=this.g||this.e)throw Fw(new Rv("Iterator already in use or already filtered"));this.e=t},EWt.Ob=function(){var t,e,n,i,r,a;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(this.k&&(this.p?vSt(this,this.p):bIt(this)))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=3,!0;for(;this.d<this.c.length;)if(e=this.c[this.d++],(!this.e||e.Gj()!=OIe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(QT(),$z(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=$z(a,15),this.k=i):(i=$z(a,69),this.k=this.j=i),iN(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?vSt(this,this.p):bIt(this))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=2,!0;return this.k=null,this.p=null,this.f=!1,this.g=1,!1}},EWt.Sb=function(){var t,e,n,i,r,a;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(this.k&&(this.p?xSt(this,this.p):dAt(this)))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=-3,!0;for(;this.d>0;)if(e=this.c[--this.d],(!this.e||e.Gj()!=OIe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(QT(),$z(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=$z(a,15),this.k=i):(i=$z(a,69),this.k=this.j=i),iN(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?xSt(this,this.p):dAt(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=-3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},EWt.Pb=function(){return Eot(this)},EWt.Tb=function(){return this.a},EWt.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw Fw(new yy)},EWt.Vb=function(){return this.a-1},EWt.Qb=function(){throw Fw(new py)},EWt.Lk=function(){return!1},EWt.Wb=function(t){throw Fw(new py)},EWt.Mk=function(){return!0},EWt.a=0,EWt.d=0,EWt.f=!1,EWt.g=0,EWt.n=0,EWt.o=0,bY(m7t,"EContentsEList/FeatureIteratorImpl",279),dOt(697,279,U7t,YP),EWt.Lk=function(){return!0},bY(m7t,"EContentsEList/ResolvingFeatureIteratorImpl",697),dOt(1157,697,U7t,XP),EWt.Mk=function(){return!1},bY(h6t,"ENamedElementImpl/1/1",1157),dOt(1158,279,U7t,WP),EWt.Mk=function(){return!1},bY(h6t,"ENamedElementImpl/1/2",1158),dOt(36,143,t7t,u4,l4,Zq,m7,L9,J5,znt,E0,Hnt,T0,V5,C0,qnt,S0,Q5,A0,Unt,M0,Jq,v7,HV,Gnt,I0,Z5,O0),EWt._i=function(){return c7(this)},EWt.gj=function(){var t;return(t=c7(this))?t.zj():null},EWt.yi=function(t){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},EWt.Ai=function(){return this.c},EWt.hj=function(){var t;return!!(t=c7(this))&&t.Kj()},EWt.b=-1,bY(h6t,"ENotificationImpl",36),dOt(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},Im),EWt.Qg=function(t){return Cxt(this,t)},EWt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cD(),!!(256&this.Bb);case 3:return cD(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cD(),(i=this.t)>1||-1==i;case 7:return cD(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?$z(this.Cb,26):null;case 11:return!this.d&&(this.d=new LN(SLe,this,11)),this.d;case 12:return!this.c&&(this.c=new tK(WOe,this,12,10)),this.c;case 13:return!this.a&&(this.a=new oj(this,this)),this.a;case 14:return F9(this)}return G7(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Cxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,10,n);case 12:return!this.c&&(this.c=new tK(WOe,this,12,10)),Vgt(this.c,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),dLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),dLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 9:return gY(this,n);case 10:return _$t(this,null,10,n);case 11:return!this.d&&(this.d=new LN(SLe,this,11)),Rwt(this.d,t,n);case 12:return!this.c&&(this.c=new tK(WOe,this,12,10)),Rwt(this.c,t,n);case 14:return Rwt(F9(this),t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),dLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),dLe)),t,n)},EWt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return!(this.Db>>16!=10||!$z(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==F9(this.a.a).i||this.b&&jyt(this.b));case 14:return!!this.b&&jyt(this.b)}return A3(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t))},EWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Nrt(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void Nnt(this,$z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 11:return!this.d&&(this.d=new LN(SLe,this,11)),cUt(this.d),!this.d&&(this.d=new LN(SLe,this,11)),void pY(this.d,$z(e,14));case 12:return!this.c&&(this.c=new tK(WOe,this,12,10)),cUt(this.c),!this.c&&(this.c=new tK(WOe,this,12,10)),void pY(this.c,$z(e,14));case 13:return!this.a&&(this.a=new oj(this,this)),wUt(this.a),!this.a&&(this.a=new oj(this,this)),void pY(this.a,$z(e,14));case 14:return cUt(F9(this)),void pY(F9(this),$z(e,14))}Ldt(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t),e)},EWt.zh=function(){return pWt(),dLe},EWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Nrt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void Nnt(this,1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 11:return!this.d&&(this.d=new LN(SLe,this,11)),void cUt(this.d);case 12:return!this.c&&(this.c=new tK(WOe,this,12,10)),void cUt(this.c);case 13:return void(this.a&&wUt(this.a));case 14:return void(this.b&&cUt(this.b))}Hht(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t))},EWt.Gh=function(){var t,e;if(this.c)for(t=0,e=this.c.i;t<e;++t)bP(Yet(this.c,t));Axt(this),this.Bb|=1},bY(h6t,"EOperationImpl",399),dOt(505,742,z7t,oj),EWt.Hi=function(t,e){uB(this,t,$z(e,138))},EWt.Ii=function(t){eL(this,$z(t,138))},EWt.Oi=function(t){return $z(Yet(F9(this.a),t),87).c||(pWt(),uLe)},EWt.Ti=function(t){return $z(lBt(F9(this.a),t),87).c||(pWt(),uLe)},EWt.Ui=function(t,e){return fbt(this,t,$z(e,138))},EWt.ai=function(){return!1},EWt.Zi=function(t,e,n,i,r){return null},EWt.Ji=function(){return new ww(this)},EWt.Ki=function(){cUt(F9(this.a))},EWt.Li=function(t){return sft(this,t)},EWt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!sft(this,e.Pb()))return!1;return!0},EWt.Ni=function(t){var e,n,i;if(iN(t,15)&&(i=$z(t,15)).gc()==F9(this.a).i){for(e=i.Kc(),n=new MN(this);e.Ob();)if(HM(e.Pb())!==HM(vwt(n)))return!1;return!0}return!1},EWt.Pi=function(){var t,e,n;for(e=1,t=new MN(F9(this.a));t.e!=t.i.gc();)e=31*e+((n=$z(vwt(t),87).c||(pWt(),uLe))?Jct(n):0);return e},EWt.Qi=function(t){var e,n,i;for(i=0,n=new MN(F9(this.a));n.e!=n.i.gc();){if(e=$z(vwt(n),87),HM(t)===HM(e.c||(pWt(),uLe)))return i;++i}return-1},EWt.Ri=function(){return 0==F9(this.a).i},EWt.Si=function(){return null},EWt.Vi=function(){return F9(this.a).i},EWt.Wi=function(){var t,e,n,i,r;for(r=F9(this.a).i,i=N8(Ite,zWt,1,r,5,1),n=0,e=new MN(F9(this.a));e.e!=e.i.gc();)t=$z(vwt(e),87),i[n++]=t.c||(pWt(),uLe);return i},EWt.Xi=function(t){var e,n,i;for(i=F9(this.a).i,t.length<i&&(t=Pnt(tut(t).c,i)),t.length>i&&IY(t,i,null),n=0,e=new MN(F9(this.a));e.e!=e.i.gc();)IY(t,n++,$z(vwt(e),87).c||(pWt(),uLe));return t},EWt.Yi=function(){var t,e,n,i;for((i=new Ex).a+="[",t=F9(this.a),e=0,n=F9(this.a).i;e<n;)iI(i,mD($z(Yet(t,e),87).c||(pWt(),uLe))),++e<n&&(i.a+=$Wt);return i.a+="]",i.a},EWt.$i=function(t){},EWt.aj=function(){return 13},EWt.Bk=function(){return!0},EWt.bj=function(){return!1},EWt.Ck=function(){return!1},EWt.Dk=function(){return!1},EWt.Ek=function(){return!0},EWt.rk=function(){return!1},EWt.Fk=function(){return!0},EWt.wj=function(t){return iN(t,138)},EWt.fj=function(){return Y0(this.a)},EWt.hi=function(){return!0},EWt.ni=function(){return!0},bY(h6t,"EOperationImpl/1",505),dOt(1340,1964,LXt,ww),EWt.Zc=function(t){return cit(this.a,t)},EWt.gc=function(){return F9(this.a.a).i},bY(h6t,"EOperationImpl/1/1",1340),dOt(1341,545,B7t,VG),EWt.ii=function(t,e){var n;return n=$z(Aft(this,t,e),87),wO(this.e)&&Oy(this,new v7(this.a,7,(pWt(),gLe),nft(e),n.c||uLe,t)),n},EWt.jj=function(t,e){return Eht(this,$z(t,87),e)},EWt.kj=function(t,e){return Tht(this,$z(t,87),e)},EWt.lj=function(t,e,n){return Ybt(this,$z(t,87),$z(e,87),n)},EWt.Zi=function(t,e,n,i,r){switch(t){case 3:return yJ(this,t,e,n,i,this.i>1);case 5:return yJ(this,t,e,n,i,this.i-$z(n,15).gc()>0);default:return new L9(this.e,t,this.c,e,n,i,!0)}},EWt.ij=function(){return!0},EWt.fj=function(){return jyt(this)},EWt.Xj=function(){cUt(this)},bY(h6t,"EOperationImpl/2",1341),dOt(498,1,{1938:1,498:1},AM),bY(h6t,"EPackageImpl/1",498),dOt(16,85,B7t,tK),EWt.zk=function(){return this.d},EWt.Ak=function(){return this.b},EWt.Dk=function(){return!0},EWt.b=0,bY(m7t,"EObjectContainmentWithInverseEList",16),dOt(353,16,B7t,tR),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentWithInverseEList/Resolving",353),dOt(298,353,B7t,Vq),EWt.ci=function(){this.a.tb=null},bY(h6t,"EPackageImpl/2",298),dOt(1228,1,{},Ic),bY(h6t,"EPackageImpl/3",1228),dOt(718,43,tQt,Lm),EWt._b=function(t){return qM(t)?tQ(this,t):!!MQ(this.f,t)},bY(h6t,"EPackageRegistryImpl",718),dOt(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Om),EWt.Qg=function(t){return Sxt(this,t)},EWt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cD(),!!(256&this.Bb);case 3:return cD(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cD(),(i=this.t)>1||-1==i;case 7:return cD(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?$z(this.Cb,59):null}return G7(this,t-hY((pWt(),bLe)),eet($z(mot(this,16),26)||bLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Sxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,10,n)}return $z(eet($z(mot(this,16),26)||(pWt(),bLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),bLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 9:return gY(this,n);case 10:return _$t(this,null,10,n)}return $z(eet($z(mot(this,16),26)||(pWt(),bLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),bLe)),t,n)},EWt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return!(this.Db>>16!=10||!$z(this.Cb,59))}return A3(this,t-hY((pWt(),bLe)),eet($z(mot(this,16),26)||bLe,t))},EWt.zh=function(){return pWt(),bLe},bY(h6t,"EParameterImpl",509),dOt(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},pB),EWt._g=function(t,e,n){var i,r;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cD(),!!(256&this.Bb);case 3:return cD(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cD(),(r=this.t)>1||-1==r;case 7:return cD(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return cD(),!!(this.Bb&v6t);case 11:return cD(),!!(this.Bb&E7t);case 12:return cD(),!!(this.Bb&RVt);case 13:return this.j;case 14:return HNt(this);case 15:return cD(),!!(this.Bb&_7t);case 16:return cD(),!!(this.Bb&uXt);case 17:return dJ(this);case 18:return cD(),!!(this.Bb&u6t);case 19:return cD(),!!((i=Syt(this))&&i.Bb&u6t);case 20:return cD(),!!(this.Bb&FVt);case 21:return e?Syt(this):this.b;case 22:return e?Act(this):B5(this);case 23:return!this.a&&(this.a=new PN(ROe,this,23)),this.a}return G7(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t),e,n)},EWt.lh=function(t){var e,n;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(n=this.t)>1||-1==n;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return!(this.Bb&v6t);case 11:return!!(this.Bb&E7t);case 12:return!!(this.Bb&RVt);case 13:return null!=this.j;case 14:return null!=HNt(this);case 15:return!!(this.Bb&_7t);case 16:return!!(this.Bb&uXt);case 17:return!!dJ(this);case 18:return!!(this.Bb&u6t);case 19:return!!(e=Syt(this))&&!!(e.Bb&u6t);case 20:return!(this.Bb&FVt);case 21:return!!this.b;case 22:return!!B5(this);case 23:return!!this.a&&0!=this.a.i}return A3(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t))},EWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void VJ(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void Nnt(this,$z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 10:return void Ift(this,zv(kB(e)));case 11:return void Nft(this,zv(kB(e)));case 12:return void Oft(this,zv(kB(e)));case 13:return void jM(this,EB(e));case 15:return void Lft(this,zv(kB(e)));case 16:return void Hft(this,zv(kB(e)));case 18:return void XJ(this,zv(kB(e)));case 20:return void qft(this,zv(kB(e)));case 21:return void irt(this,$z(e,18));case 23:return!this.a&&(this.a=new PN(ROe,this,23)),cUt(this.a),!this.a&&(this.a=new PN(ROe,this,23)),void pY(this.a,$z(e,14))}Ldt(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t),e)},EWt.zh=function(){return pWt(),wLe},EWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iN(this.Cb,88)&&IAt(T5($z(this.Cb,88)),4),void Nrt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void Nnt(this,1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 10:return void Ift(this,!0);case 11:return void Nft(this,!1);case 12:return void Oft(this,!1);case 13:return this.i=null,void art(this,null);case 15:return void Lft(this,!1);case 16:return void Hft(this,!1);case 18:return Gft(this,!1),void(iN(this.Cb,88)&&IAt(T5($z(this.Cb,88)),2));case 20:return void qft(this,!0);case 21:return void irt(this,null);case 23:return!this.a&&(this.a=new PN(ROe,this,23)),void cUt(this.a)}Hht(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t))},EWt.Gh=function(){Act(this),mX($9((ASt(),VLe),this)),Axt(this),this.Bb|=1},EWt.Lj=function(){return Syt(this)},EWt.qk=function(){var t;return!!(t=Syt(this))&&!!(t.Bb&u6t)},EWt.rk=function(){return!!(this.Bb&u6t)},EWt.sk=function(){return!!(this.Bb&FVt)},EWt.nk=function(t,e){return this.c=null,Cht(this,t,e)},EWt.Ib=function(){var t;return 64&this.Db?kjt(this):((t=new uD(kjt(this))).a+=" (containment: ",y_(t,!!(this.Bb&u6t)),t.a+=", resolveProxies: ",y_(t,!!(this.Bb&FVt)),t.a+=")",t.a)},bY(h6t,"EReferenceImpl",99),dOt(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},Oc),EWt.Fb=function(t){return this===t},EWt.cd=function(){return this.b},EWt.dd=function(){return this.c},EWt.Hb=function(){return TD(this)},EWt.Uh=function(t){bU(this,EB(t))},EWt.ed=function(t){return IH(this,EB(t))},EWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return G7(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return null!=this.b;case 1:return null!=this.c}return A3(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t))},EWt.sh=function(t,e){switch(t){case 0:return void wU(this,EB(e));case 1:return void jit(this,EB(e))}Ldt(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t),e)},EWt.zh=function(){return pWt(),yLe},EWt.Bh=function(t){switch(t){case 0:return void Bit(this,null);case 1:return void jit(this,null)}Hht(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t))},EWt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=null==t?0:wyt(t)),this.a},EWt.Th=function(t){this.a=t},EWt.Ib=function(){var t;return 64&this.Db?CLt(this):((t=new uD(CLt(this))).a+=" (key: ",iI(t,this.b),t.a+=", value: ",iI(t,this.c),t.a+=")",t.a)},EWt.a=-1,EWt.b=null,EWt.c=null;var DLe,PLe,BLe,jLe,RLe,$Le,FLe,zLe,HLe,ULe,GLe=bY(h6t,"EStringToStringMapEntryImpl",548),qLe=hU(m7t,"FeatureMap/Entry/Internal");dOt(565,1,G7t),EWt.Ok=function(t){return this.Pk($z(t,49))},EWt.Pk=function(t){return this.Ok(t)},EWt.Fb=function(t){var e,n;return this===t||!!iN(t,72)&&(e=$z(t,72)).ak()==this.c&&(null==(n=this.dd())?null==e.dd():Nht(n,e.dd()))},EWt.ak=function(){return this.c},EWt.Hb=function(){var t;return t=this.dd(),Jct(this.c)^(null==t?0:Jct(t))},EWt.Ib=function(){var t,e;return e=qet((t=this.c).Hj()).Ph(),t.ne(),(null!=e&&0!=e.length?e+":"+t.ne():t.ne())+"="+this.dd()},bY(h6t,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),dOt(776,565,G7t,nj),EWt.Pk=function(t){return new nj(this.c,t)},EWt.dd=function(){return this.a},EWt.Qk=function(t,e,n){return Tat(this,t,this.a,e,n)},EWt.Rk=function(t,e,n){return Cat(this,t,this.a,e,n)},bY(h6t,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),dOt(1314,1,{},MM),EWt.Pj=function(t,e,n,i,r){return $z(E7(t,this.b),215).nl(this.a).Wj(i)},EWt.Qj=function(t,e,n,i,r){return $z(E7(t,this.b),215).el(this.a,i,r)},EWt.Rj=function(t,e,n,i,r){return $z(E7(t,this.b),215).fl(this.a,i,r)},EWt.Sj=function(t,e,n){return $z(E7(t,this.b),215).nl(this.a).fj()},EWt.Tj=function(t,e,n,i){$z(E7(t,this.b),215).nl(this.a).Wb(i)},EWt.Uj=function(t,e,n){return $z(E7(t,this.b),215).nl(this.a)},EWt.Vj=function(t,e,n){$z(E7(t,this.b),215).nl(this.a).Xj()},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),dOt(89,1,{},Tz,lV,PQ,f4),EWt.Pj=function(t,e,n,i,r){var a;if(null==(a=e.Ch(n))&&e.Dh(n,a=nWt(this,t)),!r)switch(this.e){case 50:case 41:return $z(a,589).sj();case 40:return $z(a,215).kl()}return a},EWt.Qj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))&&e.Dh(n,a=nWt(this,t)),$z(a,69).lk(i,r)},EWt.Rj=function(t,e,n,i,r){var a;return null!=(a=e.Ch(n))&&(r=$z(a,69).mk(i,r)),r},EWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&$z(i,76).fj()},EWt.Tj=function(t,e,n,i){var r;!(r=$z(e.Ch(n),76))&&e.Dh(n,r=nWt(this,t)),r.Wb(i)},EWt.Uj=function(t,e,n){var i;return null==(i=e.Ch(n))&&e.Dh(n,i=nWt(this,t)),iN(i,76)?$z(i,76):new xw($z(e.Ch(n),15))},EWt.Vj=function(t,e,n){var i;!(i=$z(e.Ch(n),76))&&e.Dh(n,i=nWt(this,t)),i.Xj()},EWt.b=0,EWt.e=0,bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),dOt(504,1,{}),EWt.Qj=function(t,e,n,i,r){throw Fw(new py)},EWt.Rj=function(t,e,n,i,r){throw Fw(new py)},EWt.Uj=function(t,e,n){return new hV(this,t,e,n)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),dOt(1331,1,v7t,hV),EWt.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},EWt.fj=function(){return this.a.Sj(this.c,this.d,this.b)},EWt.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},EWt.Xj=function(){this.a.Vj(this.c,this.d,this.b)},EWt.b=0,bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),dOt(769,504,{},wZ),EWt.Pj=function(t,e,n,i,r){return pRt(t,t.eh(),t.Vg())==this.b?this.sk()&&i?rOt(t):t.eh():null},EWt.Qj=function(t,e,n,i,r){var a,o;return t.eh()&&(r=(a=t.Vg())>=0?t.Qg(r):t.eh().ih(t,-1-a,null,r)),o=Igt(t.Tg(),this.e),t.Sg(i,o,r)},EWt.Rj=function(t,e,n,i,r){var a;return a=Igt(t.Tg(),this.e),t.Sg(null,a,r)},EWt.Sj=function(t,e,n){var i;return i=Igt(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},EWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!TFt(this.a,i))throw Fw(new Bv(q7t+(iN(i,56)?g_t($z(i,56).Tg()):aet(tut(i)))+K7t+this.a+"'"));if(r=t.eh(),o=Igt(t.Tg(),this.e),HM(i)!==HM(r)||t.Vg()!=o&&null!=i){if(wxt(t,$z(i,56)))throw Fw(new jv(d6t+t.Ib()));c=null,r&&(c=(a=t.Vg())>=0?t.Qg(c):t.eh().ih(t,-1-a,null,c)),(s=$z(i,49))&&(c=s.gh(t,Igt(s.Tg(),this.b),null,c)),(c=t.Sg(s,o,c))&&c.Fi()}else t.Lg()&&t.Mg()&&fot(t,new Zq(t,1,o,i,i))},EWt.Vj=function(t,e,n){var i,r,a;t.eh()?(a=(i=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-i,null,null),r=Igt(t.Tg(),this.e),(a=t.Sg(null,r,a))&&a.Fi()):t.Lg()&&t.Mg()&&fot(t,new Jq(t,1,this.e,null,null))},EWt.sk=function(){return!1},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),dOt(1315,769,{},Cz),EWt.sk=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),dOt(563,504,{}),EWt.Pj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))?this.b:HM(a)===HM(DLe)?null:a},EWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&(HM(i)===HM(DLe)||!Nht(i,this.b))},EWt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=null==(a=e.Ch(n))?this.b:HM(a)===HM(DLe)?null:a,null==i?null!=this.c?(e.Dh(n,null),i=this.b):null!=this.b?e.Dh(n,DLe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i)),fot(t,this.d.Tk(t,1,this.e,r,i))):null==i?null!=this.c?e.Dh(n,null):null!=this.b?e.Dh(n,DLe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i))},EWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=null==(r=e.Ch(n))?this.b:HM(r)===HM(DLe)?null:r,e.Eh(n),fot(t,this.d.Tk(t,1,this.e,i,this.b))):e.Eh(n)},EWt.Sk=function(t){throw Fw(new hy)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),dOt(Y7t,1,{},Lc),EWt.Tk=function(t,e,n,i,r){return new Jq(t,e,n,i,r)},EWt.Uk=function(t,e,n,i,r,a){return new HV(t,e,n,i,r,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",Y7t),dOt(1332,Y7t,{},Nc),EWt.Tk=function(t,e,n,i,r){return new Z5(t,e,n,zv(kB(i)),zv(kB(r)))},EWt.Uk=function(t,e,n,i,r,a){return new O0(t,e,n,zv(kB(i)),zv(kB(r)),a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),dOt(1333,Y7t,{},Dc),EWt.Tk=function(t,e,n,i,r){return new znt(t,e,n,$z(i,217).a,$z(r,217).a)},EWt.Uk=function(t,e,n,i,r,a){return new E0(t,e,n,$z(i,217).a,$z(r,217).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),dOt(1334,Y7t,{},Pc),EWt.Tk=function(t,e,n,i,r){return new Hnt(t,e,n,$z(i,172).a,$z(r,172).a)},EWt.Uk=function(t,e,n,i,r,a){return new T0(t,e,n,$z(i,172).a,$z(r,172).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),dOt(1335,Y7t,{},Bc),EWt.Tk=function(t,e,n,i,r){return new V5(t,e,n,Hv(_B(i)),Hv(_B(r)))},EWt.Uk=function(t,e,n,i,r,a){return new C0(t,e,n,Hv(_B(i)),Hv(_B(r)),a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),dOt(1336,Y7t,{},jc),EWt.Tk=function(t,e,n,i,r){return new qnt(t,e,n,$z(i,155).a,$z(r,155).a)},EWt.Uk=function(t,e,n,i,r,a){return new S0(t,e,n,$z(i,155).a,$z(r,155).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),dOt(1337,Y7t,{},Rc),EWt.Tk=function(t,e,n,i,r){return new Q5(t,e,n,$z(i,19).a,$z(r,19).a)},EWt.Uk=function(t,e,n,i,r,a){return new A0(t,e,n,$z(i,19).a,$z(r,19).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),dOt(1338,Y7t,{},$c),EWt.Tk=function(t,e,n,i,r){return new Unt(t,e,n,$z(i,162).a,$z(r,162).a)},EWt.Uk=function(t,e,n,i,r,a){return new M0(t,e,n,$z(i,162).a,$z(r,162).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),dOt(1339,Y7t,{},Fc),EWt.Tk=function(t,e,n,i,r){return new Gnt(t,e,n,$z(i,184).a,$z(r,184).a)},EWt.Uk=function(t,e,n,i,r,a){return new I0(t,e,n,$z(i,184).a,$z(r,184).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),dOt(1317,563,{},fV),EWt.Sk=function(t){if(!this.a.wj(t))throw Fw(new Bv(q7t+tut(t)+K7t+this.a+"'"))},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),dOt(1318,563,{},QG),EWt.Sk=function(t){},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),dOt(770,563,{}),EWt.Sj=function(t,e,n){return null!=e.Ch(n)},EWt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=!0,null==(a=e.Ch(n))?(r=!1,a=this.b):HM(a)===HM(DLe)&&(a=null),null==i?null!=this.c?(e.Dh(n,null),i=this.b):e.Dh(n,DLe):(this.Sk(i),e.Dh(n,i)),fot(t,this.d.Uk(t,1,this.e,a,i,!r))):null==i?null!=this.c?e.Dh(n,null):e.Dh(n,DLe):(this.Sk(i),e.Dh(n,i))},EWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=!0,null==(r=e.Ch(n))?(i=!1,r=this.b):HM(r)===HM(DLe)&&(r=null),e.Eh(n),fot(t,this.d.Uk(t,2,this.e,r,this.b,i))):e.Eh(n)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),dOt(1319,770,{},dV),EWt.Sk=function(t){if(!this.a.wj(t))throw Fw(new Bv(q7t+tut(t)+K7t+this.a+"'"))},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),dOt(1320,770,{},ZG),EWt.Sk=function(t){},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),dOt(398,504,{},iG),EWt.Pj=function(t,e,n,i,r){var a,o,s,c,u;if(u=e.Ch(n),this.Kj()&&HM(u)===HM(DLe))return null;if(this.sk()&&i&&null!=u){if((s=$z(u,49)).kh()&&s!=(c=tht(t,s))){if(!TFt(this.a,c))throw Fw(new Bv(q7t+tut(c)+K7t+this.a+"'"));e.Dh(n,u=c),this.rk()&&(a=$z(c,49),o=s.ih(t,this.b?Igt(s.Tg(),this.b):-1-Igt(t.Tg(),this.e),null,null),!a.eh()&&(o=a.gh(t,this.b?Igt(a.Tg(),this.b):-1-Igt(t.Tg(),this.e),null,o)),o&&o.Fi()),t.Lg()&&t.Mg()&&fot(t,new Jq(t,9,this.e,s,c))}return u}return u},EWt.Qj=function(t,e,n,i,r){var a,o;return HM(o=e.Ch(n))===HM(DLe)&&(o=null),e.Dh(n,i),this.bj()?HM(o)!==HM(i)&&null!=o&&(r=(a=$z(o,49)).ih(t,Igt(a.Tg(),this.b),null,r)):this.rk()&&null!=o&&(r=$z(o,49).ih(t,-1-Igt(t.Tg(),this.e),null,r)),t.Lg()&&t.Mg()&&(!r&&(r=new Rk(4)),r.Ei(new Jq(t,1,this.e,o,i))),r},EWt.Rj=function(t,e,n,i,r){var a;return HM(a=e.Ch(n))===HM(DLe)&&(a=null),e.Eh(n),t.Lg()&&t.Mg()&&(!r&&(r=new Rk(4)),this.Kj()?r.Ei(new Jq(t,2,this.e,a,null)):r.Ei(new Jq(t,1,this.e,a,null))),r},EWt.Sj=function(t,e,n){return null!=e.Ch(n)},EWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!TFt(this.a,i))throw Fw(new Bv(q7t+(iN(i,56)?g_t($z(i,56).Tg()):aet(tut(i)))+K7t+this.a+"'"));s=null!=(c=e.Ch(n)),this.Kj()&&HM(c)===HM(DLe)&&(c=null),o=null,this.bj()?HM(c)!==HM(i)&&(null!=c&&(o=(r=$z(c,49)).ih(t,Igt(r.Tg(),this.b),null,o)),null!=i&&(o=(r=$z(i,49)).gh(t,Igt(r.Tg(),this.b),null,o))):this.rk()&&HM(c)!==HM(i)&&(null!=c&&(o=$z(c,49).ih(t,-1-Igt(t.Tg(),this.e),null,o)),null!=i&&(o=$z(i,49).gh(t,-1-Igt(t.Tg(),this.e),null,o))),null==i&&this.Kj()?e.Dh(n,DLe):e.Dh(n,i),t.Lg()&&t.Mg()?(a=new HV(t,1,this.e,c,i,this.Kj()&&!s),o?(o.Ei(a),o.Fi()):fot(t,a)):o&&o.Fi()},EWt.Vj=function(t,e,n){var i,r,a,o,s;o=null!=(s=e.Ch(n)),this.Kj()&&HM(s)===HM(DLe)&&(s=null),a=null,null!=s&&(this.bj()?a=(i=$z(s,49)).ih(t,Igt(i.Tg(),this.b),null,a):this.rk()&&(a=$z(s,49).ih(t,-1-Igt(t.Tg(),this.e),null,a))),e.Eh(n),t.Lg()&&t.Mg()?(r=new HV(t,this.Kj()?2:1,this.e,s,null,o),a?(a.Ei(r),a.Fi()):fot(t,r)):a&&a.Fi()},EWt.bj=function(){return!1},EWt.rk=function(){return!1},EWt.sk=function(){return!1},EWt.Kj=function(){return!1},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),dOt(564,398,{},QP),EWt.rk=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),dOt(1323,564,{},ZP),EWt.sk=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),dOt(772,564,{},JP),EWt.Kj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),dOt(1325,772,{},tB),EWt.sk=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),dOt(640,564,{},Sz),EWt.bj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),dOt(1324,640,{},Iz),EWt.sk=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),dOt(773,640,{},Oz),EWt.Kj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),dOt(1326,773,{},Lz),EWt.sk=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),dOt(641,398,{},eB),EWt.sk=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),dOt(1327,641,{},nB),EWt.Kj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),dOt(774,641,{},Az),EWt.bj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),dOt(1328,774,{},Nz),EWt.Kj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),dOt(1321,398,{},iB),EWt.Kj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),dOt(771,398,{},Mz),EWt.bj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),dOt(1322,771,{},Dz),EWt.Kj=function(){return!0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),dOt(775,565,G7t,rW),EWt.Pk=function(t){return new rW(this.a,this.c,t)},EWt.dd=function(){return this.b},EWt.Qk=function(t,e,n){return D8(this,t,this.b,n)},EWt.Rk=function(t,e,n){return P8(this,t,this.b,n)},bY(h6t,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),dOt(1329,1,v7t,xw),EWt.Wj=function(t){return this.a},EWt.fj=function(){return iN(this.a,95)?$z(this.a,95).fj():!this.a.dc()},EWt.Wb=function(t){this.a.$b(),this.a.Gc($z(t,15))},EWt.Xj=function(){iN(this.a,95)?$z(this.a,95).Xj():this.a.$b()},bY(h6t,"EStructuralFeatureImpl/SettingMany",1329),dOt(1330,565,G7t,g4),EWt.Ok=function(t){return new ij((qUt(),jNe),this.b.Ih(this.a,t))},EWt.dd=function(){return null},EWt.Qk=function(t,e,n){return n},EWt.Rk=function(t,e,n){return n},bY(h6t,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),dOt(642,565,G7t,ij),EWt.Ok=function(t){return new ij(this.c,t)},EWt.dd=function(){return this.a},EWt.Qk=function(t,e,n){return n},EWt.Rk=function(t,e,n){return n},bY(h6t,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),dOt(391,497,u8t,zc),EWt.ri=function(t){return N8(FOe,zWt,26,t,0,1)},EWt.ni=function(){return!1},bY(h6t,"ESuperAdapter/1",391),dOt(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},Hc),EWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new rG(this,KOe,this)),this.a}return G7(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Rwt(this.Ab,t,n);case 2:return!this.a&&(this.a=new rG(this,KOe,this)),Rwt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),xLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),xLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return A3(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t))},EWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Nrt(this,EB(e));case 2:return!this.a&&(this.a=new rG(this,KOe,this)),cUt(this.a),!this.a&&(this.a=new rG(this,KOe,this)),void pY(this.a,$z(e,14))}Ldt(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t),e)},EWt.zh=function(){return pWt(),xLe},EWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Nrt(this,null);case 2:return!this.a&&(this.a=new rG(this,KOe,this)),void cUt(this.a)}Hht(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t))},bY(h6t,"ETypeParameterImpl",444),dOt(445,85,B7t,rG),EWt.cj=function(t,e){return LEt(this,$z(t,87),e)},EWt.dj=function(t,e){return NEt(this,$z(t,87),e)},bY(h6t,"ETypeParameterImpl/1",445),dOt(634,43,tQt,Nm),EWt.ec=function(){return new kw(this)},bY(h6t,"ETypeParameterImpl/2",634),dOt(556,JWt,tXt,kw),EWt.Fc=function(t){return Xj(this,$z(t,87))},EWt.Gc=function(t){var e,n,i;for(i=!1,n=t.Kc();n.Ob();)e=$z(n.Pb(),87),null==YW(this.a,e,"")&&(i=!0);return i},EWt.$b=function(){IK(this.a)},EWt.Hc=function(t){return cK(this.a,t)},EWt.Kc=function(){return new _w(new out(new Td(this.a).a))},EWt.Mc=function(t){return j6(this,t)},EWt.gc=function(){return LE(this.a)},bY(h6t,"ETypeParameterImpl/2/1",556),dOt(557,1,XWt,_w),EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return $z(tnt(this.a).cd(),87)},EWt.Ob=function(){return this.a.b},EWt.Qb=function(){o7(this.a)},bY(h6t,"ETypeParameterImpl/2/1/1",557),dOt(1276,43,tQt,Dm),EWt._b=function(t){return qM(t)?tQ(this,t):!!MQ(this.f,t)},EWt.xc=function(t){var e;return iN(e=qM(t)?EZ(this,t):zM(MQ(this.f,t)),837)?(e=$z(e,837)._j(),YW(this,$z(t,235),e),e):e??(null==t?(VT(),eNe):null)},bY(h6t,"EValidatorRegistryImpl",1276),dOt(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},Uc),EWt.Ih=function(t,e){switch(t.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==e?null:Fdt(e);case 25:return Ket(e);case 27:return q7(e);case 28:return K7(e);case 29:return null==e?null:FL(SIe[0],$z(e,199));case 41:return null==e?"":Zk($z(e,290));case 42:return Fdt(e);case 50:return EB(e);default:throw Fw(new jv(g6t+t.ne()+p6t))}},EWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=qet(t))?oyt(e.Mh(),t):-1),t.G){case 0:return new Am;case 1:return new kc;case 2:return new Bh;case 4:return new xy;case 5:return new Mm;case 6:return new vy;case 7:return new Dh;case 10:return new vc;case 11:return new Im;case 12:return new bQ;case 13:return new Om;case 14:return new pB;case 17:return new Oc;case 18:return new Bw;case 19:return new Hc;default:throw Fw(new jv(y6t+t.zb+p6t))}},EWt.Kh=function(t,e){switch(t.yj()){case 20:return null==e?null:new f_(e);case 21:return null==e?null:new IO(e);case 23:case 22:return null==e?null:Zpt(e);case 26:case 24:return null==e?null:Ttt(h$t(e,-128,127)<<24>>24);case 25:return gLt(e);case 27:return Tvt(e);case 28:return Cvt(e);case 29:return pTt(e);case 32:case 31:return null==e?null:fCt(e);case 38:case 37:return null==e?null:new Dy(e);case 40:case 39:return null==e?null:nft(h$t(e,RXt,PWt));case 41:case 42:return null;case 44:case 43:return null==e?null:xbt(iKt(e));case 49:case 48:return null==e?null:ift(h$t(e,X7t,32767)<<16>>16);case 50:return e;default:throw Fw(new jv(g6t+t.ne()+p6t))}},bY(h6t,"EcoreFactoryImpl",1313),dOt(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},GW),EWt.gb=!1,EWt.hb=!1;var KLe,YLe=!1;bY(h6t,"EcorePackageImpl",547),dOt(1184,1,{837:1},Gc),EWt._j=function(){return sD(),nNe},bY(h6t,"EcorePackageImpl/1",1184),dOt(1193,1,c9t,qc),EWt.wj=function(t){return iN(t,147)},EWt.xj=function(t){return N8(RIe,zWt,147,t,0,1)},bY(h6t,"EcorePackageImpl/10",1193),dOt(1194,1,c9t,Kc),EWt.wj=function(t){return iN(t,191)},EWt.xj=function(t){return N8(FIe,zWt,191,t,0,1)},bY(h6t,"EcorePackageImpl/11",1194),dOt(1195,1,c9t,Yc),EWt.wj=function(t){return iN(t,56)},EWt.xj=function(t){return N8(IIe,zWt,56,t,0,1)},bY(h6t,"EcorePackageImpl/12",1195),dOt(1196,1,c9t,Wc),EWt.wj=function(t){return iN(t,399)},EWt.xj=function(t){return N8(YOe,D7t,59,t,0,1)},bY(h6t,"EcorePackageImpl/13",1196),dOt(1197,1,c9t,Xc),EWt.wj=function(t){return iN(t,235)},EWt.xj=function(t){return N8(zIe,zWt,235,t,0,1)},bY(h6t,"EcorePackageImpl/14",1197),dOt(1198,1,c9t,Vc),EWt.wj=function(t){return iN(t,509)},EWt.xj=function(t){return N8(WOe,zWt,2017,t,0,1)},bY(h6t,"EcorePackageImpl/15",1198),dOt(1199,1,c9t,Qc),EWt.wj=function(t){return iN(t,99)},EWt.xj=function(t){return N8(XOe,N7t,18,t,0,1)},bY(h6t,"EcorePackageImpl/16",1199),dOt(1200,1,c9t,Zc),EWt.wj=function(t){return iN(t,170)},EWt.xj=function(t){return N8(jOe,N7t,170,t,0,1)},bY(h6t,"EcorePackageImpl/17",1200),dOt(1201,1,c9t,Jc),EWt.wj=function(t){return iN(t,472)},EWt.xj=function(t){return N8(BOe,zWt,472,t,0,1)},bY(h6t,"EcorePackageImpl/18",1201),dOt(1202,1,c9t,tu),EWt.wj=function(t){return iN(t,548)},EWt.xj=function(t){return N8(GLe,a7t,548,t,0,1)},bY(h6t,"EcorePackageImpl/19",1202),dOt(1185,1,c9t,eu),EWt.wj=function(t){return iN(t,322)},EWt.xj=function(t){return N8(ROe,N7t,34,t,0,1)},bY(h6t,"EcorePackageImpl/2",1185),dOt(1203,1,c9t,nu),EWt.wj=function(t){return iN(t,241)},EWt.xj=function(t){return N8(KOe,F7t,87,t,0,1)},bY(h6t,"EcorePackageImpl/20",1203),dOt(1204,1,c9t,iu),EWt.wj=function(t){return iN(t,444)},EWt.xj=function(t){return N8(SLe,zWt,836,t,0,1)},bY(h6t,"EcorePackageImpl/21",1204),dOt(1205,1,c9t,ru),EWt.wj=function(t){return UM(t)},EWt.xj=function(t){return N8(vee,cXt,476,t,8,1)},bY(h6t,"EcorePackageImpl/22",1205),dOt(1206,1,c9t,au),EWt.wj=function(t){return iN(t,190)},EWt.xj=function(t){return N8(ODe,cXt,190,t,0,2)},bY(h6t,"EcorePackageImpl/23",1206),dOt(1207,1,c9t,ou),EWt.wj=function(t){return iN(t,217)},EWt.xj=function(t){return N8(kee,cXt,217,t,0,1)},bY(h6t,"EcorePackageImpl/24",1207),dOt(1208,1,c9t,su),EWt.wj=function(t){return iN(t,172)},EWt.xj=function(t){return N8(Tee,cXt,172,t,0,1)},bY(h6t,"EcorePackageImpl/25",1208),dOt(1209,1,c9t,cu),EWt.wj=function(t){return iN(t,199)},EWt.xj=function(t){return N8(bee,cXt,199,t,0,1)},bY(h6t,"EcorePackageImpl/26",1209),dOt(1210,1,c9t,uu),EWt.wj=function(t){return!1},EWt.xj=function(t){return N8(BDe,zWt,2110,t,0,1)},bY(h6t,"EcorePackageImpl/27",1210),dOt(1211,1,c9t,lu),EWt.wj=function(t){return GM(t)},EWt.xj=function(t){return N8(Cee,cXt,333,t,7,1)},bY(h6t,"EcorePackageImpl/28",1211),dOt(1212,1,c9t,hu),EWt.wj=function(t){return iN(t,58)},EWt.xj=function(t){return N8(rOe,JZt,58,t,0,1)},bY(h6t,"EcorePackageImpl/29",1212),dOt(1186,1,c9t,fu),EWt.wj=function(t){return iN(t,510)},EWt.xj=function(t){return N8(POe,{3:1,4:1,5:1,1934:1},590,t,0,1)},bY(h6t,"EcorePackageImpl/3",1186),dOt(1213,1,c9t,du),EWt.wj=function(t){return iN(t,573)},EWt.xj=function(t){return N8(wOe,zWt,1940,t,0,1)},bY(h6t,"EcorePackageImpl/30",1213),dOt(1214,1,c9t,gu),EWt.wj=function(t){return iN(t,153)},EWt.xj=function(t){return N8(aNe,JZt,153,t,0,1)},bY(h6t,"EcorePackageImpl/31",1214),dOt(1215,1,c9t,pu),EWt.wj=function(t){return iN(t,72)},EWt.xj=function(t){return N8(MLe,u9t,72,t,0,1)},bY(h6t,"EcorePackageImpl/32",1215),dOt(1216,1,c9t,bu),EWt.wj=function(t){return iN(t,155)},EWt.xj=function(t){return N8(See,cXt,155,t,0,1)},bY(h6t,"EcorePackageImpl/33",1216),dOt(1217,1,c9t,wu),EWt.wj=function(t){return iN(t,19)},EWt.xj=function(t){return N8(Iee,cXt,19,t,0,1)},bY(h6t,"EcorePackageImpl/34",1217),dOt(1218,1,c9t,yu),EWt.wj=function(t){return iN(t,290)},EWt.xj=function(t){return N8(Ote,zWt,290,t,0,1)},bY(h6t,"EcorePackageImpl/35",1218),dOt(1219,1,c9t,mu),EWt.wj=function(t){return iN(t,162)},EWt.xj=function(t){return N8(Bee,cXt,162,t,0,1)},bY(h6t,"EcorePackageImpl/36",1219),dOt(1220,1,c9t,vu),EWt.wj=function(t){return iN(t,83)},EWt.xj=function(t){return N8(Nte,zWt,83,t,0,1)},bY(h6t,"EcorePackageImpl/37",1220),dOt(1221,1,c9t,xu),EWt.wj=function(t){return iN(t,591)},EWt.xj=function(t){return N8(tNe,zWt,591,t,0,1)},bY(h6t,"EcorePackageImpl/38",1221),dOt(1222,1,c9t,ku),EWt.wj=function(t){return!1},EWt.xj=function(t){return N8(jDe,zWt,2111,t,0,1)},bY(h6t,"EcorePackageImpl/39",1222),dOt(1187,1,c9t,_u),EWt.wj=function(t){return iN(t,88)},EWt.xj=function(t){return N8(FOe,zWt,26,t,0,1)},bY(h6t,"EcorePackageImpl/4",1187),dOt(1223,1,c9t,Eu),EWt.wj=function(t){return iN(t,184)},EWt.xj=function(t){return N8(Ree,cXt,184,t,0,1)},bY(h6t,"EcorePackageImpl/40",1223),dOt(1224,1,c9t,Tu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(h6t,"EcorePackageImpl/41",1224),dOt(1225,1,c9t,Cu),EWt.wj=function(t){return iN(t,588)},EWt.xj=function(t){return N8(oOe,zWt,588,t,0,1)},bY(h6t,"EcorePackageImpl/42",1225),dOt(1226,1,c9t,Su),EWt.wj=function(t){return!1},EWt.xj=function(t){return N8(RDe,cXt,2112,t,0,1)},bY(h6t,"EcorePackageImpl/43",1226),dOt(1227,1,c9t,Au),EWt.wj=function(t){return iN(t,42)},EWt.xj=function(t){return N8(zte,vXt,42,t,0,1)},bY(h6t,"EcorePackageImpl/44",1227),dOt(1188,1,c9t,Mu),EWt.wj=function(t){return iN(t,138)},EWt.xj=function(t){return N8($Oe,zWt,138,t,0,1)},bY(h6t,"EcorePackageImpl/5",1188),dOt(1189,1,c9t,Iu),EWt.wj=function(t){return iN(t,148)},EWt.xj=function(t){return N8(zOe,zWt,148,t,0,1)},bY(h6t,"EcorePackageImpl/6",1189),dOt(1190,1,c9t,Ou),EWt.wj=function(t){return iN(t,457)},EWt.xj=function(t){return N8(GOe,zWt,671,t,0,1)},bY(h6t,"EcorePackageImpl/7",1190),dOt(1191,1,c9t,Lu),EWt.wj=function(t){return iN(t,573)},EWt.xj=function(t){return N8(qOe,zWt,678,t,0,1)},bY(h6t,"EcorePackageImpl/8",1191),dOt(1192,1,c9t,Nu),EWt.wj=function(t){return iN(t,471)},EWt.xj=function(t){return N8($Ie,zWt,471,t,0,1)},bY(h6t,"EcorePackageImpl/9",1192),dOt(1025,1982,i7t,Nv),EWt.bi=function(t,e){Iht(this,$z(e,415))},EWt.fi=function(t,e){eAt(this,t,$z(e,415))},bY(h6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),dOt(1026,143,t7t,aW),EWt.Ai=function(){return this.a.a},bY(h6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),dOt(1053,1052,{},oL),bY("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var WLe,XLe,VLe,QLe,ZLe,JLe,tNe=hU(l9t,"Resource");dOt(781,1378,h9t),EWt.Yk=function(t){},EWt.Zk=function(t){},EWt.Vk=function(){return!this.a&&(this.a=new Ew(this)),this.a},EWt.Wk=function(t){var e,n,i,r,a;if((i=t.length)>0){if(h1(0,t.length),47==t.charCodeAt(0)){for(a=new V6(4),r=1,e=1;e<i;++e)h1(e,t.length),47==t.charCodeAt(e)&&(Kz(a,r==e?"":t.substr(r,e-r)),r=e+1);return Kz(a,t.substr(r)),skt(this,a)}h1(i-1,t.length),63==t.charCodeAt(i-1)&&(n=_R(t,VEt(63),i-2))>0&&(t=t.substr(0,n))}return xMt(this,t)},EWt.Xk=function(){return this.c},EWt.Ib=function(){return Zk(this.gm)+"@"+(Jct(this)>>>0).toString(16)+" uri='"+this.d+"'"},EWt.b=!1,bY(f9t,"ResourceImpl",781),dOt(1379,781,h9t,Cw),bY(f9t,"BinaryResourceImpl",1379),dOt(1169,694,l8t),EWt.si=function(t){return iN(t,56)?kQ(this,$z(t,56)):iN(t,591)?new MN($z(t,591).Vk()):HM(t)===HM(this.f)?$z(t,14).Kc():(dB(),gOe.a)},EWt.Ob=function(){return fIt(this)},EWt.a=!1,bY(m7t,"EcoreUtil/ContentTreeIterator",1169),dOt(1380,1169,l8t,nK),EWt.si=function(t){return HM(t)===HM(this.f)?$z(t,15).Kc():new R2($z(t,56))},bY(f9t,"ResourceImpl/5",1380),dOt(648,1994,P7t,Ew),EWt.Hc=function(t){return this.i<=4?Tkt(this,t):iN(t,49)&&$z(t,49).Zg()==this.a},EWt.bi=function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0))},EWt.di=function(t,e){0==t?this.a.b||(this.a.b=!0):O8(this,t,e)},EWt.fi=function(t,e){},EWt.gi=function(t,e,n){},EWt.aj=function(){return 2},EWt.Ai=function(){return this.a},EWt.bj=function(){return!0},EWt.cj=function(t,e){return e=$z(t,49).wh(this.a,e)},EWt.dj=function(t,e){return $z(t,49).wh(null,e)},EWt.ej=function(){return!1},EWt.hi=function(){return!0},EWt.ri=function(t){return N8(IIe,zWt,56,t,0,1)},EWt.ni=function(){return!1},bY(f9t,"ResourceImpl/ContentsEList",648),dOt(957,1964,LXt,Tw),EWt.Zc=function(t){return this.a._h(t)},EWt.gc=function(){return this.a.gc()},bY(m7t,"AbstractSequentialInternalEList/1",957),dOt(624,1,{},EH),bY(m7t,"BasicExtendedMetaData",624),dOt(1160,1,{},IM),EWt.$k=function(){return null},EWt._k=function(){return-2==this.a&&od(this,aTt(this.d,this.b)),this.a},EWt.al=function(){return null},EWt.bl=function(){return EV(),EV(),cne},EWt.ne=function(){return this.c==S9t&&cd(this,kbt(this.d,this.b)),this.c},EWt.cl=function(){return 0},EWt.a=-2,EWt.c=S9t,bY(m7t,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),dOt(1161,1,{},j0),EWt.$k=function(){return this.a==(P5(),ZLe)&&sd(this,wDt(this.f,this.b)),this.a},EWt._k=function(){return 0},EWt.al=function(){return this.c==(P5(),ZLe)&&ud(this,yDt(this.f,this.b)),this.c},EWt.bl=function(){return!this.d&&ld(this,TRt(this.f,this.b)),this.d},EWt.ne=function(){return this.e==S9t&&hd(this,kbt(this.f,this.b)),this.e},EWt.cl=function(){return-2==this.g&&fd(this,V_t(this.f,this.b)),this.g},EWt.e=S9t,EWt.g=-2,bY(m7t,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),dOt(1159,1,{},PM),EWt.b=!1,EWt.c=!1,bY(m7t,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),dOt(1162,1,{},B0),EWt.c=-2,EWt.e=S9t,EWt.f=S9t,bY(m7t,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),dOt(585,622,B7t,_H),EWt.aj=function(){return this.c},EWt.Fk=function(){return!1},EWt.li=function(t,e){return e},EWt.c=0,bY(m7t,"EDataTypeEList",585);var eNe,nNe,iNe,rNe,aNe=hU(m7t,"FeatureMap");dOt(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},kat),EWt.Vc=function(t,e){hDt(this,t,$z(e,72))},EWt.Fc=function(t){return oNt(this,$z(t,72))},EWt.Yh=function(t){dY(this,$z(t,72))},EWt.cj=function(t,e){return FR(this,$z(t,72),e)},EWt.dj=function(t,e){return zR(this,$z(t,72),e)},EWt.ii=function(t,e){return a$t(this,t,e)},EWt.li=function(t,e){return uGt(this,t,$z(e,72))},EWt._c=function(t,e){return CPt(this,t,$z(e,72))},EWt.jj=function(t,e){return HR(this,$z(t,72),e)},EWt.kj=function(t,e){return UR(this,$z(t,72),e)},EWt.lj=function(t,e,n){return p_t(this,$z(t,72),$z(e,72),n)},EWt.oi=function(t,e){return cEt(this,t,$z(e,72))},EWt.dl=function(t,e){return DRt(this,t,e)},EWt.Wc=function(t,e){var n,i,r,a,o,s,c,u,l;for(u=new pet(e.gc()),r=e.Kc();r.Ob();)if(a=(i=$z(r.Pb(),72)).ak(),OPt(this.e,a))(!a.hi()||!H3(this,a,i.dd())&&!Tkt(u,i))&&u7(u,i);else{for(l=aPt(this.e.Tg(),a),n=$z(this.g,119),o=!0,s=0;s<this.i;++s)if(c=n[s],l.rl(c.ak())){$z(syt(this,s,i),72),o=!1;break}o&&u7(u,i)}return sct(this,t,u)},EWt.Gc=function(t){var e,n,i,r,a,o,s,c,u;for(c=new pet(t.gc()),i=t.Kc();i.Ob();)if(r=(n=$z(i.Pb(),72)).ak(),OPt(this.e,r))(!r.hi()||!H3(this,r,n.dd())&&!Tkt(c,n))&&u7(c,n);else{for(u=aPt(this.e.Tg(),r),e=$z(this.g,119),a=!0,o=0;o<this.i;++o)if(s=e[o],u.rl(s.ak())){$z(syt(this,o,n),72),a=!1;break}a&&u7(c,n)}return pY(this,c)},EWt.Wh=function(t){return this.j=-1,LFt(this,this.i,t)},EWt.el=function(t,e,n){return Cjt(this,t,e,n)},EWt.mk=function(t,e){return _Rt(this,t,e)},EWt.fl=function(t,e,n){return Zzt(this,t,e,n)},EWt.gl=function(){return this},EWt.hl=function(t,e){return iHt(this,t,e)},EWt.il=function(t){return $z(Yet(this,t),72).ak()},EWt.jl=function(t){return $z(Yet(this,t),72).dd()},EWt.kl=function(){return this.b},EWt.bj=function(){return!0},EWt.ij=function(){return!0},EWt.ll=function(t){return!apt(this,t)},EWt.ri=function(t){return N8(qLe,u9t,332,t,0,1)},EWt.Gk=function(t){return cB(this,t)},EWt.Wb=function(t){JK(this,t)},EWt.ml=function(t,e){EHt(this,t,e)},EWt.nl=function(t){return Git(this,t)},EWt.ol=function(t){jmt(this,t)},bY(m7t,"BasicFeatureMap",75),dOt(1851,1,rXt),EWt.Nb=function(t){uK(this,t)},EWt.Rb=function(t){if(-1==this.g)throw Fw(new dy);wq(this);try{IPt(this.e,this.b,this.a,t),this.d=this.e.j,ryt(this)}catch(e){throw iN(e=hst(e),73)?Fw(new by):Fw(e)}},EWt.Ob=function(){return jut(this)},EWt.Sb=function(){return Rut(this)},EWt.Pb=function(){return ryt(this)},EWt.Tb=function(){return this.a},EWt.Ub=function(){var t;if(Rut(this))return wq(this),this.g=--this.a,this.Lk()&&(t=$Mt(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw Fw(new yy)},EWt.Vb=function(){return this.a-1},EWt.Qb=function(){if(-1==this.g)throw Fw(new dy);wq(this);try{aSt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw iN(t=hst(t),73)?Fw(new by):Fw(t)}},EWt.Lk=function(){return!1},EWt.Wb=function(t){if(-1==this.g)throw Fw(new dy);wq(this);try{KFt(this.e,this.b,this.g,t),this.d=this.e.j}catch(e){throw iN(e=hst(e),73)?Fw(new by):Fw(e)}},EWt.a=0,EWt.c=0,EWt.d=0,EWt.f=!1,EWt.g=0,EWt.i=0,bY(m7t,"FeatureMapUtil/BasicFeatureEIterator",1851),dOt(410,1851,rXt,Iot),EWt.pl=function(){var t,e,n;for(n=this.e.i,t=$z(this.e.g,119);this.c<n;){if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},EWt.ql=function(){var t,e;for(t=$z(this.e.g,119);--this.c>=0;)if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},bY(m7t,"BasicFeatureMap/FeatureEIterator",410),dOt(662,410,rXt,NI),EWt.Lk=function(){return!0},bY(m7t,"BasicFeatureMap/ResolvingFeatureEIterator",662),dOt(955,486,H7t,UL),EWt.Gi=function(){return this},bY(m7t,"EContentsEList/1",955),dOt(956,486,H7t,DI),EWt.Lk=function(){return!1},bY(m7t,"EContentsEList/2",956),dOt(954,279,U7t,GL),EWt.Nk=function(t){},EWt.Ob=function(){return!1},EWt.Sb=function(){return!1},bY(m7t,"EContentsEList/FeatureIteratorImpl/1",954),dOt(825,585,B7t,BN),EWt.ci=function(){this.a=!0},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1},EWt.a=!1,bY(m7t,"EDataTypeEList/Unsettable",825),dOt(1849,585,B7t,jN),EWt.hi=function(){return!0},bY(m7t,"EDataTypeUniqueEList",1849),dOt(1850,825,B7t,RN),EWt.hi=function(){return!0},bY(m7t,"EDataTypeUniqueEList/Unsettable",1850),dOt(139,85,B7t,LN),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentEList/Resolving",139),dOt(1163,545,B7t,NN),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentEList/Unsettable/Resolving",1163),dOt(748,16,B7t,eR),EWt.ci=function(){this.a=!0},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1},EWt.a=!1,bY(m7t,"EObjectContainmentWithInverseEList/Unsettable",748),dOt(1173,748,B7t,nR),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),dOt(743,496,B7t,DN),EWt.ci=function(){this.a=!0},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1},EWt.a=!1,bY(m7t,"EObjectEList/Unsettable",743),dOt(328,496,B7t,PN),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectResolvingEList",328),dOt(1641,743,B7t,$N),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectResolvingEList/Unsettable",1641),dOt(1381,1,{},Du),bY(m7t,"EObjectValidator",1381),dOt(546,496,B7t,eK),EWt.zk=function(){return this.d},EWt.Ak=function(){return this.b},EWt.bj=function(){return!0},EWt.Dk=function(){return!0},EWt.b=0,bY(m7t,"EObjectWithInverseEList",546),dOt(1176,546,B7t,iR),EWt.Ck=function(){return!0},bY(m7t,"EObjectWithInverseEList/ManyInverse",1176),dOt(625,546,B7t,rR),EWt.ci=function(){this.a=!0},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1},EWt.a=!1,bY(m7t,"EObjectWithInverseEList/Unsettable",625),dOt(1175,625,B7t,oR),EWt.Ck=function(){return!0},bY(m7t,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),dOt(749,546,B7t,aR),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectWithInverseResolvingEList",749),dOt(31,749,B7t,cR),EWt.Ck=function(){return!0},bY(m7t,"EObjectWithInverseResolvingEList/ManyInverse",31),dOt(750,625,B7t,sR),EWt.Ek=function(){return!0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectWithInverseResolvingEList/Unsettable",750),dOt(1174,750,B7t,uR),EWt.Ck=function(){return!0},bY(m7t,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),dOt(1164,622,B7t),EWt.ai=function(){return!(1792&this.b)},EWt.ci=function(){this.b|=1},EWt.Bk=function(){return!!(4&this.b)},EWt.bj=function(){return!!(40&this.b)},EWt.Ck=function(){return!!(16&this.b)},EWt.Dk=function(){return!!(8&this.b)},EWt.Ek=function(){return!!(this.b&E7t)},EWt.rk=function(){return!!(32&this.b)},EWt.Fk=function(){return!!(this.b&v6t)},EWt.wj=function(t){return this.d?N3(this.d,t):this.ak().Yj().wj(t)},EWt.fj=function(){return 2&this.b?!!(1&this.b):0!=this.i},EWt.hi=function(){return!!(128&this.b)},EWt.Xj=function(){var t;cUt(this),2&this.b&&(wO(this.e)?(t=!!(1&this.b),this.b&=-2,Oy(this,new J5(this.e,2,Igt(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},EWt.ni=function(){return!(1536&this.b)},EWt.b=0,bY(m7t,"EcoreEList/Generic",1164),dOt(1165,1164,B7t,UV),EWt.ak=function(){return this.a},bY(m7t,"EcoreEList/Dynamic",1165),dOt(747,63,u8t,Sw),EWt.ri=function(t){return Pnt(this.a.a,t)},bY(m7t,"EcoreEMap/1",747),dOt(746,85,B7t,Qq),EWt.bi=function(t,e){Ayt(this.b,$z(e,133))},EWt.di=function(t,e){aot(this.b)},EWt.ei=function(t,e,n){var i;++(i=this.b,$z(e,133),i).e},EWt.fi=function(t,e){Mft(this.b,$z(e,133))},EWt.gi=function(t,e,n){Mft(this.b,$z(n,133)),HM(n)===HM(e)&&$z(n,133).Th(iL($z(e,133).cd())),Ayt(this.b,$z(e,133))},bY(m7t,"EcoreEMap/DelegateEObjectContainmentEList",746),dOt(1171,151,x7t,mit),bY(m7t,"EcoreEMap/Unsettable",1171),dOt(1172,746,B7t,lR),EWt.ci=function(){this.a=!0},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1},EWt.a=!1,bY(m7t,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),dOt(1168,228,tQt,lY),EWt.a=!1,EWt.b=!1,bY(m7t,"EcoreUtil/Copier",1168),dOt(745,1,XWt,R2),EWt.Nb=function(t){uK(this,t)},EWt.Ob=function(){return opt(this)},EWt.Pb=function(){var t;return opt(this),t=this.b,this.b=null,t},EWt.Qb=function(){this.a.Qb()},bY(m7t,"EcoreUtil/ProperContentIterator",745),dOt(1382,1381,{},jh),bY(m7t,"EcoreValidator",1382),hU(m7t,"FeatureMapUtil/Validator"),dOt(1260,1,{1942:1},Pu),EWt.rl=function(t){return!0},bY(m7t,"FeatureMapUtil/1",1260),dOt(757,1,{1942:1},rKt),EWt.rl=function(t){var e;return this.c==t||(null==(e=kB(PY(this.a,t)))?Djt(this,t)?(n6(this.a,t,(cD(),yee)),!0):(n6(this.a,t,(cD(),wee)),!1):e==(cD(),yee))},EWt.e=!1,bY(m7t,"FeatureMapUtil/BasicValidator",757),dOt(758,43,tQt,qL),bY(m7t,"FeatureMapUtil/BasicValidator/Cache",758),dOt(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},NM),EWt.Vc=function(t,e){IPt(this.c,this.b,t,e)},EWt.Fc=function(t){return DRt(this.c,this.b,t)},EWt.Wc=function(t,e){return xHt(this.c,this.b,t,e)},EWt.Gc=function(t){return QL(this,t)},EWt.Xh=function(t,e){cet(this.c,this.b,t,e)},EWt.lk=function(t,e){return Cjt(this.c,this.b,t,e)},EWt.pi=function(t){return nHt(this.c,this.b,t,!1)},EWt.Zh=function(){return vO(this.c,this.b)},EWt.$h=function(){return xO(this.c,this.b)},EWt._h=function(t){return I8(this.c,this.b,t)},EWt.mk=function(t,e){return JB(this,t,e)},EWt.$b=function(){Ly(this)},EWt.Hc=function(t){return H3(this.c,this.b,t)},EWt.Ic=function(t){return Eat(this.c,this.b,t)},EWt.Xb=function(t){return nHt(this.c,this.b,t,!0)},EWt.Wj=function(t){return this},EWt.Xc=function(t){return U3(this.c,this.b,t)},EWt.dc=function(){return FM(this)},EWt.fj=function(){return!apt(this.c,this.b)},EWt.Kc=function(){return itt(this.c,this.b)},EWt.Yc=function(){return rtt(this.c,this.b)},EWt.Zc=function(t){return hft(this.c,this.b,t)},EWt.ii=function(t,e){return yFt(this.c,this.b,t,e)},EWt.ji=function(t,e){W6(this.c,this.b,t,e)},EWt.$c=function(t){return aSt(this.c,this.b,t)},EWt.Mc=function(t){return SRt(this.c,this.b,t)},EWt._c=function(t,e){return KFt(this.c,this.b,t,e)},EWt.Wb=function(t){IIt(this.c,this.b),QL(this,$z(t,15))},EWt.gc=function(){return jft(this.c,this.b)},EWt.Pc=function(){return H1(this.c,this.b)},EWt.Qc=function(t){return G3(this.c,this.b,t)},EWt.Ib=function(){var t,e;for((e=new Ex).a+="[",t=vO(this.c,this.b);jut(t);)iI(e,mD(ryt(t))),jut(t)&&(e.a+=$Wt);return e.a+="]",e.a},EWt.Xj=function(){IIt(this.c,this.b)},bY(m7t,"FeatureMapUtil/FeatureEList",501),dOt(627,36,t7t,h4),EWt.yi=function(t){return eft(this,t)},EWt.Di=function(t){var e,n,i,r;switch(this.d){case 1:case 2:if(HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0;break;case 3:if(3===t.xi()&&HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.d=5,u7(e=new pet(2),this.g),u7(e,t.zi()),this.g=e,!0;break;case 5:if(3===t.xi()&&HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return $z(this.g,14).Fc(t.zi()),!0;break;case 4:switch(t.xi()){case 3:if(HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break;case 4:if(HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.d=6,u7(r=new pet(2),this.n),u7(r,t.Bi()),this.n=r,i=Cst(Hx(ADe,1),uVt,25,15,[this.o,t.Ci()]),this.g=i,!0}break;case 6:if(4===t.xi()&&HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return $z(this.n,14).Fc(t.Bi()),aHt(i=$z(this.g,48),0,n=N8(ADe,uVt,25,i.length+1,15,1),0,i.length),n[i.length]=t.Ci(),this.g=n,!0}return!1},bY(m7t,"FeatureMapUtil/FeatureENotificationImpl",627),dOt(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},lU),EWt.dl=function(t,e){return DRt(this.c,t,e)},EWt.el=function(t,e,n){return Cjt(this.c,t,e,n)},EWt.fl=function(t,e,n){return Zzt(this.c,t,e,n)},EWt.gl=function(){return this},EWt.hl=function(t,e){return iHt(this.c,t,e)},EWt.il=function(t){return $z(nHt(this.c,this.b,t,!1),72).ak()},EWt.jl=function(t){return $z(nHt(this.c,this.b,t,!1),72).dd()},EWt.kl=function(){return this.a},EWt.ll=function(t){return!apt(this.c,t)},EWt.ml=function(t,e){EHt(this.c,t,e)},EWt.nl=function(t){return Git(this.c,t)},EWt.ol=function(t){jmt(this.c,t)},bY(m7t,"FeatureMapUtil/FeatureFeatureMap",552),dOt(1259,1,v7t,BM),EWt.Wj=function(t){return nHt(this.b,this.a,-1,t)},EWt.fj=function(){return!apt(this.b,this.a)},EWt.Wb=function(t){EHt(this.b,this.a,t)},EWt.Xj=function(){IIt(this.b,this.a)},bY(m7t,"FeatureMapUtil/FeatureValue",1259);var oNe,sNe,cNe,uNe,lNe,hNe=hU(M9t,"AnyType");dOt(666,60,FXt,ex),bY(M9t,"InvalidDatatypeValueException",666);var fNe,dNe,gNe,pNe,bNe,wNe,yNe,mNe,vNe,xNe,kNe,_Ne,ENe,TNe,CNe,SNe,ANe,MNe,INe,ONe,LNe,NNe,DNe,PNe,BNe,jNe,RNe,$Ne,FNe,zNe,HNe=hU(M9t,I9t),UNe=hU(M9t,O9t),GNe=hU(M9t,L9t);dOt(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Pm),EWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new kat(this,0)),this.c):(!this.c&&(this.c=new kat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new kat(this,0)),$z(ZJ(this.c,(qUt(),pNe)),153)):(!this.c&&(this.c=new kat(this,0)),$z($z(ZJ(this.c,(qUt(),pNe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new kat(this,2)),this.b):(!this.b&&(this.b=new kat(this,2)),this.b.b)}return G7(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.c&&(this.c=new kat(this,0)),_Rt(this.c,t,n);case 1:return(!this.c&&(this.c=new kat(this,0)),$z($z(ZJ(this.c,(qUt(),pNe)),153),69)).mk(t,n);case 2:return!this.b&&(this.b=new kat(this,2)),_Rt(this.b,t,n)}return $z(eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),e),66).Nj().Rj(this,W9(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new kat(this,0)),$z(ZJ(this.c,(qUt(),pNe)),153)).dc();case 2:return!!this.b&&0!=this.b.i}return A3(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new kat(this,0)),void JK(this.c,e);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z($z(ZJ(this.c,(qUt(),pNe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new kat(this,2)),void JK(this.b,e)}Ldt(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t),e)},EWt.zh=function(){return qUt(),gNe},EWt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new kat(this,0)),void cUt(this.c);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z(ZJ(this.c,(qUt(),pNe)),153)).$b();case 2:return!this.b&&(this.b=new kat(this,2)),void cUt(this.b)}Hht(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t))},EWt.Ib=function(){var t;return 4&this.j?CLt(this):((t=new uD(CLt(this))).a+=" (mixed: ",nI(t,this.c),t.a+=", anyAttribute: ",nI(t,this.b),t.a+=")",t.a)},bY(N9t,"AnyTypeImpl",830),dOt(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},ju),EWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return G7(this,t-hY((qUt(),SNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SNe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return null!=this.a;case 1:return null!=this.b}return A3(this,t-hY((qUt(),SNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SNe,t))},EWt.sh=function(t,e){switch(t){case 0:return void md(this,EB(e));case 1:return void vd(this,EB(e))}Ldt(this,t-hY((qUt(),SNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SNe,t),e)},EWt.zh=function(){return qUt(),SNe},EWt.Bh=function(t){switch(t){case 0:return void(this.a=null);case 1:return void(this.b=null)}Hht(this,t-hY((qUt(),SNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SNe,t))},EWt.Ib=function(){var t;return 4&this.j?CLt(this):((t=new uD(CLt(this))).a+=" (data: ",iI(t,this.a),t.a+=", target: ",iI(t,this.b),t.a+=")",t.a)},EWt.a=null,EWt.b=null,bY(N9t,"ProcessingInstructionImpl",667),dOt(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},jm),EWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new kat(this,0)),this.c):(!this.c&&(this.c=new kat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new kat(this,0)),$z(ZJ(this.c,(qUt(),pNe)),153)):(!this.c&&(this.c=new kat(this,0)),$z($z(ZJ(this.c,(qUt(),pNe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new kat(this,2)),this.b):(!this.b&&(this.b=new kat(this,2)),this.b.b);case 3:return!this.c&&(this.c=new kat(this,0)),EB(iHt(this.c,(qUt(),INe),!0));case 4:return gR(this.a,(!this.c&&(this.c=new kat(this,0)),EB(iHt(this.c,(qUt(),INe),!0))));case 5:return this.a}return G7(this,t-hY((qUt(),MNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MNe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new kat(this,0)),$z(ZJ(this.c,(qUt(),pNe)),153)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new kat(this,0)),null!=EB(iHt(this.c,(qUt(),INe),!0));case 4:return null!=gR(this.a,(!this.c&&(this.c=new kat(this,0)),EB(iHt(this.c,(qUt(),INe),!0))));case 5:return!!this.a}return A3(this,t-hY((qUt(),MNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MNe,t))},EWt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new kat(this,0)),void JK(this.c,e);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z($z(ZJ(this.c,(qUt(),pNe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new kat(this,2)),void JK(this.b,e);case 3:return void R0(this,EB(e));case 4:return void R0(this,pR(this.a,e));case 5:return void xd(this,$z(e,148))}Ldt(this,t-hY((qUt(),MNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MNe,t),e)},EWt.zh=function(){return qUt(),MNe},EWt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new kat(this,0)),void cUt(this.c);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z(ZJ(this.c,(qUt(),pNe)),153)).$b();case 2:return!this.b&&(this.b=new kat(this,2)),void cUt(this.b);case 3:return!this.c&&(this.c=new kat(this,0)),void EHt(this.c,(qUt(),INe),null);case 4:return void R0(this,pR(this.a,null));case 5:return void(this.a=null)}Hht(this,t-hY((qUt(),MNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MNe,t))},bY(N9t,"SimpleAnyTypeImpl",668),dOt(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},Bm),EWt._g=function(t,e,n){switch(t){case 0:return n?(!this.a&&(this.a=new kat(this,0)),this.a):(!this.a&&(this.a=new kat(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),this.b):(!this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),M8(this.b));case 2:return n?(!this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),this.c):(!this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),M8(this.c));case 3:return!this.a&&(this.a=new kat(this,0)),ZJ(this.a,(qUt(),NNe));case 4:return!this.a&&(this.a=new kat(this,0)),ZJ(this.a,(qUt(),DNe));case 5:return!this.a&&(this.a=new kat(this,0)),ZJ(this.a,(qUt(),BNe));case 6:return!this.a&&(this.a=new kat(this,0)),ZJ(this.a,(qUt(),jNe))}return G7(this,t-hY((qUt(),LNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LNe,t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return!this.a&&(this.a=new kat(this,0)),_Rt(this.a,t,n);case 1:return!this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),$R(this.b,t,n);case 2:return!this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),$R(this.c,t,n);case 5:return!this.a&&(this.a=new kat(this,0)),JB(ZJ(this.a,(qUt(),BNe)),t,n)}return $z(eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():(qUt(),LNe),e),66).Nj().Rj(this,W9(this),e-hY((qUt(),LNe)),t,n)},EWt.lh=function(t){switch(t){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new kat(this,0)),!FM(ZJ(this.a,(qUt(),NNe)));case 4:return!this.a&&(this.a=new kat(this,0)),!FM(ZJ(this.a,(qUt(),DNe)));case 5:return!this.a&&(this.a=new kat(this,0)),!FM(ZJ(this.a,(qUt(),BNe)));case 6:return!this.a&&(this.a=new kat(this,0)),!FM(ZJ(this.a,(qUt(),jNe)))}return A3(this,t-hY((qUt(),LNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LNe,t))},EWt.sh=function(t,e){switch(t){case 0:return!this.a&&(this.a=new kat(this,0)),void JK(this.a,e);case 1:return!this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),void tot(this.b,e);case 2:return!this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),void tot(this.c,e);case 3:return!this.a&&(this.a=new kat(this,0)),Ly(ZJ(this.a,(qUt(),NNe))),!this.a&&(this.a=new kat(this,0)),void QL(ZJ(this.a,NNe),$z(e,14));case 4:return!this.a&&(this.a=new kat(this,0)),Ly(ZJ(this.a,(qUt(),DNe))),!this.a&&(this.a=new kat(this,0)),void QL(ZJ(this.a,DNe),$z(e,14));case 5:return!this.a&&(this.a=new kat(this,0)),Ly(ZJ(this.a,(qUt(),BNe))),!this.a&&(this.a=new kat(this,0)),void QL(ZJ(this.a,BNe),$z(e,14));case 6:return!this.a&&(this.a=new kat(this,0)),Ly(ZJ(this.a,(qUt(),jNe))),!this.a&&(this.a=new kat(this,0)),void QL(ZJ(this.a,jNe),$z(e,14))}Ldt(this,t-hY((qUt(),LNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LNe,t),e)},EWt.zh=function(){return qUt(),LNe},EWt.Bh=function(t){switch(t){case 0:return!this.a&&(this.a=new kat(this,0)),void cUt(this.a);case 1:return!this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new kat(this,0)),void Ly(ZJ(this.a,(qUt(),NNe)));case 4:return!this.a&&(this.a=new kat(this,0)),void Ly(ZJ(this.a,(qUt(),DNe)));case 5:return!this.a&&(this.a=new kat(this,0)),void Ly(ZJ(this.a,(qUt(),BNe)));case 6:return!this.a&&(this.a=new kat(this,0)),void Ly(ZJ(this.a,(qUt(),jNe)))}Hht(this,t-hY((qUt(),LNe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LNe,t))},EWt.Ib=function(){var t;return 4&this.j?CLt(this):((t=new uD(CLt(this))).a+=" (mixed: ",nI(t,this.a),t.a+=")",t.a)},bY(N9t,"XMLTypeDocumentRootImpl",669),dOt(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Bu),EWt.Ih=function(t,e){switch(t.yj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==e?null:Fdt(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return EB(e);case 6:return wB($z(e,190));case 12:case 47:case 49:case 11:return HGt(this,t,e);case 13:return null==e?null:Uzt($z(e,240));case 15:case 14:return null==e?null:PK(Hv(_B(e)));case 17:return k_t((qUt(),e));case 18:return k_t(e);case 21:case 20:return null==e?null:BK($z(e,155).a);case 27:return yB($z(e,190));case 30:return Rmt((qUt(),$z(e,15)));case 31:return Rmt($z(e,15));case 40:return vB((qUt(),e));case 42:return __t((qUt(),e));case 43:return __t(e);case 59:case 48:return mB((qUt(),e));default:throw Fw(new jv(g6t+t.ne()+p6t))}},EWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=qet(t))?oyt(e.Mh(),t):-1),t.G){case 0:return new Pm;case 1:return new ju;case 2:return new jm;case 3:return new Bm;default:throw Fw(new jv(y6t+t.zb+p6t))}},EWt.Kh=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;switch(t.yj()){case 5:case 52:case 4:return e;case 6:return mwt(e);case 8:case 7:return null==e?null:R_t(e);case 9:return null==e?null:Ttt(h$t((i=$zt(e,!0)).length>0&&(h1(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==e?null:Ttt(h$t((r=$zt(e,!0)).length>0&&(h1(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return EB(DYt(this,(qUt(),yNe),e));case 12:return EB(DYt(this,(qUt(),mNe),e));case 13:return null==e?null:new f_($zt(e,!0));case 15:case 14:return pNt(e);case 16:return EB(DYt(this,(qUt(),vNe),e));case 17:return zpt((qUt(),e));case 18:return zpt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return $zt(e,!0);case 21:case 20:return ANt(e);case 22:return EB(DYt(this,(qUt(),xNe),e));case 23:return EB(DYt(this,(qUt(),kNe),e));case 24:return EB(DYt(this,(qUt(),_Ne),e));case 25:return EB(DYt(this,(qUt(),ENe),e));case 26:return EB(DYt(this,(qUt(),TNe),e));case 27:return Zbt(e);case 30:return Hpt((qUt(),e));case 31:return Hpt(e);case 32:return null==e?null:nft(h$t((l=$zt(e,!0)).length>0&&(h1(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,RXt,PWt));case 33:return null==e?null:new IO((h=$zt(e,!0)).length>0&&(h1(0,h.length),43==h.charCodeAt(0))?h.substr(1):h);case 34:return null==e?null:nft(h$t((f=$zt(e,!0)).length>0&&(h1(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,RXt,PWt));case 36:return null==e?null:xbt(iKt((d=$zt(e,!0)).length>0&&(h1(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==e?null:xbt(iKt((g=$zt(e,!0)).length>0&&(h1(0,g.length),43==g.charCodeAt(0))?g.substr(1):g));case 40:return Wgt((qUt(),e));case 42:return Upt((qUt(),e));case 43:return Upt(e);case 44:return null==e?null:new IO((p=$zt(e,!0)).length>0&&(h1(0,p.length),43==p.charCodeAt(0))?p.substr(1):p);case 45:return null==e?null:new IO((b=$zt(e,!0)).length>0&&(h1(0,b.length),43==b.charCodeAt(0))?b.substr(1):b);case 46:return $zt(e,!1);case 47:return EB(DYt(this,(qUt(),CNe),e));case 59:case 48:return Ygt((qUt(),e));case 49:return EB(DYt(this,(qUt(),ANe),e));case 50:return null==e?null:ift(h$t((w=$zt(e,!0)).length>0&&(h1(0,w.length),43==w.charCodeAt(0))?w.substr(1):w,X7t,32767)<<16>>16);case 51:return null==e?null:ift(h$t((a=$zt(e,!0)).length>0&&(h1(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,X7t,32767)<<16>>16);case 53:return EB(DYt(this,(qUt(),ONe),e));case 55:return null==e?null:ift(h$t((o=$zt(e,!0)).length>0&&(h1(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,X7t,32767)<<16>>16);case 56:return null==e?null:ift(h$t((s=$zt(e,!0)).length>0&&(h1(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,X7t,32767)<<16>>16);case 57:return null==e?null:xbt(iKt((c=$zt(e,!0)).length>0&&(h1(0,c.length),43==c.charCodeAt(0))?c.substr(1):c));case 58:return null==e?null:xbt(iKt((u=$zt(e,!0)).length>0&&(h1(0,u.length),43==u.charCodeAt(0))?u.substr(1):u));case 60:return null==e?null:nft(h$t((n=$zt(e,!0)).length>0&&(h1(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,RXt,PWt));case 61:return null==e?null:nft(h$t($zt(e,!0),RXt,PWt));default:throw Fw(new jv(g6t+t.ne()+p6t))}},bY(N9t,"XMLTypeFactoryImpl",1919),dOt(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},UW),EWt.N=!1,EWt.O=!1;var qNe,KNe,YNe,WNe,XNe,VNe=!1;bY(N9t,"XMLTypePackageImpl",586),dOt(1852,1,{837:1},Ru),EWt._j=function(){return lFt(),xDe},bY(N9t,"XMLTypePackageImpl/1",1852),dOt(1861,1,c9t,$u),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/10",1861),dOt(1862,1,c9t,Fu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/11",1862),dOt(1863,1,c9t,zu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/12",1863),dOt(1864,1,c9t,Hu),EWt.wj=function(t){return GM(t)},EWt.xj=function(t){return N8(Cee,cXt,333,t,7,1)},bY(N9t,"XMLTypePackageImpl/13",1864),dOt(1865,1,c9t,Uu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/14",1865),dOt(1866,1,c9t,Gu),EWt.wj=function(t){return iN(t,15)},EWt.xj=function(t){return N8(Bte,JZt,15,t,0,1)},bY(N9t,"XMLTypePackageImpl/15",1866),dOt(1867,1,c9t,qu),EWt.wj=function(t){return iN(t,15)},EWt.xj=function(t){return N8(Bte,JZt,15,t,0,1)},bY(N9t,"XMLTypePackageImpl/16",1867),dOt(1868,1,c9t,Ku),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/17",1868),dOt(1869,1,c9t,Yu),EWt.wj=function(t){return iN(t,155)},EWt.xj=function(t){return N8(See,cXt,155,t,0,1)},bY(N9t,"XMLTypePackageImpl/18",1869),dOt(1870,1,c9t,Wu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/19",1870),dOt(1853,1,c9t,Xu),EWt.wj=function(t){return iN(t,843)},EWt.xj=function(t){return N8(hNe,zWt,843,t,0,1)},bY(N9t,"XMLTypePackageImpl/2",1853),dOt(1871,1,c9t,Vu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/20",1871),dOt(1872,1,c9t,Qu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/21",1872),dOt(1873,1,c9t,Zu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/22",1873),dOt(1874,1,c9t,Ju),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/23",1874),dOt(1875,1,c9t,tl),EWt.wj=function(t){return iN(t,190)},EWt.xj=function(t){return N8(ODe,cXt,190,t,0,2)},bY(N9t,"XMLTypePackageImpl/24",1875),dOt(1876,1,c9t,el),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/25",1876),dOt(1877,1,c9t,nl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/26",1877),dOt(1878,1,c9t,il),EWt.wj=function(t){return iN(t,15)},EWt.xj=function(t){return N8(Bte,JZt,15,t,0,1)},bY(N9t,"XMLTypePackageImpl/27",1878),dOt(1879,1,c9t,rl),EWt.wj=function(t){return iN(t,15)},EWt.xj=function(t){return N8(Bte,JZt,15,t,0,1)},bY(N9t,"XMLTypePackageImpl/28",1879),dOt(1880,1,c9t,al),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/29",1880),dOt(1854,1,c9t,ol),EWt.wj=function(t){return iN(t,667)},EWt.xj=function(t){return N8(HNe,zWt,2021,t,0,1)},bY(N9t,"XMLTypePackageImpl/3",1854),dOt(1881,1,c9t,sl),EWt.wj=function(t){return iN(t,19)},EWt.xj=function(t){return N8(Iee,cXt,19,t,0,1)},bY(N9t,"XMLTypePackageImpl/30",1881),dOt(1882,1,c9t,cl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/31",1882),dOt(1883,1,c9t,ul),EWt.wj=function(t){return iN(t,162)},EWt.xj=function(t){return N8(Bee,cXt,162,t,0,1)},bY(N9t,"XMLTypePackageImpl/32",1883),dOt(1884,1,c9t,ll),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/33",1884),dOt(1885,1,c9t,hl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/34",1885),dOt(1886,1,c9t,fl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/35",1886),dOt(1887,1,c9t,dl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/36",1887),dOt(1888,1,c9t,gl),EWt.wj=function(t){return iN(t,15)},EWt.xj=function(t){return N8(Bte,JZt,15,t,0,1)},bY(N9t,"XMLTypePackageImpl/37",1888),dOt(1889,1,c9t,pl),EWt.wj=function(t){return iN(t,15)},EWt.xj=function(t){return N8(Bte,JZt,15,t,0,1)},bY(N9t,"XMLTypePackageImpl/38",1889),dOt(1890,1,c9t,bl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/39",1890),dOt(1855,1,c9t,wl),EWt.wj=function(t){return iN(t,668)},EWt.xj=function(t){return N8(UNe,zWt,2022,t,0,1)},bY(N9t,"XMLTypePackageImpl/4",1855),dOt(1891,1,c9t,yl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/40",1891),dOt(1892,1,c9t,ml),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/41",1892),dOt(1893,1,c9t,vl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/42",1893),dOt(1894,1,c9t,xl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/43",1894),dOt(1895,1,c9t,kl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/44",1895),dOt(1896,1,c9t,_l),EWt.wj=function(t){return iN(t,184)},EWt.xj=function(t){return N8(Ree,cXt,184,t,0,1)},bY(N9t,"XMLTypePackageImpl/45",1896),dOt(1897,1,c9t,El),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/46",1897),dOt(1898,1,c9t,Tl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/47",1898),dOt(1899,1,c9t,Cl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/48",1899),dOt(cVt,1,c9t,Sl),EWt.wj=function(t){return iN(t,184)},EWt.xj=function(t){return N8(Ree,cXt,184,t,0,1)},bY(N9t,"XMLTypePackageImpl/49",cVt),dOt(1856,1,c9t,Al),EWt.wj=function(t){return iN(t,669)},EWt.xj=function(t){return N8(GNe,zWt,2023,t,0,1)},bY(N9t,"XMLTypePackageImpl/5",1856),dOt(1901,1,c9t,Ml),EWt.wj=function(t){return iN(t,162)},EWt.xj=function(t){return N8(Bee,cXt,162,t,0,1)},bY(N9t,"XMLTypePackageImpl/50",1901),dOt(1902,1,c9t,Il),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/51",1902),dOt(1903,1,c9t,Ol),EWt.wj=function(t){return iN(t,19)},EWt.xj=function(t){return N8(Iee,cXt,19,t,0,1)},bY(N9t,"XMLTypePackageImpl/52",1903),dOt(1857,1,c9t,Ll),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return N8(zee,cXt,2,t,6,1)},bY(N9t,"XMLTypePackageImpl/6",1857),dOt(1858,1,c9t,Nl),EWt.wj=function(t){return iN(t,190)},EWt.xj=function(t){return N8(ODe,cXt,190,t,0,2)},bY(N9t,"XMLTypePackageImpl/7",1858),dOt(1859,1,c9t,Dl),EWt.wj=function(t){return UM(t)},EWt.xj=function(t){return N8(vee,cXt,476,t,8,1)},bY(N9t,"XMLTypePackageImpl/8",1859),dOt(1860,1,c9t,Pl),EWt.wj=function(t){return iN(t,217)},EWt.xj=function(t){return N8(kee,cXt,217,t,0,1)},bY(N9t,"XMLTypePackageImpl/9",1860),dOt(50,60,FXt,rx),bY(ate,"RegEx/ParseException",50),dOt(820,1,{},Bl),EWt.sl=function(t){return t<this.j&&63==uX(this.i,t)},EWt.tl=function(){var t,e,n,i,r;if(10!=this.c)throw Fw(new rx(vWt((aL(),p8t))));switch(t=this.a){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(XYt(this),0!=this.c)throw Fw(new rx(vWt((aL(),F8t))));if(123==this.a){for(r=0,n=0;;){if(XYt(this),0!=this.c)throw Fw(new rx(vWt((aL(),F8t))));if((r=Uyt(this.a))<0)break;if(n>16*n)throw Fw(new rx(vWt((aL(),z8t))));n=16*n+r}if(125!=this.a)throw Fw(new rx(vWt((aL(),H8t))));if(n>ote)throw Fw(new rx(vWt((aL(),U8t))));t=n}else{if(r=0,0!=this.c||(r=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(n=r,XYt(this),0!=this.c||(r=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));t=n=16*n+r}break;case 117:if(i=0,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));t=e=16*e+i;break;case 118:if(XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if((e=16*e+i)>ote)throw Fw(new rx(vWt((aL(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw Fw(new rx(vWt((aL(),G8t))))}return t},EWt.ul=function(t){var e;switch(t){case 100:e=32&~this.e?(dWt(),rDe):ZKt("Nd",!0);break;case 68:e=32&~this.e?(dWt(),uDe):ZKt("Nd",!1);break;case 119:e=32&~this.e?(dWt(),yDe):ZKt("IsWord",!0);break;case 87:e=32&~this.e?(dWt(),hDe):ZKt("IsWord",!1);break;case 115:e=32&~this.e?(dWt(),dDe):ZKt("IsSpace",!0);break;case 83:e=32&~this.e?(dWt(),lDe):ZKt("IsSpace",!1);break;default:throw Fw(new dv(ste+t.toString(16)))}return e},EWt.vl=function(t){var e,n,i,r,a,o,s,c,u,l,h;for(this.b=1,XYt(this),e=null,0==this.c&&94==this.a?(XYt(this),t?(dWt(),dWt(),u=new _0(5)):(dWt(),dWt(),VPt(e=new _0(4),0,ote),u=new _0(4))):(dWt(),dWt(),u=new _0(4)),r=!0;1!=(h=this.c)&&(0!=h||93!=this.a||r);){if(r=!1,n=this.a,i=!1,10==h)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cHt(u,this.ul(n)),i=!0;break;case 105:case 73:case 99:case 67:(n=this.Ll(u,n))<0&&(i=!0);break;case 112:case 80:if(!(l=PMt(this,n)))throw Fw(new rx(vWt((aL(),M8t))));cHt(u,l),i=!0;break;default:n=this.tl()}else if(20==h){if((a=lP(this.i,58,this.d))<0)throw Fw(new rx(vWt((aL(),I8t))));if(o=!0,94==uX(this.i,this.d)&&(++this.d,o=!1),!(s=h7(uP(this.i,this.d,a),o,!(512&~this.e))))throw Fw(new rx(vWt((aL(),L8t))));if(cHt(u,s),i=!0,a+1>=this.j||93!=uX(this.i,a+1))throw Fw(new rx(vWt((aL(),I8t))));this.d=a+2}if(XYt(this),!i)if(0!=this.c||45!=this.a)VPt(u,n,n);else{if(XYt(this),1==(h=this.c))throw Fw(new rx(vWt((aL(),O8t))));0==h&&93==this.a?(VPt(u,n,n),VPt(u,45,45)):(c=this.a,10==h&&(c=this.tl()),XYt(this),VPt(u,n,c))}(this.e&v6t)==v6t&&0==this.c&&44==this.a&&XYt(this)}if(1==this.c)throw Fw(new rx(vWt((aL(),O8t))));return e&&(YGt(e,u),u=e),_Lt(u),HHt(u),this.b=0,XYt(this),u},EWt.wl=function(){var t,e,n,i;for(n=this.vl(!1);7!=(i=this.c);){if(t=this.a,(0!=i||45!=t&&38!=t)&&4!=i)throw Fw(new rx(vWt((aL(),R8t))));if(XYt(this),9!=this.c)throw Fw(new rx(vWt((aL(),j8t))));if(e=this.vl(!1),4==i)cHt(n,e);else if(45==t)YGt(n,e);else{if(38!=t)throw Fw(new dv("ASSERT"));vGt(n,e)}}return XYt(this),n},EWt.xl=function(){var t,e;return t=this.a-48,dWt(),dWt(),e=new bZ(12,null,t),!this.g&&(this.g=new jy),Cy(this.g,new Aw(t)),XYt(this),e},EWt.yl=function(){return XYt(this),dWt(),gDe},EWt.zl=function(){return XYt(this),dWt(),fDe},EWt.Al=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Bl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Cl=function(){return XYt(this),lut()},EWt.Dl=function(){return XYt(this),dWt(),bDe},EWt.El=function(){return XYt(this),dWt(),mDe},EWt.Fl=function(){var t;if(this.d>=this.j||64!=(65504&(t=uX(this.i,this.d++))))throw Fw(new rx(vWt((aL(),T8t))));return XYt(this),dWt(),dWt(),new oG(0,t-64)},EWt.Gl=function(){return XYt(this),BFt()},EWt.Hl=function(){return XYt(this),dWt(),vDe},EWt.Il=function(){var t;return dWt(),dWt(),t=new oG(0,105),XYt(this),t},EWt.Jl=function(){return XYt(this),dWt(),wDe},EWt.Kl=function(){return XYt(this),dWt(),pDe},EWt.Ll=function(t,e){return this.tl()},EWt.Ml=function(){return XYt(this),dWt(),sDe},EWt.Nl=function(){var t,e,n,i,r;if(this.d+1>=this.j)throw Fw(new rx(vWt((aL(),k8t))));if(i=-1,e=null,49<=(t=uX(this.i,this.d))&&t<=57){if(i=t-48,!this.g&&(this.g=new jy),Cy(this.g,new Aw(i)),++this.d,41!=uX(this.i,this.d))throw Fw(new rx(vWt((aL(),m8t))));++this.d}else switch(63==t&&--this.d,XYt(this),e=MYt(this),e.e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));break;default:throw Fw(new rx(vWt((aL(),_8t))))}if(XYt(this),n=null,2==(r=Wpt(this)).e){if(2!=r.em())throw Fw(new rx(vWt((aL(),E8t))));n=r.am(1),r=r.am(0)}if(7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),dWt(),dWt(),new vtt(i,e,r,n)},EWt.Ol=function(){return XYt(this),dWt(),cDe},EWt.Pl=function(){var t;if(XYt(this),t=aK(24,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Ql=function(){var t;if(XYt(this),t=aK(20,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Rl=function(){var t;if(XYt(this),t=aK(22,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Sl=function(){var t,e,n,i,r;for(t=0,n=0,e=-1;this.d<this.j&&0!=(r=XIt(e=uX(this.i,this.d)));)t|=r,++this.d;if(this.d>=this.j)throw Fw(new rx(vWt((aL(),v8t))));if(45==e){for(++this.d;this.d<this.j&&0!=(r=XIt(e=uX(this.i,this.d)));)n|=r,++this.d;if(this.d>=this.j)throw Fw(new rx(vWt((aL(),v8t))))}if(58==e){if(++this.d,XYt(this),i=MY(Wpt(this),t,n),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));XYt(this)}else{if(41!=e)throw Fw(new rx(vWt((aL(),x8t))));++this.d,XYt(this),i=MY(Wpt(this),t,n)}return i},EWt.Tl=function(){var t;if(XYt(this),t=aK(21,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Ul=function(){var t;if(XYt(this),t=aK(23,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Vl=function(){var t,e;if(XYt(this),t=this.f++,e=oK(Wpt(this),t),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),e},EWt.Wl=function(){var t;if(XYt(this),t=oK(Wpt(this),0),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Xl=function(t){return XYt(this),5==this.c?(XYt(this),gG(t,(dWt(),dWt(),new c4(9,t)))):gG(t,(dWt(),dWt(),new c4(3,t)))},EWt.Yl=function(t){var e;return XYt(this),dWt(),dWt(),e=new nL(2),5==this.c?(XYt(this),tUt(e,oDe),tUt(e,t)):(tUt(e,t),tUt(e,oDe)),e},EWt.Zl=function(t){return XYt(this),5==this.c?(XYt(this),dWt(),dWt(),new c4(9,t)):(dWt(),dWt(),new c4(3,t))},EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0,EWt.f=1,EWt.g=null,EWt.j=0,bY(ate,"RegEx/RegexParser",820),dOt(1824,820,{},Rm),EWt.sl=function(t){return!1},EWt.tl=function(){return HBt(this)},EWt.ul=function(t){return g$t(t)},EWt.vl=function(t){return ZYt(this)},EWt.wl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.xl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.yl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.zl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Al=function(){return XYt(this),g$t(67)},EWt.Bl=function(){return XYt(this),g$t(73)},EWt.Cl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Dl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.El=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Fl=function(){return XYt(this),g$t(99)},EWt.Gl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Hl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Il=function(){return XYt(this),g$t(105)},EWt.Jl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Kl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ll=function(t,e){return cHt(t,g$t(e)),-1},EWt.Ml=function(){return XYt(this),dWt(),dWt(),new oG(0,94)},EWt.Nl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ol=function(){return XYt(this),dWt(),dWt(),new oG(0,36)},EWt.Pl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ql=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Rl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Sl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Tl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ul=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Vl=function(){var t;if(XYt(this),t=oK(Wpt(this),0),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Wl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Xl=function(t){return XYt(this),gG(t,(dWt(),dWt(),new c4(3,t)))},EWt.Yl=function(t){var e;return XYt(this),dWt(),dWt(),tUt(e=new nL(2),t),tUt(e,oDe),e},EWt.Zl=function(t){return XYt(this),dWt(),dWt(),new c4(3,t)};var QNe=null,ZNe=null;bY(ate,"RegEx/ParserForXMLSchema",1824),dOt(117,1,mte,Mw),EWt.$l=function(t){throw Fw(new dv("Not supported."))},EWt._l=function(){return-1},EWt.am=function(t){return null},EWt.bm=function(){return null},EWt.cm=function(t){},EWt.dm=function(t){},EWt.em=function(){return 0},EWt.Ib=function(){return this.fm(0)},EWt.fm=function(t){return 11==this.e?".":""},EWt.e=0;var JNe,tDe,eDe,nDe,iDe,rDe,aDe,oDe,sDe,cDe,uDe,lDe,hDe,fDe,dDe,gDe,pDe,bDe,wDe,yDe,mDe,vDe,xDe,kDe,_De=null,EDe=null,TDe=null,CDe=bY(ate,"RegEx/Token",117);dOt(136,117,{3:1,136:1,117:1},_0),EWt.fm=function(t){var e,n,i;if(4==this.e)if(this==aDe)n=".";else if(this==rDe)n="\\d";else if(this==yDe)n="\\w";else if(this==dDe)n="\\s";else{for((i=new Ex).a+="[",e=0;e<this.b.length;e+=2)t&v6t&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?iI(i,azt(this.b[e])):(iI(i,azt(this.b[e])),i.a+="-",iI(i,azt(this.b[e+1])));i.a+="]",n=i.a}else if(this==uDe)n="\\D";else if(this==hDe)n="\\W";else if(this==lDe)n="\\S";else{for((i=new Ex).a+="[^",e=0;e<this.b.length;e+=2)t&v6t&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?iI(i,azt(this.b[e])):(iI(i,azt(this.b[e])),i.a+="-",iI(i,azt(this.b[e+1])));i.a+="]",n=i.a}return n},EWt.a=!1,EWt.c=!1,bY(ate,"RegEx/RangeToken",136),dOt(584,1,{584:1},Aw),EWt.a=0,bY(ate,"RegEx/RegexParser/ReferencePosition",584),dOt(583,1,{3:1,583:1},q_),EWt.Fb=function(t){var e;return!(null==t||!iN(t,583))&&(e=$z(t,583),wR(this.b,e.b)&&this.a==e.a)},EWt.Hb=function(){return wyt(this.b+"/"+tPt(this.a))},EWt.Ib=function(){return this.c.fm(this.a)},EWt.a=0,bY(ate,"RegEx/RegularExpression",583),dOt(223,117,mte,oG),EWt._l=function(){return this.a},EWt.fm=function(t){var e,n;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:n="\\"+Tj(this.a&XXt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=this.a>=FVt?"\\v"+uP(e="0"+(this.a>>>0).toString(16),e.length-6,e.length):""+Tj(this.a&XXt)}break;case 8:n=this==sDe||this==cDe?""+Tj(this.a&XXt):"\\"+Tj(this.a&XXt);break;default:n=null}return n},EWt.a=0,bY(ate,"RegEx/Token/CharToken",223),dOt(309,117,mte,c4),EWt.am=function(t){return this.a},EWt.cm=function(t){this.b=t},EWt.dm=function(t){this.c=t},EWt.em=function(){return 1},EWt.fm=function(t){var e;if(3==this.e)if(this.c<0&&this.b<0)e=this.a.fm(t)+"*";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw Fw(new dv("Token#toString(): CLOSURE "+this.c+$Wt+this.b));e=this.a.fm(t)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)e=this.a.fm(t)+"*?";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw Fw(new dv("Token#toString(): NONGREEDYCLOSURE "+this.c+$Wt+this.b));e=this.a.fm(t)+"{"+this.c+",}?"}return e},EWt.b=0,EWt.c=0,bY(ate,"RegEx/Token/ClosureToken",309),dOt(821,117,mte,GK),EWt.am=function(t){return 0==t?this.a:this.b},EWt.em=function(){return 2},EWt.fm=function(t){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+?":this.a.fm(t)+""+this.b.fm(t)},bY(ate,"RegEx/Token/ConcatToken",821),dOt(1822,117,mte,vtt),EWt.am=function(t){if(0==t)return this.d;if(1==t)return this.b;throw Fw(new dv("Internal Error: "+t))},EWt.em=function(){return this.b?2:1},EWt.fm=function(t){var e;return e=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?e+=this.d+"|"+this.b+")":e+=this.d+")",e},EWt.c=0,bY(ate,"RegEx/Token/ConditionToken",1822),dOt(1823,117,mte,k0),EWt.am=function(t){return this.b},EWt.em=function(){return 1},EWt.fm=function(t){return"(?"+(0==this.a?"":tPt(this.a))+(0==this.c?"":tPt(this.c))+":"+this.b.fm(t)+")"},EWt.a=0,EWt.c=0,bY(ate,"RegEx/Token/ModifierToken",1823),dOt(822,117,mte,iW),EWt.am=function(t){return this.a},EWt.em=function(){return 1},EWt.fm=function(t){var e;switch(e=null,this.e){case 6:e=0==this.b?"(?:"+this.a.fm(t)+")":"("+this.a.fm(t)+")";break;case 20:e="(?="+this.a.fm(t)+")";break;case 21:e="(?!"+this.a.fm(t)+")";break;case 22:e="(?<="+this.a.fm(t)+")";break;case 23:e="(?<!"+this.a.fm(t)+")";break;case 24:e="(?>"+this.a.fm(t)+")"}return e},EWt.b=0,bY(ate,"RegEx/Token/ParenToken",822),dOt(521,117,{3:1,117:1,521:1},bZ),EWt.bm=function(){return this.b},EWt.fm=function(t){return 12==this.e?"\\"+this.a:nOt(this.b)},EWt.a=0,bY(ate,"RegEx/Token/StringToken",521),dOt(465,117,mte,nL),EWt.$l=function(t){tUt(this,t)},EWt.am=function(t){return $z(hW(this.a,t),117)},EWt.em=function(){return this.a?this.a.a.c.length:0},EWt.fm=function(t){var e,n,i,r,a;if(1==this.e){if(2==this.a.a.c.length)e=$z(hW(this.a,0),117),r=3==(n=$z(hW(this.a,1),117)).e&&n.am(0)==e?e.fm(t)+"+":9==n.e&&n.am(0)==e?e.fm(t)+"+?":e.fm(t)+""+n.fm(t);else{for(a=new Ex,i=0;i<this.a.a.c.length;i++)iI(a,$z(hW(this.a,i),117).fm(t));r=a.a}return r}if(2==this.a.a.c.length&&7==$z(hW(this.a,1),117).e)r=$z(hW(this.a,0),117).fm(t)+"?";else if(2==this.a.a.c.length&&7==$z(hW(this.a,0),117).e)r=$z(hW(this.a,1),117).fm(t)+"??";else{for(iI(a=new Ex,$z(hW(this.a,0),117).fm(t)),i=1;i<this.a.a.c.length;i++)a.a+="|",iI(a,$z(hW(this.a,i),117).fm(t));r=a.a}return r},bY(ate,"RegEx/Token/UnionToken",465),dOt(518,1,{592:1},G_),EWt.Ib=function(){return this.a.b},bY(vte,"XMLTypeUtil/PatternMatcherImpl",518),dOt(1622,1381,{},jl),bY(vte,"XMLTypeValidator",1622),dOt(264,1,bXt,cq),EWt.Jc=function(t){t5(this,t)},EWt.Kc=function(){return(this.b-this.a)*this.c<0?kDe:new qN(this)},EWt.a=0,EWt.b=0,EWt.c=0,bY(kte,"ExclusiveRange",264),dOt(1068,1,rXt,Rl),EWt.Rb=function(t){$z(t,19),lL()},EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return H_()},EWt.Ub=function(){return U_()},EWt.Wb=function(t){$z(t,19),fL()},EWt.Ob=function(){return!1},EWt.Sb=function(){return!1},EWt.Tb=function(){return-1},EWt.Vb=function(){return-1},EWt.Qb=function(){throw Fw(new Jv(Tte))},bY(kte,"ExclusiveRange/1",1068),dOt(254,1,rXt,qN),EWt.Rb=function(t){$z(t,19),hL()},EWt.Nb=function(t){uK(this,t)},EWt.Pb=function(){return $lt(this)},EWt.Ub=function(){return A7(this)},EWt.Wb=function(t){$z(t,19),dL()},EWt.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},EWt.Sb=function(){return this.b>0},EWt.Tb=function(){return this.b},EWt.Vb=function(){return this.b-1},EWt.Qb=function(){throw Fw(new Jv(Tte))},EWt.a=0,EWt.b=0,bY(kte,"ExclusiveRange/RangeIterator",254);var SDe=PW(C7t,"C"),ADe=PW(M7t,"I"),MDe=PW(OWt,"Z"),IDe=PW(I7t,"J"),ODe=PW(T7t,"B"),LDe=PW(S7t,"D"),NDe=PW(A7t,"F"),DDe=PW(O7t,"S"),PDe=hU("org.eclipse.elk.core.labels","ILabelManager"),BDe=hU(F6t,"DiagnosticChain"),jDe=hU(l9t,"ResourceSet"),RDe=bY(F6t,"InvocationTargetException",null),$De=(Dx(),u5),FDe=FDe=u_t;Znt(Ww),cat("permProps",[[[Cte,Ste],[Ate,"gecko1_8"]],[[Cte,Ste],[Ate,"ie10"]],[[Cte,Ste],[Ate,"ie8"]],[[Cte,Ste],[Ate,"ie9"]],[[Cte,Ste],[Ate,"safari"]]]),FDe(null,"elk",null)}).call(this)}).call(this,typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:{})},{}],3:[function(t,e,n){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=function(e){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,n);var a=Object.assign({},e),o=!1;try{t.resolve("web-worker"),o=!0}catch{}if(e.workerUrl)if(o){var s=t("web-worker");a.workerFactory=function(t){return new s(t)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!a.workerFactory){var c=t("./elk-worker.min.js").Worker;a.workerFactory=function(t){return new c(t)}}return r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a))}return a(n,e),n}(t("./elk-api.js").default);Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=o,o.default=o},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(t,e,n){e.exports=Worker},{}]},{},[3])(3)},t.exports=e()}({get exports(){return IU},set exports(t){IU=t}});const OU=new(a(IU)),LU={},NU={};let DU={};const PU=function(t,e,n,i,r,a,o){const s=n.select(`[id="${e}"]`),c=s.insert("g").attr("class","nodes");return Object.keys(t).forEach((function(e){const n=t[e];let o="default";n.classes.length>0&&(o=n.classes.join(" "));const u=ew(n.styles);let l,h=void 0!==n.text?n.text:n.id;const f={width:0,height:0};if(Qh(ky().flowchart.htmlLabels)){const t={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};l=wP(s,t).node();const e=l.getBBox();f.width=e.width,f.height=e.height,f.labelNode=l,l.parentNode.removeChild(l)}else{const t=i.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",u.labelStyle.replace("color:","fill:"));const e=h.split(Jh.lineBreakRegex);for(const r of e){const e=i.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=r,t.appendChild(e)}l=t;const n=l.getBBox();f.width=n.width,f.height=n.height,f.labelNode=l}const d=[{id:n.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:n.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:n.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:n.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let g=0,p="",b={};switch(n.type){case"round":g=5,p="rect";break;case"square":case"group":default:p="rect";break;case"diamond":p="question",b={portConstraints:"FIXED_SIDE"};break;case"hexagon":p="hexagon";break;case"odd":case"odd_right":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"doublecircle":p="doublecircle"}const w={labelStyle:u.labelStyle,shape:p,labelText:h,rx:g,ry:g,class:o,style:u.style,id:n.id,link:n.link,linkTarget:n.linkTarget,tooltip:r.db.getTooltip(n.id)||"",domId:r.db.lookUpDomId(n.id),haveCallback:n.haveCallback,width:"group"===n.type?500:void 0,dir:n.dir,type:n.type,props:n.props,padding:ky().flowchart.padding};let y,m;"group"!==w.type&&(m=UL(c,w,n.dir),y=m.node().getBBox());const v={id:n.id,ports:"diamond"===n.type?d:[],layoutOptions:b,labelText:h,labelData:f,domId:r.db.lookUpDomId(n.id),width:null==y?void 0:y.width,height:null==y?void 0:y.height,type:n.type,el:m,parent:a.parentById[n.id]};DU[w.id]=v})),o},BU=(t,e,n)=>{const i={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return i.TD=i.TB,h.info("abc88",n,e,t),i[n][e][t]},jU=(t,e,n)=>{if(h.info("getNextPort abc88",{node:t,edgeDirection:e,graphDirection:n}),!LU[t])switch(n){case"TB":case"TD":LU[t]={inPosition:"north",outPosition:"south"};break;case"BT":LU[t]={inPosition:"south",outPosition:"north"};break;case"RL":LU[t]={inPosition:"east",outPosition:"west"};break;case"LR":LU[t]={inPosition:"west",outPosition:"east"}}const i="in"===e?LU[t].inPosition:LU[t].outPosition;return"in"===e?LU[t].inPosition=BU(LU[t].inPosition,e,n):LU[t].outPosition=BU(LU[t].outPosition,e,n),i},RU=(t,e)=>{let n=t.start,i=t.end;const r=DU[n],a=DU[i];return r&&a?("diamond"===r.type&&(n=`${n}-${jU(n,"out",e)}`),"diamond"===a.type&&(i=`${i}-${jU(i,"in",e)}`),{source:n,target:i}):{source:n,target:i}},$U=function(t,e,n,i){h.info("abc78 edges = ",t);const r=i.insert("g").attr("class","edgeLabels");let a,o,s={},c=e.db.getDirection();if(void 0!==t.defaultStyle){const e=ew(t.defaultStyle);a=e.style,o=e.labelStyle}return t.forEach((function(e){var i="L-"+e.start+"-"+e.end;void 0===s[i]?(s[i]=0,h.info("abc78 new entry",i,s[i])):(s[i]++,h.info("abc78 new entry",i,s[i]));let u=i+"-"+s[i];h.info("abc78 new link id to be used is",i,u,s[i]);var l="LS-"+e.start,f="LE-"+e.end;const d={style:"",labelStyle:""};switch(d.minlen=e.length||1,"arrow_open"===e.type?d.arrowhead="none":d.arrowhead="normal",d.arrowTypeStart="arrow_open",d.arrowTypeEnd="arrow_open",e.type){case"double_arrow_cross":d.arrowTypeStart="arrow_cross";case"arrow_cross":d.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":d.arrowTypeStart="arrow_point";case"arrow_point":d.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":d.arrowTypeStart="arrow_circle";case"arrow_circle":d.arrowTypeEnd="arrow_circle"}let g="",p="";switch(e.stroke){case"normal":g="fill:none;",void 0!==a&&(g=a),void 0!==o&&(p=o),d.thickness="normal",d.pattern="solid";break;case"dotted":d.thickness="normal",d.pattern="dotted",d.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":d.thickness="thick",d.pattern="solid",d.style="stroke-width: 3.5px;fill:none;"}if(void 0!==e.style){const t=ew(e.style);g=t.style,p=t.labelStyle}d.style=d.style+=g,d.labelStyle=d.labelStyle+=p,void 0!==e.interpolate?d.curve=Yb(e.interpolate,ju):void 0!==t.defaultInterpolate?d.curve=Yb(t.defaultInterpolate,ju):d.curve=Yb(NU.curve,ju),void 0===e.text?void 0!==e.style&&(d.arrowheadStyle="fill: #333"):(d.arrowheadStyle="fill: #333",d.labelpos="c"),d.labelType="text",d.label=e.text.replace(Jh.lineBreakRegex,"\n"),void 0===e.style&&(d.style=d.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),d.labelStyle=d.labelStyle.replace("color:","fill:"),d.id=u,d.classes="flowchart-link "+l+" "+f;const b=tN(r,d),{source:w,target:y}=RU(e,c);h.debug("abc78 source and target",w,y),n.edges.push({id:"e"+e.start+e.end,sources:[w],targets:[y],labelEl:b,labels:[{width:d.width,height:d.height,orgWidth:d.width,orgHeight:d.height,text:d.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:d})})),n},FU=function(t,e,n,i){let r="";switch(i&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),e.arrowTypeStart){case"arrow_cross":t.attr("marker-start","url("+r+"#"+n+"-crossStart)");break;case"arrow_point":t.attr("marker-start","url("+r+"#"+n+"-pointStart)");break;case"arrow_barb":t.attr("marker-start","url("+r+"#"+n+"-barbStart)");break;case"arrow_circle":t.attr("marker-start","url("+r+"#"+n+"-circleStart)");break;case"aggregation":t.attr("marker-start","url("+r+"#"+n+"-aggregationStart)");break;case"extension":t.attr("marker-start","url("+r+"#"+n+"-extensionStart)");break;case"composition":t.attr("marker-start","url("+r+"#"+n+"-compositionStart)");break;case"dependency":t.attr("marker-start","url("+r+"#"+n+"-dependencyStart)");break;case"lollipop":t.attr("marker-start","url("+r+"#"+n+"-lollipopStart)")}switch(e.arrowTypeEnd){case"arrow_cross":t.attr("marker-end","url("+r+"#"+n+"-crossEnd)");break;case"arrow_point":t.attr("marker-end","url("+r+"#"+n+"-pointEnd)");break;case"arrow_barb":t.attr("marker-end","url("+r+"#"+n+"-barbEnd)");break;case"arrow_circle":t.attr("marker-end","url("+r+"#"+n+"-circleEnd)");break;case"aggregation":t.attr("marker-end","url("+r+"#"+n+"-aggregationEnd)");break;case"extension":t.attr("marker-end","url("+r+"#"+n+"-extensionEnd)");break;case"composition":t.attr("marker-end","url("+r+"#"+n+"-compositionEnd)");break;case"dependency":t.attr("marker-end","url("+r+"#"+n+"-dependencyEnd)");break;case"lollipop":t.attr("marker-end","url("+r+"#"+n+"-lollipopEnd)")}},zU=function(t){const e={parentById:{},childrenById:{}},n=t.getSubGraphs();return h.info("Subgraphs - ",n),n.forEach((function(t){t.nodes.forEach((function(n){e.parentById[n]=t.id,void 0===e.childrenById[t.id]&&(e.childrenById[t.id]=[]),e.childrenById[t.id].push(n)}))})),n.forEach((function(t){t.id,void 0!==e.parentById[t.id]&&e.parentById[t.id]})),e},HU=function(t,e,n){const i=AU(t,e,n);if(void 0===i||"root"===i)return{x:0,y:0};const r=DU[i].offset;return{x:r.posX,y:r.posY}},UU=function(t,e,n,i,r){const a=HU(e.sources[0],e.targets[0],r),o=e.sections[0].startPoint,s=e.sections[0].endPoint,c=(e.sections[0].bendPoints?e.sections[0].bendPoints:[]).map((t=>[t.x+a.x,t.y+a.y])),u=[[o.x+a.x,o.y+a.y],...c,[s.x+a.x,s.y+a.y]],l=Fu().curve(ju),h=t.insert("path").attr("d",l(u)).attr("class","path").attr("fill","none"),f=t.insert("g").attr("class","edgeLabel"),d=ln(f.node().appendChild(e.labelEl)),g=d.node().firstChild.getBoundingClientRect();d.attr("width",g.width),d.attr("height",g.height),f.attr("transform",`translate(${e.labels[0].x+a.x}, ${e.labels[0].y+a.y})`),FU(h,n,i.type,i.arrowMarkerAbsolute)},GU=(t,e)=>{t.forEach((t=>{t.children||(t.children=[]);const n=e.childrenById[t.id];n&&n.forEach((e=>{t.children.push(DU[e])})),GU(t.children,e)}))},qU=async function(t,e,n,i){var r;i.db.clear(),DU={},i.db.setGen("gen-2"),i.parser.parse(t);const a=ln("body").append("div").attr("style","height:400px").attr("id","cy");let o={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(h.info("Drawing flowchart using v3 renderer",OU),i.db.getDirection()){case"BT":o.layoutOptions["elk.direction"]="UP";break;case"TB":o.layoutOptions["elk.direction"]="DOWN";break;case"LR":o.layoutOptions["elk.direction"]="RIGHT";break;case"RL":o.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:s,flowchart:c}=ky();let u;"sandbox"===s&&(u=ln("#i"+e));const l=ln("sandbox"===s?u.nodes()[0].contentDocument.body:"body"),f="sandbox"===s?u.nodes()[0].contentDocument:document,d=l.select(`[id="${e}"]`);uL(d,["point","circle","cross"],i.type,i.arrowMarkerAbsolute);const g=i.db.getVertices();let p;const b=i.db.getSubGraphs();h.info("Subgraphs - ",b);for(let h=b.length-1;h>=0;h--)p=b[h],i.db.addVertex(p.id,p.title,"group",void 0,p.classes,p.dir);const w=d.insert("g").attr("class","subgraphs"),y=zU(i.db);o=PU(g,e,l,f,i,y,o);const m=d.insert("g").attr("class","edges edgePath"),v=i.db.getEdges();o=$U(v,i,o,d),Object.keys(DU).forEach((t=>{const e=DU[t];e.parent||o.children.push(e),void 0!==y.childrenById[t]&&(e.labels=[{text:e.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:e.labelData.width,height:e.labelData.height}],delete e.x,delete e.y,delete e.width,delete e.height)})),GU(o.children,y),h.info("after layout",JSON.stringify(o,null,2));const x=await OU.layout(o);KU(0,0,x.children,d,w,i,0),h.info("after layout",x),null==(r=x.edges)||r.map((t=>{UU(m,t,t.edgeData,i,y)})),Ny({},d,c.diagramPadding,c.useMaxWidth),a.remove()},KU=(t,e,n,i,r,a,o)=>{n.forEach((function(n){if(n)if(DU[n.id].offset={posX:n.x+t,posY:n.y+e,x:t,y:e,depth:o,width:n.width,height:n.height},"group"===n.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+o%5+" node").attr("x",n.x+t).attr("y",n.y+e).attr("width",n.width).attr("height",n.height);const a=i.insert("g").attr("class","label");a.attr("transform",`translate(${n.labels[0].x+t+n.x}, ${n.labels[0].y+e+n.y})`),a.node().appendChild(n.labelData.labelNode),h.info("Id (UGH)= ",n.type,n.labels)}else h.info("Id (UGH)= ",n.id),n.el.attr("transform",`translate(${n.x+t+n.width/2}, ${n.y+e+n.height/2})`)})),n.forEach((function(n){n&&"group"===n.type&&KU(t+n.x,e+n.y,n.children,i,r,a,o+1)}))},YU={getClasses:function(t,e){h.info("Extracting classes"),e.db.clear("ver-2");try{return e.parse(t),e.db.getClasses()}catch{return{}}},draw:qU},WU=t=>{let e="";for(let n=0;n<5;n++)e+=`\n .subgraph-lvl-${n} {\n fill: ${t[`surface${n}`]};\n stroke: ${t[`surfacePeer${n}`]};\n }\n `;return e},XU=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:rP,renderer:YU,parser:JN,styles:t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n ${WU(t)}\n`}},Symbol.toStringTag,{value:"Module"}));var VU=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,26,27,28],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,23],l=[1,24],h=[1,27],f=[4,6,9,11,17,18,20,22,23,26,27,28],d={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:i.addTask(a[s],0,""),this.$=a[s];break;case 20:i.addEvent(a[s].substr(2)),this.$=a[s];break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:e,7:3,12:4,28:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,28:n},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},{1:[2,2]},{14:25,15:[1,26],31:h},t([15,31],[2,22]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:22,10:28,12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,29]},{21:[1,30]},t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(i,[2,19]),t(i,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(f,[2,9]),{14:34,31:h},{31:[2,23]},{11:[1,35]},t(f,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},g={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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 p(){this.yy={}}return d.lexer=g,p.prototype=d,d.Parser=p,new p}();VU.parser=VU;const QU=VU;let ZU="",JU=0;const tG=[],eG=[],nG=[],iG=()=>om,rG=(t,e,n)=>{cm(globalThis,t,e,n)},aG=function(){tG.length=0,eG.length=0,ZU="",nG.length=0,Jy()},oG=function(t){ZU=t,tG.push(t)},sG=function(){return tG},cG=function(){let t=fG();const e=100;let n=0;for(;!t&&n<e;)t=fG(),n++;return eG.push(...nG),eG},uG=function(t,e,n){const i={id:JU++,section:ZU,type:ZU,task:t,score:e||0,events:n?[n]:[]};nG.push(i)},lG=function(t){nG.find((t=>t.id===JU-1)).events.push(t)},hG=function(t){const e={section:ZU,type:ZU,description:t,task:t,classes:[]};eG.push(e)},fG=function(){const t=function(t){return nG[t].processed};let e=!0;for(const[n,i]of nG.entries())t(n),e=e&&i.processed;return e},dG=Object.freeze(Object.defineProperty({__proto__:null,addEvent:lG,addSection:oG,addTask:uG,addTaskOrg:hG,clear:aG,default:{clear:aG,getCommonDb:iG,addSection:oG,getSections:sG,getTasks:cG,addTask:uG,addTaskOrg:hG,addEvent:lG,parseDirective:rG},getCommonDb:iG,getSections:sG,getTasks:cG,parseDirective:rG},Symbol.toStringTag,{value:"Module"})),gG=12,pG=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},bG=function(t,e){const n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");function r(t){const n=Du().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(6.8181818181818175);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function a(t){const n=Du().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(6.8181818181818175);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function o(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return i.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"),i.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?r(i):e.score<3?a(i):o(i),n},wG=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},yG=function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},mG=function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}const i=t.append("polygon");i.attr("points",n(e.x,e.y,50,20,7)),i.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,yG(t,e)},vG=function(t,e,n){const i=t.append("g"),r=TG();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,pG(i,r),CG(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)};let xG=-1;const kG=function(t,e,n){const i=e.x+n.width/2,r=t.append("g");xG++;const a=450;r.append("line").attr("id","task"+xG).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),bG(r,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=TG();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,pG(r,o),e.x,CG(n)(e.task,r,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour)},_G=function(t,e){pG(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()},EG=function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},TG=function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},CG=function(){function t(t,e,n,r,a,o,s,c){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,r,a,o,s,c,u){const{taskFontSize:l,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let d=0;d<f.length;d++){const t=d*l-l*(f.length-1)/2,c=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",u).style("text-anchor","middle").style("font-size",l).style("font-family",h);c.append("tspan").attr("x",n+a/2).attr("dy",t).text(f[d]),c.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(c,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}();function SG(t,e){t.each((function(){var t,n=ln(this),i=n.text().split(/(\s+|<br>)/).reverse(),r=[],a=1.1,o=n.attr("y"),s=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",o).attr("dy",s+"em");for(let u=0;u<i.length;u++)t=i[i.length-1-u],r.push(t),c.text(r.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(r.pop(),c.text(r.join(" ").trim()),r="<br>"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",o).attr("dy",a+"em").text(t))}))}const AG=function(t,e,n,i){const r=n%gG-1,a=t.append("g");e.section=r,a.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);const o=a.append("g"),s=a.append("g"),c=s.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(SG,e.width).node().getBBox(),u=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*u*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,s.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),MG(o,e,r),e},MG=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)},IG={drawRect:pG,drawCircle:wG,drawSection:vG,drawText:yG,drawLabel:mG,drawTask:kG,drawBackgroundRect:_G,getTextObj:EG,getNoteRect:TG,initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},drawNode:AG,getVirtualNodeHeight:function(t,e,n){const i=t.append("g"),r=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(SG,e.width).node().getBBox(),a=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),r.height+1.1*a*.5+e.padding}},OG=function(t,e,n,i){const r=ky(),a=r.leftMargin?r.leftMargin:50;i.db.clear(),i.parser.parse(t+"\n"),h.debug("timeline",i.db);const o=r.securityLevel;let s;"sandbox"===o&&(s=ln("#i"+e));const c=ln("sandbox"===o?s.nodes()[0].contentDocument.body:"body").select("#"+e);c.append("g");const u=i.db.getTasks(),l=i.db.getCommonDb().getDiagramTitle();h.debug("task",u),IG.initGraphics(c);const f=i.db.getSections();h.debug("sections",f);let d=0,g=0,p=0,b=0,w=50+a,y=50;b=50;let m=0,v=!0;f.forEach((function(t){const e={number:m,descr:t,section:m,width:150,padding:20,maxHeight:d},n=IG.getVirtualNodeHeight(c,e,r);h.debug("sectionHeight before draw",n),d=Math.max(d,n+20)}));let x=0,k=0;h.debug("tasks.length",u.length);for(const[E,T]of u.entries()){const t={number:E,descr:T,section:T.section,width:150,padding:20,maxHeight:g},e=IG.getVirtualNodeHeight(c,t,r);h.debug("taskHeight before draw",e),g=Math.max(g,e+20),x=Math.max(x,T.events.length);let n=0;for(let i=0;i<T.events.length;i++){const t={descr:T.events[i],section:T.section,number:T.section,width:150,padding:20,maxHeight:50};n+=IG.getVirtualNodeHeight(c,t,r)}k=Math.max(k,n)}h.debug("maxSectionHeight before draw",d),h.debug("maxTaskHeight before draw",g),f&&f.length>0?f.forEach((t=>{const e={number:m,descr:t,section:m,width:150,padding:20,maxHeight:d};h.debug("sectionNode",e);const n=c.append("g"),i=IG.drawNode(n,e,m,r);h.debug("sectionNode output",i),n.attr("transform",`translate(${w}, ${b})`),y+=d+50;const a=u.filter((e=>e.section===t));a.length>0&&LG(c,a,m,w,y,g,r,x,k,d,!1),w+=200*Math.max(a.length,1),y=b,m++})):(v=!1,LG(c,u,m,w,y,g,r,x,k,d,!0));const _=c.node().getBBox();h.debug("bounds",_),l&&c.append("text").text(l).attr("x",_.width/2-a).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),p=v?d+g+150:g+100,c.append("g").attr("class","lineWrapper").append("line").attr("x1",a).attr("y1",p).attr("x2",_.width+3*a).attr("y2",p).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),Ny(void 0,c,r.timeline.padding?r.timeline.padding:50,!!r.timeline.useMaxWidth&&r.timeline.useMaxWidth)},LG=function(t,e,n,i,r,a,o,s,c,u,l){for(const f of e){const e={descr:f.task,section:n,number:n,width:150,padding:20,maxHeight:a};h.debug("taskNode",e);const s=t.append("g").attr("class","taskWrapper"),d=IG.drawNode(s,e,n,o).height;if(h.debug("taskHeight after draw",d),s.attr("transform",`translate(${i}, ${r})`),a=Math.max(a,d),f.events){const e=t.append("g").attr("class","lineWrapper");let s=a;r+=100,s+=NG(t,f.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+(l?a:u)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}i+=200,l&&!ky().timeline.disableMulticolor&&n++}r-=10},NG=function(t,e,n,i,r,a){let o=0;const s=r;r+=100;for(const c of e){const e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};h.debug("eventNode",e);const s=t.append("g").attr("class","eventWrapper"),u=IG.drawNode(s,e,n,a).height;o+=u,s.attr("transform",`translate(${i}, ${r})`),r=r+10+u}return r=s,o},DG={setConf:function(t){Object.keys(t).forEach((function(e){conf[e]=t[e]}))},draw:OG},PG=t=>{let e="";for(let n=0;n<t.THEME_COLOR_LIMIT;n++)t["lineColor"+n]=t["lineColor"+n]||t["cScaleInv"+n],kf(t["lineColor"+n])?t["lineColor"+n]=Ef(t["lineColor"+n],20):t["lineColor"+n]=Tf(t["lineColor"+n],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+n]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e},BG=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:dG,renderer:DG,parser:QU,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${PG(t)}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`}},Symbol.toStringTag,{value:"Module"}));var jG=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,13],i=[1,12],r=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],u=[1,26],l=[1,24],h=[1,25],f=[6,7,11],d=[1,6,13,15,16,19,22],g=[1,33],p=[1,34],b=[1,6,7,11,13,15,16,19,22],w={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",a[s].id),i.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:i.getLogger().trace("Icon: ",a[s]),i.decorateNode({icon:a[s]});break;case 17:case 21:i.decorateNode({class:a[s]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",a[s].id),i.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:i.decorateNode({icon:a[s]});break;case 25:i.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:i.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:i.getType(a[s-2],a[s])}}},table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:n,7:[1,10],9:9,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(c,[2,3]),{1:[2,2]},t(c,[2,4]),t(c,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:u,7:l,10:23,11:h},t(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),t(f,[2,18]),t(f,[2,19]),t(f,[2,20]),t(f,[2,21]),t(f,[2,23]),t(f,[2,24]),t(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:l,10:32,11:h},{1:[2,7],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(d,[2,14],{7:g,11:p}),t(b,[2,8]),t(b,[2,9]),t(b,[2,10]),t(f,[2,15]),t(f,[2,16]),t(f,[2,17]),{20:[1,35]},{21:[1,36]},t(d,[2,13],{7:g,11:p}),t(b,[2,11]),t(b,[2,12]),{21:[1,37]},t(f,[2,25]),t(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,typeof d.yylloc>"u"&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:((null===m||typeof m>"u")&&(m=y()),x=o[v]&&o[v][m]),typeof x>"u"||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),typeof(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f)))<"u")return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return!0}}return!0}},y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){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:t.getLogger().trace("Found comment",e.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:this.popState();break;case 5:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return t.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:t.getLogger().trace("end icon"),this.popState();break;case 10:return t.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return t.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 24:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 27:case 30:case 31:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 28:case 29:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 32:case 33:return t.getLogger().trace("Long description:",e.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function m(){this.yy={}}return w.lexer=y,m.prototype=w,w.Parser=m,new m}();jG.parser=jG;const RG=jG,$G=t=>Kh(t,ky());let FG=[],zG=0,HG={};const UG=()=>{FG=[],zG=0,HG={}},GG=function(t){for(let e=FG.length-1;e>=0;e--)if(FG[e].level<t)return FG[e];return null},qG=()=>FG.length>0?FG[0]:null,KG=(t,e,n,i)=>{h.info("addNode",t,e,n,i);const r=ky(),a={id:zG++,nodeId:$G(e),level:t,descr:$G(n),type:i,children:[],width:ky().mindmap.maxNodeWidth};switch(a.type){case YG.ROUNDED_RECT:case YG.RECT:case YG.HEXAGON:a.padding=2*r.mindmap.padding;break;default:a.padding=r.mindmap.padding}const o=GG(t);if(o)o.children.push(a),FG.push(a);else{if(0!==FG.length){let t=new Error('There can be only one root. No parent could be found for ("'+a.descr+'")');throw t.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},t}FG.push(a)}},YG={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},WG=(t,e)=>{switch(h.debug("In get type",t,e),t){case"[":return YG.RECT;case"(":return")"===e?YG.ROUNDED_RECT:YG.CLOUD;case"((":return YG.CIRCLE;case")":return YG.CLOUD;case"))":return YG.BANG;case"{{":return YG.HEXAGON;default:return YG.DEFAULT}},XG=(t,e)=>{HG[t]=e},VG=t=>{const e=FG[FG.length-1];t&&t.icon&&(e.icon=$G(t.icon)),t&&t.class&&(e.class=$G(t.class))},QG=t=>{switch(t){case YG.DEFAULT:return"no-border";case YG.RECT:return"rect";case YG.ROUNDED_RECT:return"rounded-rect";case YG.CIRCLE:return"circle";case YG.CLOUD:return"cloud";case YG.BANG:return"bang";case YG.HEXAGON:return"hexgon";default:return"no-border"}};let ZG;const JG=t=>{ZG=t},tq=()=>h,eq=t=>FG[t],nq=t=>HG[t],iq=Object.freeze(Object.defineProperty({__proto__:null,addNode:KG,clear:UG,decorateNode:VG,getElementById:nq,getLogger:tq,getMindmap:qG,getNodeById:eq,getType:WG,nodeType:YG,get parseError(){return ZG},sanitizeText:$G,setElementForId:XG,setErrorHandler:JG,type2Str:QG},Symbol.toStringTag,{value:"Module"})),rq=12;function aq(t,e){t.each((function(){var t,n=ln(this),i=n.text().split(/(\s+|<br>)/).reverse(),r=[],a=1.1,o=n.attr("y"),s=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",o).attr("dy",s+"em");for(let u=0;u<i.length;u++)t=i[i.length-1-u],r.push(t),c.text(r.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(r.pop(),c.text(r.join(" ").trim()),r="<br>"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",o).attr("dy",a+"em").text(t))}))}const oq=function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+QG(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)},sq=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+QG(e.type)).attr("height",e.height).attr("width",e.width)},cq=function(t,e){const n=e.width,i=e.height,r=.15*n,a=.25*n,o=.35*n,s=.2*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+QG(e.type)).attr("d",`M0 0 a${r},${r} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${r},${r} 1 0,1 ${.15*n},${1*i*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*i*.65}\n\n a${a},${r} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${r},${r} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${r},${r} 1 0,1 ${-1*n*.1},${-1*i*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*i*.65}\n\n H0 V0 Z`)},uq=function(t,e){const n=e.width,i=e.height,r=.15*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+QG(e.type)).attr("d",`M0 0 a${r},${r} 1 0,0 ${.25*n},${-1*i*.1}\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},${1*i*.1}\n\n a${r},${r} 1 0,0 ${.15*n},${1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${1*i*.34}\n a${r},${r} 1 0,0 ${-1*n*.15},${1*i*.33}\n\n a${r},${r} 1 0,0 ${-1*n*.25},${.15*i}\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},${-1*i*.15}\n\n a${r},${r} 1 0,0 ${-1*n*.1},${-1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${-1*i*.34}\n a${r},${r} 1 0,0 ${.1*n},${-1*i*.33}\n\n H0 V0 Z`)},lq=function(t,e){t.append("circle").attr("id","node-"+e.id).attr("class","node-bkg node-"+QG(e.type)).attr("r",e.width/2)};function hq(t,e,n,i,r){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+n+")")}const fq=function(t,e){const n=e.height,i=n/4,r=e.width-e.padding+2*i;hq(t,r,n,[{x:i,y:0},{x:r-i,y:0},{x:r,y:-n/2},{x:r-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],e)},dq=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+QG(e.type)).attr("height",e.height).attr("rx",e.padding).attr("ry",e.padding).attr("width",e.width)},gq={drawNode:function(t,e,n,i){const r=n%(rq-1),a=t.append("g");e.section=r;let o="section-"+r;r<0&&(o+=" section-root"),a.attr("class",(e.class?e.class+" ":"")+"mindmap-node "+o);const s=a.append("g"),c=a.append("g"),u=c.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(aq,e.width).node().getBBox(),l=i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=u.height+1.1*l*.5+e.padding,e.width=u.width+2*e.padding,e.icon)if(e.type===YG.CIRCLE)e.height+=50,e.width+=50,a.append("foreignObject").attr("height","50px").attr("width",e.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+r+" "+e.icon),c.attr("transform","translate("+e.width/2+", "+(e.height/2-1.5*e.padding)+")");else{e.width+=50;const t=e.height;e.height=Math.max(t,60);const n=Math.abs(e.height-t);a.append("foreignObject").attr("width","60px").attr("height",e.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+r+" "+e.icon),c.attr("transform","translate("+(25+e.width/2)+", "+(n/2+e.padding/2)+")")}else c.attr("transform","translate("+e.width/2+", "+e.padding/2+")");switch(e.type){case YG.DEFAULT:oq(s,e,r);break;case YG.ROUNDED_RECT:dq(s,e);break;case YG.RECT:sq(s,e);break;case YG.CIRCLE:s.attr("transform","translate("+e.width/2+", "+ +e.height/2+")"),lq(s,e);break;case YG.CLOUD:cq(s,e);break;case YG.BANG:uq(s,e);break;case YG.HEXAGON:fq(s,e)}return XG(e.id,a),e.height},positionNode:function(t){const e=nq(t.id),n=t.x||0,i=t.y||0;e.attr("transform","translate("+n+","+i+")")},drawEdge:function(t,e,n,i,r){const a=r%(rq-1),o=n.x+n.width/2,s=n.y+n.height/2,c=e.x+e.width/2,u=e.y+e.height/2,l=c>o?o+Math.abs(o-c)/2:o-Math.abs(o-c)/2,h=u>s?s+Math.abs(s-u)/2:s-Math.abs(s-u)/2,f=c>o?Math.abs(o-l)/2+o:-Math.abs(o-l)/2+o,d=u>s?Math.abs(s-h)/2+s:-Math.abs(s-h)/2+s;t.append("path").attr("d","TB"===n.direction||"BT"===n.direction?`M${o},${s} Q${o},${d} ${l},${h} T${c},${u}`:`M${o},${s} Q${f},${s} ${l},${h} T${c},${u}`).attr("class","edge section-edge-"+a+" edge-depth-"+i)}};var pq={};!function(t){!function(e,n){t.exports=n()}(0,(function(){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return s(t)||c(t,e)||u(t,e)||h()}function s(t){if(Array.isArray(t))return t}function c(t,e){var n=null==t?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(c){s=!0,r=c}finally{try{!o&&null!=n.return&&n.return()}finally{if(s)throw r}}return a}}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f=typeof window>"u"?null:window,d=f?f.navigator:null;f&&f.document;var g=t(""),p=t({}),b=t((function(){})),w=typeof HTMLElement>"u"?"undefined":t(HTMLElement),y=function(t){return t&&t.instanceString&&v(t.instanceString)?t.instanceString():null},m=function(e){return null!=e&&t(e)==g},v=function(e){return null!=e&&t(e)===b},x=function(t){return!S(t)&&(Array.isArray?Array.isArray(t):null!=t&&t instanceof Array)},k=function(e){return null!=e&&t(e)===p&&!x(e)&&e.constructor===Object},_=function(e){return null!=e&&t(e)===p},E=function(e){return null!=e&&t(e)===t(1)&&!isNaN(e)},T=function(t){return E(t)&&Math.floor(t)===t},C=function(t){if("undefined"!==w)return null!=t&&t instanceof HTMLElement},S=function(t){return A(t)||M(t)},A=function(t){return"collection"===y(t)&&t._private.single},M=function(t){return"collection"===y(t)&&!t._private.single},I=function(t){return"core"===y(t)},O=function(t){return"stylesheet"===y(t)},L=function(t){return"event"===y(t)},N=function(t){return null==t||!(""!==t&&!t.match(/^\s+$/))},D=function(t){return!(typeof HTMLElement>"u")&&t instanceof HTMLElement},P=function(t){return k(t)&&E(t.x1)&&E(t.x2)&&E(t.y1)&&E(t.y2)},B=function(t){return _(t)&&v(t.then)},j=function(){return d&&d.userAgent.match(/msie|trident|edge/i)},R=function(t,e){e||(e=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);return t.join("$")});var n=function n(){var i,r=this,a=arguments,o=e.apply(r,a),s=n.cache;return(i=s[o])||(i=s[o]=t.apply(r,a)),i};return n.cache={},n},$=R((function(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))})),F=R((function(t){return t.replace(/(-\w)/g,(function(t){return t[1].toUpperCase()}))})),z=R((function(t,e){return t+e[0].toUpperCase()+e.substring(1)}),(function(t,e){return t+"$"+e})),H=function(t){return N(t)?t:t.charAt(0).toUpperCase()+t.substring(1)},U="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",G="rgb[a]?\\(("+U+"[%]?)\\s*,\\s*("+U+"[%]?)\\s*,\\s*("+U+"[%]?)(?:\\s*,\\s*("+U+"))?\\)",q="rgb[a]?\\((?:"+U+"[%]?)\\s*,\\s*(?:"+U+"[%]?)\\s*,\\s*(?:"+U+"[%]?)(?:\\s*,\\s*(?:"+U+"))?\\)",K="hsl[a]?\\(("+U+")\\s*,\\s*("+U+"[%])\\s*,\\s*("+U+"[%])(?:\\s*,\\s*("+U+"))?\\)",Y="hsl[a]?\\((?:"+U+")\\s*,\\s*(?:"+U+"[%])\\s*,\\s*(?:"+U+"[%])(?:\\s*,\\s*(?:"+U+"))?\\)",W="\\#[0-9a-fA-F]{3}",X="\\#[0-9a-fA-F]{6}",V=function(t,e){return t<e?-1:t>e?1:0},Q=function(t,e){return-1*V(t,e)},Z=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,n=1;n<e.length;n++){var i=e[n];if(null!=i)for(var r=Object.keys(i),a=0;a<r.length;a++){var o=r[a];t[o]=i[o]}}return t},J=function(t){if((4===t.length||7===t.length)&&"#"===t[0]){var e,n,i,r=16;return 4===t.length?(e=parseInt(t[1]+t[1],r),n=parseInt(t[2]+t[2],r),i=parseInt(t[3]+t[3],r)):(e=parseInt(t[1]+t[2],r),n=parseInt(t[3]+t[4],r),i=parseInt(t[5]+t[6],r)),[e,n,i]}},tt=function(t){var e,n,i,r,a,o,s,c;function u(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var l=new RegExp("^"+K+"$").exec(t);if(l){if((n=parseInt(l[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(i=parseFloat(l[2]))<0||i>100||(i/=100,(r=parseFloat(l[3]))<0||r>100)||(r/=100,void 0!==(a=l[4])&&((a=parseFloat(a))<0||a>1)))return;if(0===i)o=s=c=Math.round(255*r);else{var h=r<.5?r*(1+i):r+i-r*i,f=2*r-h;o=Math.round(255*u(f,h,n+1/3)),s=Math.round(255*u(f,h,n)),c=Math.round(255*u(f,h,n-1/3))}e=[o,s,c,a]}return e},et=function(t){var e,n=new RegExp("^"+G+"$").exec(t);if(n){e=[];for(var i=[],r=1;r<=3;r++){var a=n[r];if("%"===a[a.length-1]&&(i[r]=!0),a=parseFloat(a),i[r]&&(a=a/100*255),a<0||a>255)return;e.push(Math.floor(a))}var o=i[1]||i[2]||i[3],s=i[1]&&i[2]&&i[3];if(o&&!s)return;var c=n[4];if(void 0!==c){if((c=parseFloat(c))<0||c>1)return;e.push(c)}}return e},nt=function(t){return rt[t.toLowerCase()]},it=function(t){return(x(t)?t:null)||nt(t)||J(t)||et(t)||tt(t)},rt={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},at=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(k(a))throw Error("Tried to set map with object key");r<n.length-1?(null==e[a]&&(e[a]={}),e=e[a]):e[a]=t.value}},ot=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(k(a))throw Error("Tried to get map with object key");if(null==(e=e[a]))return e}return e};function st(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var ct=st,ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof r<"u"?r:typeof self<"u"?self:{};function lt(t,e){return t(e={exports:{}},e.exports),e.exports}var ht="object"==typeof ut&&ut&&ut.Object===Object&&ut,ft="object"==typeof self&&self&&self.Object===Object&&self,dt=ht||ft||Function("return this")(),gt=function(){return dt.Date.now()},pt=/\s/;function bt(t){for(var e=t.length;e--&&pt.test(t.charAt(e)););return e}var wt=bt,yt=/^\s+/;function mt(t){return t&&t.slice(0,wt(t)+1).replace(yt,"")}var vt=mt,xt=dt.Symbol,kt=Object.prototype,_t=kt.hasOwnProperty,Et=kt.toString,Tt=xt?xt.toStringTag:void 0;function Ct(t){var e=_t.call(t,Tt),n=t[Tt];try{t[Tt]=void 0;var i=!0}catch{}var r=Et.call(t);return i&&(e?t[Tt]=n:delete t[Tt]),r}var St=Ct,At=Object.prototype.toString;function Mt(t){return At.call(t)}var It=Mt,Ot="[object Null]",Lt="[object Undefined]",Nt=xt?xt.toStringTag:void 0;function Dt(t){return null==t?void 0===t?Lt:Ot:Nt&&Nt in Object(t)?St(t):It(t)}var Pt=Dt;function Bt(t){return null!=t&&"object"==typeof t}var jt=Bt,Rt="[object Symbol]";function $t(t){return"symbol"==typeof t||jt(t)&&Pt(t)==Rt}var Ft=$t,zt=NaN,Ht=/^[-+]0x[0-9a-f]+$/i,Ut=/^0b[01]+$/i,Gt=/^0o[0-7]+$/i,qt=parseInt;function Kt(t){if("number"==typeof t)return t;if(Ft(t))return zt;if(ct(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ct(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=vt(t);var n=Ut.test(t);return n||Gt.test(t)?qt(t.slice(2),n?2:8):Ht.test(t)?zt:+t}var Yt=Kt,Wt="Expected a function",Xt=Math.max,Vt=Math.min;function Qt(t,e,n){var i,r,a,o,s,c,u=0,l=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(Wt);function d(e){var n=i,a=r;return i=r=void 0,u=e,o=t.apply(a,n)}function g(t){return u=t,s=setTimeout(w,e),l?d(t):o}function p(t){var n=e-(t-c);return h?Vt(n,a-(t-u)):n}function b(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=a}function w(){var t=gt();if(b(t))return y(t);s=setTimeout(w,p(t))}function y(t){return s=void 0,f&&i?d(t):(i=r=void 0,o)}function m(){void 0!==s&&clearTimeout(s),u=0,i=c=r=s=void 0}function v(){return void 0===s?o:y(gt())}function x(){var t=gt(),n=b(t);if(i=arguments,r=this,c=t,n){if(void 0===s)return g(c);if(h)return clearTimeout(s),s=setTimeout(w,e),d(c)}return void 0===s&&(s=setTimeout(w,e)),o}return e=Yt(e)||0,ct(n)&&(l=!!n.leading,a=(h="maxWait"in n)?Xt(Yt(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),x.cancel=m,x.flush=v,x}var Zt=Qt,Jt=f?f.performance:null,te=Jt&&Jt.now?function(){return Jt.now()}:function(){return Date.now()},ee=function(){if(f){if(f.requestAnimationFrame)return function(t){f.requestAnimationFrame(t)};if(f.mozRequestAnimationFrame)return function(t){f.mozRequestAnimationFrame(t)};if(f.webkitRequestAnimationFrame)return function(t){f.webkitRequestAnimationFrame(t)};if(f.msRequestAnimationFrame)return function(t){f.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout((function(){t(te())}),1e3/60)}}(),ne=function(t){return ee(t)},ie=te,re=9261,ae=65599,oe=5381,se=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re;!(e=t.next()).done;)n=n*ae+e.value|0;return n},ce=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:re)*ae+t|0},ue=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;return(e<<5)+e+t|0},le=function(t,e){return 2097152*t+e},he=function(t){return 2097152*t[0]+t[1]},fe=function(t,e){return[ce(t[0],e[0]),ue(t[1],e[1])]},de=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return se({next:function(){return i<r?n.value=t[i++]:n.done=!0,n}},e)},ge=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return se({next:function(){return i<r?n.value=t.charCodeAt(i++):n.done=!0,n}},e)},pe=function(){return be(arguments)},be=function(t){for(var e,n=0;n<t.length;n++){var i=t[n];e=0===n?ge(i):ge(i,e)}return e},we=!0,ye=null!=console.warn,me=null!=console.trace,ve=Number.MAX_SAFE_INTEGER||9007199254740991,xe=function(){return!0},ke=function(){return!1},_e=function(){return 0},Ee=function(){},Te=function(t){throw new Error(t)},Ce=function(t){if(void 0===t)return we;we=!!t},Se=function(t){Ce()&&(ye?console.warn(t):(console.log(t),me&&console.trace()))},Ae=function(t){return Z({},t)},Me=function(t){return null==t?t:x(t)?t.slice():k(t)?Ae(t):t},Ie=function(t){return t.slice()},Oe=function(t,e){for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e},Le={},Ne=function(){return Le},De=function(t){var e=Object.keys(t);return function(n){for(var i={},r=0;r<e.length;r++){var a=e[r],o=null==n?void 0:n[a];i[a]=void 0===o?t[a]:o}return i}},Pe=function(t,e,n){for(var i=t.length-1;i>=0&&(t[i]!==e||(t.splice(i,1),!n));i--);},Be=function(t){t.splice(0,t.length)},je=function(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.push(i)}},Re=function(t,e,n){return n&&(e=z(n,e)),t[e]},$e=function(t,e,n,i){n&&(e=z(n,e)),t[e]=i},Fe=function(){function t(){e(this,t),this._obj={}}return i(t,[{key:"set",value:function(t,e){return this._obj[t]=e,this}},{key:"delete",value:function(t){return this._obj[t]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(t){return void 0!==this._obj[t]}},{key:"get",value:function(t){return this._obj[t]}}]),t}(),ze=typeof Map<"u"?Map:Fe,He="undefined",Ue=function(){function t(n){if(e(this,t),this._obj=Object.create(null),this.size=0,null!=n){var i;i=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var r=0;r<i.length;r++)this.add(i[r])}}return i(t,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(t){var e=this._obj;1!==e[t]&&(e[t]=1,this.size++)}},{key:"delete",value:function(t){var e=this._obj;1===e[t]&&(e[t]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(t){return 1===this._obj[t]}},{key:"toArray",value:function(){var t=this;return Object.keys(this._obj).filter((function(e){return t.has(e)}))}},{key:"forEach",value:function(t,e){return this.toArray().forEach(t,e)}}]),t}(),Ge=(typeof Set>"u"?"undefined":t(Set))!==He?Set:Ue,qe=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==t&&void 0!==e&&I(t)){var i=e.group;if(null==i&&(i=e.data&&null!=e.data.source&&null!=e.data.target?"edges":"nodes"),"nodes"===i||"edges"===i){this.length=1,this[0]=this;var r=this._private={cy:t,single:!0,data:e.data||{},position:e.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:i,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!e.selected,selectable:void 0===e.selectable||!!e.selectable,locked:!!e.locked,grabbed:!1,grabbable:void 0===e.grabbable||!!e.grabbable,pannable:void 0===e.pannable?"edges"===i:!!e.pannable,active:!1,classes:new Ge,animation:{current:[],queue:[]},rscratch:{},scratch:e.scratch||{},edges:[],children:[],parent:e.parent&&e.parent.isNode()?e.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==r.position.x&&(r.position.x=0),null==r.position.y&&(r.position.y=0),e.renderedPosition){var a=e.renderedPosition,o=t.pan(),s=t.zoom();r.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var c=[];x(e.classes)?c=e.classes:m(e.classes)&&(c=e.classes.split(/\s+/));for(var u=0,l=c.length;u<l;u++){var h=c[u];!h||""===h||r.classes.add(h)}this.createEmitter();var f=e.style||e.css;f&&(Se("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(f)),(void 0===n||n)&&this.restore()}else Te("An element must be of type `nodes` or `edges`; you specified `"+i+"`")}else Te("An element must have a core reference and parameters set")},Ke=function(t){return t={bfs:t.bfs||!t.dfs,dfs:t.dfs||!t.bfs},function(e,n,i){var r;k(e)&&!S(e)&&(e=(r=e).roots||r.root,n=r.visit,i=r.directed),i=2!==arguments.length||v(n)?i:n,n=v(n)?n:function(){};for(var a,o=this._private.cy,s=e=m(e)?this.filter(e):e,c=[],u=[],l={},h={},f={},d=0,g=this.byGroup(),p=g.nodes,b=g.edges,w=0;w<s.length;w++){var y=s[w],x=y.id();y.isNode()&&(c.unshift(y),t.bfs&&(f[x]=!0,u.push(y)),h[x]=0)}for(var _=function(){var e=t.bfs?c.shift():c.pop(),r=e.id();if(t.dfs){if(f[r])return"continue";f[r]=!0,u.push(e)}var o=h[r],s=l[r],g=null!=s?s.source():null,w=null!=s?s.target():null,y=null==s?void 0:e.same(g)?w[0]:g[0],m=void 0;if(!0===(m=n(e,s,y,d++,o)))return a=e,"break";if(!1===m)return"break";for(var v=e.connectedEdges().filter((function(t){return(!i||t.source().same(e))&&b.has(t)})),x=0;x<v.length;x++){var k=v[x],_=k.connectedNodes().filter((function(t){return!t.same(e)&&p.has(t)})),E=_.id();0!==_.length&&!f[E]&&(_=_[0],c.push(_),t.bfs&&(f[E]=!0,u.push(_)),l[E]=k,h[E]=h[r]+1)}};0!==c.length;){var E=_();if("continue"!==E&&"break"===E)break}for(var T=o.collection(),C=0;C<u.length;C++){var A=u[C],M=l[A.id()];null!=M&&T.push(M),T.push(A)}return{path:o.collection(T),found:o.collection(a)}}},Ye={breadthFirstSearch:Ke({bfs:!0}),depthFirstSearch:Ke({dfs:!0})};Ye.bfs=Ye.breadthFirstSearch,Ye.dfs=Ye.depthFirstSearch;var We=lt((function(t,e){(function(){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;i=Math.floor,l=Math.min,n=function(t,e){return t<e?-1:t>e?1:0},u=function(t,e,r,a,o){var s;if(null==r&&(r=0),null==o&&(o=n),r<0)throw new Error("lo must be non-negative");for(null==a&&(a=t.length);r<a;)o(e,t[s=i((r+a)/2)])<0?a=s:r=s+1;return[].splice.apply(t,[r,r-r].concat(e)),e},o=function(t,e,i){return null==i&&(i=n),t.push(e),g(t,0,t.length-1,i)},a=function(t,e){var i,r;return null==e&&(e=n),i=t.pop(),t.length?(r=t[0],t[0]=i,p(t,0,e)):r=i,r},c=function(t,e,i){var r;return null==i&&(i=n),r=t[0],t[0]=e,p(t,0,i),r},s=function(t,e,i){var r;return null==i&&(i=n),t.length&&i(t[0],e)<0&&(e=(r=[t[0],e])[0],t[0]=r[1],p(t,0,i)),e},r=function(t,e){var r,a,o,s,c,u;for(null==e&&(e=n),c=[],a=0,o=(s=function(){u=[];for(var e=0,n=i(t.length/2);0<=n?e<n:e>n;0<=n?e++:e--)u.push(e);return u}.apply(this).reverse()).length;a<o;a++)r=s[a],c.push(p(t,r,e));return c},d=function(t,e,i){var r;if(null==i&&(i=n),-1!==(r=t.indexOf(e)))return g(t,0,r,i),p(t,r,i)},h=function(t,e,i){var a,o,c,u,l;if(null==i&&(i=n),!(o=t.slice(0,e)).length)return o;for(r(o,i),c=0,u=(l=t.slice(e)).length;c<u;c++)a=l[c],s(o,a,i);return o.sort(i).reverse()},f=function(t,e,i){var o,s,c,h,f,d,g,p,b;if(null==i&&(i=n),10*e<=t.length){if(!(c=t.slice(0,e).sort(i)).length)return c;for(s=c[c.length-1],h=0,d=(g=t.slice(e)).length;h<d;h++)i(o=g[h],s)<0&&(u(c,o,0,null,i),c.pop(),s=c[c.length-1]);return c}for(r(t,i),b=[],f=0,p=l(e,t.length);0<=p?f<p:f>p;0<=p?++f:--f)b.push(a(t,i));return b},g=function(t,e,i,r){var a,o,s;for(null==r&&(r=n),a=t[i];i>e&&r(a,o=t[s=i-1>>1])<0;)t[i]=o,i=s;return t[i]=a},p=function(t,e,i){var r,a,o,s,c;for(null==i&&(i=n),a=t.length,c=e,o=t[e],r=2*e+1;r<a;)(s=r+1)<a&&!(i(t[r],t[s])<0)&&(r=s),t[e]=t[r],r=2*(e=r)+1;return t[e]=o,g(t,c,e,i)},e=function(){function t(t){this.cmp=t??n,this.nodes=[]}return t.push=o,t.pop=a,t.replace=c,t.pushpop=s,t.heapify=r,t.updateItem=d,t.nlargest=h,t.nsmallest=f,t.prototype.push=function(t){return o(this.nodes,t,this.cmp)},t.prototype.pop=function(){return a(this.nodes,this.cmp)},t.prototype.peek=function(){return this.nodes[0]},t.prototype.contains=function(t){return-1!==this.nodes.indexOf(t)},t.prototype.replace=function(t){return c(this.nodes,t,this.cmp)},t.prototype.pushpop=function(t){return s(this.nodes,t,this.cmp)},t.prototype.heapify=function(){return r(this.nodes,this.cmp)},t.prototype.updateItem=function(t){return d(this.nodes,t,this.cmp)},t.prototype.clear=function(){return this.nodes=[]},t.prototype.empty=function(){return 0===this.nodes.length},t.prototype.size=function(){return this.nodes.length},t.prototype.clone=function(){var e;return(e=new t).nodes=this.nodes.slice(0),e},t.prototype.toArray=function(){return this.nodes.slice(0)},t.prototype.insert=t.prototype.push,t.prototype.top=t.prototype.peek,t.prototype.front=t.prototype.peek,t.prototype.has=t.prototype.contains,t.prototype.copy=t.prototype.clone,t}(),b=function(){return e},t.exports=b()}).call(ut)})),Xe=We,Ve=De({root:null,weight:function(t){return 1},directed:!1}),Qe={dijkstra:function(t){if(!k(t)){var e=arguments;t={root:e[0],weight:e[1],directed:e[2]}}var n=Ve(t),i=n.root,r=n.weight,a=n.directed,o=this,s=r,c=m(i)?this.filter(i)[0]:i[0],u={},l={},h={},f=this.byGroup(),d=f.nodes,g=f.edges;g.unmergeBy((function(t){return t.isLoop()}));for(var p=function(t){return u[t.id()]},b=function(t,e){u[t.id()]=e,w.updateItem(t)},w=new Xe((function(t,e){return p(t)-p(e)})),y=0;y<d.length;y++){var v=d[y];u[v.id()]=v.same(c)?0:1/0,w.push(v)}for(var x=function(t,e){for(var n,i=(a?t.edgesTo(e):t.edgesWith(e)).intersect(g),r=1/0,o=0;o<i.length;o++){var c=i[o],u=s(c);(u<r||!n)&&(r=u,n=c)}return{edge:n,dist:r}};w.size()>0;){var _=w.pop(),E=p(_),T=_.id();if(h[T]=E,E!==1/0)for(var C=_.neighborhood().intersect(d),S=0;S<C.length;S++){var A=C[S],M=A.id(),I=x(_,A),O=E+I.dist;O<p(A)&&(b(A,O),l[M]={node:_,edge:I.edge})}}return{distanceTo:function(t){var e=m(t)?d.filter(t)[0]:t[0];return h[e.id()]},pathTo:function(t){var e=m(t)?d.filter(t)[0]:t[0],n=[],i=e,r=i.id();if(e.length>0)for(n.unshift(e);l[r];){var a=l[r];n.unshift(a.edge),n.unshift(a.node),r=(i=a.node).id()}return o.spawn(n)}}}},Ze={kruskal:function(t){t=t||function(t){return 1};for(var e=this.byGroup(),n=e.nodes,i=e.edges,r=n.length,a=new Array(r),o=n,s=function(t){for(var e=0;e<a.length;e++)if(a[e].has(t))return e},c=0;c<r;c++)a[c]=this.spawn(n[c]);for(var u=i.sort((function(e,n){return t(e)-t(n)})),l=0;l<u.length;l++){var h=u[l],f=h.source()[0],d=h.target()[0],g=s(f),p=s(d),b=a[g],w=a[p];g!==p&&(o.merge(h),b.merge(w),a.splice(p,1))}return o}},Je=De({root:null,goal:null,weight:function(t){return 1},heuristic:function(t){return 0},directed:!1}),tn={aStar:function(t){var e=this.cy(),n=Je(t),i=n.root,r=n.goal,a=n.heuristic,o=n.directed,s=n.weight;i=e.collection(i)[0],r=e.collection(r)[0];var c,u,l=i.id(),h=r.id(),f={},d={},g={},p=new Xe((function(t,e){return d[t.id()]-d[e.id()]})),b=new Ge,w={},y={},m=function(t,e){p.push(t),b.add(e)},v=function(){c=p.pop(),u=c.id(),b.delete(u)},x=function(t){return b.has(t)};m(i,l),f[l]=0,d[l]=a(i);for(var k=0;p.size()>0;){if(v(),k++,u===h){for(var _=[],E=r,T=h,C=y[T];_.unshift(E),null!=C&&_.unshift(C),null!=(E=w[T]);)C=y[T=E.id()];return{found:!0,distance:f[u],path:this.spawn(_),steps:k}}g[u]=!0;for(var S=c._private.edges,A=0;A<S.length;A++){var M=S[A];if(this.hasElementWithId(M.id())&&(!o||M.data("source")===u)){var I=M.source(),O=M.target(),L=I.id()!==u?I:O,N=L.id();if(this.hasElementWithId(N)&&!g[N]){var D=f[u]+s(M);if(!x(N)){f[N]=D,d[N]=D+a(L),m(L,N),w[N]=c,y[N]=M;continue}D<f[N]&&(f[N]=D,d[N]=D+a(L),w[N]=c,y[N]=M)}}}}return{found:!1,distance:void 0,path:void 0,steps:k}}},en=De({weight:function(t){return 1},directed:!1}),nn={floydWarshall:function(t){for(var e=this.cy(),n=en(t),i=n.weight,r=n.directed,a=i,o=this.byGroup(),s=o.nodes,c=o.edges,u=s.length,l=u*u,h=function(t){return s.indexOf(t)},f=function(t){return s[t]},d=new Array(l),g=0;g<l;g++){var p=g%u,b=(g-p)/u;d[g]=b===p?0:1/0}for(var w=new Array(l),y=new Array(l),v=0;v<c.length;v++){var x=c[v],k=x.source()[0],_=x.target()[0];if(k!==_){var E=h(k),T=h(_),C=E*u+T,S=a(x);if(d[C]>S&&(d[C]=S,w[C]=T,y[C]=x),!r){var A=T*u+E;!r&&d[A]>S&&(d[A]=S,w[A]=E,y[A]=x)}}}for(var M=0;M<u;M++)for(var I=0;I<u;I++)for(var O=I*u+M,L=0;L<u;L++){var N=I*u+L,D=M*u+L;d[O]+d[D]<d[N]&&(d[N]=d[O]+d[D],w[N]=w[O])}var P=function(t){return(m(t)?e.filter(t):t)[0]},B=function(t){return h(P(t))};return{distance:function(t,e){var n=B(t),i=B(e);return d[n*u+i]},path:function(t,n){var i=B(t),r=B(n),a=f(i);if(i===r)return a.collection();if(null==w[i*u+r])return e.collection();var o,s=e.collection(),c=i;for(s.merge(a);i!==r;)c=i,i=w[i*u+r],o=y[c*u+i],s.merge(o),s.merge(f(i));return s}}}},rn=De({weight:function(t){return 1},directed:!1,root:null}),an={bellmanFord:function(t){var e=this,n=rn(t),i=n.weight,r=n.directed,a=n.root,o=i,s=this,c=this.cy(),u=this.byGroup(),l=u.edges,h=u.nodes,f=h.length,d=new ze,g=!1,p=[];a=c.collection(a)[0],l.unmergeBy((function(t){return t.isLoop()}));for(var b=l.length,w=function(t){var e=d.get(t.id());return e||(e={},d.set(t.id(),e)),e},y=function(t){return(m(t)?c.$(t):t)[0]},v=function(t){return w(y(t)).dist},x=function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,i=[],r=y(t);;){if(null==r)return e.spawn();var o=w(r),c=o.edge,u=o.pred;if(i.unshift(r[0]),r.same(n)&&i.length>0)break;null!=c&&i.unshift(c),r=u}return s.spawn(i)},k=0;k<f;k++){var _=h[k],E=w(_);_.same(a)?E.dist=0:E.dist=1/0,E.pred=null,E.edge=null}for(var T=!1,C=function(t,e,n,i,r,a){var o=i.dist+a;o<r.dist&&!n.same(i.edge)&&(r.dist=o,r.pred=t,r.edge=n,T=!0)},S=1;S<f;S++){T=!1;for(var A=0;A<b;A++){var M=l[A],I=M.source(),O=M.target(),L=o(M),N=w(I),D=w(O);C(I,O,M,N,D,L),r||C(O,I,M,D,N,L)}if(!T)break}if(T)for(var P=[],B=0;B<b;B++){var j=l[B],R=j.source(),$=j.target(),F=o(j),z=w(R).dist,H=w($).dist;if(z+F<H||!r&&H+F<z){if(g||(Se("Graph contains a negative weight cycle for Bellman-Ford"),g=!0),!1===t.findNegativeWeightCycles)break;var U=[];z+F<H&&U.push(R),!r&&H+F<z&&U.push($);for(var G=U.length,q=0;q<G;q++){var K=U[q],Y=[K];Y.push(w(K).edge);for(var W=w(K).pred;-1===Y.indexOf(W);)Y.push(W),Y.push(w(W).edge),W=w(W).pred;for(var X=(Y=Y.slice(Y.indexOf(W)))[0].id(),V=0,Q=2;Q<Y.length;Q+=2)Y[Q].id()<X&&(X=Y[Q].id(),V=Q);(Y=Y.slice(V).concat(Y.slice(0,V))).push(Y[0]);var Z=Y.map((function(t){return t.id()})).join(",");-1===P.indexOf(Z)&&(p.push(s.spawn(Y)),P.push(Z))}}}return{distanceTo:v,pathTo:x,hasNegativeWeightCycle:g,negativeWeightCycles:p}}},on=Math.sqrt(2),sn=function(t,e,n){0===n.length&&Te("Karger-Stein must be run on a connected (sub)graph");for(var i=n[t],r=i[1],a=i[2],o=e[r],s=e[a],c=n,u=c.length-1;u>=0;u--){var l=c[u],h=l[1],f=l[2];(e[h]===o&&e[f]===s||e[h]===s&&e[f]===o)&&c.splice(u,1)}for(var d=0;d<c.length;d++){var g=c[d];g[1]===s?(c[d]=g.slice(),c[d][1]=o):g[2]===s&&(c[d]=g.slice(),c[d][2]=o)}for(var p=0;p<e.length;p++)e[p]===s&&(e[p]=o);return c},cn=function(t,e,n,i){for(;n>i;){var r=Math.floor(Math.random()*e.length);e=sn(r,t,e),n--}return e},un={kargerStein:function(){var t=this,e=this.byGroup(),n=e.nodes,i=e.edges;i.unmergeBy((function(t){return t.isLoop()}));var r=n.length,a=i.length,o=Math.ceil(Math.pow(Math.log(r)/Math.LN2,2)),s=Math.floor(r/on);if(!(r<2)){for(var c=[],u=0;u<a;u++){var l=i[u];c.push([u,n.indexOf(l.source()),n.indexOf(l.target())])}for(var h=1/0,f=[],d=new Array(r),g=new Array(r),p=new Array(r),b=function(t,e){for(var n=0;n<r;n++)e[n]=t[n]},w=0;w<=o;w++){for(var y=0;y<r;y++)g[y]=y;var m=cn(g,c.slice(),r,s),v=m.slice();b(g,p);var x=cn(g,m,s,2),k=cn(p,v,s,2);x.length<=k.length&&x.length<h?(h=x.length,f=x,b(g,d)):k.length<=x.length&&k.length<h&&(h=k.length,f=k,b(p,d))}for(var _=this.spawn(f.map((function(t){return i[t[0]]}))),E=this.spawn(),T=this.spawn(),C=d[0],S=0;S<d.length;S++){var A=d[S],M=n[S];A===C?E.merge(M):T.merge(M)}var I=function(e){var n=t.spawn();return e.forEach((function(e){n.merge(e),e.connectedEdges().forEach((function(e){t.contains(e)&&!_.contains(e)&&n.merge(e)}))})),n},O=[I(E),I(T)];return{cut:_,components:O,partition1:E,partition2:T}}Te("At least 2 nodes are required for Karger-Stein algorithm")}},ln=function(t){return{x:t.x,y:t.y}},hn=function(t,e,n){return{x:t.x*e+n.x,y:t.y*e+n.y}},fn=function(t,e,n){return{x:(t.x-n.x)/e,y:(t.y-n.y)/e}},dn=function(t){return{x:t[0],y:t[1]}},gn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.min(a,i))}return i},pn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=-1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.max(a,i))}return i},bn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=0,r=0,a=e;a<n;a++){var o=t[a];isFinite(o)&&(i+=o,r++)}return i/r},wn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n<t.length&&t.splice(n,t.length-n),e>0&&t.splice(0,e)):t=t.slice(e,n);for(var a=0,o=t.length-1;o>=0;o--){var s=t[o];r?isFinite(s)||(t[o]=-1/0,a++):t.splice(o,1)}i&&t.sort((function(t,e){return t-e}));var c=t.length,u=Math.floor(c/2);return c%2!=0?t[u+1+a]:(t[u-1+a]+t[u+a])/2},yn=function(t){return Math.PI*t/180},mn=function(t,e){return Math.atan2(e,t)-Math.PI/2},vn=Math.log2||function(t){return Math.log(t)/Math.log(2)},xn=function(t){return t>0?1:t<0?-1:0},kn=function(t,e){return Math.sqrt(_n(t,e))},_n=function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i},En=function(t){for(var e=t.length,n=0,i=0;i<e;i++)n+=t[i];for(var r=0;r<e;r++)t[r]=t[r]/n;return t},Tn=function(t,e,n,i){return(1-i)*(1-i)*t+2*(1-i)*i*e+i*i*n},Cn=function(t,e,n,i){return{x:Tn(t.x,e.x,n.x,i),y:Tn(t.y,e.y,n.y,i)}},Sn=function(t,e,n,i){var r={x:e.x-t.x,y:e.y-t.y},a=kn(t,e),o={x:r.x/a,y:r.y/a};return n=n??0,i=i??n*a,{x:t.x+o.x*i,y:t.y+o.y*i}},An=function(t,e,n){return Math.max(t,Math.min(n,e))},Mn=function(t){if(null==t)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=t.x1&&null!=t.y1){if(null!=t.x2&&null!=t.y2&&t.x2>=t.x1&&t.y2>=t.y1)return{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,w:t.x2-t.x1,h:t.y2-t.y1};if(null!=t.w&&null!=t.h&&t.w>=0&&t.h>=0)return{x1:t.x1,y1:t.y1,x2:t.x1+t.w,y2:t.y1+t.h,w:t.w,h:t.h}}},In=function(t){return{x1:t.x1,x2:t.x2,w:t.w,y1:t.y1,y2:t.y2,h:t.h}},On=function(t){t.x1=1/0,t.y1=1/0,t.x2=-1/0,t.y2=-1/0,t.w=0,t.h=0},Ln=function(t,e){t.x1=Math.min(t.x1,e.x1),t.x2=Math.max(t.x2,e.x2),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,e.y1),t.y2=Math.max(t.y2,e.y2),t.h=t.y2-t.y1},Nn=function(t,e,n){t.x1=Math.min(t.x1,e),t.x2=Math.max(t.x2,e),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,n),t.y2=Math.max(t.y2,n),t.h=t.y2-t.y1},Dn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.x1-=e,t.x2+=e,t.y1-=e,t.y2+=e,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Pn=function(t){var e,n,i,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)e=n=i=r=a[0];else if(2===a.length)e=i=a[0],r=n=a[1];else if(4===a.length){var s=o(a,4);e=s[0],n=s[1],i=s[2],r=s[3]}return t.x1-=r,t.x2+=n,t.y1-=e,t.y2+=i,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Bn=function(t,e){t.x1=e.x1,t.y1=e.y1,t.x2=e.x2,t.y2=e.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1},jn=function(t,e){return!(t.x1>e.x2||e.x1>t.x2||t.x2<e.x1||e.x2<t.x1||t.y2<e.y1||e.y2<t.y1||t.y1>e.y2||e.y1>t.y2)},Rn=function(t,e,n){return t.x1<=e&&e<=t.x2&&t.y1<=n&&n<=t.y2},$n=function(t,e){return Rn(t,e.x,e.y)},Fn=function(t,e){return Rn(t,e.x1,e.y1)&&Rn(t,e.x2,e.y2)},zn=function(t,e,n,i,r,a,o){var s,c=li(r,a),u=r/2,l=a/2,h=i-l-o;if((s=ii(t,e,n,i,n-u+c-o,h,n+u-c+o,h,!1)).length>0)return s;var f=n+u+o;if((s=ii(t,e,n,i,f,i-l+c-o,f,i+l-c+o,!1)).length>0)return s;var d=i+l+o;if((s=ii(t,e,n,i,n-u+c-o,d,n+u-c+o,d,!1)).length>0)return s;var g,p=n-u-o;if((s=ii(t,e,n,i,p,i-l+c-o,p,i+l-c+o,!1)).length>0)return s;var b=n-u+c,w=i-l+c;if((g=ei(t,e,n,i,b,w,c+o)).length>0&&g[0]<=b&&g[1]<=w)return[g[0],g[1]];var y=n+u-c,m=i-l+c;if((g=ei(t,e,n,i,y,m,c+o)).length>0&&g[0]>=y&&g[1]<=m)return[g[0],g[1]];var v=n+u-c,x=i+l-c;if((g=ei(t,e,n,i,v,x,c+o)).length>0&&g[0]>=v&&g[1]>=x)return[g[0],g[1]];var k=n-u+c,_=i+l-c;return(g=ei(t,e,n,i,k,_,c+o)).length>0&&g[0]<=k&&g[1]>=_?[g[0],g[1]]:[]},Hn=function(t,e,n,i,r,a,o){var s=o,c=Math.min(n,r),u=Math.max(n,r),l=Math.min(i,a),h=Math.max(i,a);return c-s<=t&&t<=u+s&&l-s<=e&&e<=h+s},Un=function(t,e,n,i,r,a,o,s,c){var u={x1:Math.min(n,o,r)-c,x2:Math.max(n,o,r)+c,y1:Math.min(i,s,a)-c,y2:Math.max(i,s,a)+c};return!(t<u.x1||t>u.x2||e<u.y1||e>u.y2)},Gn=function(t,e,n,i){var r=e*e-4*t*(n-=i);if(r<0)return[];var a=Math.sqrt(r),o=2*t;return[(-e+a)/o,(-e-a)/o]},qn=function(t,e,n,i,r){var a,o,s,c,u,l,h,f;return 0===t&&(t=1e-5),s=-27*(i/=t)+(e/=t)*(9*(n/=t)-e*e*2),a=(o=(3*n-e*e)/9)*o*o+(s/=54)*s,r[1]=0,h=e/3,a>0?(u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),l=(l=s-Math.sqrt(a))<0?-Math.pow(-l,1/3):Math.pow(l,1/3),r[0]=-h+u+l,h+=(u+l)/2,r[4]=r[2]=-h,h=Math.sqrt(3)*(-l+u)/2,r[3]=h,void(r[5]=-h)):(r[5]=r[3]=0,0===a?(f=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),r[0]=2*f-h,void(r[4]=r[2]=-(f+h))):(c=(o=-o)*o*o,c=Math.acos(s/Math.sqrt(c)),f=2*Math.sqrt(o),r[0]=-h+f*Math.cos(c/3),r[2]=-h+f*Math.cos((c+2*Math.PI)/3),void(r[4]=-h+f*Math.cos((c+4*Math.PI)/3))))},Kn=function(t,e,n,i,r,a,o,s){var c=[];qn(1*n*n-4*n*r+2*n*o+4*r*r-4*r*o+o*o+i*i-4*i*a+2*i*s+4*a*a-4*a*s+s*s,9*n*r-3*n*n-3*n*o-6*r*r+3*r*o+9*i*a-3*i*i-3*i*s-6*a*a+3*a*s,3*n*n-6*n*r+n*o-n*t+2*r*r+2*r*t-o*t+3*i*i-6*i*a+i*s-i*e+2*a*a+2*a*e-s*e,1*n*r-n*n+n*t-r*t+i*a-i*i+i*e-a*e,c);for(var u=1e-7,l=[],h=0;h<6;h+=2)Math.abs(c[h+1])<u&&c[h]>=0&&c[h]<=1&&l.push(c[h]);l.push(1),l.push(0);for(var f,d,g,p=-1,b=0;b<l.length;b++)f=Math.pow(1-l[b],2)*n+2*(1-l[b])*l[b]*r+l[b]*l[b]*o,d=Math.pow(1-l[b],2)*i+2*(1-l[b])*l[b]*a+l[b]*l[b]*s,g=Math.pow(f-t,2)+Math.pow(d-e,2),p>=0?g<p&&(p=g):p=g;return p},Yn=function(t,e,n,i,r,a){var o=[t-n,e-i],s=[r-n,a-i],c=s[0]*s[0]+s[1]*s[1],u=o[0]*o[0]+o[1]*o[1],l=o[0]*s[0]+o[1]*s[1],h=l*l/c;return l<0?u:h>c?(t-r)*(t-r)+(e-a)*(e-a):u-h},Wn=function(t,e,n){for(var i,r,a,o,s=0,c=0;c<n.length/2;c++)if(i=n[2*c],r=n[2*c+1],c+1<n.length/2?(a=n[2*(c+1)],o=n[2*(c+1)+1]):(a=n[2*(c+1-n.length/2)],o=n[2*(c+1-n.length/2)+1]),i!=t||a!=t){if(!(i>=t&&t>=a||i<=t&&t<=a))continue;(t-i)/(a-i)*(o-r)+r>e&&s++}return s%2!=0},Xn=function(t,e,n,i,r,a,o,s,c){var u,l,h=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 f=Math.cos(-u),d=Math.sin(-u),g=0;g<h.length/2;g++)h[2*g]=a/2*(n[2*g]*f-n[2*g+1]*d),h[2*g+1]=o/2*(n[2*g+1]*f+n[2*g]*d),h[2*g]+=i,h[2*g+1]+=r;if(c>0){var p=Zn(h,-c);l=Qn(p)}else l=h;return Wn(t,e,l)},Vn=function(t,e,n,i,r,a,o){for(var s=new Array(n.length),c=a/2,u=o/2,l=hi(a,o),h=l*l,f=0;f<n.length/4;f++){var d=void 0,g=void 0;d=0===f?n.length-2:4*f-2,g=4*f+2;var p=i+c*n[4*f],b=r+u*n[4*f+1],w=-n[d]*n[g]-n[d+1]*n[g+1],y=l/Math.tan(Math.acos(w)/2),m=p-y*n[d],v=b-y*n[d+1],x=p+y*n[g],k=b+y*n[g+1];s[4*f]=m,s[4*f+1]=v,s[4*f+2]=x,s[4*f+3]=k;var _=n[d+1],E=-n[d];_*n[g]+E*n[g+1]<0&&(_*=-1,E*=-1);var T=m+_*l,C=v+E*l;if(Math.pow(T-t,2)+Math.pow(C-e,2)<=h)return!0}return Wn(t,e,s)},Qn=function(t){for(var e,n,i,r,a,o,s,c,u=new Array(t.length/2),l=0;l<t.length/4;l++){e=t[4*l],n=t[4*l+1],i=t[4*l+2],r=t[4*l+3],l<t.length/4-1?(a=t[4*(l+1)],o=t[4*(l+1)+1],s=t[4*(l+1)+2],c=t[4*(l+1)+3]):(a=t[0],o=t[1],s=t[2],c=t[3]);var h=ii(e,n,i,r,a,o,s,c,!0);u[2*l]=h[0],u[2*l+1]=h[1]}return u},Zn=function(t,e){for(var n,i,r,a,o=new Array(2*t.length),s=0;s<t.length/2;s++){n=t[2*s],i=t[2*s+1],s<t.length/2-1?(r=t[2*(s+1)],a=t[2*(s+1)+1]):(r=t[0],a=t[1]);var c=a-i,u=-(r-n),l=Math.sqrt(c*c+u*u),h=c/l,f=u/l;o[4*s]=n+h*e,o[4*s+1]=i+f*e,o[4*s+2]=r+h*e,o[4*s+3]=a+f*e}return o},Jn=function(t,e,n,i,r,a){var o=n-t,s=i-e;o/=r,s/=a;var c=Math.sqrt(o*o+s*s),u=c-1;if(u<0)return[];var l=u/c;return[(n-t)*l+t,(i-e)*l+e]},ti=function(t,e,n,i,r,a,o){return t-=r,e-=a,(t/=n/2+o)*t+(e/=i/2+o)*e<=1},ei=function(t,e,n,i,r,a,o){var s=[n-t,i-e],c=[t-r,e-a],u=s[0]*s[0]+s[1]*s[1],l=2*(c[0]*s[0]+c[1]*s[1]),h=l*l-4*u*(c[0]*c[0]+c[1]*c[1]-o*o);if(h<0)return[];var f=(-l+Math.sqrt(h))/(2*u),d=(-l-Math.sqrt(h))/(2*u),g=Math.min(f,d),p=Math.max(f,d),b=[];if(g>=0&&g<=1&&b.push(g),p>=0&&p<=1&&b.push(p),0===b.length)return[];var w=b[0]*s[0]+t,y=b[0]*s[1]+e;return b.length>1?b[0]==b[1]?[w,y]:[w,y,b[1]*s[0]+t,b[1]*s[1]+e]:[w,y]},ni=function(t,e,n){return e<=t&&t<=n||n<=t&&t<=e?t:t<=e&&e<=n||n<=e&&e<=t?e:n},ii=function(t,e,n,i,r,a,o,s,c){var u=t-r,l=n-t,h=o-r,f=e-a,d=i-e,g=s-a,p=h*f-g*u,b=l*f-d*u,w=g*l-h*d;if(0!==w){var y=p/w,m=b/w,v=.001,x=0-v,k=1+v;return x<=y&&y<=k&&x<=m&&m<=k||c?[t+y*l,e+y*d]:[]}return 0===p||0===b?ni(t,n,o)===o?[o,s]:ni(t,n,r)===r?[r,a]:ni(r,o,n)===n?[n,i]:[]:[]},ri=function(t,e,n,i,r,a,o,s){var c,u,l=[],h=new Array(n.length),f=!0;if(null==a&&(f=!1),f){for(var d=0;d<h.length/2;d++)h[2*d]=n[2*d]*a+i,h[2*d+1]=n[2*d+1]*o+r;if(s>0){var g=Zn(h,-s);u=Qn(g)}else u=h}else u=n;for(var p,b,w,y,m=0;m<u.length/2;m++)p=u[2*m],b=u[2*m+1],m<u.length/2-1?(w=u[2*(m+1)],y=u[2*(m+1)+1]):(w=u[0],y=u[1]),0!==(c=ii(t,e,i,r,p,b,w,y)).length&&l.push(c[0],c[1]);return l},ai=function(t,e,n,i,r,a,o,s){for(var c,u=[],l=new Array(n.length),h=a/2,f=o/2,d=hi(a,o),g=0;g<n.length/4;g++){var p=void 0,b=void 0;p=0===g?n.length-2:4*g-2,b=4*g+2;var w=i+h*n[4*g],y=r+f*n[4*g+1],m=-n[p]*n[b]-n[p+1]*n[b+1],v=d/Math.tan(Math.acos(m)/2),x=w-v*n[p],k=y-v*n[p+1],_=w+v*n[b],E=y+v*n[b+1];0===g?(l[n.length-2]=x,l[n.length-1]=k):(l[4*g-2]=x,l[4*g-1]=k),l[4*g]=_,l[4*g+1]=E;var T=n[p+1],C=-n[p];T*n[b]+C*n[b+1]<0&&(T*=-1,C*=-1),0!==(c=ei(t,e,i,r,x+T*d,k+C*d,d)).length&&u.push(c[0],c[1])}for(var S=0;S<l.length/4;S++)0!==(c=ii(t,e,i,r,l[4*S],l[4*S+1],l[4*S+2],l[4*S+3],!1)).length&&u.push(c[0],c[1]);if(u.length>2){for(var A=[u[0],u[1]],M=Math.pow(A[0]-t,2)+Math.pow(A[1]-e,2),I=1;I<u.length/2;I++){var O=Math.pow(u[2*I]-t,2)+Math.pow(u[2*I+1]-e,2);O<=M&&(A[0]=u[2*I],A[1]=u[2*I+1],M=O)}return A}return u},oi=function(t,e,n){var i=[t[0]-e[0],t[1]-e[1]],r=Math.sqrt(i[0]*i[0]+i[1]*i[1]),a=(r-n)/r;return a<0&&(a=1e-5),[e[0]+a*i[0],e[1]+a*i[1]]},si=function(t,e){var n=ui(t,e);return n=ci(n)},ci=function(t){for(var e,n,i=t.length/2,r=1/0,a=1/0,o=-1/0,s=-1/0,c=0;c<i;c++)e=t[2*c],n=t[2*c+1],r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);for(var u=2/(o-r),l=2/(s-a),h=0;h<i;h++)e=t[2*h]=t[2*h]*u,n=t[2*h+1]=t[2*h+1]*l,r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);if(a<-1)for(var f=0;f<i;f++)n=t[2*f+1]=t[2*f+1]+(-1-a);return t},ui=function(t,e){var n=1/t*2*Math.PI,i=t%2==0?Math.PI/2+n/2:Math.PI/2;i+=e;for(var r,a=new Array(2*t),o=0;o<t;o++)r=o*n+i,a[2*o]=Math.cos(r),a[2*o+1]=Math.sin(-r);return a},li=function(t,e){return Math.min(t/4,e/4,8)},hi=function(t,e){return Math.min(t/10,e/10,8)},fi=function(){return 8},di=function(t,e,n){return[t-2*e+n,2*(e-t),t]},gi=function(t,e){return{heightOffset:Math.min(15,.05*e),widthOffset:Math.min(100,.25*t),ctrlPtOffsetPct:.05}},pi=De({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(t){return 1}}),bi={pageRank:function(t){for(var e=pi(t),n=e.dampingFactor,i=e.precision,r=e.iterations,a=e.weight,o=this._private.cy,s=this.byGroup(),c=s.nodes,u=s.edges,l=c.length,h=l*l,f=u.length,d=new Array(h),g=new Array(l),p=(1-n)/l,b=0;b<l;b++){for(var w=0;w<l;w++)d[b*l+w]=0;g[b]=0}for(var y=0;y<f;y++){var m=u[y],v=m.data("source"),x=m.data("target");if(v!==x){var k=c.indexOfId(v),_=c.indexOfId(x),E=a(m);d[_*l+k]+=E,g[k]+=E}}for(var T=1/l+p,C=0;C<l;C++)if(0===g[C])for(var S=0;S<l;S++)d[S*l+C]=T;else for(var A=0;A<l;A++){var M=A*l+C;d[M]=d[M]/g[C]+p}for(var I,O=new Array(l),L=new Array(l),N=0;N<l;N++)O[N]=1;for(var D=0;D<r;D++){for(var P=0;P<l;P++)L[P]=0;for(var B=0;B<l;B++)for(var j=0;j<l;j++){var R=B*l+j;L[B]+=d[R]*O[j]}En(L),I=O,O=L,L=I;for(var $=0,F=0;F<l;F++){var z=I[F]-O[F];$+=z*z}if($<i)break}return{rank:function(t){return t=o.collection(t)[0],O[c.indexOf(t)]}}}},wi=De({root:null,weight:function(t){return 1},directed:!1,alpha:0}),yi={degreeCentralityNormalized:function(t){t=wi(t);var e=this.cy(),n=this.nodes(),i=n.length;if(t.directed){for(var r={},a={},o=0,s=0,c=0;c<i;c++){var u=n[c],l=u.id();t.root=u;var h=this.degreeCentrality(t);o<h.indegree&&(o=h.indegree),s<h.outdegree&&(s=h.outdegree),r[l]=h.indegree,a[l]=h.outdegree}return{indegree:function(t){return 0==o?0:(m(t)&&(t=e.filter(t)),r[t.id()]/o)},outdegree:function(t){return 0===s?0:(m(t)&&(t=e.filter(t)),a[t.id()]/s)}}}for(var f={},d=0,g=0;g<i;g++){var p=n[g];t.root=p;var b=this.degreeCentrality(t);d<b.degree&&(d=b.degree),f[p.id()]=b.degree}return{degree:function(t){return 0===d?0:(m(t)&&(t=e.filter(t)),f[t.id()]/d)}}},degreeCentrality:function(t){t=wi(t);var e=this.cy(),n=this,i=t,r=i.root,a=i.weight,o=i.directed,s=i.alpha;if(r=e.collection(r)[0],o){for(var c=r.connectedEdges(),u=c.filter((function(t){return t.target().same(r)&&n.has(t)})),l=c.filter((function(t){return t.source().same(r)&&n.has(t)})),h=u.length,f=l.length,d=0,g=0,p=0;p<u.length;p++)d+=a(u[p]);for(var b=0;b<l.length;b++)g+=a(l[b]);return{indegree:Math.pow(h,1-s)*Math.pow(d,s),outdegree:Math.pow(f,1-s)*Math.pow(g,s)}}for(var w=r.connectedEdges().intersection(n),y=w.length,m=0,v=0;v<w.length;v++)m+=a(w[v]);return{degree:Math.pow(y,1-s)*Math.pow(m,s)}}};yi.dc=yi.degreeCentrality,yi.dcn=yi.degreeCentralityNormalised=yi.degreeCentralityNormalized;var mi=De({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),vi={closenessCentralityNormalized:function(t){for(var e=mi(t),n=e.harmonic,i=e.weight,r=e.directed,a=this.cy(),o={},s=0,c=this.nodes(),u=this.floydWarshall({weight:i,directed:r}),l=0;l<c.length;l++){for(var h=0,f=c[l],d=0;d<c.length;d++)if(l!==d){var g=u.distance(f,c[d]);h+=n?1/g:g}n||(h=1/h),s<h&&(s=h),o[f.id()]=h}return{closeness:function(t){return 0==s?0:(t=m(t)?a.filter(t)[0].id():t.id(),o[t]/s)}}},closenessCentrality:function(t){var e=mi(t),n=e.root,i=e.weight,r=e.directed,a=e.harmonic;n=this.filter(n)[0];for(var o=this.dijkstra({root:n,weight:i,directed:r}),s=0,c=this.nodes(),u=0;u<c.length;u++){var l=c[u];if(!l.same(n)){var h=o.distanceTo(l);s+=a?1/h:h}}return a?s:1/s}};vi.cc=vi.closenessCentrality,vi.ccn=vi.closenessCentralityNormalised=vi.closenessCentralityNormalized;var xi=De({weight:null,directed:!1}),ki={betweennessCentrality:function(t){for(var e=xi(t),n=e.directed,i=e.weight,r=null!=i,a=this.cy(),o=this.nodes(),s={},c={},u=0,l={set:function(t,e){c[t]=e,e>u&&(u=e)},get:function(t){return c[t]}},h=0;h<o.length;h++){var f=o[h],d=f.id();s[d]=n?f.outgoers().nodes():f.openNeighborhood().nodes(),l.set(d,0)}for(var g=function(t){for(var e=o[t].id(),n=[],c={},u={},h={},f=new Xe((function(t,e){return h[t]-h[e]})),d=0;d<o.length;d++){var g=o[d].id();c[g]=[],u[g]=0,h[g]=1/0}for(u[e]=1,h[e]=0,f.push(e);!f.empty();){var p=f.pop();if(n.push(p),r)for(var b=0;b<s[p].length;b++){var w=s[p][b],y=a.getElementById(p),m=void 0;m=y.edgesTo(w).length>0?y.edgesTo(w)[0]:w.edgesTo(y)[0];var v=i(m);w=w.id(),h[w]>h[p]+v&&(h[w]=h[p]+v,f.nodes.indexOf(w)<0?f.push(w):f.updateItem(w),u[w]=0,c[w]=[]),h[w]==h[p]+v&&(u[w]=u[w]+u[p],c[w].push(p))}else for(var x=0;x<s[p].length;x++){var k=s[p][x].id();h[k]==1/0&&(f.push(k),h[k]=h[p]+1),h[k]==h[p]+1&&(u[k]=u[k]+u[p],c[k].push(p))}}for(var _={},E=0;E<o.length;E++)_[o[E].id()]=0;for(;n.length>0;){for(var T=n.pop(),C=0;C<c[T].length;C++){var S=c[T][C];_[S]=_[S]+u[S]/u[T]*(1+_[T])}T!=o[t].id()&&l.set(T,l.get(T)+_[T])}},p=0;p<o.length;p++)g(p);var b={betweenness:function(t){var e=a.collection(t).id();return l.get(e)},betweennessNormalized:function(t){if(0==u)return 0;var e=a.collection(t).id();return l.get(e)/u}};return b.betweennessNormalised=b.betweennessNormalized,b}};ki.bc=ki.betweennessCentrality;var _i=De({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(t){return 1}]}),Ei=function(t){return _i(t)},Ti=function(t,e){for(var n=0,i=0;i<e.length;i++)n+=e[i](t);return n},Ci=function(t,e,n){for(var i=0;i<e;i++)t[i*e+i]=n},Si=function(t,e){for(var n,i=0;i<e;i++){n=0;for(var r=0;r<e;r++)n+=t[r*e+i];for(var a=0;a<e;a++)t[a*e+i]=t[a*e+i]/n}},Ai=function(t,e,n){for(var i=new Array(n*n),r=0;r<n;r++){for(var a=0;a<n;a++)i[r*n+a]=0;for(var o=0;o<n;o++)for(var s=0;s<n;s++)i[r*n+s]+=t[r*n+o]*e[o*n+s]}return i},Mi=function(t,e,n){for(var i=t.slice(0),r=1;r<n;r++)t=Ai(t,i,e);return t},Ii=function(t,e,n){for(var i=new Array(e*e),r=0;r<e*e;r++)i[r]=Math.pow(t[r],n);return Si(i,e),i},Oi=function(t,e,n,i){for(var r=0;r<n;r++)if(Math.round(t[r]*Math.pow(10,i))/Math.pow(10,i)!=Math.round(e[r]*Math.pow(10,i))/Math.pow(10,i))return!1;return!0},Li=function(t,e,n,i){for(var r=[],a=0;a<e;a++){for(var o=[],s=0;s<e;s++)Math.round(1e3*t[a*e+s])/1e3>0&&o.push(n[s]);0!==o.length&&r.push(i.collection(o))}return r},Ni=function(t,e){for(var n=0;n<t.length;n++)if(!e[n]||t[n].id()!==e[n].id())return!1;return!0},Di=function(t){for(var e=0;e<t.length;e++)for(var n=0;n<t.length;n++)e!=n&&Ni(t[e],t[n])&&t.splice(n,1);return t},Pi=function(t){for(var e=this.nodes(),n=this.edges(),i=this.cy(),r=Ei(t),a={},o=0;o<e.length;o++)a[e[o].id()]=o;for(var s,c=e.length,u=c*c,l=new Array(u),h=0;h<u;h++)l[h]=0;for(var f=0;f<n.length;f++){var d=n[f],g=a[d.source().id()],p=a[d.target().id()],b=Ti(d,r.attributes);l[g*c+p]+=b,l[p*c+g]+=b}Ci(l,c,r.multFactor),Si(l,c);for(var w=!0,y=0;w&&y<r.maxIterations;)w=!1,s=Mi(l,c,r.expandFactor),l=Ii(s,c,r.inflateFactor),Oi(l,s,u,4)||(w=!0),y++;var m=Li(l,c,e,i);return m=Di(m)},Bi={markovClustering:Pi,mcl:Pi},ji=function(t){return t},Ri=function(t,e){return Math.abs(e-t)},$i=function(t,e,n){return t+Ri(e,n)},Fi=function(t,e,n){return t+Math.pow(n-e,2)},zi=function(t){return Math.sqrt(t)},Hi=function(t,e,n){return Math.max(t,Ri(e,n))},Ui=function(t,e,n,i,r){for(var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ji,o=i,s=0;s<t;s++)o=r(o,e(s),n(s));return a(o)},Gi={euclidean:function(t,e,n){return t>=2?Ui(t,e,n,0,Fi,zi):Ui(t,e,n,0,$i)},squaredEuclidean:function(t,e,n){return Ui(t,e,n,0,Fi)},manhattan:function(t,e,n){return Ui(t,e,n,0,$i)},max:function(t,e,n){return Ui(t,e,n,-1/0,Hi)}};function qi(t,e,n,i,r,a){var o;return o=v(t)?t:Gi[t]||Gi.euclidean,0===e&&v(t)?o(r,a):o(e,n,i,r,a)}Gi["squared-euclidean"]=Gi.squaredEuclidean,Gi.squaredeuclidean=Gi.squaredEuclidean;var Ki=De({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Yi=function(t){return Ki(t)},Wi=function(t,e,n,i,r){var a="kMedoids"!==r?function(t){return n[t]}:function(t){return i[t](n)},o=function(t){return i[t](e)},s=n,c=e;return qi(t,i.length,a,o,s,c)},Xi=function(t,e,n){for(var i=n.length,r=new Array(i),a=new Array(i),o=new Array(e),s=null,c=0;c<i;c++)r[c]=t.min(n[c]).value,a[c]=t.max(n[c]).value;for(var u=0;u<e;u++){s=[];for(var l=0;l<i;l++)s[l]=Math.random()*(a[l]-r[l])+r[l];o[u]=s}return o},Vi=function(t,e,n,i,r){for(var a=1/0,o=0,s=0;s<e.length;s++){var c=Wi(n,t,e[s],i,r);c<a&&(a=c,o=s)}return o},Qi=function(t,e,n){for(var i=[],r=null,a=0;a<e.length;a++)n[(r=e[a]).id()]===t&&i.push(r);return i},Zi=function(t,e,n){return Math.abs(e-t)<=n},Ji=function(t,e,n){for(var i=0;i<t.length;i++)for(var r=0;r<t[i].length;r++)if(Math.abs(t[i][r]-e[i][r])>n)return!1;return!0},tr=function(t,e,n){for(var i=0;i<n;i++)if(t===e[i])return!0;return!1},er=function(t,e){var n=new Array(e);if(t.length<50)for(var i=0;i<e;i++){for(var r=t[Math.floor(Math.random()*t.length)];tr(r,n,i);)r=t[Math.floor(Math.random()*t.length)];n[i]=r}else for(var a=0;a<e;a++)n[a]=t[Math.floor(Math.random()*t.length)];return n},nr=function(t,e,n){for(var i=0,r=0;r<e.length;r++)i+=Wi("manhattan",e[r],t,n,"kMedoids");return i},ir=function(t,e,n,i,r){for(var a,o,s=0;s<e.length;s++)for(var c=0;c<t.length;c++)i[s][c]=Math.pow(n[s][c],r.m);for(var u=0;u<t.length;u++)for(var l=0;l<r.attributes.length;l++){a=0,o=0;for(var h=0;h<e.length;h++)a+=i[h][u]*r.attributes[l](e[h]),o+=i[h][u];t[u][l]=a/o}},rr=function(t,e,n,i,r){for(var a=0;a<t.length;a++)e[a]=t[a].slice();for(var o,s,c,u=2/(r.m-1),l=0;l<n.length;l++)for(var h=0;h<i.length;h++){o=0;for(var f=0;f<n.length;f++)s=Wi(r.distance,i[h],n[l],r.attributes,"cmeans"),c=Wi(r.distance,i[h],n[f],r.attributes,"cmeans"),o+=Math.pow(s/c,u);t[h][l]=1/o}},ar=function(t,e,n,i){for(var r=new Array(n.k),a=0;a<r.length;a++)r[a]=[];for(var o,s,c=0;c<e.length;c++){o=-1/0,s=-1;for(var u=0;u<e[0].length;u++)e[c][u]>o&&(o=e[c][u],s=u);r[s].push(t[c])}for(var l=0;l<r.length;l++)r[l]=i.collection(r[l]);return r},or=function(t){var e,n,i,r,a=this.cy(),o=this.nodes(),s=Yi(t);i=new Array(o.length);for(var c=0;c<o.length;c++)i[c]=new Array(s.k);n=new Array(o.length);for(var u=0;u<o.length;u++)n[u]=new Array(s.k);for(var l=0;l<o.length;l++){for(var h=0,f=0;f<s.k;f++)n[l][f]=Math.random(),h+=n[l][f];for(var d=0;d<s.k;d++)n[l][d]=n[l][d]/h}e=new Array(s.k);for(var g=0;g<s.k;g++)e[g]=new Array(s.attributes.length);r=new Array(o.length);for(var p=0;p<o.length;p++)r[p]=new Array(s.k);for(var b=!0,w=0;b&&w<s.maxIterations;)b=!1,ir(e,o,n,r,s),rr(n,i,e,o,s),Ji(n,i,s.sensitivityThreshold)||(b=!0),w++;return{clusters:ar(o,n,s,a),degreeOfMembership:n}},sr={kMeans:function(e){var n,i=this.cy(),r=this.nodes(),a=null,o=Yi(e),s=new Array(o.k),c={};o.testMode?"number"==typeof o.testCentroids?(o.testCentroids,n=Xi(r,o.k,o.attributes)):n="object"===t(o.testCentroids)?o.testCentroids:Xi(r,o.k,o.attributes):n=Xi(r,o.k,o.attributes);for(var u=!0,l=0;u&&l<o.maxIterations;){for(var h=0;h<r.length;h++)c[(a=r[h]).id()]=Vi(a,n,o.distance,o.attributes,"kMeans");u=!1;for(var f=0;f<o.k;f++){var d=Qi(f,r,c);if(0!==d.length){for(var g=o.attributes.length,p=n[f],b=new Array(g),w=new Array(g),y=0;y<g;y++){w[y]=0;for(var m=0;m<d.length;m++)a=d[m],w[y]+=o.attributes[y](a);b[y]=w[y]/d.length,Zi(b[y],p[y],o.sensitivityThreshold)||(u=!0)}n[f]=b,s[f]=i.collection(d)}}l++}return s},kMedoids:function(e){var n,i,r=this.cy(),a=this.nodes(),o=null,s=Yi(e),c=new Array(s.k),u={},l=new Array(s.k);s.testMode?"number"==typeof s.testCentroids||(n="object"===t(s.testCentroids)?s.testCentroids:er(a,s.k)):n=er(a,s.k);for(var h=!0,f=0;h&&f<s.maxIterations;){for(var d=0;d<a.length;d++)u[(o=a[d]).id()]=Vi(o,n,s.distance,s.attributes,"kMedoids");h=!1;for(var g=0;g<n.length;g++){var p=Qi(g,a,u);if(0!==p.length){l[g]=nr(n[g],p,s.attributes);for(var b=0;b<p.length;b++)(i=nr(p[b],p,s.attributes))<l[g]&&(l[g]=i,n[g]=p[b],h=!0);c[g]=r.collection(p)}}f++}return c},fuzzyCMeans:or,fcm:or},cr=De({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),ur={single:"min",complete:"max"},lr=function(t){var e=cr(t),n=ur[e.linkage];return null!=n&&(e.linkage=n),e},hr=function(t,e,n,i,r){for(var a,o=0,s=1/0,c=r.attributes,u=function(t,e){return qi(r.distance,c.length,(function(e){return c[e](t)}),(function(t){return c[t](e)}),t,e)},l=0;l<t.length;l++){var h=t[l].key,f=n[h][i[h]];f<s&&(o=h,s=f)}if("threshold"===r.mode&&s>=r.threshold||"dendrogram"===r.mode&&1===t.length)return!1;var d,g=e[o],p=e[i[o]];d="dendrogram"===r.mode?{left:g,right:p,key:g.key}:{value:g.value.concat(p.value),key:g.key},t[g.index]=d,t.splice(p.index,1),e[g.key]=d;for(var b=0;b<t.length;b++){var w=t[b];g.key===w.key?a=1/0:"min"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]>n[p.key][w.key]&&(a=n[p.key][w.key])):"max"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]<n[p.key][w.key]&&(a=n[p.key][w.key])):a="mean"===r.linkage?(n[g.key][w.key]*g.size+n[p.key][w.key]*p.size)/(g.size+p.size):"dendrogram"===r.mode?u(w.value,g.value):u(w.value[0],g.value[0]),n[g.key][w.key]=n[w.key][g.key]=a}for(var y=0;y<t.length;y++){var m=t[y].key;if(i[m]===g.key||i[m]===p.key){for(var v=m,x=0;x<t.length;x++){var k=t[x].key;n[m][k]<n[m][v]&&(v=k)}i[m]=v}t[y].index=y}return g.key=p.key=g.index=p.index=null,!0},fr=function t(e,n,i){e&&(e.value?n.push(e.value):(e.left&&t(e.left,n),e.right&&t(e.right,n)))},dr=function t(e,n){if(!e)return"";if(e.left&&e.right){var i=t(e.left,n),r=t(e.right,n),a=n.add({group:"nodes",data:{id:i+","+r}});return n.add({group:"edges",data:{source:i,target:a.id()}}),n.add({group:"edges",data:{source:r,target:a.id()}}),a.id()}return e.value?e.value.id():void 0},gr=function t(e,n,i){if(!e)return[];var r=[],a=[],o=[];return 0===n?(e.left&&fr(e.left,r),e.right&&fr(e.right,a),o=r.concat(a),[i.collection(o)]):1===n?e.value?[i.collection(e.value)]:(e.left&&fr(e.left,r),e.right&&fr(e.right,a),[i.collection(r),i.collection(a)]):e.value?[i.collection(e.value)]:(e.left&&(r=t(e.left,n-1,i)),e.right&&(a=t(e.right,n-1,i)),r.concat(a))},pr=function(t){for(var e=this.cy(),n=this.nodes(),i=lr(t),r=i.attributes,a=function(t,e){return qi(i.distance,r.length,(function(e){return r[e](t)}),(function(t){return r[t](e)}),t,e)},o=[],s=[],c=[],u=[],l=0;l<n.length;l++){var h={value:"dendrogram"===i.mode?n[l]:[n[l]],key:l,index:l};o[l]=h,u[l]=h,s[l]=[],c[l]=0}for(var f=0;f<o.length;f++)for(var d=0;d<=f;d++){var g=void 0;g="dendrogram"===i.mode?f===d?1/0:a(o[f].value,o[d].value):f===d?1/0:a(o[f].value[0],o[d].value[0]),s[f][d]=g,s[d][f]=g,g<s[f][c[f]]&&(c[f]=d)}for(var p=hr(o,u,s,c,i);p;)p=hr(o,u,s,c,i);var b;return"dendrogram"===i.mode?(b=gr(o[0],i.dendrogramDepth,e),i.addDendrogram&&dr(o[0],e)):(b=new Array(o.length),o.forEach((function(t,n){t.key=t.index=null,b[n]=e.collection(t.value)}))),b},br={hierarchicalClustering:pr,hca:pr},wr=De({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),yr=function(t){var e=t.damping,n=t.preference;.5<=e&&e<1||Te("Damping must range on [0.5, 1). Got: ".concat(e));var i=["median","mean","min","max"];return i.some((function(t){return t===n}))||E(n)||Te("Preference must be one of [".concat(i.map((function(t){return"'".concat(t,"'")})).join(", "),"] or a number. Got: ").concat(n)),wr(t)},mr=function(t,e,n,i){var r=function(t,e){return i[e](t)};return-qi(t,i.length,(function(t){return r(e,t)}),(function(t){return r(n,t)}),e,n)},vr=function(t,e){return"median"===e?wn(t):"mean"===e?bn(t):"min"===e?gn(t):"max"===e?pn(t):e},xr=function(t,e,n){for(var i=[],r=0;r<t;r++)e[r*t+r]+n[r*t+r]>0&&i.push(r);return i},kr=function(t,e,n){for(var i=[],r=0;r<t;r++){for(var a=-1,o=-1/0,s=0;s<n.length;s++){var c=n[s];e[r*t+c]>o&&(a=c,o=e[r*t+c])}a>0&&i.push(a)}for(var u=0;u<n.length;u++)i[n[u]]=n[u];return i},_r=function(t,e,n){for(var i=kr(t,e,n),r=0;r<n.length;r++){for(var a=[],o=0;o<i.length;o++)i[o]===n[r]&&a.push(o);for(var s=-1,c=-1/0,u=0;u<a.length;u++){for(var l=0,h=0;h<a.length;h++)l+=e[a[h]*t+a[u]];l>c&&(s=u,c=l)}n[r]=a[s]}return i=kr(t,e,n)},Er=function(t){for(var e=this.cy(),n=this.nodes(),i=yr(t),r={},a=0;a<n.length;a++)r[n[a].id()]=a;var o,s,c,u,l,h,f;s=(o=n.length)*o,c=new Array(s);for(var d=0;d<s;d++)c[d]=-1/0;for(var g=0;g<o;g++)for(var p=0;p<o;p++)g!==p&&(c[g*o+p]=mr(i.distance,n[g],n[p],i.attributes));u=vr(c,i.preference);for(var b=0;b<o;b++)c[b*o+b]=u;l=new Array(s);for(var w=0;w<s;w++)l[w]=0;h=new Array(s);for(var y=0;y<s;y++)h[y]=0;for(var m=new Array(o),v=new Array(o),x=new Array(o),k=0;k<o;k++)m[k]=0,v[k]=0,x[k]=0;for(var _=new Array(o*i.minIterations),E=0;E<_.length;E++)_[E]=0;for(f=0;f<i.maxIterations;f++){for(var T=0;T<o;T++){for(var C=-1/0,S=-1/0,A=-1,M=0,I=0;I<o;I++)m[I]=l[T*o+I],(M=h[T*o+I]+c[T*o+I])>=C?(S=C,C=M,A=I):M>S&&(S=M);for(var O=0;O<o;O++)l[T*o+O]=(1-i.damping)*(c[T*o+O]-C)+i.damping*m[O];l[T*o+A]=(1-i.damping)*(c[T*o+A]-S)+i.damping*m[A]}for(var L=0;L<o;L++){for(var N=0,D=0;D<o;D++)m[D]=h[D*o+L],v[D]=Math.max(0,l[D*o+L]),N+=v[D];N-=v[L],v[L]=l[L*o+L],N+=v[L];for(var P=0;P<o;P++)h[P*o+L]=(1-i.damping)*Math.min(0,N-v[P])+i.damping*m[P];h[L*o+L]=(1-i.damping)*(N-v[L])+i.damping*m[L]}for(var B=0,j=0;j<o;j++){var R=h[j*o+j]+l[j*o+j]>0?1:0;_[f%i.minIterations*o+j]=R,B+=R}if(B>0&&(f>=i.minIterations-1||f==i.maxIterations-1)){for(var $=0,F=0;F<o;F++){x[F]=0;for(var z=0;z<i.minIterations;z++)x[F]+=_[z*o+F];(0===x[F]||x[F]===i.minIterations)&&$++}if($===o)break}}for(var H=xr(o,l,h),U=_r(o,c,H),G={},q=0;q<H.length;q++)G[H[q]]=[];for(var K=0;K<n.length;K++){var Y=U[r[n[K].id()]];null!=Y&&G[Y].push(n[K])}for(var W=new Array(H.length),X=0;X<H.length;X++)W[X]=e.collection(G[H[X]]);return W},Tr={affinityPropagation:Er,ap:Er},Cr=De({root:void 0,directed:!1}),Sr={hierholzer:function(t){if(!k(t)){var e=arguments;t={root:e[0],directed:e[1]}}var n,i,r,a=Cr(t),o=a.root,s=a.directed,c=this,u=!1;o&&(r=m(o)?this.filter(o)[0].id():o[0].id());var l={},h={};s?c.forEach((function(t){var e=t.id();if(t.isNode()){var r=t.indegree(!0),a=t.outdegree(!0),o=r-a,s=a-r;1==o?n?u=!0:n=e:1==s?i?u=!0:i=e:(s>1||o>1)&&(u=!0),l[e]=[],t.outgoers().forEach((function(t){t.isEdge()&&l[e].push(t.id())}))}else h[e]=[void 0,t.target().id()]})):c.forEach((function(t){var e=t.id();t.isNode()?(t.degree(!0)%2&&(n?i?u=!0:i=e:n=e),l[e]=[],t.connectedEdges().forEach((function(t){return l[e].push(t.id())}))):h[e]=[t.source().id(),t.target().id()]}));var f={found:!1,trail:void 0};if(u)return f;if(i&&n)if(s){if(r&&i!=r)return f;r=i}else{if(r&&i!=r&&n!=r)return f;r||(r=i)}else r||(r=c[0].id());var d=function(t){for(var e,n,i,r=t,a=[t];l[r].length;)e=l[r].shift(),n=h[e][0],r!=(i=h[e][1])?(l[i]=l[i].filter((function(t){return t!=e})),r=i):!s&&r!=n&&(l[n]=l[n].filter((function(t){return t!=e})),r=n),a.unshift(e),a.unshift(r);return a},g=[],p=[];for(p=d(r);1!=p.length;)0==l[p[0]].length?(g.unshift(c.getElementById(p.shift())),g.unshift(c.getElementById(p.shift()))):p=d(p.shift()).concat(p);for(var b in g.unshift(c.getElementById(p.shift())),l)if(l[b].length)return f;return f.found=!0,f.trail=this.spawn(g,!0),f}},Ar=function(){var t=this,e={},n=0,i=0,r=[],a=[],o={},s=function(n,i){for(var o=a.length-1,s=[],c=t.spawn();a[o].x!=n||a[o].y!=i;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var i=n.connectedNodes().intersection(t);c.merge(n),i.forEach((function(n){var i=n.id(),r=n.connectedEdges().intersection(t);c.merge(n),e[i].cutVertex?c.merge(r.filter((function(t){return t.isLoop()}))):c.merge(r)}))})),r.push(c)},c=function c(u,l,h){u===h&&(i+=1),e[l]={id:n,low:n++,cutVertex:!1};var f,d,g,p,b=t.getElementById(l).connectedEdges().intersection(t);0===b.size()?r.push(t.spawn(t.getElementById(l))):b.forEach((function(t){f=t.source().id(),d=t.target().id(),(g=f===l?d:f)!==h&&(p=t.id(),o[p]||(o[p]=!0,a.push({x:l,y:g,edge:t})),g in e?e[l].low=Math.min(e[l].low,e[g].id):(c(u,g,l),e[l].low=Math.min(e[l].low,e[g].low),e[l].id<=e[g].low&&(e[l].cutVertex=!0,s(l,g))))}))};t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||(i=0,c(n,n),e[n].cutVertex=i>1)}}));var u=Object.keys(e).filter((function(t){return e[t].cutVertex})).map((function(e){return t.getElementById(e)}));return{cut:t.spawn(u),components:r}},Mr=function(){var t=this,e={},n=0,i=[],r=[],a=t.spawn(t),o=function o(s){if(r.push(s),e[s]={index:n,low:n++,explored:!1},t.getElementById(s).connectedEdges().intersection(t).forEach((function(t){var n=t.target().id();n!==s&&(n in e||o(n),e[n].explored||(e[s].low=Math.min(e[s].low,e[n].low)))})),e[s].index===e[s].low){for(var c=t.spawn();;){var u=r.pop();if(c.merge(t.getElementById(u)),e[u].low=e[s].index,e[u].explored=!0,u===s)break}var l=c.edgesWith(c),h=c.merge(l);i.push(h),a=a.difference(h)}};return t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||o(n)}})),{cut:a,components:i}},Ir={};[Ye,Qe,Ze,tn,nn,an,un,bi,yi,vi,ki,Bi,sr,br,Tr,Sr,{hopcroftTarjanBiconnected:Ar,htbc:Ar,htb:Ar,hopcroftTarjanBiconnectedComponents:Ar},{tarjanStronglyConnected:Mr,tsc:Mr,tscc:Mr,tarjanStronglyConnectedComponents:Mr}].forEach((function(t){Z(Ir,t)}));var Or=0,Lr=1,Nr=2,Dr=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Or,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};Dr.prototype={fulfill:function(t){return Pr(this,Lr,"fulfillValue",t)},reject:function(t){return Pr(this,Nr,"rejectReason",t)},then:function(t,e){var n=this,i=new Dr;return n.onFulfilled.push(Rr(t,i,"fulfill")),n.onRejected.push(Rr(e,i,"reject")),Br(n),i.proxy}};var Pr=function(t,e,n,i){return t.state===Or&&(t.state=e,t[n]=i,Br(t)),t},Br=function(t){t.state===Lr?jr(t,"onFulfilled",t.fulfillValue):t.state===Nr&&jr(t,"onRejected",t.rejectReason)},jr=function(t,e,n){if(0!==t[e].length){var i=t[e];t[e]=[];var r=function(){for(var t=0;t<i.length;t++)i[t](n)};"function"==typeof setImmediate?setImmediate(r):setTimeout(r,0)}},Rr=function(t,e,n){return function(i){if("function"!=typeof t)e[n].call(e,i);else{var r;try{r=t(i)}catch(a){return void e.reject(a)}$r(e,r)}}},$r=function e(n,i){if(n!==i&&n.proxy!==i){var r;if("object"===t(i)&&null!==i||"function"==typeof i)try{r=i.then}catch(o){return void n.reject(o)}if("function"!=typeof r)n.fulfill(i);else{var a=!1;try{r.call(i,(function(t){a||(a=!0,t===i?n.reject(new TypeError("circular thenable chain")):e(n,t))}),(function(t){a||(a=!0,n.reject(t))}))}catch(o){a||n.reject(o)}}}else n.reject(new TypeError("cannot resolve promise with itself"))};Dr.all=function(t){return new Dr((function(e,n){for(var i=new Array(t.length),r=0,a=function(n,a){i[n]=a,++r===t.length&&e(i)},o=0;o<t.length;o++)!function(e){var i=t[e];null!=i&&null!=i.then?i.then((function(t){a(e,t)}),(function(t){n(t)})):a(e,i)}(o)}))},Dr.resolve=function(t){return new Dr((function(e,n){e(t)}))},Dr.reject=function(t){return new Dr((function(e,n){n(t)}))};var Fr=typeof Promise<"u"?Promise:Dr,zr=function(t,e,n){var i=I(t),r=!i,a=this._private=Z({duration:1e3},e,n);if(a.target=t,a.style=a.style||a.css,a.started=!1,a.playing=!1,a.hooked=!1,a.applying=!1,a.progress=0,a.completes=[],a.frames=[],a.complete&&v(a.complete)&&a.completes.push(a.complete),r){var o=t.position();a.startPosition=a.startPosition||{x:o.x,y:o.y},a.startStyle=a.startStyle||t.cy().style().getAnimationStartStyle(t,a.style)}if(i){var s=t.pan();a.startPan={x:s.x,y:s.y},a.startZoom=t.zoom()}this.length=1,this[0]=this},Hr=zr.prototype;Z(Hr,{instanceString:function(){return"animation"},hook:function(){var t=this._private;if(!t.hooked){var e=t.target._private.animation;(t.queue?e.queue:e.current).push(this),S(t.target)&&t.target.cy().addToAnimationPool(t.target),t.hooked=!0}return this},play:function(){var t=this._private;return 1===t.progress&&(t.progress=0),t.playing=!0,t.started=!1,t.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var t=this._private;return t.applying=!0,t.started=!1,t.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var t=this._private;return t.playing=!1,t.started=!1,this},stop:function(){var t=this._private;return t.playing=!1,t.started=!1,t.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(t){var e=this._private;return void 0===t?e.progress*e.duration:this.progress(t/e.duration)},progress:function(t){var e=this._private,n=e.playing;return void 0===t?e.progress:(n&&this.pause(),e.progress=t,e.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var t=this._private,e=t.playing;e&&this.pause(),t.progress=1-t.progress,t.started=!1;var n=function(e,n){var i=t[e];null!=i&&(t[e]=t[n],t[n]=i)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),t.style)for(var i=0;i<t.style.length;i++){var r=t.style[i],a=r.name,o=t.startStyle[a];t.startStyle[a]=r,t.style[i]=o}return e&&this.play(),this},promise:function(t){var e,n=this._private;return e="frame"===t?n.frames:n.completes,new Fr((function(t,n){e.push((function(){t()}))}))}}),Hr.complete=Hr.completed,Hr.run=Hr.play,Hr.running=Hr.playing;var Ur={animated:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return!1;var n=e[0];return n?n._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n<e.length;n++)e[n]._private.animation.queue=[];return this}},delay:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animate({delay:t,duration:t,complete:e}):this}},delayAnimation:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animation({delay:t,duration:t,complete:e}):this}},animation:function(){return function(t,e){var n=this,i=void 0!==n.length,r=i?n:[n],a=this._private.cy||this,o=!i,s=!o;if(!a.styleEnabled())return this;var c=a.style();if(t=Z({},t,e),0===Object.keys(t).length)return new zr(r[0],t);switch(void 0===t.duration&&(t.duration=400),t.duration){case"slow":t.duration=600;break;case"fast":t.duration=200}if(s&&(t.style=c.getPropsList(t.style||t.css),t.css=void 0),s&&null!=t.renderedPosition){var u=t.renderedPosition,l=a.pan(),h=a.zoom();t.position=fn(u,h,l)}if(o&&null!=t.panBy){var f=t.panBy,d=a.pan();t.pan={x:d.x+f.x,y:d.y+f.y}}var g=t.center||t.centre;if(o&&null!=g){var p=a.getCenterPan(g.eles,t.zoom);null!=p&&(t.pan=p)}if(o&&null!=t.fit){var b=t.fit,w=a.getFitViewport(b.eles||b.boundingBox,b.padding);null!=w&&(t.pan=w.pan,t.zoom=w.zoom)}if(o&&k(t.zoom)){var y=a.getZoomedViewport(t.zoom);null!=y?(y.zoomed&&(t.zoom=y.zoom),y.panned&&(t.pan=y.pan)):t.zoom=null}return new zr(r[0],t)}},animate:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n];if(!(this._private.cy||this).styleEnabled())return this;e&&(t=Z({},t,e));for(var r=0;r<i.length;r++){var a=i[r],o=a.animated()&&(void 0===t.queue||t.queue);a.animation(t,o?{queue:!0}:void 0).play()}return this}},stop:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n],r=this._private.cy||this;if(!r.styleEnabled())return this;for(var a=0;a<i.length;a++){for(var o=i[a]._private,s=o.animation.current,c=0;c<s.length;c++){var u=s[c]._private;e&&(u.duration=0)}t&&(o.animation.queue=[]),e||(o.animation.current=[])}return r.notify("draw"),this}}},Gr=Array.isArray,qr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kr=/^\w*$/;function Yr(t,e){if(Gr(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ft(t))||Kr.test(t)||!qr.test(t)||null!=e&&t in Object(e)}var Wr=Yr,Xr="[object AsyncFunction]",Vr="[object Function]",Qr="[object GeneratorFunction]",Zr="[object Proxy]";function Jr(t){if(!ct(t))return!1;var e=Pt(t);return e==Vr||e==Qr||e==Xr||e==Zr}var ta,ea=Jr,na=dt["__core-js_shared__"],ia=(ta=/[^.]+$/.exec(na&&na.keys&&na.keys.IE_PROTO||""))?"Symbol(src)_1."+ta:"";function ra(t){return!!ia&&ia in t}var aa=ra,oa=Function.prototype.toString;function sa(t){if(null!=t){try{return oa.call(t)}catch{}try{return t+""}catch{}}return""}var ca=sa,ua=/[\\^$.*+?()[\]{}|]/g,la=/^\[object .+?Constructor\]$/,ha=Function.prototype,fa=Object.prototype,da=ha.toString,ga=fa.hasOwnProperty,pa=RegExp("^"+da.call(ga).replace(ua,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ba(t){return!(!ct(t)||aa(t))&&(ea(t)?pa:la).test(ca(t))}var wa=ba;function ya(t,e){return null==t?void 0:t[e]}var ma=ya;function va(t,e){var n=ma(t,e);return wa(n)?n:void 0}var xa=va,ka=xa(Object,"create");function _a(){this.__data__=ka?ka(null):{},this.size=0}var Ea=_a;function Ta(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Ca=Ta,Sa="__lodash_hash_undefined__",Aa=Object.prototype.hasOwnProperty;function Ma(t){var e=this.__data__;if(ka){var n=e[t];return n===Sa?void 0:n}return Aa.call(e,t)?e[t]:void 0}var Ia=Ma,Oa=Object.prototype.hasOwnProperty;function La(t){var e=this.__data__;return ka?void 0!==e[t]:Oa.call(e,t)}var Na=La,Da="__lodash_hash_undefined__";function Pa(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ka&&void 0===e?Da:e,this}var Ba=Pa;function ja(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}ja.prototype.clear=Ea,ja.prototype.delete=Ca,ja.prototype.get=Ia,ja.prototype.has=Na,ja.prototype.set=Ba;var Ra=ja;function $a(){this.__data__=[],this.size=0}var Fa=$a;function za(t,e){return t===e||t!=t&&e!=e}var Ha=za;function Ua(t,e){for(var n=t.length;n--;)if(Ha(t[n][0],e))return n;return-1}var Ga=Ua,qa=Array.prototype.splice;function Ka(t){var e=this.__data__,n=Ga(e,t);return!(n<0||(n==e.length-1?e.pop():qa.call(e,n,1),--this.size,0))}var Ya=Ka;function Wa(t){var e=this.__data__,n=Ga(e,t);return n<0?void 0:e[n][1]}var Xa=Wa;function Va(t){return Ga(this.__data__,t)>-1}var Qa=Va;function Za(t,e){var n=this.__data__,i=Ga(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}var Ja=Za;function to(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}to.prototype.clear=Fa,to.prototype.delete=Ya,to.prototype.get=Xa,to.prototype.has=Qa,to.prototype.set=Ja;var eo=to,no=xa(dt,"Map");function io(){this.size=0,this.__data__={hash:new Ra,map:new(no||eo),string:new Ra}}var ro=io;function ao(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}var oo=ao;function so(t,e){var n=t.__data__;return oo(e)?n["string"==typeof e?"string":"hash"]:n.map}var co=so;function uo(t){var e=co(this,t).delete(t);return this.size-=e?1:0,e}var lo=uo;function ho(t){return co(this,t).get(t)}var fo=ho;function go(t){return co(this,t).has(t)}var po=go;function bo(t,e){var n=co(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}var wo=bo;function yo(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}yo.prototype.clear=ro,yo.prototype.delete=lo,yo.prototype.get=fo,yo.prototype.has=po,yo.prototype.set=wo;var mo=yo,vo="Expected a function";function xo(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(vo);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(xo.Cache||mo),n}xo.Cache=mo;var ko=xo,_o=500;function Eo(t){var e=ko(t,(function(t){return n.size===_o&&n.clear(),t})),n=e.cache;return e}var To=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Co=/\\(\\)?/g,So=Eo((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(To,(function(t,n,i,r){e.push(i?r.replace(Co,"$1"):n||t)})),e})),Ao=So;function Mo(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}var Io=Mo,Oo=1/0,Lo=xt?xt.prototype:void 0,No=Lo?Lo.toString:void 0;function Do(t){if("string"==typeof t)return t;if(Gr(t))return Io(t,Do)+"";if(Ft(t))return No?No.call(t):"";var e=t+"";return"0"==e&&1/t==-Oo?"-0":e}var Po=Do;function Bo(t){return null==t?"":Po(t)}var jo=Bo;function Ro(t,e){return Gr(t)?t:Wr(t,e)?[t]:Ao(jo(t))}var $o=Ro,Fo=1/0;function zo(t){if("string"==typeof t||Ft(t))return t;var e=t+"";return"0"==e&&1/t==-Fo?"-0":e}var Ho=zo;function Uo(t,e){for(var n=0,i=(e=$o(e,t)).length;null!=t&&n<i;)t=t[Ho(e[n++])];return n&&n==i?t:void 0}var Go=Uo;function qo(t,e,n){var i=null==t?void 0:Go(t,e);return void 0===i?n:i}var Ko=qo,Yo=function(){try{var t=xa(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Wo=Yo;function Xo(t,e,n){"__proto__"==e&&Wo?Wo(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var Vo=Xo,Qo=Object.prototype.hasOwnProperty;function Zo(t,e,n){var i=t[e];(!Qo.call(t,e)||!Ha(i,n)||void 0===n&&!(e in t))&&Vo(t,e,n)}var Jo=Zo,ts=9007199254740991,es=/^(?:0|[1-9]\d*)$/;function ns(t,e){var n=typeof t;return!!(e=e??ts)&&("number"==n||"symbol"!=n&&es.test(t))&&t>-1&&t%1==0&&t<e}var is=ns;function rs(t,e,n,i){if(!ct(t))return t;for(var r=-1,a=(e=$o(e,t)).length,o=a-1,s=t;null!=s&&++r<a;){var c=Ho(e[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=s[c];void 0===(u=i?i(l,c,s):void 0)&&(u=ct(l)?l:is(e[r+1])?[]:{})}Jo(s,c,u),s=s[c]}return t}var as=rs;function os(t,e,n){return null==t?t:as(t,e,n)}var ss=os;function cs(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var us=cs;function ls(t){return Gr(t)?Io(t,Ho):Ft(t)?[t]:us(Ao(jo(t)))}var hs=ls,fs={eventAliasesOn:function(t){var e=t;e.addListener=e.listen=e.bind=e.on,e.unlisten=e.unbind=e.off=e.removeListener,e.trigger=e.emit,e.pon=e.promiseOn=function(t,e){var n=this,i=Array.prototype.slice.call(arguments,0);return new Fr((function(t,e){var r=function(e){n.off.apply(n,o),t(e)},a=i.concat([r]),o=a.concat([]);n.on.apply(n,a)}))}}},ds={};[Ur,{data:function(t){return t=Z({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(t){},beforeSet:function(t,e){},onSet:function(t){},canSet:function(t){return!0}},t),function(e,n){var i=t,r=this,o=void 0!==r.length,s=o?r:[r],c=o?r[0]:r;if(m(e)){var u,l=-1!==e.indexOf(".")&&hs(e);if(i.allowGetting&&void 0===n)return c&&(i.beforeGet(c),u=l&&void 0===c._private[i.field][e]?Ko(c._private[i.field],l):c._private[i.field][e]),u;if(i.allowSetting&&void 0!==n&&!i.immutableKeys[e]){var h=a({},e,n);i.beforeSet(r,h);for(var f=0,d=s.length;f<d;f++){var g=s[f];i.canSet(g)&&(l&&void 0===c._private[i.field][e]?ss(g._private[i.field],l,n):g._private[i.field][e]=n)}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}}else if(i.allowSetting&&k(e)){var p,b,w=e,y=Object.keys(w);i.beforeSet(r,w);for(var x=0;x<y.length;x++)if(b=w[p=y[x]],!i.immutableKeys[p])for(var _=0;_<s.length;_++){var E=s[_];i.canSet(E)&&(E._private[i.field][p]=b)}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}else if(i.allowBinding&&v(e)){var T=e;r.on(i.bindingEvent,T)}else if(i.allowGetting&&void 0===e){var C;return c&&(i.beforeGet(c),C=c._private[i.field]),C}return r}},removeData:function(t){return t=Z({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},t),function(e){var n=t,i=this,r=void 0!==i.length?i:[i];if(m(e)){for(var a=e.split(/\s+/),o=a.length,s=0;s<o;s++){var c=a[s];if(!N(c)&&!n.immutableKeys[c])for(var u=0,l=r.length;u<l;u++)r[u]._private[n.field][c]=void 0}n.triggerEvent&&i[n.triggerFnName](n.event)}else if(void 0===e){for(var h=0,f=r.length;h<f;h++)for(var d=r[h]._private[n.field],g=Object.keys(d),p=0;p<g.length;p++){var b=g[p];!n.immutableKeys[b]&&(d[b]=void 0)}n.triggerEvent&&i[n.triggerFnName](n.event)}return i}}},fs].forEach((function(t){Z(ds,t)}));var gs={animate:ds.animate(),animation:ds.animation(),animated:ds.animated(),clearQueue:ds.clearQueue(),delay:ds.delay(),delayAnimation:ds.delayAnimation(),stop:ds.stop()},ps={classes:function(t){var e=this;if(void 0===t){var n=[];return e[0]._private.classes.forEach((function(t){return n.push(t)})),n}x(t)||(t=(t||"").match(/\S+/g)||[]);for(var i=[],r=new Ge(t),a=0;a<e.length;a++){for(var o=e[a],s=o._private,c=s.classes,u=!1,l=0;l<t.length;l++){var h=t[l];if(!c.has(h)){u=!0;break}}u||(u=c.size!==t.length),u&&(s.classes=r,i.push(o))}return i.length>0&&this.spawn(i).updateStyle().emit("class"),e},addClass:function(t){return this.toggleClass(t,!0)},hasClass:function(t){var e=this[0];return null!=e&&e._private.classes.has(t)},toggleClass:function(t,e){x(t)||(t=t.match(/\S+/g)||[]);for(var n=this,i=void 0===e,r=[],a=0,o=n.length;a<o;a++)for(var s=n[a],c=s._private.classes,u=!1,l=0;l<t.length;l++){var h=t[l],f=c.has(h),d=!1;e||i&&!f?(c.add(h),d=!0):(!e||i&&f)&&(c.delete(h),d=!0),!u&&d&&(r.push(s),u=!0)}return r.length>0&&this.spawn(r).updateStyle().emit("class"),n},removeClass:function(t){return this.toggleClass(t,!1)},flashClass:function(t,e){var n=this;if(null==e)e=250;else if(0===e)return n;return n.addClass(t),setTimeout((function(){n.removeClass(t)}),e),n}};ps.className=ps.classNames=ps.classes;var bs={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:U,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};bs.variable="(?:[\\w-.]|(?:\\\\"+bs.metaChar+"))+",bs.className="(?:[\\w-]|(?:\\\\"+bs.metaChar+"))+",bs.value=bs.string+"|"+bs.number,bs.id=bs.variable,function(){var t,e,n;for(t=bs.comparatorOp.split("|"),n=0;n<t.length;n++)e=t[n],bs.comparatorOp+="|@"+e;for(t=bs.comparatorOp.split("|"),n=0;n<t.length;n++)!((e=t[n]).indexOf("!")>=0)&&"="!==e&&(bs.comparatorOp+="|\\!"+e)}();var ws=function(){return{checks:[]}},ys={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},ms=[{selector:":selected",matches:function(t){return t.selected()}},{selector:":unselected",matches:function(t){return!t.selected()}},{selector:":selectable",matches:function(t){return t.selectable()}},{selector:":unselectable",matches:function(t){return!t.selectable()}},{selector:":locked",matches:function(t){return t.locked()}},{selector:":unlocked",matches:function(t){return!t.locked()}},{selector:":visible",matches:function(t){return t.visible()}},{selector:":hidden",matches:function(t){return!t.visible()}},{selector:":transparent",matches:function(t){return t.transparent()}},{selector:":grabbed",matches:function(t){return t.grabbed()}},{selector:":free",matches:function(t){return!t.grabbed()}},{selector:":removed",matches:function(t){return t.removed()}},{selector:":inside",matches:function(t){return!t.removed()}},{selector:":grabbable",matches:function(t){return t.grabbable()}},{selector:":ungrabbable",matches:function(t){return!t.grabbable()}},{selector:":animated",matches:function(t){return t.animated()}},{selector:":unanimated",matches:function(t){return!t.animated()}},{selector:":parent",matches:function(t){return t.isParent()}},{selector:":childless",matches:function(t){return t.isChildless()}},{selector:":child",matches:function(t){return t.isChild()}},{selector:":orphan",matches:function(t){return t.isOrphan()}},{selector:":nonorphan",matches:function(t){return t.isChild()}},{selector:":compound",matches:function(t){return t.isNode()?t.isParent():t.source().isParent()||t.target().isParent()}},{selector:":loop",matches:function(t){return t.isLoop()}},{selector:":simple",matches:function(t){return t.isSimple()}},{selector:":active",matches:function(t){return t.active()}},{selector:":inactive",matches:function(t){return!t.active()}},{selector:":backgrounding",matches:function(t){return t.backgrounding()}},{selector:":nonbackgrounding",matches:function(t){return!t.backgrounding()}}].sort((function(t,e){return Q(t.selector,e.selector)})),vs=function(){for(var t,e={},n=0;n<ms.length;n++)e[(t=ms[n]).selector]=t.matches;return e}(),xs=function(t,e){return vs[t](e)},ks="("+ms.map((function(t){return t.selector})).join("|")+")",_s=function(t){return t.replace(new RegExp("\\\\("+bs.metaChar+")","g"),(function(t,e){return e}))},Es=function(t,e,n){t[t.length-1]=n},Ts=[{name:"group",query:!0,regex:"("+bs.group+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.GROUP,value:"*"===i?i:i+"s"})}},{name:"state",query:!0,regex:ks,populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.STATE,value:i})}},{name:"id",query:!0,regex:"\\#("+bs.id+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.ID,value:_s(i)})}},{name:"className",query:!0,regex:"\\.("+bs.className+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.CLASS,value:_s(i)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+bs.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:ys.DATA_EXIST,field:_s(i)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+bs.variable+")\\s*("+bs.comparatorOp+")\\s*("+bs.value+")\\s*\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];s=null!=new RegExp("^"+bs.string+"$").exec(s)?s.substring(1,s.length-1):parseFloat(s),e.checks.push({type:ys.DATA_COMPARE,field:_s(r),operator:a,value:s})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+bs.boolOp+")\\s*("+bs.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,2),r=i[0],a=i[1];e.checks.push({type:ys.DATA_BOOL,field:_s(a),operator:r})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+bs.meta+")\\s*("+bs.comparatorOp+")\\s*("+bs.number+")\\s*\\]\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];e.checks.push({type:ys.META_COMPARE,field:_s(r),operator:a,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:bs.separator,populate:function(t,e){var n=t.currentSubject,i=t.edgeCount,r=t.compoundCount,a=t[t.length-1];return null!=n&&(a.subject=n,t.currentSubject=null),a.edgeCount=i,a.compoundCount=r,t.edgeCount=0,t.compoundCount=0,t[t.length++]=ws()}},{name:"directedEdge",separator:!0,regex:bs.directedEdge,populate:function(t,e){if(null==t.currentSubject){var n=ws(),i=e,r=ws();return n.checks.push({type:ys.DIRECTED_EDGE,source:i,target:r}),Es(t,e,n),t.edgeCount++,r}var a=ws(),o=e,s=ws();return a.checks.push({type:ys.NODE_SOURCE,source:o,target:s}),Es(t,e,a),t.edgeCount++,s}},{name:"undirectedEdge",separator:!0,regex:bs.undirectedEdge,populate:function(t,e){if(null==t.currentSubject){var n=ws(),i=e,r=ws();return n.checks.push({type:ys.UNDIRECTED_EDGE,nodes:[i,r]}),Es(t,e,n),t.edgeCount++,r}var a=ws(),o=e,s=ws();return a.checks.push({type:ys.NODE_NEIGHBOR,node:o,neighbor:s}),Es(t,e,a),s}},{name:"child",separator:!0,regex:bs.child,populate:function(t,e){if(null==t.currentSubject){var n=ws(),i=ws(),r=t[t.length-1];return n.checks.push({type:ys.CHILD,parent:r,child:i}),Es(t,e,n),t.compoundCount++,i}if(t.currentSubject===e){var a=ws(),o=t[t.length-1],s=ws(),c=ws(),u=ws(),l=ws();return a.checks.push({type:ys.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:ys.TRUE}],l.checks.push({type:ys.TRUE}),s.checks.push({type:ys.PARENT,parent:l,child:u}),Es(t,o,a),t.currentSubject=c,t.compoundCount++,u}var h=ws(),f=ws(),d=[{type:ys.PARENT,parent:h,child:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"descendant",separator:!0,regex:bs.descendant,populate:function(t,e){if(null==t.currentSubject){var n=ws(),i=ws(),r=t[t.length-1];return n.checks.push({type:ys.DESCENDANT,ancestor:r,descendant:i}),Es(t,e,n),t.compoundCount++,i}if(t.currentSubject===e){var a=ws(),o=t[t.length-1],s=ws(),c=ws(),u=ws(),l=ws();return a.checks.push({type:ys.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:ys.TRUE}],l.checks.push({type:ys.TRUE}),s.checks.push({type:ys.ANCESTOR,ancestor:l,descendant:u}),Es(t,o,a),t.currentSubject=c,t.compoundCount++,u}var h=ws(),f=ws(),d=[{type:ys.ANCESTOR,ancestor:h,descendant:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"subject",modifier:!0,regex:bs.subject,populate:function(t,e){if(null!=t.currentSubject&&t.currentSubject!==e)return Se("Redefinition of subject in selector `"+t.toString()+"`"),!1;t.currentSubject=e;var n=t[t.length-1].checks[0],i=null==n?null:n.type;i===ys.DIRECTED_EDGE?n.type=ys.NODE_TARGET:i===ys.UNDIRECTED_EDGE&&(n.type=ys.NODE_NEIGHBOR,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null)}}];Ts.forEach((function(t){return t.regexObj=new RegExp("^"+t.regex)}));var Cs=function(t){for(var e,n,i,r=0;r<Ts.length;r++){var a=Ts[r],o=a.name,s=t.match(a.regexObj);if(null!=s){n=s,e=a,i=o;var c=s[0];t=t.substring(c.length);break}}return{expr:e,match:n,name:i,remaining:t}},Ss=function(t){var e=t.match(/^\s+/);if(e){var n=e[0];t=t.substring(n.length)}return t},As={parse:function(t){var e=this,n=e.inputText=t,i=e[0]=ws();for(e.length=1,n=Ss(n);;){var r=Cs(n);if(null==r.expr)return Se("The selector `"+t+"`is invalid"),!1;var a=r.match.slice(1),o=r.expr.populate(e,i,a);if(!1===o)return!1;if(null!=o&&(i=o),(n=r.remaining).match(/^\s*$/))break}var s=e[e.length-1];null!=e.currentSubject&&(s.subject=e.currentSubject),s.edgeCount=e.edgeCount,s.compoundCount=e.compoundCount;for(var c=0;c<e.length;c++){var u=e[c];if(u.compoundCount>0&&u.edgeCount>0)return Se("The selector `"+t+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Se("The selector `"+t+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Se("The selector `"+t+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var t=function(t){return t??""},e=function(e){return m(e)?'"'+e+'"':t(e)},n=function(t){return" "+t+" "},i=function(i,a){var o=i.type,s=i.value;switch(o){case ys.GROUP:var c=t(s);return c.substring(0,c.length-1);case ys.DATA_COMPARE:var u=i.field,l=i.operator;return"["+u+n(t(l))+e(s)+"]";case ys.DATA_BOOL:var h=i.operator,f=i.field;return"["+t(h)+f+"]";case ys.DATA_EXIST:return"["+i.field+"]";case ys.META_COMPARE:var d=i.operator;return"[["+i.field+n(t(d))+e(s)+"]]";case ys.STATE:return s;case ys.ID:return"#"+s;case ys.CLASS:return"."+s;case ys.PARENT:case ys.CHILD:return r(i.parent,a)+n(">")+r(i.child,a);case ys.ANCESTOR:case ys.DESCENDANT:return r(i.ancestor,a)+" "+r(i.descendant,a);case ys.COMPOUND_SPLIT:var g=r(i.left,a),p=r(i.subject,a),b=r(i.right,a);return g+(g.length>0?" ":"")+p+b;case ys.TRUE:return""}},r=function(t,e){return t.checks.reduce((function(n,r,a){return n+(e===t&&0===a?"$":"")+i(r,e)}),"")},a="",o=0;o<this.length;o++){var s=this[o];a+=r(s,s.subject),this.length>1&&o<this.length-1&&(a+=", ")}return this.toStringCache=a,a}},Ms=function(t,e,n){var i,r,a,o=m(t),s=E(t),c=m(n),u=!1,l=!1,h=!1;switch(e.indexOf("!")>=0&&(e=e.replace("!",""),l=!0),e.indexOf("@")>=0&&(e=e.replace("@",""),u=!0),(o||c||u)&&(r=o||s?""+t:"",a=""+n),u&&(t=r=r.toLowerCase(),n=a=a.toLowerCase()),e){case"*=":i=r.indexOf(a)>=0;break;case"$=":i=r.indexOf(a,r.length-a.length)>=0;break;case"^=":i=0===r.indexOf(a);break;case"=":i=t===n;break;case">":h=!0,i=t>n;break;case">=":h=!0,i=t>=n;break;case"<":h=!0,i=t<n;break;case"<=":h=!0,i=t<=n;break;default:i=!1}return l&&(null!=t||!h)&&(i=!i),i},Is=function(t,e){switch(e){case"?":return!!t;case"!":return!t;case"^":return void 0===t}},Os=function(t){return void 0!==t},Ls=function(t,e){return t.data(e)},Ns=function(t,e){return t[e]()},Ds=[],Ps=function(t,e){return t.checks.every((function(t){return Ds[t.type](t,e)}))};Ds[ys.GROUP]=function(t,e){var n=t.value;return"*"===n||n===e.group()},Ds[ys.STATE]=function(t,e){var n=t.value;return xs(n,e)},Ds[ys.ID]=function(t,e){var n=t.value;return e.id()===n},Ds[ys.CLASS]=function(t,e){var n=t.value;return e.hasClass(n)},Ds[ys.META_COMPARE]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Ms(Ns(e,n),i,r)},Ds[ys.DATA_COMPARE]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Ms(Ls(e,n),i,r)},Ds[ys.DATA_BOOL]=function(t,e){var n=t.field,i=t.operator;return Is(Ls(e,n),i)},Ds[ys.DATA_EXIST]=function(t,e){var n=t.field;return t.operator,Os(Ls(e,n))},Ds[ys.UNDIRECTED_EDGE]=function(t,e){var n=t.nodes[0],i=t.nodes[1],r=e.source(),a=e.target();return Ps(n,r)&&Ps(i,a)||Ps(i,r)&&Ps(n,a)},Ds[ys.NODE_NEIGHBOR]=function(t,e){return Ps(t.node,e)&&e.neighborhood().some((function(e){return e.isNode()&&Ps(t.neighbor,e)}))},Ds[ys.DIRECTED_EDGE]=function(t,e){return Ps(t.source,e.source())&&Ps(t.target,e.target())},Ds[ys.NODE_SOURCE]=function(t,e){return Ps(t.source,e)&&e.outgoers().some((function(e){return e.isNode()&&Ps(t.target,e)}))},Ds[ys.NODE_TARGET]=function(t,e){return Ps(t.target,e)&&e.incomers().some((function(e){return e.isNode()&&Ps(t.source,e)}))},Ds[ys.CHILD]=function(t,e){return Ps(t.child,e)&&Ps(t.parent,e.parent())},Ds[ys.PARENT]=function(t,e){return Ps(t.parent,e)&&e.children().some((function(e){return Ps(t.child,e)}))},Ds[ys.DESCENDANT]=function(t,e){return Ps(t.descendant,e)&&e.ancestors().some((function(e){return Ps(t.ancestor,e)}))},Ds[ys.ANCESTOR]=function(t,e){return Ps(t.ancestor,e)&&e.descendants().some((function(e){return Ps(t.descendant,e)}))},Ds[ys.COMPOUND_SPLIT]=function(t,e){return Ps(t.subject,e)&&Ps(t.left,e)&&Ps(t.right,e)},Ds[ys.TRUE]=function(){return!0},Ds[ys.COLLECTION]=function(t,e){return t.value.has(e)},Ds[ys.FILTER]=function(t,e){return(0,t.value)(e)};var Bs={matches:function(t){for(var e=this,n=0;n<e.length;n++){var i=e[n];if(Ps(i,t))return!0}return!1},filter:function(t){var e=this;if(1===e.length&&1===e[0].checks.length&&e[0].checks[0].type===ys.ID)return t.getElementById(e[0].checks[0].value).collection();var n=function(t){for(var n=0;n<e.length;n++){var i=e[n];if(Ps(i,t))return!0}return!1};return null==e.text()&&(n=function(){return!0}),t.filter(n)}},js=function(t){this.inputText=t,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,null==t||m(t)&&t.match(/^\s*$/)||(S(t)?this.addQuery({checks:[{type:ys.COLLECTION,value:t.collection()}]}):v(t)?this.addQuery({checks:[{type:ys.FILTER,value:t}]}):m(t)?this.parse(t)||(this.invalid=!0):Te("A selector must be created from a string; found "))},Rs=js.prototype;[As,Bs].forEach((function(t){return Z(Rs,t)})),Rs.text=function(){return this.inputText},Rs.size=function(){return this.length},Rs.eq=function(t){return this[t]},Rs.sameText=function(t){return!this.invalid&&!t.invalid&&this.text()===t.text()},Rs.addQuery=function(t){this[this.length++]=t},Rs.selector=Rs.toString;var $s={allAre:function(t){var e=new js(t);return this.every((function(t){return e.matches(t)}))},is:function(t){var e=new js(t);return this.some((function(t){return e.matches(t)}))},some:function(t,e){for(var n=0;n<this.length;n++)if(e?t.apply(e,[this[n],n,this]):t(this[n],n,this))return!0;return!1},every:function(t,e){for(var n=0;n<this.length;n++)if(!(e?t.apply(e,[this[n],n,this]):t(this[n],n,this)))return!1;return!0},same:function(t){if(this===t)return!0;t=this.cy().collection(t);var e=this.length;return e===t.length&&(1===e?this[0]===t[0]:this.every((function(e){return t.hasElementWithId(e.id())})))},anySame:function(t){return t=this.cy().collection(t),this.some((function(e){return t.hasElementWithId(e.id())}))},allAreNeighbors:function(t){t=this.cy().collection(t);var e=this.neighborhood();return t.every((function(t){return e.hasElementWithId(t.id())}))},contains:function(t){t=this.cy().collection(t);var e=this;return t.every((function(t){return e.hasElementWithId(t.id())}))}};$s.allAreNeighbours=$s.allAreNeighbors,$s.has=$s.contains,$s.equal=$s.equals=$s.same;var Fs,zs,Hs=function(t,e){return function(n,i,r,a){var o,s=n,c=this;if(null==s?o="":S(s)&&1===s.length&&(o=s.id()),1===c.length&&o){var u=c[0]._private,l=u.traversalCache=u.traversalCache||{},h=l[e]=l[e]||[],f=ge(o);return h[f]||(h[f]=t.call(c,n,i,r,a))}return t.call(c,n,i,r,a)}},Us={parent:function(t){var e=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var i=0;i<this.length;i++){var r=this[i]._private.parent;r&&e.push(r)}return this.spawn(e,!0).filter(t)},parents:function(t){for(var e=[],n=this.parent();n.nonempty();){for(var i=0;i<n.length;i++){var r=n[i];e.push(r)}n=n.parent()}return this.spawn(e,!0).filter(t)},commonAncestors:function(t){for(var e,n=0;n<this.length;n++){var i=this[n].parents();e=(e=e||i).intersect(i)}return e.filter(t)},orphans:function(t){return this.stdFilter((function(t){return t.isOrphan()})).filter(t)},nonorphans:function(t){return this.stdFilter((function(t){return t.isChild()})).filter(t)},children:Hs((function(t){for(var e=[],n=0;n<this.length;n++)for(var i=this[n]._private.children,r=0;r<i.length;r++)e.push(i[r]);return this.spawn(e,!0).filter(t)}),"children"),siblings:function(t){return this.parent().children().not(this).filter(t)},isParent:function(){var t=this[0];if(t)return t.isNode()&&0!==t._private.children.length},isChildless:function(){var t=this[0];if(t)return t.isNode()&&0===t._private.children.length},isChild:function(){var t=this[0];if(t)return t.isNode()&&null!=t._private.parent},isOrphan:function(){var t=this[0];if(t)return t.isNode()&&null==t._private.parent},descendants:function(t){var e=[];function n(t){for(var i=0;i<t.length;i++){var r=t[i];e.push(r),r.children().nonempty()&&n(r.children())}}return n(this.children()),this.spawn(e,!0).filter(t)}};function Gs(t,e,n,i){for(var r=[],a=new Ge,o=t.cy().hasCompoundNodes(),s=0;s<t.length;s++){var c=t[s];n?r.push(c):o&&i(r,a,c)}for(;r.length>0;){var u=r.shift();e(u),a.add(u.id()),o&&i(r,a,u)}return t}function qs(t,e,n){if(n.isParent())for(var i=n._private.children,r=0;r<i.length;r++){var a=i[r];e.has(a.id())||t.push(a)}}function Ks(t,e,n){if(n.isChild()){var i=n._private.parent;e.has(i.id())||t.push(i)}}function Ys(t,e,n){Ks(t,e,n),qs(t,e,n)}Us.forEachDown=function(t){return Gs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],qs)},Us.forEachUp=function(t){return Gs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ks)},Us.forEachUpAndDown=function(t){return Gs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ys)},Us.ancestors=Us.parents,(Fs=zs={data:ds.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:ds.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:ds.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ds.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:ds.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:ds.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var t=this[0];if(t)return t._private.data.id}}).attr=Fs.data,Fs.removeAttr=Fs.removeData;var Ws=zs,Xs={};function Vs(t){return function(e){var n=this;if(void 0===e&&(e=!0),0===n.length);else if(n.isNode()&&!n.removed()){for(var i=0,r=n[0],a=r._private.edges,o=0;o<a.length;o++){var s=a[o];!e&&s.isLoop()||(i+=t(r,s))}return i}}}function Qs(t,e){return function(n){for(var i,r=this.nodes(),a=0;a<r.length;a++){var o=r[a][t](n);void 0!==o&&(void 0===i||e(o,i))&&(i=o)}return i}}Z(Xs,{degree:Vs((function(t,e){return e.source().same(e.target())?2:1})),indegree:Vs((function(t,e){return e.target().same(t)?1:0})),outdegree:Vs((function(t,e){return e.source().same(t)?1:0}))}),Z(Xs,{minDegree:Qs("degree",(function(t,e){return t<e})),maxDegree:Qs("degree",(function(t,e){return t>e})),minIndegree:Qs("indegree",(function(t,e){return t<e})),maxIndegree:Qs("indegree",(function(t,e){return t>e})),minOutdegree:Qs("outdegree",(function(t,e){return t<e})),maxOutdegree:Qs("outdegree",(function(t,e){return t>e}))}),Z(Xs,{totalDegree:function(t){for(var e=0,n=this.nodes(),i=0;i<n.length;i++)e+=n[i].degree(t);return e}});var Zs,Js,tc=function(t,e,n){for(var i=0;i<t.length;i++){var r=t[i];if(!r.locked()){var a=r._private.position,o={x:null!=e.x?e.x-a.x:0,y:null!=e.y?e.y-a.y:0};r.isParent()&&!(0===o.x&&0===o.y)&&r.children().shift(o,n),r.dirtyBoundingBoxCache()}}},ec={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(t){t.updateCompoundBounds()},beforeSet:function(t,e){tc(t,e,!1)},onSet:function(t){t.dirtyCompoundBoundsCache()},canSet:function(t){return!t.locked()}};(Zs=Js={position:ds.data(ec),silentPosition:ds.data(Z({},ec,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(t,e){tc(t,e,!0)},onSet:function(t){t.dirtyCompoundBoundsCache()}})),positions:function(t,e){if(k(t))e?this.silentPosition(t):this.position(t);else if(v(t)){var n=t,i=this.cy();i.startBatch();for(var r=0;r<this.length;r++){var a=this[r],o=void 0;(o=n(a,r))&&(e?a.silentPosition(o):a.position(o))}i.endBatch()}return this},silentPositions:function(t){return this.positions(t,!0)},shift:function(t,e,n){var i;if(k(t)?(i={x:E(t.x)?t.x:0,y:E(t.y)?t.y:0},n=e):m(t)&&E(e)&&((i={x:0,y:0})[t]=e),null!=i){var r=this.cy();r.startBatch();for(var a=0;a<this.length;a++){var o=this[a];if(!(r.hasCompoundNodes()&&o.isChild()&&o.ancestors().anySame(this))){var s=o.position(),c={x:s.x+i.x,y:s.y+i.y};n?o.silentPosition(c):o.position(c)}}r.endBatch()}return this},silentShift:function(t,e){return k(t)?this.shift(t,!0):m(t)&&E(e)&&this.shift(t,e,!0),this},renderedPosition:function(t,e){var n=this[0],i=this.cy(),r=i.zoom(),a=i.pan(),o=k(t)?t:void 0,s=void 0!==o||void 0!==e&&m(t);if(n&&n.isNode()){if(!s){var c=n.position();return o=hn(c,r,a),void 0===t?o:o[t]}for(var u=0;u<this.length;u++){var l=this[u];void 0!==e?l.position(t,(e-a[t])/r):void 0!==o&&l.position(fn(o,r,a))}}else if(!s)return;return this},relativePosition:function(t,e){var n=this[0],i=this.cy(),r=k(t)?t:void 0,a=void 0!==r||void 0!==e&&m(t),o=i.hasCompoundNodes();if(n&&n.isNode()){if(!a){var s=n.position(),c=o?n.parent():null,u=c&&c.length>0,l=u;u&&(c=c[0]);var h=l?c.position():{x:0,y:0};return r={x:s.x-h.x,y:s.y-h.y},void 0===t?r:r[t]}for(var f=0;f<this.length;f++){var d=this[f],g=o?d.parent():null,p=g&&g.length>0,b=p;p&&(g=g[0]);var w=b?g.position():{x:0,y:0};void 0!==e?d.position(t,e+w[t]):void 0!==r&&d.position({x:r.x+w.x,y:r.y+w.y})}}else if(!a)return;return this}}).modelPosition=Zs.point=Zs.position,Zs.modelPositions=Zs.points=Zs.positions,Zs.renderedPoint=Zs.renderedPosition,Zs.relativePoint=Zs.relativePosition;var nc,ic,rc=Js;nc=ic={},ic.renderedBoundingBox=function(t){var e=this.boundingBox(t),n=this.cy(),i=n.zoom(),r=n.pan(),a=e.x1*i+r.x,o=e.x2*i+r.x,s=e.y1*i+r.y,c=e.y2*i+r.y;return{x1:a,x2:o,y1:s,y2:c,w:o-a,h:c-s}},ic.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp((function(e){if(e.isParent()){var n=e._private;n.compoundBoundsClean=!1,n.bbCache=null,t||e.emitAndNotify("bounds")}})),this):this},ic.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function n(t){if(t.isParent()){var e=t._private,n=t.children(),i="include"===t.pstyle("compound-sizing-wrt-labels").value,r={width:{val:t.pstyle("min-width").pfValue,left:t.pstyle("min-width-bias-left"),right:t.pstyle("min-width-bias-right")},height:{val:t.pstyle("min-height").pfValue,top:t.pstyle("min-height-bias-top"),bottom:t.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),o=e.position;(0===a.w||0===a.h)&&((a={w:t.pstyle("width").pfValue,h:t.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=r.width.left.value;"px"===r.width.left.units&&r.width.val>0&&(s=100*s/r.width.val);var c=r.width.right.value;"px"===r.width.right.units&&r.width.val>0&&(c=100*c/r.width.val);var u=r.height.top.value;"px"===r.height.top.units&&r.height.val>0&&(u=100*u/r.height.val);var l=r.height.bottom.value;"px"===r.height.bottom.units&&r.height.val>0&&(l=100*l/r.height.val);var h=w(r.width.val-a.w,s,c),f=h.biasDiff,d=h.biasComplementDiff,g=w(r.height.val-a.h,u,l),p=g.biasDiff,b=g.biasComplementDiff;e.autoPadding=y(a.w,a.h,t.pstyle("padding"),t.pstyle("padding-relative-to").value),e.autoWidth=Math.max(a.w,r.width.val),o.x=(-f+a.x1+a.x2+d)/2,e.autoHeight=Math.max(a.h,r.height.val),o.y=(-p+a.y1+a.y2+b)/2}function w(t,e,n){var i=0,r=0,a=e+n;return t>0&&a>0&&(i=e/a*t,r=n/a*t),{biasDiff:i,biasComplementDiff:r}}function y(t,e,n,i){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(i){case"width":return t>0?n.pfValue*t:0;case"height":return e>0?n.pfValue*e:0;case"average":return t>0&&e>0?n.pfValue*(t+e)/2:0;case"min":return t>0&&e>0?t>e?n.pfValue*e:n.pfValue*t:0;case"max":return t>0&&e>0?t>e?n.pfValue*t:n.pfValue*e:0;default:return 0}}}for(var i=0;i<this.length;i++){var r=this[i],a=r._private;(!a.compoundBoundsClean||t)&&(n(r),e.batching()||(a.compoundBoundsClean=!0))}return this};var ac=function(t){return t===1/0||t===-1/0?0:t},oc=function(t,e,n,i,r){i-e==0||r-n==0||null==e||null==n||null==i||null==r||(t.x1=e<t.x1?e:t.x1,t.x2=i>t.x2?i:t.x2,t.y1=n<t.y1?n:t.y1,t.y2=r>t.y2?r:t.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1)},sc=function(t,e){return null==e?t:oc(t,e.x1,e.y1,e.x2,e.y2)},cc=function(t,e,n){return Re(t,e,n)},uc=function(t,e,n){if(!e.cy().headless()){var i,r,a=e._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==e.pstyle(n+"-arrow-shape").value){"source"===n?(i=o.srcX,r=o.srcY):"target"===n?(i=o.tgtX,r=o.tgtY):(i=o.midX,r=o.midY);var c=a.arrowBounds=a.arrowBounds||{},u=c[n]=c[n]||{};u.x1=i-s,u.y1=r-s,u.x2=i+s,u.y2=r+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Dn(u,1),oc(t,u.x1,u.y1,u.x2,u.y2)}}},lc=function(t,e,n){if(!e.cy().headless()){var i;i=n?n+"-":"";var r=e._private,a=r.rstyle;if(e.pstyle(i+"label").strValue){var o,s,c,u,l=e.pstyle("text-halign"),h=e.pstyle("text-valign"),f=cc(a,"labelWidth",n),d=cc(a,"labelHeight",n),g=cc(a,"labelX",n),p=cc(a,"labelY",n),b=e.pstyle(i+"text-margin-x").pfValue,w=e.pstyle(i+"text-margin-y").pfValue,y=e.isEdge(),m=e.pstyle(i+"text-rotation"),v=e.pstyle("text-outline-width").pfValue,x=e.pstyle("text-border-width").pfValue/2,k=e.pstyle("text-background-padding").pfValue,_=2,E=d,T=f,C=T/2,S=E/2;if(y)o=g-C,s=g+C,c=p-S,u=p+S;else{switch(l.value){case"left":o=g-T,s=g;break;case"center":o=g-C,s=g+C;break;case"right":o=g,s=g+T}switch(h.value){case"top":c=p-E,u=p;break;case"center":c=p-S,u=p+S;break;case"bottom":c=p,u=p+E}}o+=b-Math.max(v,x)-k-_,s+=b+Math.max(v,x)+k+_,c+=w-Math.max(v,x)-k-_,u+=w+Math.max(v,x)+k+_;var A=n||"main",M=r.labelBounds,I=M[A]=M[A]||{};I.x1=o,I.y1=c,I.x2=s,I.y2=u,I.w=s-o,I.h=u-c;var O=y&&"autorotate"===m.strValue,L=null!=m.pfValue&&0!==m.pfValue;if(O||L){var N=O?cc(r.rstyle,"labelAngle",n):m.pfValue,D=Math.cos(N),P=Math.sin(N),B=(o+s)/2,j=(c+u)/2;if(!y){switch(l.value){case"left":B=s;break;case"right":B=o}switch(h.value){case"top":j=u;break;case"bottom":j=c}}var R=function(t,e){return{x:(t-=B)*D-(e-=j)*P+B,y:t*P+e*D+j}},$=R(o,c),F=R(o,u),z=R(s,c),H=R(s,u);o=Math.min($.x,F.x,z.x,H.x),s=Math.max($.x,F.x,z.x,H.x),c=Math.min($.y,F.y,z.y,H.y),u=Math.max($.y,F.y,z.y,H.y)}var U=A+"Rot",G=M[U]=M[U]||{};G.x1=o,G.y1=c,G.x2=s,G.y2=u,G.w=s-o,G.h=u-c,oc(t,o,c,s,u),oc(r.labelBounds.all,o,c,s,u)}return t}},hc=function(t,e){var n,i,r,a,o,s,c=t._private.cy,u=c.styleEnabled(),l=c.headless(),h=Mn(),f=t._private,d=t.isNode(),g=t.isEdge(),p=f.rstyle,b=d&&u?t.pstyle("bounds-expansion").pfValue:[0],w=function(t){return"none"!==t.pstyle("display").value},y=!u||w(t)&&(!g||w(t.source())&&w(t.target()));if(y){var m=0;u&&e.includeOverlays&&0!==t.pstyle("overlay-opacity").value&&(m=t.pstyle("overlay-padding").value);var v=0;u&&e.includeUnderlays&&0!==t.pstyle("underlay-opacity").value&&(v=t.pstyle("underlay-padding").value);var x=Math.max(m,v),k=0;if(u&&(k=t.pstyle("width").pfValue/2),d&&e.includeNodes){var _=t.position();o=_.x,s=_.y;var E=t.outerWidth()/2,T=t.outerHeight()/2;oc(h,n=o-E,r=s-T,i=o+E,a=s+T)}else if(g&&e.includeEdges)if(u&&!l){var C=t.pstyle("curve-style").strValue;if(n=Math.min(p.srcX,p.midX,p.tgtX),i=Math.max(p.srcX,p.midX,p.tgtX),r=Math.min(p.srcY,p.midY,p.tgtY),a=Math.max(p.srcY,p.midY,p.tgtY),oc(h,n-=k,r-=k,i+=k,a+=k),"haystack"===C){var S=p.haystackPts;if(S&&2===S.length){if(n=S[0].x,r=S[0].y,n>(i=S[1].x)){var A=n;n=i,i=A}if(r>(a=S[1].y)){var M=r;r=a,a=M}oc(h,n-k,r-k,i+k,a+k)}}else if("bezier"===C||"unbundled-bezier"===C||"segments"===C||"taxi"===C){var I;switch(C){case"bezier":case"unbundled-bezier":I=p.bezierPts;break;case"segments":case"taxi":I=p.linePts}if(null!=I)for(var O=0;O<I.length;O++){var L=I[O];n=L.x-k,i=L.x+k,r=L.y-k,a=L.y+k,oc(h,n,r,i,a)}}}else{var N=t.source().position(),D=t.target().position();if((n=N.x)>(i=D.x)){var P=n;n=i,i=P}if((r=N.y)>(a=D.y)){var B=r;r=a,a=B}oc(h,n-=k,r-=k,i+=k,a+=k)}if(u&&e.includeEdges&&g&&(uc(h,t,"mid-source"),uc(h,t,"mid-target"),uc(h,t,"source"),uc(h,t,"target")),u&&"yes"===t.pstyle("ghost").value){var j=t.pstyle("ghost-offset-x").pfValue,R=t.pstyle("ghost-offset-y").pfValue;oc(h,h.x1+j,h.y1+R,h.x2+j,h.y2+R)}var $=f.bodyBounds=f.bodyBounds||{};Bn($,h),Pn($,b),Dn($,1),u&&(n=h.x1,i=h.x2,r=h.y1,a=h.y2,oc(h,n-x,r-x,i+x,a+x));var F=f.overlayBounds=f.overlayBounds||{};Bn(F,h),Pn(F,b),Dn(F,1);var z=f.labelBounds=f.labelBounds||{};null!=z.all?On(z.all):z.all=Mn(),u&&e.includeLabels&&(e.includeMainLabels&&lc(h,t,null),g&&(e.includeSourceLabels&&lc(h,t,"source"),e.includeTargetLabels&&lc(h,t,"target")))}return h.x1=ac(h.x1),h.y1=ac(h.y1),h.x2=ac(h.x2),h.y2=ac(h.y2),h.w=ac(h.x2-h.x1),h.h=ac(h.y2-h.y1),h.w>0&&h.h>0&&y&&(Pn(h,b),Dn(h,1)),h},fc=function(t){var e=0,n=function(t){return(t?1:0)<<e++},i=0;return i+=n(t.incudeNodes),i+=n(t.includeEdges),i+=n(t.includeLabels),i+=n(t.includeMainLabels),i+=n(t.includeSourceLabels),i+=n(t.includeTargetLabels),i+=n(t.includeOverlays)},dc=function(t){if(t.isEdge()){var e=t.source().position(),n=t.target().position(),i=function(t){return Math.round(t)};return de([i(e.x),i(e.y),i(n.x),i(n.y)])}return 0},gc=function(t,e){var n,i=t._private,r=t.isEdge(),a=(null==e?bc:fc(e))===bc,o=dc(t),s=i.bbCachePosKey===o,c=e.useCache&&s,u=function(t){return null==t._private.bbCache||t._private.styleDirty};if(!c||u(t)||r&&u(t.source())||u(t.target())?(s||t.recalculateRenderedStyle(c),n=hc(t,pc),i.bbCache=n,i.bbCachePosKey=o):n=i.bbCache,!a){var l=t.isNode();n=Mn(),(e.includeNodes&&l||e.includeEdges&&!l)&&(e.includeOverlays?sc(n,i.overlayBounds):sc(n,i.bodyBounds)),e.includeLabels&&(e.includeMainLabels&&(!r||e.includeSourceLabels&&e.includeTargetLabels)?sc(n,i.labelBounds.all):(e.includeMainLabels&&sc(n,i.labelBounds.mainRot),e.includeSourceLabels&&sc(n,i.labelBounds.sourceRot),e.includeTargetLabels&&sc(n,i.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},pc={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},bc=fc(pc),wc=De(pc);ic.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=Mn();var n=wc(t=t||pc),i=this;if(i.cy().styleEnabled())for(var r=0;r<i.length;r++){var a=i[r],o=a._private,s=dc(a),c=o.bbCachePosKey===s,u=n.useCache&&c&&!o.styleDirty;a.recalculateRenderedStyle(u)}this.updateCompoundBounds(!t.useCache);for(var l=0;l<i.length;l++){var h=i[l];sc(e,gc(h,n))}}else t=void 0===t?pc:wc(t),e=gc(this[0],t);return e.x1=ac(e.x1),e.y1=ac(e.y1),e.x2=ac(e.x2),e.y2=ac(e.y2),e.w=ac(e.x2-e.x1),e.h=ac(e.y2-e.y1),e},ic.dirtyBoundingBoxCache=function(){for(var t=0;t<this.length;t++){var e=this[t]._private;e.bbCache=null,e.bbCachePosKey=null,e.bodyBounds=null,e.overlayBounds=null,e.labelBounds.all=null,e.labelBounds.source=null,e.labelBounds.target=null,e.labelBounds.main=null,e.labelBounds.sourceRot=null,e.labelBounds.targetRot=null,e.labelBounds.mainRot=null,e.arrowBounds.source=null,e.arrowBounds.target=null,e.arrowBounds["mid-source"]=null,e.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},ic.boundingBoxAt=function(t){var e=this.nodes(),n=this.cy(),i=n.hasCompoundNodes(),r=n.collection();if(i&&(r=e.filter((function(t){return t.isParent()})),e=e.not(r)),k(t)){var a=t;t=function(){return a}}var o=function(e,n){return e._private.bbAtOldPos=t(e,n)},s=function(t){return t._private.bbAtOldPos};n.startBatch(),e.forEach(o).silentPositions(t),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0));var c=In(this.boundingBox({useCache:!1}));return e.silentPositions(s),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0)),n.endBatch(),c},nc.boundingbox=nc.bb=nc.boundingBox,nc.renderedBoundingbox=nc.renderedBoundingBox;var yc,mc,vc=ic;yc=mc={};var xc=function(t){t.uppercaseName=H(t.name),t.autoName="auto"+t.uppercaseName,t.labelName="label"+t.uppercaseName,t.outerName="outer"+t.uppercaseName,t.uppercaseOuterName=H(t.outerName),yc[t.name]=function(){var e=this[0],n=e._private,i=n.cy._private.styleEnabled;if(e){if(i){if(e.isParent())return e.updateCompoundBounds(),n[t.autoName]||0;var r=e.pstyle(t.name);return"label"===r.strValue?(e.recalculateRenderedStyle(),n.rstyle[t.labelName]||0):r.pfValue}return 1}},yc["outer"+t.uppercaseName]=function(){var e=this[0],n=e._private.cy._private.styleEnabled;if(e)return n?e[t.name]()+e.pstyle("border-width").pfValue+2*e.padding():1},yc["rendered"+t.uppercaseName]=function(){var e=this[0];if(e)return e[t.name]()*this.cy().zoom()},yc["rendered"+t.uppercaseOuterName]=function(){var e=this[0];if(e)return e[t.outerName]()*this.cy().zoom()}};xc({name:"width"}),xc({name:"height"}),mc.padding=function(){var t=this[0],e=t._private;return t.isParent()?(t.updateCompoundBounds(),void 0!==e.autoPadding?e.autoPadding:t.pstyle("padding").pfValue):t.pstyle("padding").pfValue},mc.paddedHeight=function(){var t=this[0];return t.height()+2*t.padding()},mc.paddedWidth=function(){var t=this[0];return t.width()+2*t.padding()};var kc=mc,_c=function(t,e){if(t.isEdge())return e(t)},Ec=function(t,e){if(t.isEdge()){var n=t.cy();return hn(e(t),n.zoom(),n.pan())}},Tc=function(t,e){if(t.isEdge()){var n=t.cy(),i=n.pan(),r=n.zoom();return e(t).map((function(t){return hn(t,r,i)}))}},Cc={controlPoints:{get:function(t){return t.renderer().getControlPoints(t)},mult:!0},segmentPoints:{get:function(t){return t.renderer().getSegmentPoints(t)},mult:!0},sourceEndpoint:{get:function(t){return t.renderer().getSourceEndpoint(t)}},targetEndpoint:{get:function(t){return t.renderer().getTargetEndpoint(t)}},midpoint:{get:function(t){return t.renderer().getEdgeMidpoint(t)}}},Sc=function(t){return"rendered"+t[0].toUpperCase()+t.substr(1)},Ac=Object.keys(Cc).reduce((function(t,e){var n=Cc[e],i=Sc(e);return t[e]=function(){return _c(this,n.get)},n.mult?t[i]=function(){return Tc(this,n.get)}:t[i]=function(){return Ec(this,n.get)},t}),{}),Mc=Z({},rc,vc,kc,Ac),Ic=function(t,e){this.recycle(t,e)};function Oc(){return!1}function Lc(){return!0}Ic.prototype={instanceString:function(){return"event"},recycle:function(t,e){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Oc,null!=t&&t.preventDefault?(this.type=t.type,this.isDefaultPrevented=t.defaultPrevented?Lc:Oc):null!=t&&t.type?e=t:this.type=t,null!=e&&(this.originalEvent=e.originalEvent,this.type=null!=e.type?e.type:this.type,this.cy=e.cy,this.target=e.target,this.position=e.position,this.renderedPosition=e.renderedPosition,this.namespace=e.namespace,this.layout=e.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,i=this.cy.zoom(),r=this.cy.pan();this.renderedPosition={x:n.x*i+r.x,y:n.y*i+r.y}}this.timeStamp=t&&t.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=Lc;var t=this.originalEvent;t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){this.isPropagationStopped=Lc;var t=this.originalEvent;t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Lc,this.stopPropagation()},isDefaultPrevented:Oc,isPropagationStopped:Oc,isImmediatePropagationStopped:Oc};var Nc=/^([^.]+)(\.(?:[^.]+))?$/,Dc=".*",Pc={qualifierCompare:function(t,e){return t===e},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(t){return t},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},Bc=Object.keys(Pc),jc={};function Rc(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:jc,e=arguments.length>1?arguments[1]:void 0,n=0;n<Bc.length;n++){var i=Bc[n];this[i]=t[i]||Pc[i]}this.context=e||this.context,this.listeners=[],this.emitting=0}var $c=Rc.prototype,Fc=function(t,e,n,i,r,a,o){v(i)&&(r=i,i=null),o&&(a=null==a?o:Z({},a,o));for(var s=x(n)?n:n.split(/\s+/),c=0;c<s.length;c++){var u=s[c];if(!N(u)){var l=u.match(Nc);if(l&&!1===e(t,u,l[1],l[2]?l[2]:null,i,r,a))break}}},zc=function(t,e){return t.addEventFields(t.context,e),new Ic(e.type,e)},Hc=function(t,e,n){if(L(n))e(t,n);else if(k(n))e(t,zc(t,n));else for(var i=x(n)?n:n.split(/\s+/),r=0;r<i.length;r++){var a=i[r];if(!N(a)){var o=a.match(Nc);if(o){var s=o[1],c=o[2]?o[2]:null;e(t,zc(t,{type:s,namespace:c,target:t.context}))}}}};$c.on=$c.addListener=function(t,e,n,i,r){return Fc(this,(function(t,e,n,i,r,a,o){v(a)&&t.listeners.push({event:e,callback:a,type:n,namespace:i,qualifier:r,conf:o})}),t,e,n,i,r),this},$c.one=function(t,e,n,i){return this.on(t,e,n,i,{one:!0})},$c.removeListener=$c.off=function(t,e,n,i){var r=this;0!==this.emitting&&(this.listeners=Ie(this.listeners));for(var a=this.listeners,o=function(o){var s=a[o];Fc(r,(function(e,n,i,r,c,u){if((s.type===i||"*"===t)&&(!r&&".*"!==s.namespace||s.namespace===r)&&(!c||e.qualifierCompare(s.qualifier,c))&&(!u||s.callback===u))return a.splice(o,1),!1}),t,e,n,i)},s=a.length-1;s>=0;s--)o(s);return this},$c.removeAllListeners=function(){return this.removeListener("*")},$c.emit=$c.trigger=function(t,e,n){var i=this.listeners,r=i.length;return this.emitting++,x(e)||(e=[e]),Hc(this,(function(t,a){null!=n&&(i=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],r=i.length);for(var o=function(n){var r=i[n];if(r.type===a.type&&(!r.namespace||r.namespace===a.namespace||r.namespace===Dc)&&t.eventMatches(t.context,r,a)){var o=[a];null!=e&&je(o,e),t.beforeEmit(t.context,r,a),r.conf&&r.conf.one&&(t.listeners=t.listeners.filter((function(t){return t!==r})));var s=t.callbackContext(t.context,r,a),c=r.callback.apply(s,o);t.afterEmit(t.context,r,a),!1===c&&(a.stopPropagation(),a.preventDefault())}},s=0;s<r;s++)o(s);t.bubble(t.context)&&!a.isPropagationStopped()&&t.parent(t.context).emit(a,e)}),t),this.emitting--,this};var Uc={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&A(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t.cy(),e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t},beforeEmit:function(t,e){e.conf&&e.conf.once&&e.conf.onceCollection.removeListener(e.event,e.qualifier,e.callback)},bubble:function(){return!0},parent:function(t){return t.isChild()?t.parent():t.cy()}},Gc=function(t){return m(t)?new js(t):t},qc={createEmitter:function(){for(var t=0;t<this.length;t++){var e=this[t],n=e._private;n.emitter||(n.emitter=new Rc(Uc,e))}return this},emitter:function(){return this._private.emitter},on:function(t,e,n){for(var i=Gc(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n);return this},removeListener:function(t,e,n){for(var i=Gc(e),r=0;r<this.length;r++)this[r].emitter().removeListener(t,i,n);return this},removeAllListeners:function(){for(var t=0;t<this.length;t++)this[t].emitter().removeAllListeners();return this},one:function(t,e,n){for(var i=Gc(e),r=0;r<this.length;r++)this[r].emitter().one(t,i,n);return this},once:function(t,e,n){for(var i=Gc(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n,{once:!0,onceCollection:this})},emit:function(t,e){for(var n=0;n<this.length;n++)this[n].emitter().emit(t,e);return this},emitAndNotify:function(t,e){if(0!==this.length)return this.cy().notify(t,this),this.emit(t,e),this}};ds.eventAliasesOn(qc);var Kc={nodes:function(t){return this.filter((function(t){return t.isNode()})).filter(t)},edges:function(t){return this.filter((function(t){return t.isEdge()})).filter(t)},byGroup:function(){for(var t=this.spawn(),e=this.spawn(),n=0;n<this.length;n++){var i=this[n];i.isNode()?t.push(i):e.push(i)}return{nodes:t,edges:e}},filter:function(t,e){if(void 0===t)return this;if(m(t)||S(t))return new js(t).filter(this);if(v(t)){for(var n=this.spawn(),i=this,r=0;r<i.length;r++){var a=i[r];(e?t.apply(e,[a,r,i]):t(a,r,i))&&n.push(a)}return n}return this.spawn()},not:function(t){if(t){m(t)&&(t=this.filter(t));for(var e=this.spawn(),n=0;n<this.length;n++){var i=this[n];t.has(i)||e.push(i)}return e}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(t){if(m(t)){var e=t;return this.filter(e)}for(var n=this.spawn(),i=this,r=t,a=this.length<t.length,o=a?i:r,s=a?r:i,c=0;c<o.length;c++){var u=o[c];s.has(u)&&n.push(u)}return n},xor:function(t){var e=this._private.cy;m(t)&&(t=e.$(t));var n=this.spawn(),i=this,r=t,a=function(t,e){for(var i=0;i<t.length;i++){var r=t[i],a=r._private.data.id;e.hasElementWithId(a)||n.push(r)}};return a(i,r),a(r,i),n},diff:function(t){var e=this._private.cy;m(t)&&(t=e.$(t));var n=this.spawn(),i=this.spawn(),r=this.spawn(),a=this,o=t,s=function(t,e,n){for(var i=0;i<t.length;i++){var a=t[i],o=a._private.data.id;e.hasElementWithId(o)?r.merge(a):n.push(a)}};return s(a,o,n),s(o,a,i),{left:n,right:i,both:r}},add:function(t){var e=this._private.cy;if(!t)return this;if(m(t)){var n=t;t=e.mutableElements().filter(n)}for(var i=this.spawnSelf(),r=0;r<t.length;r++){var a=t[r];!this.has(a)&&i.push(a)}return i},merge:function(t){var e=this._private,n=e.cy;if(!t)return this;if(t&&m(t)){var i=t;t=n.mutableElements().filter(i)}for(var r=e.map,a=0;a<t.length;a++){var o=t[a],s=o._private.data.id;if(!r.has(s)){var c=this.length++;this[c]=o,r.set(s,{ele:o,index:c})}}return this},unmergeAt:function(t){var e=this[t].id(),n=this._private.map;this[t]=void 0,n.delete(e);var i=t===this.length-1;if(this.length>1&&!i){var r=this.length-1,a=this[r],o=a._private.data.id;this[r]=void 0,this[t]=a,n.set(o,{ele:a,index:t})}return this.length--,this},unmergeOne:function(t){t=t[0];var e=this._private,n=t._private.data.id,i=e.map.get(n);if(!i)return this;var r=i.index;return this.unmergeAt(r),this},unmerge:function(t){var e=this._private.cy;if(!t)return this;if(t&&m(t)){var n=t;t=e.mutableElements().filter(n)}for(var i=0;i<t.length;i++)this.unmergeOne(t[i]);return this},unmergeBy:function(t){for(var e=this.length-1;e>=0;e--)t(this[e])&&this.unmergeAt(e);return this},map:function(t,e){for(var n=[],i=this,r=0;r<i.length;r++){var a=i[r],o=e?t.apply(e,[a,r,i]):t(a,r,i);n.push(o)}return n},reduce:function(t,e){for(var n=e,i=this,r=0;r<i.length;r++)n=t(n,i[r],r,i);return n},max:function(t,e){for(var n,i=-1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s>i&&(i=s,n=o)}return{value:i,ele:n}},min:function(t,e){for(var n,i=1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s<i&&(i=s,n=o)}return{value:i,ele:n}}},Yc=Kc;Yc.u=Yc["|"]=Yc["+"]=Yc.union=Yc.or=Yc.add,Yc["\\"]=Yc["!"]=Yc["-"]=Yc.difference=Yc.relativeComplement=Yc.subtract=Yc.not,Yc.n=Yc["&"]=Yc["."]=Yc.and=Yc.intersection=Yc.intersect,Yc["^"]=Yc["(+)"]=Yc["(-)"]=Yc.symmetricDifference=Yc.symdiff=Yc.xor,Yc.fnFilter=Yc.filterFn=Yc.stdFilter=Yc.filter,Yc.complement=Yc.abscomp=Yc.absoluteComplement;var Wc,Xc={isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var t=this[0];if(t)return t._private.group}},Vc=function(t,e){var n=t.cy().hasCompoundNodes();function i(t){var e=t.pstyle("z-compound-depth");return"auto"===e.value?n?t.zDepth():0:"bottom"===e.value?-1:"top"===e.value?ve:0}var r=i(t)-i(e);if(0!==r)return r;function a(t){return"auto"===t.pstyle("z-index-compare").value&&t.isNode()?1:0}var o=a(t)-a(e);if(0!==o)return o;var s=t.pstyle("z-index").value-e.pstyle("z-index").value;return 0!==s?s:t.poolIndex()-e.poolIndex()},Qc={forEach:function(t,e){if(v(t))for(var n=this.length,i=0;i<n;i++){var r=this[i];if(!1===(e?t.apply(e,[r,i,this]):t(r,i,this)))break}return this},toArray:function(){for(var t=[],e=0;e<this.length;e++)t.push(this[e]);return t},slice:function(t,e){var n=[],i=this.length;null==e&&(e=i),null==t&&(t=0),t<0&&(t=i+t),e<0&&(e=i+e);for(var r=t;r>=0&&r<e&&r<i;r++)n.push(this[r]);return this.spawn(n)},size:function(){return this.length},eq:function(t){return this[t]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(t){if(!v(t))return this;var e=this.toArray().sort(t);return this.spawn(e)},sortByZIndex:function(){return this.sort(Vc)},zDepth:function(){var t=this[0];if(t){var e=t._private;if("nodes"===e.group){var n=e.data.parent?t.parents().size():0;return t.isParent()?n:ve-1}var i=e.source,r=e.target,a=i.zDepth(),o=r.zDepth();return Math.max(a,o,0)}}};Qc.each=Qc.forEach,Wc="undefined",(typeof Symbol>"u"?"undefined":t(Symbol))!=Wc&&t(Symbol.iterator)!=Wc&&(Qc[Symbol.iterator]=function(){var t=this,e={value:void 0,done:!1},n=0,i=this.length;return a({next:function(){return n<i?e.value=t[n++]:(e.value=void 0,e.done=!0),e}},Symbol.iterator,(function(){return this}))});var Zc=De({nodeDimensionsIncludeLabels:!1}),Jc={layoutDimensions:function(t){var e;if(t=Zc(t),this.takesUpSpace())if(t.nodeDimensionsIncludeLabels){var n=this.boundingBox();e={w:n.w,h:n.h}}else e={w:this.outerWidth(),h:this.outerHeight()};else e={w:0,h:0};return(0===e.w||0===e.h)&&(e.w=e.h=1),e},layoutPositions:function(t,e,n){var i=this.nodes().filter((function(t){return!t.isParent()})),r=this.cy(),a=e.eles,o=function(t){return t.id()},s=R(n,o);t.emit({type:"layoutstart",layout:t}),t.animations=[];var c=function(t,e,n){var i={x:e.x1+e.w/2,y:e.y1+e.h/2},r={x:(n.x-i.x)*t,y:(n.y-i.y)*t};return{x:i.x+r.x,y:i.y+r.y}},u=e.spacingFactor&&1!==e.spacingFactor,l=function(){if(!u)return null;for(var t=Mn(),e=0;e<i.length;e++){var n=i[e],r=s(n,e);Nn(t,r.x,r.y)}return t}(),h=R((function(t,n){var i=s(t,n);if(u){var r=Math.abs(e.spacingFactor);i=c(r,l,i)}return null!=e.transform&&(i=e.transform(t,i)),i}),o);if(e.animate){for(var f=0;f<i.length;f++){var d=i[f],g=h(d,f);if(null==e.animateFilter||e.animateFilter(d,f)){var p=d.animation({position:g,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(p)}else d.position(g)}if(e.fit){var b=r.animation({fit:{boundingBox:a.boundingBoxAt(h),padding:e.padding},duration:e.animationDuration,easing:e.animationEasing});t.animations.push(b)}else if(void 0!==e.zoom&&void 0!==e.pan){var w=r.animation({zoom:e.zoom,pan:e.pan,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(w)}t.animations.forEach((function(t){return t.play()})),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),Fr.all(t.animations.map((function(t){return t.promise()}))).then((function(){t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t})}))}else i.positions(h),e.fit&&r.fit(e.eles,e.padding),null!=e.zoom&&r.zoom(e.zoom),e.pan&&r.pan(e.pan),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t});return this},layout:function(t){return this.cy().makeLayout(Z({},t,{eles:this}))}};function tu(t,e,n){var i,r=n._private,a=r.styleCache=r.styleCache||[];return null!=(i=a[t])||(i=a[t]=e(n)),i}function eu(t,e){return t=ge(t),function(n){return tu(t,e,n)}}function nu(t,e){t=ge(t);var n=function(t){return e.call(t)};return function(){var e=this[0];if(e)return tu(t,n,e)}}Jc.createLayout=Jc.makeLayout=Jc.layout;var iu={recalculateRenderedStyle:function(t){var e=this.cy(),n=e.renderer(),i=e.styleEnabled();return n&&i&&n.recalculateRenderedStyle(this,t),this},dirtyStyleCache:function(){var t,e=this.cy(),n=function(t){return t._private.styleCache=null};return e.hasCompoundNodes()?((t=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(t.connectedEdges()),t.forEach(n)):this.forEach((function(t){n(t),t.connectedEdges().forEach(n)})),this},updateStyle:function(t){var e=this._private.cy;if(!e.styleEnabled())return this;if(e.batching())return e._private.batchStyleEles.merge(this),this;var n=this;t=!(!t&&void 0!==t),e.hasCompoundNodes()&&(n=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var i=n;return t?i.emitAndNotify("style"):i.emit("style"),n.forEach((function(t){return t._private.styleDirty=!0})),this},cleanStyle:function(){var t=this.cy();if(t.styleEnabled())for(var e=0;e<this.length;e++){var n=this[e];n._private.styleDirty&&(n._private.styleDirty=!1,t.style().apply(n))}},parsedStyle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this[0],i=n.cy();if(i.styleEnabled()&&n)return this.cleanStyle(),n._private.style[t]??(e?i.style().getDefaultProperty(t):null)},numericStyle:function(t){var e=this[0];if(e.cy().styleEnabled()&&e){var n=e.pstyle(t);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(t){var e=this[0];if(e.cy().styleEnabled()&&e)return e.pstyle(t).units},renderedStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=this[0];return n?e.style().getRenderedStyle(n,t):void 0},style:function(t,e){var n=this.cy();if(!n.styleEnabled())return this;var i=!1,r=n.style();if(k(t)){var a=t;r.applyBypass(this,a,i),this.emitAndNotify("style")}else if(m(t)){if(void 0===e){var o=this[0];return o?r.getStylePropertyValue(o,t):void 0}r.applyBypass(this,t,e,i),this.emitAndNotify("style")}else if(void 0===t){var s=this[0];return s?r.getRawStyle(s):void 0}return this},removeStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=!1,i=e.style(),r=this;if(void 0===t)for(var a=0;a<r.length;a++){var o=r[a];i.removeAllBypasses(o,n)}else{t=t.split(/\s+/);for(var s=0;s<r.length;s++){var c=r[s];i.removeBypasses(c,t,n)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var t=this.cy();if(!t.styleEnabled())return 1;var e=t.hasCompoundNodes(),n=this[0];if(n){var i=n._private,r=n.pstyle("opacity").value;if(!e)return r;var a=i.data.parent?n.parents():null;if(a)for(var o=0;o<a.length;o++)r*=a[o].pstyle("opacity").value;return r}},transparent:function(){if(!this.cy().styleEnabled())return!1;var t=this[0],e=t.cy().hasCompoundNodes();return t?e?0===t.effectiveOpacity():0===t.pstyle("opacity").value:void 0},backgrounding:function(){return!!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function ru(t,e){var n=t._private.data.parent?t.parents():null;if(n)for(var i=0;i<n.length;i++)if(!e(n[i]))return!1;return!0}function au(t){var e=t.ok,n=t.edgeOkViaNode||t.ok,i=t.parentOk||t.ok;return function(){var t=this.cy();if(!t.styleEnabled())return!0;var r=this[0],a=t.hasCompoundNodes();if(r){var o=r._private;if(!e(r))return!1;if(r.isNode())return!a||ru(r,i);var s=o.source,c=o.target;return n(s)&&(!a||ru(s,n))&&(s===c||n(c)&&(!a||ru(c,n)))}}}var ou=eu("eleTakesUpSpace",(function(t){return"element"===t.pstyle("display").value&&0!==t.width()&&(!t.isNode()||0!==t.height())}));iu.takesUpSpace=nu("takesUpSpace",au({ok:ou}));var su=eu("eleInteractive",(function(t){return"yes"===t.pstyle("events").value&&"visible"===t.pstyle("visibility").value&&ou(t)})),cu=eu("parentInteractive",(function(t){return"visible"===t.pstyle("visibility").value&&ou(t)}));iu.interactive=nu("interactive",au({ok:su,parentOk:cu,edgeOkViaNode:ou})),iu.noninteractive=function(){var t=this[0];if(t)return!t.interactive()};var uu=eu("eleVisible",(function(t){return"visible"===t.pstyle("visibility").value&&0!==t.pstyle("opacity").pfValue&&ou(t)})),lu=ou;iu.visible=nu("visible",au({ok:uu,edgeOkViaNode:lu})),iu.hidden=function(){var t=this[0];if(t)return!t.visible()},iu.isBundledBezier=nu("isBundledBezier",(function(){return!!this.cy().styleEnabled()&&!this.removed()&&"bezier"===this.pstyle("curve-style").value&&this.takesUpSpace()})),iu.bypass=iu.css=iu.style,iu.renderedCss=iu.renderedStyle,iu.removeBypass=iu.removeCss=iu.removeStyle,iu.pstyle=iu.parsedStyle;var hu={};function fu(t){return function(){var e=arguments,n=[];if(2===e.length){var i=e[0],r=e[1];this.on(t.event,i,r)}else if(1===e.length&&v(e[0])){var a=e[0];this.on(t.event,a)}else if(0===e.length||1===e.length&&x(e[0])){for(var o=1===e.length?e[0]:null,s=0;s<this.length;s++){var c=this[s],u=!t.ableField||c._private[t.ableField],l=c._private[t.field]!=t.value;if(t.overrideAble){var h=t.overrideAble(c);if(void 0!==h&&(u=h,!h))return this}u&&(c._private[t.field]=t.value,l&&n.push(c))}var f=this.spawn(n);f.updateStyle(),f.emit(t.event),o&&f.emit(o)}return this}}function du(t){hu[t.field]=function(){var e=this[0];if(e){if(t.overrideField){var n=t.overrideField(e);if(void 0!==n)return n}return e._private[t.field]}},hu[t.on]=fu({event:t.on,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!0}),hu[t.off]=fu({event:t.off,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!1})}du({field:"locked",overrideField:function(t){return!!t.cy().autolock()||void 0},on:"lock",off:"unlock"}),du({field:"grabbable",overrideField:function(t){return!t.cy().autoungrabify()&&!t.pannable()&&void 0},on:"grabify",off:"ungrabify"}),du({field:"selected",ableField:"selectable",overrideAble:function(t){return!t.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),du({field:"selectable",overrideField:function(t){return!t.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),hu.deselect=hu.unselect,hu.grabbed=function(){var t=this[0];if(t)return t._private.grabbed},du({field:"active",on:"activate",off:"unactivate"}),du({field:"pannable",on:"panify",off:"unpanify"}),hu.inactive=function(){var t=this[0];if(t)return!t._private.active};var gu={},pu=function(t){return function(e){for(var n=this,i=[],r=0;r<n.length;r++){var a=n[r];if(a.isNode()){for(var o=!1,s=a.connectedEdges(),c=0;c<s.length;c++){var u=s[c],l=u.source(),h=u.target();if(t.noIncomingEdges&&h===a&&l!==a||t.noOutgoingEdges&&l===a&&h!==a){o=!0;break}}o||i.push(a)}}return this.spawn(i,!0).filter(e)}},bu=function(t){return function(e){for(var n=this,i=[],r=0;r<n.length;r++){var a=n[r];if(a.isNode())for(var o=a.connectedEdges(),s=0;s<o.length;s++){var c=o[s],u=c.source(),l=c.target();t.outgoing&&u===a?(i.push(c),i.push(l)):t.incoming&&l===a&&(i.push(c),i.push(u))}}return this.spawn(i,!0).filter(e)}},wu=function(t){return function(e){for(var n=this,i=[],r={};;){var a=t.outgoing?n.outgoers():n.incomers();if(0===a.length)break;for(var o=!1,s=0;s<a.length;s++){var c=a[s],u=c.id();r[u]||(r[u]=!0,i.push(c),o=!0)}if(!o)break;n=a}return this.spawn(i,!0).filter(e)}};function yu(t){return function(e){for(var n=[],i=0;i<this.length;i++){var r=this[i]._private[t.attr];r&&n.push(r)}return this.spawn(n,!0).filter(e)}}function mu(t){return function(e){var n=[],i=this._private.cy,r=t||{};m(e)&&(e=i.$(e));for(var a=0;a<e.length;a++)for(var o=e[a]._private.edges,s=0;s<o.length;s++){var c=o[s],u=c._private.data,l=this.hasElementWithId(u.source)&&e.hasElementWithId(u.target),h=e.hasElementWithId(u.source)&&this.hasElementWithId(u.target);(l||h)&&((r.thisIsSrc||r.thisIsTgt)&&(r.thisIsSrc&&!l||r.thisIsTgt&&!h)||n.push(c))}return this.spawn(n,!0)}}function vu(t){return t=Z({},{codirected:!1},t),function(e){for(var n=[],i=this.edges(),r=t,a=0;a<i.length;a++)for(var o=i[a]._private,s=o.source,c=s._private.data.id,u=o.data.target,l=s._private.edges,h=0;h<l.length;h++){var f=l[h],d=f._private.data,g=d.target,p=d.source,b=g===u&&p===c,w=c===g&&u===p;(r.codirected&&b||!r.codirected&&(b||w))&&n.push(f)}return this.spawn(n,!0).filter(e)}}gu.clearTraversalCache=function(){for(var t=0;t<this.length;t++)this[t]._private.traversalCache=null},Z(gu,{roots:pu({noIncomingEdges:!0}),leaves:pu({noOutgoingEdges:!0}),outgoers:Hs(bu({outgoing:!0}),"outgoers"),successors:wu({outgoing:!0}),incomers:Hs(bu({incoming:!0}),"incomers"),predecessors:wu({incoming:!0})}),Z(gu,{neighborhood:Hs((function(t){for(var e=[],n=this.nodes(),i=0;i<n.length;i++)for(var r=n[i],a=r.connectedEdges(),o=0;o<a.length;o++){var s=a[o],c=s.source(),u=s.target(),l=r===c?u:c;l.length>0&&e.push(l[0]),e.push(s[0])}return this.spawn(e,!0).filter(t)}),"neighborhood"),closedNeighborhood:function(t){return this.neighborhood().add(this).filter(t)},openNeighborhood:function(t){return this.neighborhood(t)}}),gu.neighbourhood=gu.neighborhood,gu.closedNeighbourhood=gu.closedNeighborhood,gu.openNeighbourhood=gu.openNeighborhood,Z(gu,{source:Hs((function(t){var e,n=this[0];return n&&(e=n._private.source||n.cy().collection()),e&&t?e.filter(t):e}),"source"),target:Hs((function(t){var e,n=this[0];return n&&(e=n._private.target||n.cy().collection()),e&&t?e.filter(t):e}),"target"),sources:yu({attr:"source"}),targets:yu({attr:"target"})}),Z(gu,{edgesWith:Hs(mu(),"edgesWith"),edgesTo:Hs(mu({thisIsSrc:!0}),"edgesTo")}),Z(gu,{connectedEdges:Hs((function(t){for(var e=[],n=this,i=0;i<n.length;i++){var r=n[i];if(r.isNode())for(var a=r._private.edges,o=0;o<a.length;o++){var s=a[o];e.push(s)}}return this.spawn(e,!0).filter(t)}),"connectedEdges"),connectedNodes:Hs((function(t){for(var e=[],n=this,i=0;i<n.length;i++){var r=n[i];r.isEdge()&&(e.push(r.source()[0]),e.push(r.target()[0]))}return this.spawn(e,!0).filter(t)}),"connectedNodes"),parallelEdges:Hs(vu(),"parallelEdges"),codirectedEdges:Hs(vu({codirected:!0}),"codirectedEdges")}),Z(gu,{components:function(t){var e=this,n=e.cy(),i=n.collection(),r=null==t?e.nodes():t.nodes(),a=[];null!=t&&r.empty()&&(r=t.sources());var o=function(t,e){i.merge(t),r.unmerge(t),e.merge(t)};if(r.empty())return e.spawn();var s=function(){var t=n.collection();a.push(t);var i=r[0];o(i,t),e.bfs({directed:!1,roots:i,visit:function(e){return o(e,t)}}),t.forEach((function(n){n.connectedEdges().forEach((function(n){e.has(n)&&t.has(n.source())&&t.has(n.target())&&t.merge(n)}))}))};do{s()}while(r.length>0);return a},component:function(){var t=this[0];return t.cy().mutableElements().components(t)[0]}}),gu.componentsOf=gu.components;var xu=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==t){var r=new ze,a=!1;if(e){if(e.length>0&&k(e[0])&&!A(e[0])){a=!0;for(var o=[],s=new Ge,c=0,u=e.length;c<u;c++){var l=e[c];null==l.data&&(l.data={});var h=l.data;if(null==h.id)h.id=Oe();else if(t.hasElementWithId(h.id)||s.has(h.id))continue;var f=new qe(t,l,!1);o.push(f),s.add(h.id)}e=o}}else e=[];this.length=0;for(var d=0,g=e.length;d<g;d++){var p=e[d][0];if(null!=p){var b=p._private.data.id;(!n||!r.has(b))&&(n&&r.set(b,{index:this.length,ele:p}),this[this.length]=p,this.length++)}}this._private={eles:this,cy:t,get map(){return null==this.lazyMap&&this.rebuildMap(),this.lazyMap},set map(t){this.lazyMap=t},rebuildMap:function(){for(var t=this.lazyMap=new ze,e=this.eles,n=0;n<e.length;n++){var i=e[n];t.set(i.id(),{index:n,ele:i})}}},n&&(this._private.map=r),a&&!i&&this.restore()}else Te("A collection must have a reference to the core")},ku=qe.prototype=xu.prototype=Object.create(Array.prototype);ku.instanceString=function(){return"collection"},ku.spawn=function(t,e){return new xu(this.cy(),t,e)},ku.spawnSelf=function(){return this.spawn(this)},ku.cy=function(){return this._private.cy},ku.renderer=function(){return this._private.cy.renderer()},ku.element=function(){return this[0]},ku.collection=function(){return M(this)?this:new xu(this._private.cy,[this])},ku.unique=function(){return new xu(this._private.cy,this,!0)},ku.hasElementWithId=function(t){return t=""+t,this._private.map.has(t)},ku.getElementById=function(t){t=""+t;var e=this._private.cy,n=this._private.map.get(t);return n?n.ele:new xu(e)},ku.$id=ku.getElementById,ku.poolIndex=function(){var t=this._private.cy._private.elements,e=this[0]._private.data.id;return t._private.map.get(e).index},ku.indexOf=function(t){var e=t[0]._private.data.id;return this._private.map.get(e).index},ku.indexOfId=function(t){return t=""+t,this._private.map.get(t).index},ku.json=function(t){var e=this.element(),n=this.cy();if(null==e&&t)return this;if(null!=e){var i=e._private;if(k(t)){if(n.startBatch(),t.data){e.data(t.data);var r=i.data;if(e.isEdge()){var a=!1,o={},s=t.data.source,c=t.data.target;null!=s&&s!=r.source&&(o.source=""+s,a=!0),null!=c&&c!=r.target&&(o.target=""+c,a=!0),a&&(e=e.move(o))}else{var u="parent"in t.data,l=t.data.parent;u&&(null!=l||null!=r.parent)&&l!=r.parent&&(void 0===l&&(l=null),null!=l&&(l=""+l),e=e.move({parent:l}))}}t.position&&e.position(t.position);var h=function(n,r,a){var o=t[n];null!=o&&o!==i[n]&&(o?e[r]():e[a]())};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),null!=t.classes&&e.classes(t.classes),n.endBatch(),this}if(void 0===t){var f={data:Me(i.data),position:Me(i.position),group:i.group,removed:i.removed,selected:i.selected,selectable:i.selectable,locked:i.locked,grabbable:i.grabbable,pannable:i.pannable,classes:null};f.classes="";var d=0;return i.classes.forEach((function(t){return f.classes+=0==d++?t:" "+t})),f}}},ku.jsons=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e].json();t.push(n)}return t},ku.clone=function(){for(var t=this.cy(),e=[],n=0;n<this.length;n++){var i=this[n].json(),r=new qe(t,i,!1);e.push(r)}return new xu(t,e)},ku.copy=ku.clone,ku.restore=function(){for(var t,e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,r=i.cy(),a=r._private,o=[],s=[],c=0,u=i.length;c<u;c++){var l=i[c];n&&!l.removed()||(l.isNode()?o.push(l):s.push(l))}t=o.concat(s);var h,f=function(){t.splice(h,1),h--};for(h=0;h<t.length;h++){var d=t[h],g=d._private,p=g.data;if(d.clearTraversalCache(),n||g.removed)if(void 0===p.id)p.id=Oe();else if(E(p.id))p.id=""+p.id;else{if(N(p.id)||!m(p.id)){Te("Can not create element with invalid string ID `"+p.id+"`"),f();continue}if(r.hasElementWithId(p.id)){Te("Can not create second element with ID `"+p.id+"`"),f();continue}}var b=p.id;if(d.isNode()){var w=g.position;null==w.x&&(w.x=0),null==w.y&&(w.y=0)}if(d.isEdge()){for(var y=d,v=["source","target"],x=v.length,k=!1,_=0;_<x;_++){var T=v[_],C=p[T];E(C)&&(C=p[T]=""+p[T]),null==C||""===C?(Te("Can not create edge `"+b+"` with unspecified "+T),k=!0):r.hasElementWithId(C)||(Te("Can not create edge `"+b+"` with nonexistant "+T+" `"+C+"`"),k=!0)}if(k){f();continue}var S=r.getElementById(p.source),A=r.getElementById(p.target);S.same(A)?S._private.edges.push(y):(S._private.edges.push(y),A._private.edges.push(y)),y._private.source=S,y._private.target=A}g.map=new ze,g.map.set(b,{ele:d,index:0}),g.removed=!1,n&&r.addToPool(d)}for(var M=0;M<o.length;M++){var I=o[M],O=I._private.data;E(O.parent)&&(O.parent=""+O.parent);var L=O.parent;if(null!=L||I._private.parent){var D=I._private.parent?r.collection().merge(I._private.parent):r.getElementById(L);if(D.empty())O.parent=void 0;else if(D[0].removed())Se("Node added with missing parent, reference to parent removed"),O.parent=void 0,I._private.parent=null;else{for(var P=!1,B=D;!B.empty();){if(I.same(B)){P=!0,O.parent=void 0;break}B=B.parent()}P||(D[0]._private.children.push(I),I._private.parent=D[0],a.hasCompoundNodes=!0)}}}if(t.length>0){for(var j=t.length===i.length?i:new xu(r,t),R=0;R<j.length;R++){var $=j[R];$.isNode()||($.parallelEdges().clearTraversalCache(),$.source().clearTraversalCache(),$.target().clearTraversalCache())}(a.hasCompoundNodes?r.collection().merge(j).merge(j.connectedNodes()).merge(j.parent()):j).dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(e),e?j.emitAndNotify("add"):n&&j.emit("add")}return i},ku.removed=function(){var t=this[0];return t&&t._private.removed},ku.inside=function(){var t=this[0];return t&&!t._private.removed},ku.remove=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=[],r={},a=n._private.cy;function o(t){for(var e=t._private.edges,n=0;n<e.length;n++)c(e[n])}function s(t){for(var e=t._private.children,n=0;n<e.length;n++)c(e[n])}function c(t){var n=r[t.id()];e&&t.removed()||n||(r[t.id()]=!0,t.isNode()?(i.push(t),o(t),s(t)):i.unshift(t))}for(var u=0,l=n.length;u<l;u++)c(n[u]);function h(t,e){var n=t._private.edges;Pe(n,e),t.clearTraversalCache()}function f(t){t.clearTraversalCache()}var d=[];function g(t,e){e=e[0];var n=(t=t[0])._private.children,i=t.id();Pe(n,e),e._private.parent=null,d.ids[i]||(d.ids[i]=!0,d.push(t))}d.ids={},n.dirtyCompoundBoundsCache(),e&&a.removeFromPool(i);for(var p=0;p<i.length;p++){var b=i[p];if(b.isEdge()){var w=b.source()[0],y=b.target()[0];h(w,b),h(y,b);for(var m=b.parallelEdges(),v=0;v<m.length;v++){var x=m[v];f(x),x.isBundledBezier()&&x.dirtyBoundingBoxCache()}}else{var k=b.parent();0!==k.length&&g(k,b)}e&&(b._private.removed=!0)}var _=a._private.elements;a._private.hasCompoundNodes=!1;for(var E=0;E<_.length;E++)if(_[E].isParent()){a._private.hasCompoundNodes=!0;break}var T=new xu(this.cy(),i);T.size()>0&&(t?T.emitAndNotify("remove"):e&&T.emit("remove"));for(var C=0;C<d.length;C++){var S=d[C];(!e||!S.removed())&&S.updateStyle()}return T},ku.move=function(t){var e=this._private.cy,n=this,i=!1,r=!1,a=function(t){return null==t?t:""+t};if(void 0!==t.source||void 0!==t.target){var o=a(t.source),s=a(t.target),c=null!=o&&e.hasElementWithId(o),u=null!=s&&e.hasElementWithId(s);(c||u)&&(e.batch((function(){n.remove(i,r),n.emitAndNotify("moveout");for(var t=0;t<n.length;t++){var e=n[t],a=e._private.data;e.isEdge()&&(c&&(a.source=o),u&&(a.target=s))}n.restore(i,r)})),n.emitAndNotify("move"))}else if(void 0!==t.parent){var l=a(t.parent);if(null===l||e.hasElementWithId(l)){var h=null===l?void 0:l;e.batch((function(){var t=n.remove(i,r);t.emitAndNotify("moveout");for(var e=0;e<n.length;e++){var a=n[e],o=a._private.data;a.isNode()&&(o.parent=h)}t.restore(i,r)})),n.emitAndNotify("move")}}return this},[Ir,gs,ps,$s,Us,Ws,Xs,Mc,qc,Kc,Xc,Qc,Jc,iu,hu,gu].forEach((function(t){Z(ku,t)}));var _u={add:function(t){var e,n=this;if(S(t)){var i=t;if(i._private.cy===n)e=i.restore();else{for(var r=[],a=0;a<i.length;a++){var o=i[a];r.push(o.json())}e=new xu(n,r)}}else if(x(t))e=new xu(n,t);else if(k(t)&&(x(t.nodes)||x(t.edges))){for(var s=t,c=[],u=["nodes","edges"],l=0,h=u.length;l<h;l++){var f=u[l],d=s[f];if(x(d))for(var g=0,p=d.length;g<p;g++){var b=Z({group:f},d[g]);c.push(b)}}e=new xu(n,c)}else e=new qe(n,t).collection();return e},remove:function(t){if(!S(t)&&m(t)){var e=t;t=this.$(e)}return t.remove()}};function Eu(t,e,n,i){var r=4,a=.001,o=1e-7,s=10,c=11,u=1/(c-1),l=typeof Float32Array<"u";if(4!==arguments.length)return!1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var f=l?new Float32Array(c):new Array(c);function d(t,e){return 1-3*e+3*t}function g(t,e){return 3*e-6*t}function p(t){return 3*t}function b(t,e,n){return((d(e,n)*t+g(e,n))*t+p(e))*t}function w(t,e,n){return 3*d(e,n)*t*t+2*g(e,n)*t+p(e)}function y(e,i){for(var a=0;a<r;++a){var o=w(i,t,n);if(0===o)return i;i-=(b(i,t,n)-e)/o}return i}function m(){for(var e=0;e<c;++e)f[e]=b(e*u,t,n)}function v(e,i,r){var a,c,u=0;do{(a=b(c=i+(r-i)/2,t,n)-e)>0?r=c:i=c}while(Math.abs(a)>o&&++u<s);return c}function x(e){for(var i=0,r=1,o=c-1;r!==o&&f[r]<=e;++r)i+=u;--r;var s=i+(e-f[r])/(f[r+1]-f[r])*u,l=w(s,t,n);return l>=a?y(e,s):0===l?s:v(e,i,i+u)}var k=!1;function _(){k=!0,(t!==e||n!==i)&&m()}var E=function(r){return k||_(),t===e&&n===i?r:0===r?0:1===r?1:b(x(r),e,i)};E.getControlPoints=function(){return[{x:t,y:e},{x:n,y:i}]};var T="generateBezier("+[t,e,n,i]+")";return E.toString=function(){return T},E}var Tu=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},a=e(n,.5*i,r),o=e(n,.5*i,a),s=e(n,i,o),c=1/6*(r.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(r.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+c*i,n.v=n.v+u*i,n}return function t(e,i,r){var a,o,s,c={x:-1,v:0,tension:null,friction:null},u=[0],l=0,h=1e-4,f=.016;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,c.tension=e,c.friction=i,o=(a=null!==r)?(l=t(e,i))/r*f:f;s=n(s||c,o),u.push(1+s.x),l+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(t){return u[t*(u.length-1)|0]}:l}}(),Cu=function(t,e,n,i){var r=Eu(t,e,n,i);return function(t,e,n){return t+(e-t)*r(n)}},Su={linear:function(t,e,n){return t+(e-t)*n},ease:Cu(.25,.1,.25,1),"ease-in":Cu(.42,0,1,1),"ease-out":Cu(0,0,.58,1),"ease-in-out":Cu(.42,0,.58,1),"ease-in-sine":Cu(.47,0,.745,.715),"ease-out-sine":Cu(.39,.575,.565,1),"ease-in-out-sine":Cu(.445,.05,.55,.95),"ease-in-quad":Cu(.55,.085,.68,.53),"ease-out-quad":Cu(.25,.46,.45,.94),"ease-in-out-quad":Cu(.455,.03,.515,.955),"ease-in-cubic":Cu(.55,.055,.675,.19),"ease-out-cubic":Cu(.215,.61,.355,1),"ease-in-out-cubic":Cu(.645,.045,.355,1),"ease-in-quart":Cu(.895,.03,.685,.22),"ease-out-quart":Cu(.165,.84,.44,1),"ease-in-out-quart":Cu(.77,0,.175,1),"ease-in-quint":Cu(.755,.05,.855,.06),"ease-out-quint":Cu(.23,1,.32,1),"ease-in-out-quint":Cu(.86,0,.07,1),"ease-in-expo":Cu(.95,.05,.795,.035),"ease-out-expo":Cu(.19,1,.22,1),"ease-in-out-expo":Cu(1,0,0,1),"ease-in-circ":Cu(.6,.04,.98,.335),"ease-out-circ":Cu(.075,.82,.165,1),"ease-in-out-circ":Cu(.785,.135,.15,.86),spring:function(t,e,n){if(0===n)return Su.linear;var i=Tu(t,e,n);return function(t,e,n){return t+(e-t)*i(n)}},"cubic-bezier":Cu};function Au(t,e,n,i,r){if(1===i||e===n)return n;var a=r(e,n,i);return null==t||((t.roundValue||t.color)&&(a=Math.round(a)),void 0!==t.min&&(a=Math.max(a,t.min)),void 0!==t.max&&(a=Math.min(a,t.max))),a}function Mu(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Iu(t,e,n,i,r){var a=null!=r?r.type:null;n<0?n=0:n>1&&(n=1);var o=Mu(t,r),s=Mu(e,r);if(E(o)&&E(s))return Au(a,o,s,n,i);if(x(o)&&x(s)){for(var c=[],u=0;u<s.length;u++){var l=o[u],h=s[u];if(null!=l&&null!=h){var f=Au(a,l,h,n,i);c.push(f)}else c.push(h)}return c}}function Ou(t,e,n,i){var r=!i,a=t._private,o=e._private,s=o.easing,c=o.startTime,u=(i?t:t.cy()).style();if(!o.easingImpl)if(null==s)o.easingImpl=Su.linear;else{var l,h,f;l=m(s)?u.parse("transition-timing-function",s).value:s,m(l)?(h=l,f=[]):(h=l[1],f=l.slice(2).map((function(t){return+t}))),f.length>0?("spring"===h&&f.push(o.duration),o.easingImpl=Su[h].apply(null,f)):o.easingImpl=Su[h]}var d,g=o.easingImpl;if(d=0===o.duration?1:(n-c)/o.duration,o.applying&&(d=o.progress),d<0?d=0:d>1&&(d=1),null==o.delay){var p=o.startPosition,b=o.position;if(b&&r&&!t.locked()){var w={};Lu(p.x,b.x)&&(w.x=Iu(p.x,b.x,d,g)),Lu(p.y,b.y)&&(w.y=Iu(p.y,b.y,d,g)),t.position(w)}var y=o.startPan,v=o.pan,x=a.pan,k=null!=v&&i;k&&(Lu(y.x,v.x)&&(x.x=Iu(y.x,v.x,d,g)),Lu(y.y,v.y)&&(x.y=Iu(y.y,v.y,d,g)),t.emit("pan"));var _=o.startZoom,E=o.zoom,T=null!=E&&i;T&&(Lu(_,E)&&(a.zoom=An(a.minZoom,Iu(_,E,d,g),a.maxZoom)),t.emit("zoom")),(k||T)&&t.emit("viewport");var C=o.style;if(C&&C.length>0&&r){for(var S=0;S<C.length;S++){var A=C[S],M=A.name,I=A,O=o.startStyle[M],L=Iu(O,I,d,g,u.properties[O.name]);u.overrideBypass(t,M,L)}t.emit("style")}}return o.progress=d,d}function Lu(t,e){return!!(null!=t&&null!=e&&(E(t)&&E(e)||t&&e))}function Nu(t,e,n,i){var r=e._private;r.started=!0,r.startTime=n-r.progress*r.duration}function Du(t,e){var n=e._private.aniEles,i=[];function r(e,n){var r=e._private,a=r.animation.current,o=r.animation.queue,s=!1;if(0===a.length){var c=o.shift();c&&a.push(c)}for(var u=function(t){for(var e=t.length-1;e>=0;e--)(0,t[e])();t.splice(0,t.length)},l=a.length-1;l>=0;l--){var h=a[l],f=h._private;f.stopped?(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.frames)):!f.playing&&!f.applying||(f.playing&&f.applying&&(f.applying=!1),f.started||Nu(e,h,t),Ou(e,h,t,n),f.applying&&(f.applying=!1),u(f.frames),null!=f.step&&f.step(t),h.completed()&&(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.completes)),s=!0)}return!n&&0===a.length&&0===o.length&&i.push(e),s}for(var a=!1,o=0;o<n.length;o++){var s=r(n[o]);a=a||s}var c=r(e,!0);(a||c)&&(n.length>0?e.notify("draw",n):e.notify("draw")),n.unmerge(i),e.emit("step")}var Pu={animate:ds.animate(),animation:ds.animation(),animated:ds.animated(),clearQueue:ds.clearQueue(),delay:ds.delay(),delayAnimation:ds.delayAnimation(),stop:ds.stop(),addToAnimationPool:function(t){var e=this;e.styleEnabled()&&e._private.aniEles.merge(t)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var t=this;if(t._private.animationsRunning=!0,t.styleEnabled()){var e=t.renderer();e&&e.beforeRender?e.beforeRender((function(e,n){Du(n,t)}),e.beforeRenderPriorities.animations):n()}function n(){t._private.animationsRunning&&ne((function(e){Du(e,t),n()}))}}},Bu={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&A(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t,e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t}},ju=function(t){return m(t)?new js(t):t},Ru={createEmitter:function(){var t=this._private;return t.emitter||(t.emitter=new Rc(Bu,this)),this},emitter:function(){return this._private.emitter},on:function(t,e,n){return this.emitter().on(t,ju(e),n),this},removeListener:function(t,e,n){return this.emitter().removeListener(t,ju(e),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(t,e,n){return this.emitter().one(t,ju(e),n),this},once:function(t,e,n){return this.emitter().one(t,ju(e),n),this},emit:function(t,e){return this.emitter().emit(t,e),this},emitAndNotify:function(t,e){return this.emit(t),this.notify(t,e),this}};ds.eventAliasesOn(Ru);var $u={png:function(t){return t=t||{},this._private.renderer.png(t)},jpg:function(t){var e=this._private.renderer;return(t=t||{}).bg=t.bg||"#fff",e.jpg(t)}};$u.jpeg=$u.jpg;var Fu={layout:function(t){var e=this;if(null!=t)if(null!=t.name){var n,i=t.name,r=e.extension("layout",i);if(null!=r)return n=m(t.eles)?e.$(t.eles):null!=t.eles?t.eles:e.$(),new r(Z({},t,{cy:e,eles:n}));Te("No such layout `"+i+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Te("A `name` must be specified to make a layout");else Te("Layout options must be specified to make a layout")}};Fu.createLayout=Fu.makeLayout=Fu.layout;var zu={notify:function(t,e){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var i=n.batchNotifications[t]=n.batchNotifications[t]||this.collection();null!=e&&i.merge(e)}else if(n.notificationsEnabled){var r=this.renderer();this.destroyed()||!r||r.notify(t,e)}},notifications:function(t){var e=this._private;return void 0===t?e.notificationsEnabled:(e.notificationsEnabled=!!t,this)},noNotifications:function(t){this.notifications(!1),t(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var t=this._private;return null==t.batchCount&&(t.batchCount=0),0===t.batchCount&&(t.batchStyleEles=this.collection(),t.batchNotifications={}),t.batchCount++,this},endBatch:function(){var t=this._private;if(0===t.batchCount)return this;if(t.batchCount--,0===t.batchCount){t.batchStyleEles.updateStyle();var e=this.renderer();Object.keys(t.batchNotifications).forEach((function(n){var i=t.batchNotifications[n];i.empty()?e.notify(n):e.notify(n,i)}))}return this},batch:function(t){return this.startBatch(),t(),this.endBatch(),this},batchData:function(t){var e=this;return this.batch((function(){for(var n=Object.keys(t),i=0;i<n.length;i++){var r=n[i],a=t[r];e.getElementById(r).data(a)}}))}},Hu=De({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),Uu={renderTo:function(t,e,n,i){return this._private.renderer.renderTo(t,e,n,i),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(t){var e=this,n=e.extension("renderer",t.name);if(null!=n){void 0!==t.wheelSensitivity&&Se("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var i=Hu(t);i.cy=e,e._private.renderer=new n(i),this.notify("init")}else Te("Can not initialise: No such renderer `".concat(t.name,"` found. Did you forget to import it and `cytoscape.use()` it?"))},destroyRenderer:function(){var t=this;t.notify("destroy");var e=t.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);t._private.renderer=null,t.mutableElements().forEach((function(t){var e=t._private;e.rscratch={},e.rstyle={},e.animation.current=[],e.animation.queue=[]}))},onRender:function(t){return this.on("render",t)},offRender:function(t){return this.off("render",t)}};Uu.invalidateDimensions=Uu.resize;var Gu={collection:function(t,e){return m(t)?this.$(t):S(t)?t.collection():x(t)?(e||(e={}),new xu(this,t,e.unique,e.removed)):new xu(this)},nodes:function(t){var e=this.$((function(t){return t.isNode()}));return t?e.filter(t):e},edges:function(t){var e=this.$((function(t){return t.isEdge()}));return t?e.filter(t):e},$:function(t){var e=this._private.elements;return t?e.filter(t):e.spawnSelf()},mutableElements:function(){return this._private.elements}};Gu.elements=Gu.filter=Gu.$;var qu={},Ku="t",Yu="f";qu.apply=function(t){for(var e=this,n=e._private.cy.collection(),i=0;i<t.length;i++){var r=t[i],a=e.getContextMeta(r);if(!a.empty){var o=e.getContextStyle(a),s=e.applyContextStyle(a,o,r);r._private.appliedInitStyle?e.updateTransitions(r,s.diffProps):r._private.appliedInitStyle=!0,e.updateStyleHints(r)&&n.push(r)}}return n},qu.getPropertiesDiff=function(t,e){var n=this,i=n._private.propDiffs=n._private.propDiffs||{},r=t+"-"+e,a=i[r];if(a)return a;for(var o=[],s={},c=0;c<n.length;c++){var u=n[c],l=t[c]===Ku,h=e[c]===Ku,f=l!==h,d=u.mappedProperties.length>0;if(f||h&&d){var g=void 0;f&&d||f?g=u.properties:d&&(g=u.mappedProperties);for(var p=0;p<g.length;p++){for(var b=g[p],w=b.name,y=!1,m=c+1;m<n.length;m++){var v=n[m];if(e[m]===Ku&&(y=null!=v.properties[b.name]))break}!s[w]&&!y&&(s[w]=!0,o.push(w))}}}return i[r]=o,o},qu.getContextMeta=function(t){for(var e,n=this,i="",r=t._private.styleCxtKey||"",a=0;a<n.length;a++){var o=n[a];i+=o.selector&&o.selector.matches(t)?Ku:Yu}return e=n.getPropertiesDiff(r,i),t._private.styleCxtKey=i,{key:i,diffPropNames:e,empty:0===e.length}},qu.getContextStyle=function(t){var e=t.key,n=this,i=this._private.contextStyles=this._private.contextStyles||{};if(i[e])return i[e];for(var r={_private:{key:e}},a=0;a<n.length;a++){var o=n[a];if(e[a]===Ku)for(var s=0;s<o.properties.length;s++){var c=o.properties[s];r[c.name]=c}}return i[e]=r,r},qu.applyContextStyle=function(t,e,n){for(var i=this,r=t.diffPropNames,a={},o=i.types,s=0;s<r.length;s++){var c=r[s],u=e[c],l=n.pstyle(c);if(!u){if(!l)continue;u=l.bypass?{name:c,deleteBypassed:!0}:{name:c,delete:!0}}if(l!==u){if(u.mapped===o.fn&&null!=l&&null!=l.mapping&&l.mapping.value===u.value){var h=l.mapping;if((h.fnValue=u.value(n))===h.prevFnValue)continue}var f=a[c]={prev:l};i.applyParsedProperty(n,u),f.next=n.pstyle(c),f.next&&f.next.bypass&&(f.next=f.next.bypassed)}}return{diffProps:a}},qu.updateStyleHints=function(t){var e=t._private,n=this,i=n.propertyGroupNames,r=n.propertyGroupKeys,a=function(t,e,i){return n.getPropertiesHash(t,e,i)},o=e.styleKey;if(t.removed())return!1;var s="nodes"===e.group,c=t._private.style;i=Object.keys(c);for(var u=0;u<r.length;u++){var l=r[u];e.styleKeys[l]=[re,oe]}for(var h=function(t,n){return e.styleKeys[n][0]=ce(t,e.styleKeys[n][0])},f=function(t,n){return e.styleKeys[n][1]=ue(t,e.styleKeys[n][1])},d=function(t,e){h(t,e),f(t,e)},g=function(t,e){for(var n=0;n<t.length;n++){var i=t.charCodeAt(n);h(i,e),f(i,e)}},p=2e9,b=function(t){return-128<t&&t<128&&Math.floor(t)!==t?p-(1024*t|0):t},w=0;w<i.length;w++){var y=i[w],m=c[y];if(null!=m){var v=this.properties[y],x=v.type,k=v.groupKey,_=void 0;null!=v.hashOverride?_=v.hashOverride(t,m):null!=m.pfValue&&(_=m.pfValue);var E=null==v.enums?m.value:null,T=null!=_,C=T||null!=E,S=m.units;x.number&&C&&!x.multiple?(d(b(T?_:E),k),!T&&null!=S&&g(S,k)):g(m.strValue,k)}}for(var A=[re,oe],M=0;M<r.length;M++){var I=r[M],O=e.styleKeys[I];A[0]=ce(O[0],A[0]),A[1]=ue(O[1],A[1])}e.styleKey=le(A[0],A[1]);var L=e.styleKeys;e.labelDimsKey=he(L.labelDimensions);var N=a(t,["label"],L.labelDimensions);if(e.labelKey=he(N),e.labelStyleKey=he(fe(L.commonLabel,N)),!s){var D=a(t,["source-label"],L.labelDimensions);e.sourceLabelKey=he(D),e.sourceLabelStyleKey=he(fe(L.commonLabel,D));var P=a(t,["target-label"],L.labelDimensions);e.targetLabelKey=he(P),e.targetLabelStyleKey=he(fe(L.commonLabel,P))}if(s){var B=e.styleKeys,j=B.nodeBody,R=B.nodeBorder,$=B.backgroundImage,F=B.compound,z=B.pie,H=[j,R,$,F,z].filter((function(t){return null!=t})).reduce(fe,[re,oe]);e.nodeKey=he(H),e.hasPie=null!=z&&z[0]!==re&&z[1]!==oe}return o!==e.styleKey},qu.clearStyleHints=function(t){var e=t._private;e.styleCxtKey="",e.styleKeys={},e.styleKey=null,e.labelKey=null,e.labelStyleKey=null,e.sourceLabelKey=null,e.sourceLabelStyleKey=null,e.targetLabelKey=null,e.targetLabelStyleKey=null,e.nodeKey=null,e.hasPie=null},qu.applyParsedProperty=function(t,e){var n,i=this,r=e,a=t._private.style,o=i.types,s=i.properties[r.name].type,c=r.bypass,u=a[r.name],l=u&&u.bypass,h=t._private,f="mapping",d=function(t){return null==t?null:null!=t.pfValue?t.pfValue:t.value},g=function(){var e=d(u),n=d(r);i.checkTriggers(t,r.name,e,n)};if(r&&"pie"===r.name.substr(0,3)&&Se("The pie style properties are deprecated. Create charts using background images instead."),"curve-style"===e.name&&t.isEdge()&&("bezier"!==e.value&&t.isLoop()||"haystack"===e.value&&(t.source().isParent()||t.target().isParent()))&&(r=e=this.parse(e.name,"bezier",c)),r.delete)return a[r.name]=void 0,g(),!0;if(r.deleteBypassed)return u?!!u.bypass&&(u.bypassed=void 0,g(),!0):(g(),!0);if(r.deleteBypass)return u?!!u.bypass&&(a[r.name]=u.bypassed,g(),!0):(g(),!0);var p=function(){Se("Do not assign mappings to elements without corresponding data (i.e. ele `"+t.id()+"` has no mapping for property `"+r.name+"` with data field `"+r.field+"`); try a `["+r.field+"]` selector to limit scope to elements with `"+r.field+"` defined")};switch(r.mapped){case o.mapData:for(var b=r.field.split("."),w=h.data,y=0;y<b.length&&w;y++)w=w[b[y]];if(null==w)return p(),!1;var m;if(!E(w))return Se("Do not use continuous mappers without specifying numeric data (i.e. `"+r.field+": "+w+"` for `"+t.id()+"` is non-numeric)"),!1;var v=r.fieldMax-r.fieldMin;if((m=0===v?0:(w-r.fieldMin)/v)<0?m=0:m>1&&(m=1),s.color){var x=r.valueMin[0],k=r.valueMax[0],_=r.valueMin[1],T=r.valueMax[1],C=r.valueMin[2],S=r.valueMax[2],A=null==r.valueMin[3]?1:r.valueMin[3],M=null==r.valueMax[3]?1:r.valueMax[3],I=[Math.round(x+(k-x)*m),Math.round(_+(T-_)*m),Math.round(C+(S-C)*m),Math.round(A+(M-A)*m)];n={bypass:r.bypass,name:r.name,value:I,strValue:"rgb("+I[0]+", "+I[1]+", "+I[2]+")"}}else{if(!s.number)return!1;var O=r.valueMin+(r.valueMax-r.valueMin)*m;n=this.parse(r.name,O,r.bypass,f)}if(!n)return p(),!1;n.mapping=r,r=n;break;case o.data:for(var L=r.field.split("."),N=h.data,D=0;D<L.length&&N;D++)N=N[L[D]];if(null!=N&&(n=this.parse(r.name,N,r.bypass,f)),!n)return p(),!1;n.mapping=r,r=n;break;case o.fn:var P=r.value,B=null!=r.fnValue?r.fnValue:P(t);if(r.prevFnValue=B,null==B)return Se("Custom function mappers may not return null (i.e. `"+r.name+"` for ele `"+t.id()+"` is null)"),!1;if(!(n=this.parse(r.name,B,r.bypass,f)))return Se("Custom function mappers may not return invalid values for the property type (i.e. `"+r.name+"` for ele `"+t.id()+"` is invalid)"),!1;n.mapping=Me(r),r=n;break;case void 0:break;default:return!1}return c?(r.bypassed=l?u.bypassed:u,a[r.name]=r):l?u.bypassed=r:a[r.name]=r,g(),!0},qu.cleanElements=function(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(this.clearStyleHints(i),i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),e)for(var r=i._private.style,a=Object.keys(r),o=0;o<a.length;o++){var s=a[o],c=r[s];null!=c&&(c.bypass?c.bypassed=null:r[s]=null)}else i._private.style={}}},qu.update=function(){this._private.cy.mutableElements().updateStyle()},qu.updateTransitions=function(t,e){var n=this,i=t._private,r=t.pstyle("transition-property").value,a=t.pstyle("transition-duration").pfValue,o=t.pstyle("transition-delay").pfValue;if(r.length>0&&a>0){for(var s={},c=!1,u=0;u<r.length;u++){var l=r[u],h=t.pstyle(l),f=e[l];if(f){var d=f.prev,g=null!=f.next?f.next:h,p=!1,b=void 0,w=1e-6;d&&(E(d.pfValue)&&E(g.pfValue)?(p=g.pfValue-d.pfValue,b=d.pfValue+w*p):E(d.value)&&E(g.value)?(p=g.value-d.value,b=d.value+w*p):x(d.value)&&x(g.value)&&(p=d.value[0]!==g.value[0]||d.value[1]!==g.value[1]||d.value[2]!==g.value[2],b=d.strValue),p&&(s[l]=g.strValue,this.applyBypass(t,l,b),c=!0))}}if(!c)return;i.transitioning=!0,new Fr((function(e){o>0?t.delayAnimation(o).play().promise().then(e):e()})).then((function(){return t.animation({style:s,duration:a,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1}))}else i.transitioning&&(this.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1)},qu.checkTrigger=function(t,e,n,i,r,a){var o=this.properties[e],s=r(o);null!=s&&s(n,i)&&a(o)},qu.checkZOrderTrigger=function(t,e,n,i){var r=this;this.checkTrigger(t,e,n,i,(function(t){return t.triggersZOrder}),(function(){r._private.cy.notify("zorder",t)}))},qu.checkBoundsTrigger=function(t,e,n,i){this.checkTrigger(t,e,n,i,(function(t){return t.triggersBounds}),(function(r){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),r.triggersBoundsOfParallelBeziers&&("curve-style"===e&&("bezier"===n||"bezier"===i)||"display"===e&&("none"===n||"none"===i))&&t.parallelEdges().forEach((function(t){t.isBundledBezier()&&t.dirtyBoundingBoxCache()}))}))},qu.checkTriggers=function(t,e,n,i){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,n,i),this.checkBoundsTrigger(t,e,n,i)};var Wu={applyBypass:function(t,e,n,i){var r=this,a=[],o=!0;if("*"===e||"**"===e){if(void 0!==n)for(var s=0;s<r.properties.length;s++){var c=r.properties[s].name,u=this.parse(c,n,!0);u&&a.push(u)}}else if(m(e)){var l=this.parse(e,n,!0);l&&a.push(l)}else{if(!k(e))return!1;var h=e;i=n;for(var f=Object.keys(h),d=0;d<f.length;d++){var g=f[d],p=h[g];if(void 0===p&&(p=h[F(g)]),void 0!==p){var b=this.parse(g,p,!0);b&&a.push(b)}}}if(0===a.length)return!1;for(var w=!1,y=0;y<t.length;y++){for(var v=t[y],x={},_=void 0,E=0;E<a.length;E++){var T=a[E];if(i){var C=v.pstyle(T.name);_=x[T.name]={prev:C}}w=this.applyParsedProperty(v,Me(T))||w,i&&(_.next=v.pstyle(T.name))}w&&this.updateStyleHints(v),i&&this.updateTransitions(v,x,o)}return w},overrideBypass:function(t,e,n){e=$(e);for(var i=0;i<t.length;i++){var r=t[i],a=r._private.style[e],o=this.properties[e].type,s=o.color,c=o.mutiple,u=a?null!=a.pfValue?a.pfValue:a.value:null;a&&a.bypass?(a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=s?"rgb("+n.join(",")+")":c?n.join(" "):""+n,this.updateStyleHints(r)):this.applyBypass(r,e,n),this.checkTriggers(r,e,u,n)}},removeAllBypasses:function(t,e){return this.removeBypasses(t,this.propertyNames,e)},removeBypasses:function(t,e,n){for(var i=!0,r=0;r<t.length;r++){for(var a=t[r],o={},s=0;s<e.length;s++){var c=e[s],u=this.properties[c],l=a.pstyle(u.name);if(l&&l.bypass){var h="",f=this.parse(c,h,!0),d=o[u.name]={prev:l};this.applyParsedProperty(a,f),d.next=a.pstyle(u.name)}}this.updateStyleHints(a),n&&this.updateTransitions(a,o,i)}}},Xu={getEmSizeInPixels:function(){var t=this.containerCss("font-size");return null!=t?parseFloat(t):1},containerCss:function(t){var e=this._private.cy.container();if(f&&e&&f.getComputedStyle)return f.getComputedStyle(e).getPropertyValue(t)}},Vu={getRenderedStyle:function(t,e){return e?this.getStylePropertyValue(t,e,!0):this.getRawStyle(t,!0)},getRawStyle:function(t,e){var n=this;if(t=t[0]){for(var i={},r=0;r<n.properties.length;r++){var a=n.properties[r],o=n.getStylePropertyValue(t,a.name,e);null!=o&&(i[a.name]=o,i[F(a.name)]=o)}return i}},getIndexedStyle:function(t,e,n,i){return t.pstyle(e)[n][i]??t.cy().style().getDefaultProperty(e)[n][0]},getStylePropertyValue:function(t,e,n){var i=this;if(t=t[0]){var r=i.properties[e];r.alias&&(r=r.pointsTo);var a=r.type,o=t.pstyle(r.name);if(o){var s=o.value,c=o.units,u=o.strValue;if(n&&a.number&&null!=s&&E(s)){var l=t.cy().zoom(),h=function(t){return t*l},f=function(t,e){return h(t)+e},d=x(s);return(d?c.every((function(t){return null!=t})):null!=c)?d?s.map((function(t,e){return f(t,c[e])})).join(" "):f(s,c):d?s.map((function(t){return m(t)?t:""+h(t)})).join(" "):""+h(s)}if(null!=u)return u}return null}},getAnimationStartStyle:function(t,e){for(var n={},i=0;i<e.length;i++){var r=e[i].name,a=t.pstyle(r);void 0!==a&&(a=k(a)?this.parse(r,a.strValue):this.parse(r,a)),a&&(n[r]=a)}return n},getPropsList:function(t){var e=[],n=t,i=this.properties;if(n)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a],s=n[o],c=i[o]||i[$(o)],u=this.parse(c.name,s);u&&e.push(u)}return e},getNonDefaultPropertiesHash:function(t,e,n){var i,r,a,o,s,c,u=n.slice();for(s=0;s<e.length;s++)if(i=e[s],null!=(r=t.pstyle(i,!1)))if(null!=r.pfValue)u[0]=ce(o,u[0]),u[1]=ue(o,u[1]);else for(a=r.strValue,c=0;c<a.length;c++)o=a.charCodeAt(c),u[0]=ce(o,u[0]),u[1]=ue(o,u[1]);return u}};Vu.getPropertiesHash=Vu.getNonDefaultPropertiesHash;var Qu={appendFromJson:function(t){for(var e=this,n=0;n<t.length;n++){var i=t[n],r=i.selector,a=i.style||i.css,o=Object.keys(a);e.selector(r);for(var s=0;s<o.length;s++){var c=o[s],u=a[c];e.css(c,u)}}return e},fromJson:function(t){var e=this;return e.resetToDefault(),e.appendFromJson(t),e},json:function(){for(var t=[],e=this.defaultLength;e<this.length;e++){for(var n=this[e],i=n.selector,r=n.properties,a={},o=0;o<r.length;o++){var s=r[o];a[s.name]=s.strValue}t.push({selector:i?i.toString():"core",style:a})}return t}},Zu={appendFromString:function(t){var e,n,i,r=this,a=this,o=""+t;function s(){o=o.length>e.length?o.substr(e.length):""}function c(){n=n.length>i.length?n.substr(i.length):""}for(o=o.replace(/[/][*](\s|.)+?[*][/]/g,"");!o.match(/^\s*$/);){var u=o.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!u){Se("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+o);break}e=u[0];var l=u[1];if("core"!==l&&new js(l).invalid)Se("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),s();else{var h=u[2],f=!1;n=h;for(var d=[];!n.match(/^\s*$/);){var g=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!g){Se("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+h),f=!0;break}i=g[0];var p=g[1],b=g[2];r.properties[p]?a.parse(p,b)?(d.push({name:p,val:b}),c()):(Se("Skipping property: Invalid property definition in: "+i),c()):(Se("Skipping property: Invalid property name in: "+i),c())}if(f){s();break}a.selector(l);for(var w=0;w<d.length;w++){var y=d[w];a.css(y.name,y.val)}s()}}return a},fromString:function(t){var e=this;return e.resetToDefault(),e.appendFromString(t),e}},Ju={};(function(){var t=U,e=q,n=Y,i=W,r=X,a=function(t){return"^"+t+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},o=function(a){var o=t+"|\\w+|"+e+"|"+n+"|"+i+"|"+r;return"^"+a+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+t+")\\s*\\,\\s*("+t+")\\s*,\\s*("+o+")\\s*\\,\\s*("+o+")\\)$"},s=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];Ju.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:a("data")},layoutData:{mapping:!0,regex:a("layoutData")},scratch:{mapping:!0,regex:a("scratch")},mapData:{mapping:!0,regex:o("mapData")},mapLayoutData:{mapping:!0,regex:o("mapLayoutData")},mapScratch:{mapping:!0,regex:o("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:s,singleRegexMatchValue:!0},urls:{regexes:s,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(t,e){switch(t.length){case 2:return"deg"!==e[0]&&"rad"!==e[0]&&"deg"!==e[1]&&"rad"!==e[1];case 1:return m(t[0])||"deg"===e[0]||"rad"===e[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(t){var e=t.length;return 1===e||2===e||4===e}}};var c={zeroNonZero:function(t,e){return(null==t||null==e)&&t!==e||0==t&&0!=e||0!=t&&0==e},any:function(t,e){return t!=e},emptyNonEmpty:function(t,e){var n=N(t),i=N(e);return n&&!i||!n&&i}},u=Ju.types,l=[{name:"label",type:u.text,triggersBounds:c.any,triggersZOrder:c.emptyNonEmpty},{name:"text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any}],h=[{name:"source-label",type:u.text,triggersBounds:c.any},{name:"source-text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"source-text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"source-text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"source-text-offset",type:u.size,triggersBounds:c.any}],f=[{name:"target-label",type:u.text,triggersBounds:c.any},{name:"target-text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"target-text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"target-text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"target-text-offset",type:u.size,triggersBounds:c.any}],d=[{name:"font-family",type:u.fontFamily,triggersBounds:c.any},{name:"font-style",type:u.fontStyle,triggersBounds:c.any},{name:"font-weight",type:u.fontWeight,triggersBounds:c.any},{name:"font-size",type:u.size,triggersBounds:c.any},{name:"text-transform",type:u.textTransform,triggersBounds:c.any},{name:"text-wrap",type:u.textWrap,triggersBounds:c.any},{name:"text-overflow-wrap",type:u.textOverflowWrap,triggersBounds:c.any},{name:"text-max-width",type:u.size,triggersBounds:c.any},{name:"text-outline-width",type:u.size,triggersBounds:c.any},{name:"line-height",type:u.positiveNumber,triggersBounds:c.any}],g=[{name:"text-valign",type:u.valign,triggersBounds:c.any},{name:"text-halign",type:u.halign,triggersBounds:c.any},{name:"color",type:u.color},{name:"text-outline-color",type:u.color},{name:"text-outline-opacity",type:u.zeroOneNumber},{name:"text-background-color",type:u.color},{name:"text-background-opacity",type:u.zeroOneNumber},{name:"text-background-padding",type:u.size,triggersBounds:c.any},{name:"text-border-opacity",type:u.zeroOneNumber},{name:"text-border-color",type:u.color},{name:"text-border-width",type:u.size,triggersBounds:c.any},{name:"text-border-style",type:u.borderStyle,triggersBounds:c.any},{name:"text-background-shape",type:u.textBackgroundShape,triggersBounds:c.any},{name:"text-justification",type:u.justification}],p=[{name:"events",type:u.bool},{name:"text-events",type:u.bool}],b=[{name:"display",type:u.display,triggersZOrder:c.any,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:u.visibility,triggersZOrder:c.any},{name:"opacity",type:u.zeroOneNumber,triggersZOrder:c.zeroNonZero},{name:"text-opacity",type:u.zeroOneNumber},{name:"min-zoomed-font-size",type:u.size},{name:"z-compound-depth",type:u.zCompoundDepth,triggersZOrder:c.any},{name:"z-index-compare",type:u.zIndexCompare,triggersZOrder:c.any},{name:"z-index",type:u.nonNegativeInt,triggersZOrder:c.any}],w=[{name:"overlay-padding",type:u.size,triggersBounds:c.any},{name:"overlay-color",type:u.color},{name:"overlay-opacity",type:u.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"overlay-shape",type:u.overlayShape,triggersBounds:c.any}],y=[{name:"underlay-padding",type:u.size,triggersBounds:c.any},{name:"underlay-color",type:u.color},{name:"underlay-opacity",type:u.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"underlay-shape",type:u.overlayShape,triggersBounds:c.any}],v=[{name:"transition-property",type:u.propList},{name:"transition-duration",type:u.time},{name:"transition-delay",type:u.time},{name:"transition-timing-function",type:u.easing}],x=function(t,e){return"label"===e.value?-t.poolIndex():e.pfValue},k=[{name:"height",type:u.nodeSize,triggersBounds:c.any,hashOverride:x},{name:"width",type:u.nodeSize,triggersBounds:c.any,hashOverride:x},{name:"shape",type:u.nodeShape,triggersBounds:c.any},{name:"shape-polygon-points",type:u.polygonPointList,triggersBounds:c.any},{name:"background-color",type:u.color},{name:"background-fill",type:u.fill},{name:"background-opacity",type:u.zeroOneNumber},{name:"background-blacken",type:u.nOneOneNumber},{name:"background-gradient-stop-colors",type:u.colors},{name:"background-gradient-stop-positions",type:u.percentages},{name:"background-gradient-direction",type:u.gradientDirection},{name:"padding",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"padding-relative-to",type:u.paddingRelativeTo,triggersBounds:c.any},{name:"bounds-expansion",type:u.boundsExpansion,triggersBounds:c.any}],_=[{name:"border-color",type:u.color},{name:"border-opacity",type:u.zeroOneNumber},{name:"border-width",type:u.size,triggersBounds:c.any},{name:"border-style",type:u.borderStyle}],E=[{name:"background-image",type:u.urls},{name:"background-image-crossorigin",type:u.bgCrossOrigin},{name:"background-image-opacity",type:u.zeroOneNumbers},{name:"background-image-containment",type:u.bgContainment},{name:"background-image-smoothing",type:u.bools},{name:"background-position-x",type:u.bgPos},{name:"background-position-y",type:u.bgPos},{name:"background-width-relative-to",type:u.bgRelativeTo},{name:"background-height-relative-to",type:u.bgRelativeTo},{name:"background-repeat",type:u.bgRepeat},{name:"background-fit",type:u.bgFit},{name:"background-clip",type:u.bgClip},{name:"background-width",type:u.bgWH},{name:"background-height",type:u.bgWH},{name:"background-offset-x",type:u.bgPos},{name:"background-offset-y",type:u.bgPos}],T=[{name:"position",type:u.position,triggersBounds:c.any},{name:"compound-sizing-wrt-labels",type:u.compoundIncludeLabels,triggersBounds:c.any},{name:"min-width",type:u.size,triggersBounds:c.any},{name:"min-width-bias-left",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-width-bias-right",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-height",type:u.size,triggersBounds:c.any},{name:"min-height-bias-top",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-height-bias-bottom",type:u.sizeMaybePercent,triggersBounds:c.any}],C=[{name:"line-style",type:u.lineStyle},{name:"line-color",type:u.color},{name:"line-fill",type:u.fill},{name:"line-cap",type:u.lineCap},{name:"line-opacity",type:u.zeroOneNumber},{name:"line-dash-pattern",type:u.numbers},{name:"line-dash-offset",type:u.number},{name:"line-gradient-stop-colors",type:u.colors},{name:"line-gradient-stop-positions",type:u.percentages},{name:"curve-style",type:u.curveStyle,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:u.zeroOneNumber,triggersBounds:c.any},{name:"source-endpoint",type:u.edgeEndpoint,triggersBounds:c.any},{name:"target-endpoint",type:u.edgeEndpoint,triggersBounds:c.any},{name:"control-point-step-size",type:u.size,triggersBounds:c.any},{name:"control-point-distances",type:u.bidirectionalSizes,triggersBounds:c.any},{name:"control-point-weights",type:u.numbers,triggersBounds:c.any},{name:"segment-distances",type:u.bidirectionalSizes,triggersBounds:c.any},{name:"segment-weights",type:u.numbers,triggersBounds:c.any},{name:"taxi-turn",type:u.bidirectionalSizeMaybePercent,triggersBounds:c.any},{name:"taxi-turn-min-distance",type:u.size,triggersBounds:c.any},{name:"taxi-direction",type:u.axisDirection,triggersBounds:c.any},{name:"edge-distances",type:u.edgeDistances,triggersBounds:c.any},{name:"arrow-scale",type:u.positiveNumber,triggersBounds:c.any},{name:"loop-direction",type:u.angle,triggersBounds:c.any},{name:"loop-sweep",type:u.angle,triggersBounds:c.any},{name:"source-distance-from-node",type:u.size,triggersBounds:c.any},{name:"target-distance-from-node",type:u.size,triggersBounds:c.any}],S=[{name:"ghost",type:u.bool,triggersBounds:c.any},{name:"ghost-offset-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"ghost-offset-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"ghost-opacity",type:u.zeroOneNumber}],A=[{name:"selection-box-color",type:u.color},{name:"selection-box-opacity",type:u.zeroOneNumber},{name:"selection-box-border-color",type:u.color},{name:"selection-box-border-width",type:u.size},{name:"active-bg-color",type:u.color},{name:"active-bg-opacity",type:u.zeroOneNumber},{name:"active-bg-size",type:u.size},{name:"outside-texture-bg-color",type:u.color},{name:"outside-texture-bg-opacity",type:u.zeroOneNumber}],M=[];Ju.pieBackgroundN=16,M.push({name:"pie-size",type:u.sizeMaybePercent});for(var I=1;I<=Ju.pieBackgroundN;I++)M.push({name:"pie-"+I+"-background-color",type:u.color}),M.push({name:"pie-"+I+"-background-size",type:u.percent}),M.push({name:"pie-"+I+"-background-opacity",type:u.zeroOneNumber});var O=[],L=Ju.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:u.arrowShape,triggersBounds:c.any},{name:"arrow-color",type:u.color},{name:"arrow-fill",type:u.arrowFill}].forEach((function(t){L.forEach((function(e){var n=e+"-"+t.name,i=t.type,r=t.triggersBounds;O.push({name:n,type:i,triggersBounds:r})}))}),{});var D=Ju.properties=[].concat(p,v,b,w,y,S,g,d,l,h,f,k,_,E,M,T,C,O,A),P=Ju.propertyGroups={behavior:p,transition:v,visibility:b,overlay:w,underlay:y,ghost:S,commonLabel:g,labelDimensions:d,mainLabel:l,sourceLabel:h,targetLabel:f,nodeBody:k,nodeBorder:_,backgroundImage:E,pie:M,compound:T,edgeLine:C,edgeArrow:O,core:A},B=Ju.propertyGroupNames={};(Ju.propertyGroupKeys=Object.keys(P)).forEach((function(t){B[t]=P[t].map((function(t){return t.name})),P[t].forEach((function(e){return e.groupKey=t}))}));var j=Ju.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];Ju.propertyNames=D.map((function(t){return t.name}));for(var R=0;R<D.length;R++){var $=D[R];D[$.name]=$}for(var F=0;F<j.length;F++){var z=j[F],H=D[z.pointsTo],G={name:z.name,alias:!0,pointsTo:H};D.push(G),D[z.name]=G}})(),Ju.getDefaultProperty=function(t){return this.getDefaultProperties()[t]},Ju.getDefaultProperties=function(){var t=this._private;if(null!=t.defaultProperties)return t.defaultProperties;for(var e=Z({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce((function(t,e){for(var n=1;n<=Ju.pieBackgroundN;n++){var i=e.name.replace("{{i}}",n),r=e.value;t[i]=r}return t}),{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce((function(t,e){return Ju.arrowPrefixes.forEach((function(n){var i=n+"-"+e.name,r=e.value;t[i]=r})),t}),{})),n={},i=0;i<this.properties.length;i++){var r=this.properties[i];if(!r.pointsTo){var a=r.name,o=e[a],s=this.parse(a,o);n[a]=s}}return t.defaultProperties=n,t.defaultProperties},Ju.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var tl={parse:function(t,e,n,i){var r=this;if(v(e))return r.parseImplWarn(t,e,n,i);var a,o=pe(t,""+e,n?"t":"f","mapping"===i||!0===i||!1===i||null==i?"dontcare":i),s=r.propCache=r.propCache||[];return(a=s[o])||(a=s[o]=r.parseImplWarn(t,e,n,i)),(n||"mapping"===i)&&(a=Me(a))&&(a.value=Me(a.value)),a},parseImplWarn:function(t,e,n,i){var r=this.parseImpl(t,e,n,i);return!r&&null!=e&&Se("The style property `".concat(t,": ").concat(e,"` is invalid")),r&&("width"===r.name||"height"===r.name)&&"label"===e&&Se("The style value of `label` is deprecated for `"+r.name+"`"),r},parseImpl:function(t,e,n,i){var r=this;t=$(t);var a=r.properties[t],o=e,s=r.types;if(!a||void 0===e)return null;a.alias&&(a=a.pointsTo,t=a.name);var c=m(e);c&&(e=e.trim());var u,l,h=a.type;if(!h)return null;if(n&&(""===e||null===e))return{name:t,value:e,bypass:!0,deleteBypass:!0};if(v(e))return{name:t,value:e,strValue:"fn",mapped:s.fn,bypass:n};if(!(!c||i||e.length<7||"a"!==e[1])){if(e.length>=7&&"d"===e[0]&&(u=new RegExp(s.data.regex).exec(e))){if(n)return!1;var f=s.data;return{name:t,value:u,strValue:""+e,mapped:f,field:u[1],bypass:n}}if(e.length>=10&&"m"===e[0]&&(l=new RegExp(s.mapData.regex).exec(e))){if(n||h.multiple)return!1;var d=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(t,l[4]);if(!g||g.mapped)return!1;var p=this.parse(t,l[5]);if(!p||p.mapped)return!1;if(g.pfValue===p.pfValue||g.strValue===p.strValue)return Se("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+g.strValue+"`"),this.parse(t,g.strValue);if(h.color){var b=g.value,w=p.value;if(!(b[0]!==w[0]||b[1]!==w[1]||b[2]!==w[2]||b[3]!==w[3]&&(null!=b[3]&&1!==b[3]||null!=w[3]&&1!==w[3])))return!1}return{name:t,value:l,strValue:""+e,mapped:d,field:l[1],fieldMin:parseFloat(l[2]),fieldMax:parseFloat(l[3]),valueMin:g.value,valueMax:p.value,bypass:n}}}if(h.multiple&&"multiple"!==i){var y;if(y=c?e.split(/\s+/):x(e)?e:[e],h.evenMultiple&&y.length%2!=0)return null;for(var k=[],_=[],E=[],C="",S=!1,A=0;A<y.length;A++){var M=r.parse(t,y[A],n,"multiple");S=S||m(M.value),k.push(M.value),E.push(null!=M.pfValue?M.pfValue:M.value),_.push(M.units),C+=(A>0?" ":"")+M.strValue}return h.validate&&!h.validate(k,_)?null:h.singleEnum&&S?1===k.length&&m(k[0])?{name:t,value:k[0],strValue:k[0],bypass:n}:null:{name:t,value:k,pfValue:E,strValue:C,bypass:n,units:_}}var I=function(){for(var i=0;i<h.enums.length;i++)if(h.enums[i]===e)return{name:t,value:e,strValue:""+e,bypass:n};return null};if(h.number){var O,L="px";if(h.units&&(O=h.units),h.implicitUnits&&(L=h.implicitUnits),!h.unitless)if(c){var N="px|em"+(h.allowPercent?"|\\%":"");O&&(N=O);var D=e.match("^("+U+")("+N+")?$");D&&(e=D[1],O=D[2]||L)}else(!O||h.implicitUnits)&&(O=L);if(e=parseFloat(e),isNaN(e)&&void 0===h.enums)return null;if(isNaN(e)&&void 0!==h.enums)return e=o,I();if(h.integer&&!T(e)||void 0!==h.min&&(e<h.min||h.strictMin&&e===h.min)||void 0!==h.max&&(e>h.max||h.strictMax&&e===h.max))return null;var P={name:t,value:e,strValue:""+e+(O||""),units:O,bypass:n};return h.unitless||"px"!==O&&"em"!==O?P.pfValue=e:P.pfValue="px"!==O&&O?this.getEmSizeInPixels()*e:e,("ms"===O||"s"===O)&&(P.pfValue="ms"===O?e:1e3*e),("deg"===O||"rad"===O)&&(P.pfValue="rad"===O?e:yn(e)),"%"===O&&(P.pfValue=e/100),P}if(h.propList){var B=[],j=""+e;if("none"!==j){for(var R=j.split(/\s*,\s*|\s+/),F=0;F<R.length;F++){var z=R[F].trim();r.properties[z]?B.push(z):Se("`"+z+"` is not a valid property name")}if(0===B.length)return null}return{name:t,value:B,strValue:0===B.length?"none":B.join(" "),bypass:n}}if(h.color){var H=it(e);return H?{name:t,value:H,pfValue:H,strValue:"rgb("+H[0]+","+H[1]+","+H[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var G=I();if(G)return G}for(var q=h.regexes?h.regexes:[h.regex],K=0;K<q.length;K++){var Y=new RegExp(q[K]).exec(e);if(Y)return{name:t,value:h.singleRegexMatchValue?Y[1]:Y,strValue:""+e,bypass:n}}return null}return h.string?{name:t,value:""+e,strValue:""+e,bypass:n}:h.enums?I():null}},el=function t(e){if(!(this instanceof t))return new t(e);I(e)?(this._private={cy:e,coreStyle:{}},this.length=0,this.resetToDefault()):Te("A style must have a core reference")},nl=el.prototype;nl.instanceString=function(){return"style"},nl.clear=function(){for(var t=this._private,e=t.cy.elements(),n=0;n<this.length;n++)this[n]=void 0;return this.length=0,t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0),e.forEach((function(t){var e=t[0]._private;e.styleDirty=!0,e.appliedInitStyle=!1})),this},nl.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},nl.core=function(t){return this._private.coreStyle[t]||this.getDefaultProperty(t)},nl.selector=function(t){var e="core"===t?null:new js(t),n=this.length++;return this[n]={selector:e,properties:[],mappedProperties:[],index:n},this},nl.css=function(){var t=this,e=arguments;if(1===e.length)for(var n=e[0],i=0;i<t.properties.length;i++){var r=t.properties[i],a=n[r.name];void 0===a&&(a=n[F(r.name)]),void 0!==a&&this.cssRule(r.name,a)}else 2===e.length&&this.cssRule(e[0],e[1]);return this},nl.style=nl.css,nl.cssRule=function(t,e){var n=this.parse(t,e);if(n){var i=this.length-1;this[i].properties.push(n),this[i].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[i].mappedProperties.push(n),!this[i].selector&&(this._private.coreStyle[n.name]=n)}return this},nl.append=function(t){return O(t)?t.appendToStyle(this):x(t)?this.appendFromJson(t):m(t)&&this.appendFromString(t),this},el.fromJson=function(t,e){var n=new el(t);return n.fromJson(e),n},el.fromString=function(t,e){return new el(t).fromString(e)},[qu,Wu,Xu,Vu,Qu,Zu,Ju,tl].forEach((function(t){Z(nl,t)})),el.types=nl.types,el.properties=nl.properties,el.propertyGroups=nl.propertyGroups,el.propertyGroupNames=nl.propertyGroupNames,el.propertyGroupKeys=nl.propertyGroupKeys;var il={style:function(t){return t&&this.setStyle(t).update(),this._private.style},setStyle:function(t){var e=this._private;return O(t)?e.style=t.generateStyle(this):x(t)?e.style=el.fromJson(this,t):m(t)?e.style=el.fromString(this,t):e.style=el(this),e.style},updateStyle:function(){this.mutableElements().updateStyle()}},rl="single",al={autolock:function(t){return void 0===t?this._private.autolock:(this._private.autolock=!!t,this)},autoungrabify:function(t){return void 0===t?this._private.autoungrabify:(this._private.autoungrabify=!!t,this)},autounselectify:function(t){return void 0===t?this._private.autounselectify:(this._private.autounselectify=!!t,this)},selectionType:function(t){var e=this._private;return null==e.selectionType&&(e.selectionType=rl),void 0===t?e.selectionType:(("additive"===t||"single"===t)&&(e.selectionType=t),this)},panningEnabled:function(t){return void 0===t?this._private.panningEnabled:(this._private.panningEnabled=!!t,this)},userPanningEnabled:function(t){return void 0===t?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!t,this)},zoomingEnabled:function(t){return void 0===t?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!t,this)},userZoomingEnabled:function(t){return void 0===t?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!t,this)},boxSelectionEnabled:function(t){return void 0===t?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!t,this)},pan:function(){var t,e,n,i,r,a=arguments,o=this._private.pan;switch(a.length){case 0:return o;case 1:if(m(a[0]))return o[t=a[0]];if(k(a[0])){if(!this._private.panningEnabled)return this;i=(n=a[0]).x,r=n.y,E(i)&&(o.x=i),E(r)&&(o.y=r),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;t=a[0],e=a[1],("x"===t||"y"===t)&&E(e)&&(o[t]=e),this.emit("pan viewport")}return this.notify("viewport"),this},panBy:function(t,e){var n,i,r,a,o,s=arguments,c=this._private.pan;if(!this._private.panningEnabled)return this;switch(s.length){case 1:k(t)&&(a=(r=s[0]).x,o=r.y,E(a)&&(c.x+=a),E(o)&&(c.y+=o),this.emit("pan viewport"));break;case 2:i=e,("x"===(n=t)||"y"===n)&&E(i)&&(c[n]+=i),this.emit("pan viewport")}return this.notify("viewport"),this},fit:function(t,e){var n=this.getFitViewport(t,e);if(n){var i=this._private;i.zoom=n.zoom,i.pan=n.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(t,e){if(E(t)&&void 0===e&&(e=t,t=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n;if(m(t)){var i=t;t=this.$(i)}else if(P(t)){var r=t;(n={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1}else S(t)||(t=this.mutableElements());if(!S(t)||!t.empty()){n=n||t.boundingBox();var a,o=this.width(),s=this.height();if(e=E(e)?e:0,!isNaN(o)&&!isNaN(s)&&o>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*e)/n.w,(s-2*e)/n.h))>this._private.maxZoom?this._private.maxZoom:a)<this._private.minZoom?this._private.minZoom:a,pan:{x:(o-a*(n.x1+n.x2))/2,y:(s-a*(n.y1+n.y2))/2}}}}},zoomRange:function(t,e){var n=this._private;if(null==e){var i=t;t=i.min,e=i.max}return E(t)&&E(e)&&t<=e?(n.minZoom=t,n.maxZoom=e):E(t)&&void 0===e&&t<=n.maxZoom?n.minZoom=t:E(e)&&void 0===t&&e>=n.minZoom&&(n.maxZoom=e),this},minZoom:function(t){return void 0===t?this._private.minZoom:this.zoomRange({min:t})},maxZoom:function(t){return void 0===t?this._private.maxZoom:this.zoomRange({max:t})},getZoomedViewport:function(t){var e,n,i=this._private,r=i.pan,a=i.zoom,o=!1;if(i.zoomingEnabled||(o=!0),E(t)?n=t:k(t)&&(n=t.level,null!=t.position?e=hn(t.position,a,r):null!=t.renderedPosition&&(e=t.renderedPosition),null!=e&&!i.panningEnabled&&(o=!0)),n=(n=n>i.maxZoom?i.maxZoom:n)<i.minZoom?i.minZoom:n,o||!E(n)||n===a||null!=e&&(!E(e.x)||!E(e.y)))return null;if(null!=e){var s=r,c=a,u=n;return{zoomed:!0,panned:!0,zoom:u,pan:{x:-u/c*(e.x-s.x)+e.x,y:-u/c*(e.y-s.y)+e.y}}}return{zoomed:!0,panned:!1,zoom:n,pan:r}},zoom:function(t){if(void 0===t)return this._private.zoom;var e=this.getZoomedViewport(t),n=this._private;return null!=e&&e.zoomed?(n.zoom=e.zoom,e.panned&&(n.pan.x=e.pan.x,n.pan.y=e.pan.y),this.emit("zoom"+(e.panned?" pan":"")+" viewport"),this.notify("viewport"),this):this},viewport:function(t){var e=this._private,n=!0,i=!0,r=[],a=!1,o=!1;if(!t)return this;if(E(t.zoom)||(n=!1),k(t.pan)||(i=!1),!n&&!i)return this;if(n){var s=t.zoom;s<e.minZoom||s>e.maxZoom||!e.zoomingEnabled?a=!0:(e.zoom=s,r.push("zoom"))}if(i&&(!a||!t.cancelOnFailedZoom)&&e.panningEnabled){var c=t.pan;E(c.x)&&(e.pan.x=c.x,o=!1),E(c.y)&&(e.pan.y=c.y,o=!1),o||r.push("pan")}return r.length>0&&(r.push("viewport"),this.emit(r.join(" ")),this.notify("viewport")),this},center:function(t){var e=this.getCenterPan(t);return e&&(this._private.pan=e,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(t,e){if(this._private.panningEnabled){if(m(t)){var n=t;t=this.mutableElements().filter(n)}else S(t)||(t=this.mutableElements());if(0!==t.length){var i=t.boundingBox(),r=this.width(),a=this.height();return{x:(r-(e=void 0===e?this._private.zoom:e)*(i.x1+i.x2))/2,y:(a-e*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var t,e,n=this._private,i=n.container;return n.sizeCache=n.sizeCache||(i?(t=f.getComputedStyle(i),e=function(e){return parseFloat(t.getPropertyValue(e))},{width:i.clientWidth-e("padding-left")-e("padding-right"),height:i.clientHeight-e("padding-top")-e("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var t=this._private.pan,e=this._private.zoom,n=this.renderedExtent(),i={x1:(n.x1-t.x)/e,x2:(n.x2-t.x)/e,y1:(n.y1-t.y)/e,y2:(n.y2-t.y)/e};return i.w=i.x2-i.x1,i.h=i.y2-i.y1,i},renderedExtent:function(){var t=this.width(),e=this.height();return{x1:0,y1:0,x2:t,y2:e,w:t,h:e}},multiClickDebounceTime:function(t){return t?(this._private.multiClickDebounceTime=t,this):this._private.multiClickDebounceTime}};al.centre=al.center,al.autolockNodes=al.autolock,al.autoungrabifyNodes=al.autoungrabify;var ol={data:ds.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:ds.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:ds.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:ds.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};ol.attr=ol.data,ol.removeAttr=ol.removeData;var sl=function(t){var e=this,n=(t=Z({},t)).container;n&&!C(n)&&C(n[0])&&(n=n[0]);var i=n?n._cyreg:null;(i=i||{})&&i.cy&&(i.cy.destroy(),i={});var r=i.readies=i.readies||[];n&&(n._cyreg=i),i.cy=e;var a=void 0!==f&&void 0!==n&&!t.headless,o=t;o.layout=Z({name:a?"grid":"null"},o.layout),o.renderer=Z({name:a?"canvas":"null"},o.renderer);var s=function(t,e,n){return void 0!==e?e:void 0!==n?n:t},c=this._private={container:n,ready:!1,options:o,elements:new xu(this),listeners:[],aniEles:new xu(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:E(o.zoom)?o.zoom:1,pan:{x:k(o.pan)&&E(o.pan.x)?o.pan.x:0,y:k(o.pan)&&E(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});var u=function(t,e){if(t.some(B))return Fr.all(t).then(e);e(t)};c.styleEnabled&&e.setStyle([]);var l=Z({},o,o.renderer);e.initRenderer(l);var h=function(t,n,i){e.notifications(!1);var r=e.mutableElements();r.length>0&&r.remove(),null!=t&&(k(t)||x(t))&&e.add(t),e.one("layoutready",(function(t){e.notifications(!0),e.emit(t),e.one("load",n),e.emitAndNotify("load")})).one("layoutstop",(function(){e.one("done",i),e.emit("done")}));var a=Z({},e._private.options.layout);a.eles=e.elements(),e.layout(a).run()};u([o.style,o.elements],(function(t){var n=t[0],a=t[1];c.styleEnabled&&e.style().append(n),h(a,(function(){e.startAnimationLoop(),c.ready=!0,v(o.ready)&&e.on("ready",o.ready);for(var t=0;t<r.length;t++){var n=r[t];e.on("ready",n)}i&&(i.readies=[]),e.emit("ready")}),o.done)}))},cl=sl.prototype;Z(cl,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(t){return this.isReady()?this.emitter().emit("ready",[],t):this.on("ready",t),this},destroy:function(){var t=this;if(!t.destroyed())return t.stopAnimationLoop(),t.destroyRenderer(),this.emit("destroy"),t._private.destroyed=!0,t},hasElementWithId:function(t){return this._private.elements.hasElementWithId(t)},getElementById:function(t){return this._private.elements.getElementById(t)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(t){return this._private.elements.merge(t),this},removeFromPool:function(t){return this._private.elements.unmerge(t),this},container:function(){return this._private.container||null},mount:function(t){if(null!=t){var e=this,n=e._private,i=n.options;return!C(t)&&C(t[0])&&(t=t[0]),e.stopAnimationLoop(),e.destroyRenderer(),n.container=t,n.styleEnabled=!0,e.invalidateSize(),e.initRenderer(Z({},i,i.renderer,{name:"null"===i.renderer.name?"canvas":i.renderer.name})),e.startAnimationLoop(),e.style(i.style),e.emit("mount"),e}},unmount:function(){var t=this;return t.stopAnimationLoop(),t.destroyRenderer(),t.initRenderer({name:"null"}),t.emit("unmount"),t},options:function(){return Me(this._private.options)},json:function(t){var e=this,n=e._private,i=e.mutableElements(),r=function(t){return e.getElementById(t.id())};if(k(t)){if(e.startBatch(),t.elements){var a={},o=function(t,n){for(var i=[],r=[],o=0;o<t.length;o++){var s=t[o];if(s.data.id){var c=""+s.data.id,u=e.getElementById(c);a[c]=!0,0!==u.length?r.push({ele:u,json:s}):(n&&(s.group=n),i.push(s))}else Se("cy.json() cannot handle elements without an ID attribute")}e.add(i);for(var l=0;l<r.length;l++){var h=r[l],f=h.ele,d=h.json;f.json(d)}};if(x(t.elements))o(t.elements);else for(var s=["nodes","edges"],c=0;c<s.length;c++){var u=s[c],l=t.elements[u];x(l)&&o(l,u)}var h=e.collection();i.filter((function(t){return!a[t.id()]})).forEach((function(t){t.isParent()?h.merge(t):t.remove()})),h.forEach((function(t){return t.children().move({parent:null})})),h.forEach((function(t){return r(t).remove()}))}t.style&&e.style(t.style),null!=t.zoom&&t.zoom!==n.zoom&&e.zoom(t.zoom),t.pan&&(t.pan.x!==n.pan.x||t.pan.y!==n.pan.y)&&e.pan(t.pan),t.data&&e.data(t.data);for(var f=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],d=0;d<f.length;d++){var g=f[d];null!=t[g]&&e[g](t[g])}return e.endBatch(),this}var p={};t?p.elements=this.elements().map((function(t){return t.json()})):(p.elements={},i.forEach((function(t){var e=t.group();p.elements[e]||(p.elements[e]=[]),p.elements[e].push(t.json())}))),this._private.styleEnabled&&(p.style=e.style().json()),p.data=Me(e.data());var b=n.options;return p.zoomingEnabled=n.zoomingEnabled,p.userZoomingEnabled=n.userZoomingEnabled,p.zoom=n.zoom,p.minZoom=n.minZoom,p.maxZoom=n.maxZoom,p.panningEnabled=n.panningEnabled,p.userPanningEnabled=n.userPanningEnabled,p.pan=Me(n.pan),p.boxSelectionEnabled=n.boxSelectionEnabled,p.renderer=Me(b.renderer),p.hideEdgesOnViewport=b.hideEdgesOnViewport,p.textureOnViewport=b.textureOnViewport,p.wheelSensitivity=b.wheelSensitivity,p.motionBlur=b.motionBlur,p.multiClickDebounceTime=b.multiClickDebounceTime,p}}),cl.$id=cl.getElementById,[_u,Pu,Ru,$u,Fu,zu,Uu,Gu,il,al,ol].forEach((function(t){Z(cl,t)}));var ul={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximal:!1,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}},ll=function(t){return t.scratch("breadthfirst")},hl=function(t,e){return t.scratch("breadthfirst",e)};function fl(t){this.options=Z({},ul,t)}fl.prototype.run=function(){var t,e=this.options,n=e,i=e.cy,r=n.eles,a=r.nodes().filter((function(t){return!t.isParent()})),o=r,s=n.directed,c=n.maximal||n.maximalAdjustments>0,u=Mn(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()});if(S(n.roots))t=n.roots;else if(x(n.roots)){for(var l=[],h=0;h<n.roots.length;h++){var f=n.roots[h],d=i.getElementById(f);l.push(d)}t=i.collection(l)}else if(m(n.roots))t=i.$(n.roots);else if(s)t=a.roots();else{var g=r.components();t=i.collection();for(var p=function(e){var n=g[e],i=n.maxDegree(!1),r=n.filter((function(t){return t.degree(!1)===i}));t=t.add(r)},b=0;b<g.length;b++)p(b)}var w=[],y={},v=function(t,e){null==w[e]&&(w[e]=[]);var n=w[e].length;w[e].push(t),hl(t,{index:n,depth:e})},k=function(t,e){var n=ll(t),i=n.depth,r=n.index;w[i][r]=null,v(t,e)};o.bfs({roots:t,directed:n.directed,visit:function(t,e,n,i,r){var a=t[0],o=a.id();v(a,r),y[o]=!0}});for(var _=[],E=0;E<a.length;E++){var T=a[E];y[T.id()]||_.push(T)}var C=function(t){for(var e=w[t],n=0;n<e.length;n++){var i=e[n];null!=i?hl(i,{depth:t,index:n}):(e.splice(n,1),n--)}},A=function(){for(var t=0;t<w.length;t++)C(t)},M=function(t,e){for(var n=ll(t),i=t.incomers().filter((function(t){return t.isNode()&&r.has(t)})),a=-1,o=t.id(),s=0;s<i.length;s++){var c=i[s],u=ll(c);a=Math.max(a,u.depth)}return n.depth<=a&&(e[o]?null:(k(t,a+1),e[o]=!0,!0))};if(s&&c){var I=[],O={},L=function(t){return I.push(t)},N=function(){return I.shift()};for(a.forEach((function(t){return I.push(t)}));I.length>0;){var D=N(),P=M(D,O);if(P)D.outgoers().filter((function(t){return t.isNode()&&r.has(t)})).forEach(L);else if(null===P){Se("Detected double maximal shift for node `"+D.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}A();var B=0;if(n.avoidOverlap)for(var j=0;j<a.length;j++){var R=a[j].layoutDimensions(n),$=R.w,F=R.h;B=Math.max(B,$,F)}var z={},H=function(t){if(z[t.id()])return z[t.id()];for(var e=ll(t).depth,n=t.neighborhood(),i=0,r=0,o=0;o<n.length;o++){var s=n[o];if(!s.isEdge()&&!s.isParent()&&a.has(s)){var c=ll(s);if(null!=c){var u=c.index,l=c.depth;if(null!=u&&null!=l){var h=w[l].length;l<e&&(i+=u/h,r++)}}}}return i/=r=Math.max(1,r),0===r&&(i=0),z[t.id()]=i,i},U=function(t,e){var n=H(t)-H(e);return 0===n?V(t.id(),e.id()):n};void 0!==n.depthSort&&(U=n.depthSort);for(var G=0;G<w.length;G++)w[G].sort(U),C(G);for(var q=[],K=0;K<_.length;K++)q.push(_[K]);w.unshift(q),A();for(var Y=0,W=0;W<w.length;W++)Y=Math.max(w[W].length,Y);var X={x:u.x1+u.w/2,y:u.x1+u.h/2},Q=w.reduce((function(t,e){return Math.max(t,e.length)}),0),Z=function(t){var e=ll(t),i=e.depth,r=e.index,a=w[i].length,o=Math.max(u.w/((n.grid?Q:a)+1),B),s=Math.max(u.h/(w.length+1),B),c=Math.min(u.w/2/w.length,u.h/2/w.length);if(c=Math.max(c,B),n.circle){var l=c*i+c-(w.length>0&&w[0].length<=3?c/2:0),h=2*Math.PI/w[i].length*r;return 0===i&&1===w[0].length&&(l=1),{x:X.x+l*Math.cos(h),y:X.y+l*Math.sin(h)}}return{x:X.x+(r+1-(a+1)/2)*o,y:(i+1)*s}};return r.nodes().layoutPositions(this,n,Z),this};var dl={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function gl(t){this.options=Z({},dl,t)}gl.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=i.nodes().not(":parent");e.sort&&(a=a.sort(e.sort));for(var o,s=Mn(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===e.sweep?2*Math.PI-2*Math.PI/a.length:e.sweep)/Math.max(1,a.length-1),l=0,h=0;h<a.length;h++){var f=a[h].layoutDimensions(e),d=f.w,g=f.h;l=Math.max(l,d,g)}if(o=E(e.radius)?e.radius:a.length<=1?0:Math.min(s.h,s.w)/2-l,a.length>1&&e.avoidOverlap){l*=1.75;var p=Math.cos(u)-Math.cos(0),b=Math.sin(u)-Math.sin(0),w=Math.sqrt(l*l/(p*p+b*b));o=Math.max(w,o)}var y=function(t,n){var i=e.startAngle+n*u*(r?1:-1),a=o*Math.cos(i),s=o*Math.sin(i);return{x:c.x+a,y:c.y+s}};return i.nodes().layoutPositions(this,e,y),this};var pl={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(t){return t.degree()},levelWidth:function(t){return t.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function bl(t){this.options=Z({},pl,t)}bl.prototype.run=function(){for(var t=this.options,e=t,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,i=t.cy,r=e.eles,a=r.nodes().not(":parent"),o=Mn(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},c=[],u=0,l=0;l<a.length;l++){var h=a[l],f=void 0;f=e.concentric(h),c.push({value:f,node:h}),h._private.scratch.concentric=f}a.updateStyle();for(var d=0;d<a.length;d++){var g=a[d].layoutDimensions(e);u=Math.max(u,g.w,g.h)}c.sort((function(t,e){return e.value-t.value}));for(var p=e.levelWidth(a),b=[[]],w=b[0],y=0;y<c.length;y++){var m=c[y];w.length>0&&Math.abs(w[0].value-m.value)>=p&&(w=[],b.push(w)),w.push(m)}var v=u+e.minNodeSpacing;if(!e.avoidOverlap){var x=b.length>0&&b[0].length>1,k=(Math.min(o.w,o.h)/2-v)/(b.length+x?1:0);v=Math.min(v,k)}for(var _=0,E=0;E<b.length;E++){var T=b[E],C=void 0===e.sweep?2*Math.PI-2*Math.PI/T.length:e.sweep,S=T.dTheta=C/Math.max(1,T.length-1);if(T.length>1&&e.avoidOverlap){var A=Math.cos(S)-Math.cos(0),M=Math.sin(S)-Math.sin(0),I=Math.sqrt(v*v/(A*A+M*M));_=Math.max(I,_)}T.r=_,_+=v}if(e.equidistant){for(var O=0,L=0,N=0;N<b.length;N++){var D=b[N].r-L;O=Math.max(O,D)}L=0;for(var P=0;P<b.length;P++){var B=b[P];0===P&&(L=B.r),B.r=L,L+=O}}for(var j={},R=0;R<b.length;R++)for(var $=b[R],F=$.dTheta,z=$.r,H=0;H<$.length;H++){var U=$[H],G=e.startAngle+(n?1:-1)*F*H,q={x:s.x+z*Math.cos(G),y:s.y+z*Math.sin(G)};j[U.node.id()]=q}return r.nodes().layoutPositions(this,e,(function(t){var e=t.id();return j[e]})),this};var wl,yl={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(t,e){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(t){return 2048},nodeOverlap:4,idealEdgeLength:function(t){return 32},edgeElasticity:function(t){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function ml(t){this.options=Z({},yl,t),this.options.layout=this}ml.prototype.run=function(){var t=this.options,e=t.cy,n=this;n.stopped=!1,(!0===t.animate||!1===t.animate)&&n.emit({type:"layoutstart",layout:n}),wl=!0===t.debug;var i=xl(e,n,t);wl&&vl(i),t.randomize&&El(i);var r=ie(),a=function(){Cl(i,e,t),!0===t.fit&&e.fit(t.padding)},o=function(e){return!(n.stopped||e>=t.numIter||(Sl(i,t),i.temperature=i.temperature*t.coolingFactor,i.temperature<t.minTemp))},s=function(){if(!0===t.animate||!1===t.animate)a(),n.one("layoutstop",t.stop),n.emit({type:"layoutstop",layout:n});else{var e=t.eles.nodes(),r=Tl(i,t,e);e.layoutPositions(n,t,r)}},c=0,u=!0;if(!0===t.animate)!function e(){for(var n=0;u&&n<t.refresh;)u=o(c),c++,n++;u?(ie()-r>=t.animationThreshold&&a(),ne(e)):($l(i,t),s())}();else{for(;u;)u=o(c),c++;$l(i,t),s()}return this},ml.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},ml.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var vl,xl=function(t,e,n){for(var i=n.eles.edges(),r=n.eles.nodes(),a={isCompound:t.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:r.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:i.size(),temperature:n.initialTemp,clientWidth:t.width(),clientHeight:t.width(),boundingBox:Mn(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()})},o=n.eles.components(),s={},c=0;c<o.length;c++)for(var u=o[c],l=0;l<u.length;l++)s[u[l].id()]=c;for(c=0;c<a.nodeSize;c++){var h=(b=r[c]).layoutDimensions(n);(N={}).isLocked=b.locked(),N.id=b.data("id"),N.parentId=b.data("parent"),N.cmptId=s[b.id()],N.children=[],N.positionX=b.position("x"),N.positionY=b.position("y"),N.offsetX=0,N.offsetY=0,N.height=h.w,N.width=h.h,N.maxX=N.positionX+N.width/2,N.minX=N.positionX-N.width/2,N.maxY=N.positionY+N.height/2,N.minY=N.positionY-N.height/2,N.padLeft=parseFloat(b.style("padding")),N.padRight=parseFloat(b.style("padding")),N.padTop=parseFloat(b.style("padding")),N.padBottom=parseFloat(b.style("padding")),N.nodeRepulsion=v(n.nodeRepulsion)?n.nodeRepulsion(b):n.nodeRepulsion,a.layoutNodes.push(N),a.idToIndex[N.id]=c}var f=[],d=0,g=-1,p=[];for(c=0;c<a.nodeSize;c++){var b,w=(b=a.layoutNodes[c]).parentId;null!=w?a.layoutNodes[a.idToIndex[w]].children.push(b.id):(f[++g]=b.id,p.push(b.id))}for(a.graphSet.push(p);d<=g;){var y=f[d++],m=a.idToIndex[y],x=a.layoutNodes[m].children;if(x.length>0)for(a.graphSet.push(x),c=0;c<x.length;c++)f[++g]=x[c]}for(c=0;c<a.graphSet.length;c++){var k=a.graphSet[c];for(l=0;l<k.length;l++){var _=a.idToIndex[k[l]];a.indexToGraph[_]=c}}for(c=0;c<a.edgeSize;c++){var E=i[c],T={};T.id=E.data("id"),T.sourceId=E.data("source"),T.targetId=E.data("target");var C=v(n.idealEdgeLength)?n.idealEdgeLength(E):n.idealEdgeLength,S=v(n.edgeElasticity)?n.edgeElasticity(E):n.edgeElasticity,A=a.idToIndex[T.sourceId],M=a.idToIndex[T.targetId];if(a.indexToGraph[A]!=a.indexToGraph[M]){for(var I=kl(T.sourceId,T.targetId,a),O=a.graphSet[I],L=0,N=a.layoutNodes[A];-1===O.indexOf(N.id);)N=a.layoutNodes[a.idToIndex[N.parentId]],L++;for(N=a.layoutNodes[M];-1===O.indexOf(N.id);)N=a.layoutNodes[a.idToIndex[N.parentId]],L++;C*=L*n.nestingFactor}T.idealLength=C,T.elasticity=S,a.layoutEdges.push(T)}return a},kl=function(t,e,n){var i=_l(t,e,0,n);return 2>i.count?0:i.graph},_l=function t(e,n,i,r){var a=r.graphSet[i];if(-1<a.indexOf(e)&&-1<a.indexOf(n))return{count:2,graph:i};for(var o=0,s=0;s<a.length;s++){var c=a[s],u=r.idToIndex[c],l=r.layoutNodes[u].children;if(0!==l.length){var h=t(e,n,r.indexToGraph[r.idToIndex[l[0]]],r);if(0!==h.count){if(1!==h.count)return h;if(2==++o)break}}}return{count:o,graph:i}},El=function(t,e){for(var n=t.clientWidth,i=t.clientHeight,r=0;r<t.nodeSize;r++){var a=t.layoutNodes[r];0===a.children.length&&!a.isLocked&&(a.positionX=Math.random()*n,a.positionY=Math.random()*i)}},Tl=function(t,e,n){var i=t.boundingBox,r={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return e.boundingBox&&(n.forEach((function(e){var n=t.layoutNodes[t.idToIndex[e.data("id")]];r.x1=Math.min(r.x1,n.positionX),r.x2=Math.max(r.x2,n.positionX),r.y1=Math.min(r.y1,n.positionY),r.y2=Math.max(r.y2,n.positionY)})),r.w=r.x2-r.x1,r.h=r.y2-r.y1),function(n,a){var o=t.layoutNodes[t.idToIndex[n.data("id")]];if(e.boundingBox){var s=(o.positionX-r.x1)/r.w,c=(o.positionY-r.y1)/r.h;return{x:i.x1+s*i.w,y:i.y1+c*i.h}}return{x:o.positionX,y:o.positionY}}},Cl=function(t,e,n){var i=n.layout,r=n.eles.nodes(),a=Tl(t,n,r);r.positions(a),!0!==t.ready&&(t.ready=!0,i.one("layoutready",n.ready),i.emit({type:"layoutready",layout:this}))},Sl=function(t,e,n){Al(t,e),Nl(t),Dl(t,e),Pl(t),Bl(t)},Al=function(t,e){for(var n=0;n<t.graphSet.length;n++)for(var i=t.graphSet[n],r=i.length,a=0;a<r;a++)for(var o=t.layoutNodes[t.idToIndex[i[a]]],s=a+1;s<r;s++){var c=t.layoutNodes[t.idToIndex[i[s]]];Il(o,c,t,e)}},Ml=function(t){return-t+2*t*Math.random()},Il=function(t,e,n,i){if(t.cmptId===e.cmptId||n.isCompound){var r=e.positionX-t.positionX,a=e.positionY-t.positionY,o=1;0===r&&0===a&&(r=Ml(o),a=Ml(o));var s=Ol(t,e,r,a);if(s>0)var c=(l=i.nodeOverlap*s)*r/(b=Math.sqrt(r*r+a*a)),u=l*a/b;else{var l,h=Ll(t,r,a),f=Ll(e,-1*r,-1*a),d=f.x-h.x,g=f.y-h.y,p=d*d+g*g,b=Math.sqrt(p);c=(l=(t.nodeRepulsion+e.nodeRepulsion)/p)*d/b,u=l*g/b}t.isLocked||(t.offsetX-=c,t.offsetY-=u),e.isLocked||(e.offsetX+=c,e.offsetY+=u)}},Ol=function(t,e,n,i){if(n>0)var r=t.maxX-e.minX;else r=e.maxX-t.minX;if(i>0)var a=t.maxY-e.minY;else a=e.maxY-t.minY;return r>=0&&a>=0?Math.sqrt(r*r+a*a):0},Ll=function(t,e,n){var i=t.positionX,r=t.positionY,a=t.height||1,o=t.width||1,s=n/e,c=a/o,u={};return 0===e&&0<n||0===e&&0>n?(u.x=i,u.y=r+a/2,u):0<e&&-1*c<=s&&s<=c?(u.x=i+o/2,u.y=r+o*n/2/e,u):0>e&&-1*c<=s&&s<=c?(u.x=i-o/2,u.y=r-o*n/2/e,u):0<n&&(s<=-1*c||s>=c)?(u.x=i+a*e/2/n,u.y=r+a/2,u):(0>n&&(s<=-1*c||s>=c)&&(u.x=i-a*e/2/n,u.y=r-a/2),u)},Nl=function(t,e){for(var n=0;n<t.edgeSize;n++){var i=t.layoutEdges[n],r=t.idToIndex[i.sourceId],a=t.layoutNodes[r],o=t.idToIndex[i.targetId],s=t.layoutNodes[o],c=s.positionX-a.positionX,u=s.positionY-a.positionY;if(0!==c||0!==u){var l=Ll(a,c,u),h=Ll(s,-1*c,-1*u),f=h.x-l.x,d=h.y-l.y,g=Math.sqrt(f*f+d*d),p=Math.pow(i.idealLength-g,2)/i.elasticity;if(0!==g)var b=p*f/g,w=p*d/g;else b=0,w=0;a.isLocked||(a.offsetX+=b,a.offsetY+=w),s.isLocked||(s.offsetX-=b,s.offsetY-=w)}}},Dl=function(t,e){if(0!==e.gravity)for(var n=1,i=0;i<t.graphSet.length;i++){var r=t.graphSet[i],a=r.length;if(0===i)var o=t.clientHeight/2,s=t.clientWidth/2;else{var c=t.layoutNodes[t.idToIndex[r[0]]],u=t.layoutNodes[t.idToIndex[c.parentId]];o=u.positionX,s=u.positionY}for(var l=0;l<a;l++){var h=t.layoutNodes[t.idToIndex[r[l]]];if(!h.isLocked){var f=o-h.positionX,d=s-h.positionY,g=Math.sqrt(f*f+d*d);if(g>n){var p=e.gravity*f/g,b=e.gravity*d/g;h.offsetX+=p,h.offsetY+=b}}}}},Pl=function(t,e){var n=[],i=0,r=-1;for(n.push.apply(n,t.graphSet[0]),r+=t.graphSet[0].length;i<=r;){var a=n[i++],o=t.idToIndex[a],s=t.layoutNodes[o],c=s.children;if(0<c.length&&!s.isLocked){for(var u=s.offsetX,l=s.offsetY,h=0;h<c.length;h++){var f=t.layoutNodes[t.idToIndex[c[h]]];f.offsetX+=u,f.offsetY+=l,n[++r]=c[h]}s.offsetX=0,s.offsetY=0}}},Bl=function(t,e){for(var n=0;n<t.nodeSize;n++)0<(r=t.layoutNodes[n]).children.length&&(r.maxX=void 0,r.minX=void 0,r.maxY=void 0,r.minY=void 0);for(n=0;n<t.nodeSize;n++)if(!(0<(r=t.layoutNodes[n]).children.length||r.isLocked)){var i=jl(r.offsetX,r.offsetY,t.temperature);r.positionX+=i.x,r.positionY+=i.y,r.offsetX=0,r.offsetY=0,r.minX=r.positionX-r.width,r.maxX=r.positionX+r.width,r.minY=r.positionY-r.height,r.maxY=r.positionY+r.height,Rl(r,t)}for(n=0;n<t.nodeSize;n++){var r;0<(r=t.layoutNodes[n]).children.length&&!r.isLocked&&(r.positionX=(r.maxX+r.minX)/2,r.positionY=(r.maxY+r.minY)/2,r.width=r.maxX-r.minX,r.height=r.maxY-r.minY)}},jl=function(t,e,n){var i=Math.sqrt(t*t+e*e);if(i>n)var r={x:n*t/i,y:n*e/i};else r={x:t,y:e};return r},Rl=function t(e,n){var i=e.parentId;if(null!=i){var r=n.layoutNodes[n.idToIndex[i]],a=!1;if((null==r.maxX||e.maxX+r.padRight>r.maxX)&&(r.maxX=e.maxX+r.padRight,a=!0),(null==r.minX||e.minX-r.padLeft<r.minX)&&(r.minX=e.minX-r.padLeft,a=!0),(null==r.maxY||e.maxY+r.padBottom>r.maxY)&&(r.maxY=e.maxY+r.padBottom,a=!0),(null==r.minY||e.minY-r.padTop<r.minY)&&(r.minY=e.minY-r.padTop,a=!0),a)return t(r,n)}},$l=function(t,e){for(var n=t.layoutNodes,i=[],r=0;r<n.length;r++){var a=n[r],o=a.cmptId;(i[o]=i[o]||[]).push(a)}var s=0;for(r=0;r<i.length;r++)if(p=i[r]){p.x1=1/0,p.x2=-1/0,p.y1=1/0,p.y2=-1/0;for(var c=0;c<p.length;c++){var u=p[c];p.x1=Math.min(p.x1,u.positionX-u.width/2),p.x2=Math.max(p.x2,u.positionX+u.width/2),p.y1=Math.min(p.y1,u.positionY-u.height/2),p.y2=Math.max(p.y2,u.positionY+u.height/2)}p.w=p.x2-p.x1,p.h=p.y2-p.y1,s+=p.w*p.h}i.sort((function(t,e){return e.w*e.h-t.w*t.h}));var l=0,h=0,f=0,d=0,g=Math.sqrt(s)*t.clientWidth/t.clientHeight;for(r=0;r<i.length;r++){var p;if(p=i[r]){for(c=0;c<p.length;c++)(u=p[c]).isLocked||(u.positionX+=l-p.x1,u.positionY+=h-p.y1);l+=p.w+e.componentSpacing,f+=p.w+e.componentSpacing,d=Math.max(d,p.h),f>g&&(h+=d+e.componentSpacing,l=0,f=0,d=0)}}},Fl={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(t){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function zl(t){this.options=Z({},Fl,t)}zl.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=i.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var a=Mn(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)i.nodes().layoutPositions(this,e,(function(t){return{x:a.x1,y:a.y1}}));else{var o=r.size(),s=Math.sqrt(o*a.h/a.w),c=Math.round(s),u=Math.round(a.w/a.h*s),l=function(t){if(null==t)return Math.min(c,u);Math.min(c,u)==c?c=t:u=t},h=function(t){if(null==t)return Math.max(c,u);Math.max(c,u)==c?c=t:u=t},f=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=f&&null!=d)c=f,u=d;else if(null!=f&&null==d)c=f,u=Math.ceil(o/c);else if(null==f&&null!=d)u=d,c=Math.ceil(o/u);else if(u*c>o){var g=l(),p=h();(g-1)*p>=o?l(g-1):(p-1)*g>=o&&h(p-1)}else for(;u*c<o;){var b=l(),w=h();(w+1)*b>=o?h(w+1):l(b+1)}var y=a.w/u,m=a.h/c;if(e.condense&&(y=0,m=0),e.avoidOverlap)for(var v=0;v<r.length;v++){var x=r[v],k=x._private.position;(null==k.x||null==k.y)&&(k.x=0,k.y=0);var _=x.layoutDimensions(e),E=e.avoidOverlapPadding,T=_.w+E,C=_.h+E;y=Math.max(y,T),m=Math.max(m,C)}for(var S={},A=function(t,e){return!!S["c-"+t+"-"+e]},M=function(t,e){S["c-"+t+"-"+e]=!0},I=0,O=0,L=function(){++O>=u&&(O=0,I++)},N={},D=0;D<r.length;D++){var P=r[D],B=e.position(P);if(B&&(void 0!==B.row||void 0!==B.col)){var j={row:B.row,col:B.col};if(void 0===j.col)for(j.col=0;A(j.row,j.col);)j.col++;else if(void 0===j.row)for(j.row=0;A(j.row,j.col);)j.row++;N[P.id()]=j,M(j.row,j.col)}}var R=function(t,e){var n,i;if(t.locked()||t.isParent())return!1;var r=N[t.id()];if(r)n=r.col*y+y/2+a.x1,i=r.row*m+m/2+a.y1;else{for(;A(I,O);)L();n=O*y+y/2+a.x1,i=I*m+m/2+a.y1,M(I,O),L()}return{x:n,y:i}};r.layoutPositions(this,e,R)}return this};var Hl={ready:function(){},stop:function(){}};function Ul(t){this.options=Z({},Hl,t)}Ul.prototype.run=function(){var t=this.options,e=t.eles,n=this;return t.cy,n.emit("layoutstart"),e.nodes().positions((function(){return{x:0,y:0}})),n.one("layoutready",t.ready),n.emit("layoutready"),n.one("layoutstop",t.stop),n.emit("layoutstop"),this},Ul.prototype.stop=function(){return this};var Gl={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function ql(t){this.options=Z({},Gl,t)}ql.prototype.run=function(){var t=this.options,e=t.eles.nodes(),n=v(t.positions);function i(e){return null==t.positions?ln(e.position()):n?t.positions(e):t.positions[e._private.data.id]??null}return e.layoutPositions(this,t,(function(t,e){var n=i(t);return!t.locked()&&null!=n&&n})),this};var Kl={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Yl(t){this.options=Z({},Kl,t)}Yl.prototype.run=function(){var t=this.options,e=t.cy,n=t.eles,i=Mn(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),r=function(t,e){return{x:i.x1+Math.round(Math.random()*i.w),y:i.y1+Math.round(Math.random()*i.h)}};return n.nodes().layoutPositions(this,t,r),this};var Wl=[{name:"breadthfirst",impl:fl},{name:"circle",impl:gl},{name:"concentric",impl:bl},{name:"cose",impl:ml},{name:"grid",impl:zl},{name:"null",impl:Ul},{name:"preset",impl:ql},{name:"random",impl:Yl}];function Xl(t){this.options=t,this.notifications=0}var Vl=function(){},Ql=function(){throw new Error("A headless instance can not render images")};Xl.prototype={recalculateRenderedStyle:Vl,notify:function(){this.notifications++},init:Vl,isHeadless:function(){return!0},png:Ql,jpg:Ql};var Zl={arrowShapeWidth:.3,registerArrowShapes:function(){var t=this.arrowShapes={},e=this,n=function(t,e,n,i,r,a,o){var s=r.x-n/2-o,c=r.x+n/2+o,u=r.y-n/2-o,l=r.y+n/2+o;return s<=t&&t<=c&&u<=e&&e<=l},i=function(t,e,n,i,r){var a=t*Math.cos(i)-e*Math.sin(i),o=(t*Math.sin(i)+e*Math.cos(i))*n;return{x:a*n+r.x,y:o+r.y}},r=function(t,e,n,r){for(var a=[],o=0;o<t.length;o+=2){var s=t[o],c=t[o+1];a.push(i(s,c,e,n,r))}return a},a=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];e.push(i.x,i.y)}return e},o=function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").pfValue*2},s=function(i,s){m(s)&&(s=t[s]),t[i]=Z({name:i,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(t,e,n,i,o,s){var c=a(r(this.points,n+2*s,i,o));return Wn(t,e,c)},roughCollide:n,draw:function(t,n,i,a){var o=r(this.points,n,i,a);e.arrowShapeImpl("polygon")(t,o)},spacing:function(t){return 0},gap:o},s)};s("none",{collide:ke,roughCollide:ke,draw:Ee,spacing:_e,gap:_e}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:t.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(t,n,a,o,s){var c=r(this.points,n,a,o),u=this.controlPoint,l=i(u[0],u[1],n,a,o);e.arrowShapeImpl(this.name)(t,c,l)},gap:function(t){return.8*o(t)}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.pointsTee,n+2*c,i,o));return Wn(t,e,u)||Wn(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.pointsTee,n,i,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(t,e,n,i,o,s,c){var u=o,l=Math.pow(u.x-t,2)+Math.pow(u.y-e,2)<=Math.pow((n+2*c)*this.radius,2),h=a(r(this.points,n+2*c,i,o));return Wn(t,e,h)||l},draw:function(t,n,i,a,o){var s=r(this.pointsTr,n,i,a);e.arrowShapeImpl(this.name)(t,s,a.x,a.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(t,e){var n=this.baseCrossLinePts.slice(),i=e/t,r=3,a=5;return n[r]=n[r]-i,n[a]=n[a]-i,n},collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.crossLinePts(n,s),n+2*c,i,o));return Wn(t,e,u)||Wn(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.crossLinePts(n,o),n,i,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(t){return.525*o(t)}}),s("circle",{radius:.15,collide:function(t,e,n,i,r,a,o){var s=r;return Math.pow(s.x-t,2)+Math.pow(s.y-e,2)<=Math.pow((n+2*o)*this.radius,2)},draw:function(t,n,i,r,a){e.arrowShapeImpl(this.name)(t,r.x,r.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(t){return 1},gap:function(t){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(t){return.95*t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}})}},Jl={projectIntoViewport:function(t,e){var n=this.cy,i=this.findContainerClientCoords(),r=i[0],a=i[1],o=i[4],s=n.pan(),c=n.zoom();return[((t-r)/o-s.x)/c,((e-a)/o-s.y)/c]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var t=this.container,e=t.getBoundingClientRect(),n=f.getComputedStyle(t),i=function(t){return parseFloat(n.getPropertyValue(t))},r={left:i("padding-left"),right:i("padding-right"),top:i("padding-top"),bottom:i("padding-bottom")},a={left:i("border-left-width"),right:i("border-right-width"),top:i("border-top-width"),bottom:i("border-bottom-width")},o=t.clientWidth,s=t.clientHeight,c=r.left+r.right,u=r.top+r.bottom,l=a.left+a.right,h=e.width/(o+l),d=o-c,g=s-u,p=e.left+r.left+a.left,b=e.top+r.top+a.top;return this.containerBB=[p,b,d,g,h]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(t,e,n,i){return this.findNearestElements(t,e,n,i)[0]},findNearestElements:function(t,e,n,i){var r,a,o=this,s=this,c=s.getCachedZSortedEles(),u=[],l=s.cy.zoom(),h=s.cy.hasCompoundNodes(),f=(i?24:8)/l,d=(i?8:2)/l,g=(i?8:2)/l,p=1/0;function b(t,e){if(t.isNode()){if(a)return;a=t,u.push(t)}if(t.isEdge()&&(null==e||e<p))if(r){if(r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value&&r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value)for(var n=0;n<u.length;n++)if(u[n].isEdge()){u[n]=t,r=t,p=e??p;break}}else u.push(t),r=t,p=e??p}function w(n){var i=n.outerWidth()+2*d,r=n.outerHeight()+2*d,a=i/2,c=r/2,u=n.position();if(u.x-a<=t&&t<=u.x+a&&u.y-c<=e&&e<=u.y+c&&s.nodeShapes[o.getNodeShape(n)].checkPoint(t,e,0,i,r,u.x,u.y))return b(n,0),!0}function y(n){var i,r=n._private,a=r.rscratch,c=n.pstyle("width").pfValue,l=n.pstyle("arrow-scale").value,d=c/2+f,g=d*d,p=2*d,y=r.source,m=r.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var v=a.allpts,x=0;x+3<v.length;x+=2)if(Hn(t,e,v[x],v[x+1],v[x+2],v[x+3],p)&&g>(i=Yn(t,e,v[x],v[x+1],v[x+2],v[x+3])))return b(n,i),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(v=a.allpts,x=0;x+5<a.allpts.length;x+=4)if(Un(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5],p)&&g>(i=Kn(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5])))return b(n,i),!0;y=y||r.source,m=m||r.target;var k=o.getArrowWidth(c,l),_=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(x=0;x<_.length;x++){var E=_[x],T=s.arrowShapes[n.pstyle(E.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(T.roughCollide(t,e,k,E.angle,{x:E.x,y:E.y},C,f)&&T.collide(t,e,k,E.angle,{x:E.x,y:E.y},C,f))return b(n),!0}h&&u.length>0&&(w(y),w(m))}function m(t,e,n){return Re(t,e,n)}function v(n,i){var r,a=n._private,o=g;r=i?i+"-":"",n.boundingBox();var s=a.labelBounds[i||"main"],c=n.pstyle(r+"label").value;if("yes"===n.pstyle("text-events").strValue&&c){var u=m(a.rscratch,"labelX",i),l=m(a.rscratch,"labelY",i),h=m(a.rscratch,"labelAngle",i),f=n.pstyle(r+"text-margin-x").pfValue,d=n.pstyle(r+"text-margin-y").pfValue,p=s.x1-o-f,w=s.x2+o-f,y=s.y1-o-d,v=s.y2+o-d;if(h){var x=Math.cos(h),k=Math.sin(h),_=function(t,e){return{x:(t-=u)*x-(e-=l)*k+u,y:t*k+e*x+l}},E=_(p,y),T=_(p,v),C=_(w,y),S=_(w,v),A=[E.x+f,E.y+d,C.x+f,C.y+d,S.x+f,S.y+d,T.x+f,T.y+d];if(Wn(t,e,A))return b(n),!0}else if(Rn(s,t,e))return b(n),!0}}n&&(c=c.interactive);for(var x=c.length-1;x>=0;x--){var k=c[x];k.isNode()?w(k)||v(k):y(k)||v(k)||v(k,"source")||v(k,"target")}return u},getAllInBox:function(t,e,n,i){for(var r=this.getCachedZSortedEles().interactive,a=[],o=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,i),u=Math.max(e,i),l=Mn({x1:t=o,y1:e=c,x2:n=s,y2:i=u}),h=0;h<r.length;h++){var f=r[h];if(f.isNode()){var d=f,g=d.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});jn(l,g)&&!Fn(g,l)&&a.push(d)}else{var p=f,b=p._private,w=b.rscratch;if(null!=w.startX&&null!=w.startY&&!Rn(l,w.startX,w.startY)||null!=w.endX&&null!=w.endY&&!Rn(l,w.endX,w.endY))continue;if("bezier"===w.edgeType||"multibezier"===w.edgeType||"self"===w.edgeType||"compound"===w.edgeType||"segments"===w.edgeType||"haystack"===w.edgeType){for(var y=b.rstyle.bezierPts||b.rstyle.linePts||b.rstyle.haystackPts,m=!0,v=0;v<y.length;v++)if(!$n(l,y[v])){m=!1;break}m&&a.push(p)}else("haystack"===w.edgeType||"straight"===w.edgeType)&&a.push(p)}}return a}},th={calculateArrowAngles:function(t){var e,n,i,r,a,o,s=t._private.rscratch,c="haystack"===s.edgeType,u="bezier"===s.edgeType,l="multibezier"===s.edgeType,h="segments"===s.edgeType,f="compound"===s.edgeType,d="self"===s.edgeType;if(c?(i=s.haystackPts[0],r=s.haystackPts[1],a=s.haystackPts[2],o=s.haystackPts[3]):(i=s.arrowStartX,r=s.arrowStartY,a=s.arrowEndX,o=s.arrowEndY),p=s.midX,b=s.midY,h)e=i-s.segpts[0],n=r-s.segpts[1];else if(l||f||d||u){var g=s.allpts;e=i-Tn(g[0],g[2],g[4],.1),n=r-Tn(g[1],g[3],g[5],.1)}else e=i-p,n=r-b;s.srcArrowAngle=mn(e,n);var p=s.midX,b=s.midY;if(c&&(p=(i+a)/2,b=(r+o)/2),e=a-i,n=o-r,h)if((g=s.allpts).length/2%2==0){var w=(y=g.length/2)-2;e=g[y]-g[w],n=g[y+1]-g[w+1]}else{w=(y=g.length/2-1)-2;var y,m=y+2;e=g[y]-g[w],n=g[y+1]-g[w+1]}else if(l||f||d){var v,x,k,_,g=s.allpts;if(s.ctrlpts.length/2%2==0){var E=2+(T=2+(C=g.length/2-1));v=Tn(g[C],g[T],g[E],0),x=Tn(g[C+1],g[T+1],g[E+1],0),k=Tn(g[C],g[T],g[E],1e-4),_=Tn(g[C+1],g[T+1],g[E+1],1e-4)}else{var T,C;E=2+(T=g.length/2-1),v=Tn(g[C=T-2],g[T],g[E],.4999),x=Tn(g[C+1],g[T+1],g[E+1],.4999),k=Tn(g[C],g[T],g[E],.5),_=Tn(g[C+1],g[T+1],g[E+1],.5)}e=k-v,n=_-x}if(s.midtgtArrowAngle=mn(e,n),s.midDispX=e,s.midDispY=n,e*=-1,n*=-1,h&&(g=s.allpts).length/2%2!=0&&(e=-(g[m=2+(y=g.length/2-1)]-g[y]),n=-(g[m+1]-g[y+1])),s.midsrcArrowAngle=mn(e,n),h)e=a-s.segpts[s.segpts.length-2],n=o-s.segpts[s.segpts.length-1];else if(l||f||d||u){var S=(g=s.allpts).length;e=a-Tn(g[S-6],g[S-4],g[S-2],.9),n=o-Tn(g[S-5],g[S-3],g[S-1],.9)}else e=a-p,n=o-b;s.tgtArrowAngle=mn(e,n)}};th.getArrowWidth=th.getArrowHeight=function(t,e){var n=this.arrowWidthCache=this.arrowWidthCache||{},i=n[t+", "+e];return i||(i=Math.max(Math.pow(13.37*t,.9),29)*e,n[t+", "+e]=i,i)};var eh={};function nh(t){var e=[];if(null!=t){for(var n=0;n<t.length;n+=2){var i=t[n],r=t[n+1];e.push({x:i,y:r})}return e}}eh.findHaystackPoints=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n._private,r=i.rscratch;if(!r.haystack){var a=2*Math.random()*Math.PI;r.source={x:Math.cos(a),y:Math.sin(a)},a=2*Math.random()*Math.PI,r.target={x:Math.cos(a),y:Math.sin(a)}}var o=i.source,s=i.target,c=o.position(),u=s.position(),l=o.width(),h=s.width(),f=o.height(),d=s.height(),g=n.pstyle("haystack-radius").value/2;r.haystackPts=r.allpts=[r.source.x*l*g+c.x,r.source.y*f*g+c.y,r.target.x*h*g+u.x,r.target.y*d*g+u.y],r.midX=(r.allpts[0]+r.allpts[2])/2,r.midY=(r.allpts[1]+r.allpts[3])/2,r.edgeType="haystack",r.haystack=!0,this.storeEdgeProjections(n),this.calculateArrowAngles(n),this.recalculateEdgeLabelProjections(n),this.calculateLabelAngles(n)}},eh.findSegmentsPoints=function(t,e){var n=t._private.rscratch,i=e.posPts,r=e.intersectionPts,a=e.vectorNormInverse,o=t.pstyle("edge-distances").value,s=t.pstyle("segment-weights"),c=t.pstyle("segment-distances"),u=Math.min(s.pfValue.length,c.pfValue.length);n.edgeType="segments",n.segpts=[];for(var l=0;l<u;l++){var h=s.pfValue[l],f=c.pfValue[l],d=1-h,g=h,p="node-position"===o?i:r,b={x:p.x1*d+p.x2*g,y:p.y1*d+p.y2*g};n.segpts.push(b.x+a.x*f,b.y+a.y*f)}},eh.findLoopPoints=function(t,e,n,i){var r=t._private.rscratch,a=e.dirCounts,o=e.srcPos,s=t.pstyle("control-point-distances"),c=s?s.pfValue[0]:void 0,u=t.pstyle("loop-direction").pfValue,l=t.pstyle("loop-sweep").pfValue,h=t.pstyle("control-point-step-size").pfValue;r.edgeType="self";var f=n,d=h;i&&(f=0,d=c);var g=u-Math.PI/2,p=g-l/2,b=g+l/2,w=String(u+"_"+l);f=void 0===a[w]?a[w]=0:++a[w],r.ctrlpts=[o.x+1.4*Math.cos(p)*d*(f/3+1),o.y+1.4*Math.sin(p)*d*(f/3+1),o.x+1.4*Math.cos(b)*d*(f/3+1),o.y+1.4*Math.sin(b)*d*(f/3+1)]},eh.findCompoundLoopPoints=function(t,e,n,i){var r=t._private.rscratch;r.edgeType="compound";var a=e.srcPos,o=e.tgtPos,s=e.srcW,c=e.srcH,u=e.tgtW,l=e.tgtH,h=t.pstyle("control-point-step-size").pfValue,f=t.pstyle("control-point-distances"),d=f?f.pfValue[0]:void 0,g=n,p=h;i&&(g=0,p=d);var b=50,w={x:a.x-s/2,y:a.y-c/2},y={x:o.x-u/2,y:o.y-l/2},m={x:Math.min(w.x,y.x),y:Math.min(w.y,y.y)},v=.5,x=Math.max(v,Math.log(.01*s)),k=Math.max(v,Math.log(.01*u));r.ctrlpts=[m.x,m.y-(1+Math.pow(b,1.12)/100)*p*(g/3+1)*x,m.x-(1+Math.pow(b,1.12)/100)*p*(g/3+1)*k,m.y]},eh.findStraightEdgePoints=function(t){t._private.rscratch.edgeType="straight"},eh.findBezierPoints=function(t,e,n,i,r){var a=t._private.rscratch,o=e.vectorNormInverse,s=e.posPts,c=e.intersectionPts,u=t.pstyle("edge-distances").value,l=t.pstyle("control-point-step-size").pfValue,h=t.pstyle("control-point-distances"),f=t.pstyle("control-point-weights"),d=h&&f?Math.min(h.value.length,f.value.length):1,g=h?h.pfValue[0]:void 0,p=f.value[0],b=i;a.edgeType=b?"multibezier":"bezier",a.ctrlpts=[];for(var w=0;w<d;w++){var y=(.5-e.eles.length/2+n)*l*(r?-1:1),m=void 0,v=xn(y);b&&(g=h?h.pfValue[w]:l,p=f.value[w]);var x=void 0!==(m=i?g:void 0!==g?v*g:void 0)?m:y,k=1-p,_=p,E="node-position"===u?s:c,T={x:E.x1*k+E.x2*_,y:E.y1*k+E.y2*_};a.ctrlpts.push(T.x+o.x*x,T.y+o.y*x)}},eh.findTaxiPoints=function(t,e){var n=t._private.rscratch;n.edgeType="segments";var i="vertical",r="horizontal",a="leftward",o="rightward",s="downward",c="upward",u="auto",l=e.posPts,h=e.srcW,f=e.srcH,d=e.tgtW,g=e.tgtH,p="node-position"!==t.pstyle("edge-distances").value,b=t.pstyle("taxi-direction").value,w=b,y=t.pstyle("taxi-turn"),m="%"===y.units,v=y.pfValue,x=v<0,k=t.pstyle("taxi-turn-min-distance").pfValue,_=p?(h+d)/2:0,E=p?(f+g)/2:0,T=l.x2-l.x1,C=l.y2-l.y1,S=function(t,e){return t>0?Math.max(t-e,0):Math.min(t+e,0)},A=S(T,_),M=S(C,E),I=!1;w===u?b=Math.abs(A)>Math.abs(M)?r:i:w===c||w===s?(b=i,I=!0):(w===a||w===o)&&(b=r,I=!0);var O,L=b===i,N=L?M:A,D=L?C:T,P=xn(D),B=!1;(!I||!m&&!x)&&(w===s&&D<0||w===c&&D>0||w===a&&D>0||w===o&&D<0)&&(N=(P*=-1)*Math.abs(N),B=!0);var j=function(t){return Math.abs(t)<k||Math.abs(t)>=Math.abs(N)},R=j(O=m?(v<0?1+v:v)*N:(v<0?N:0)+v*P),$=j(Math.abs(N)-Math.abs(O));if(!R&&!$||B)if(L){var F=l.y1+O+(p?f/2*P:0),z=l.x1,H=l.x2;n.segpts=[z,F,H,F]}else{var U=l.x1+O+(p?h/2*P:0),G=l.y1,q=l.y2;n.segpts=[U,G,U,q]}else if(L){var K=Math.abs(D)<=f/2,Y=Math.abs(T)<=d/2;if(K){var W=(l.x1+l.x2)/2,X=l.y1,V=l.y2;n.segpts=[W,X,W,V]}else if(Y){var Q=(l.y1+l.y2)/2,Z=l.x1,J=l.x2;n.segpts=[Z,Q,J,Q]}else n.segpts=[l.x1,l.y2]}else{var tt=Math.abs(D)<=h/2,et=Math.abs(C)<=g/2;if(tt){var nt=(l.y1+l.y2)/2,it=l.x1,rt=l.x2;n.segpts=[it,nt,rt,nt]}else if(et){var at=(l.x1+l.x2)/2,ot=l.y1,st=l.y2;n.segpts=[at,ot,at,st]}else n.segpts=[l.x2,l.y1]}},eh.tryToCorrectInvalidPoints=function(t,e){var n=t._private.rscratch;if("bezier"===n.edgeType){var i=e.srcPos,r=e.tgtPos,a=e.srcW,o=e.srcH,s=e.tgtW,c=e.tgtH,u=e.srcShape,l=e.tgtShape,h=!E(n.startX)||!E(n.startY),f=!E(n.arrowStartX)||!E(n.arrowStartY),d=!E(n.endX)||!E(n.endY),g=!E(n.arrowEndX)||!E(n.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,b=kn({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=b<p,y=kn({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.endX,y:n.endY}),m=y<p,v=!1;if(h||f||w){v=!0;var x={x:n.ctrlpts[0]-i.x,y:n.ctrlpts[1]-i.y},k=Math.sqrt(x.x*x.x+x.y*x.y),_={x:x.x/k,y:x.y/k},T=Math.max(a,o),C={x:n.ctrlpts[0]+2*_.x*T,y:n.ctrlpts[1]+2*_.y*T},S=u.intersectLine(i.x,i.y,a,o,C.x,C.y,0);w?(n.ctrlpts[0]=n.ctrlpts[0]+_.x*(p-b),n.ctrlpts[1]=n.ctrlpts[1]+_.y*(p-b)):(n.ctrlpts[0]=S[0]+_.x*p,n.ctrlpts[1]=S[1]+_.y*p)}if(d||g||m){v=!0;var A={x:n.ctrlpts[0]-r.x,y:n.ctrlpts[1]-r.y},M=Math.sqrt(A.x*A.x+A.y*A.y),I={x:A.x/M,y:A.y/M},O=Math.max(a,o),L={x:n.ctrlpts[0]+2*I.x*O,y:n.ctrlpts[1]+2*I.y*O},N=l.intersectLine(r.x,r.y,s,c,L.x,L.y,0);m?(n.ctrlpts[0]=n.ctrlpts[0]+I.x*(p-y),n.ctrlpts[1]=n.ctrlpts[1]+I.y*(p-y)):(n.ctrlpts[0]=N[0]+I.x*p,n.ctrlpts[1]=N[1]+I.y*p)}v&&this.findEndpoints(t)}},eh.storeAllpts=function(t){var e=t._private.rscratch;if("multibezier"===e.edgeType||"bezier"===e.edgeType||"self"===e.edgeType||"compound"===e.edgeType){e.allpts=[],e.allpts.push(e.startX,e.startY);for(var n=0;n+1<e.ctrlpts.length;n+=2)e.allpts.push(e.ctrlpts[n],e.ctrlpts[n+1]),n+3<e.ctrlpts.length&&e.allpts.push((e.ctrlpts[n]+e.ctrlpts[n+2])/2,(e.ctrlpts[n+1]+e.ctrlpts[n+3])/2);var i,r;e.allpts.push(e.endX,e.endY),e.ctrlpts.length/2%2==0?(i=e.allpts.length/2-1,e.midX=e.allpts[i],e.midY=e.allpts[i+1]):(i=e.allpts.length/2-3,r=.5,e.midX=Tn(e.allpts[i],e.allpts[i+2],e.allpts[i+4],r),e.midY=Tn(e.allpts[i+1],e.allpts[i+3],e.allpts[i+5],r))}else if("straight"===e.edgeType)e.allpts=[e.startX,e.startY,e.endX,e.endY],e.midX=(e.startX+e.endX+e.arrowStartX+e.arrowEndX)/4,e.midY=(e.startY+e.endY+e.arrowStartY+e.arrowEndY)/4;else if("segments"===e.edgeType)if(e.allpts=[],e.allpts.push(e.startX,e.startY),e.allpts.push.apply(e.allpts,e.segpts),e.allpts.push(e.endX,e.endY),e.segpts.length%4==0){var a=e.segpts.length/2,o=a-2;e.midX=(e.segpts[o]+e.segpts[a])/2,e.midY=(e.segpts[o+1]+e.segpts[a+1])/2}else{var s=e.segpts.length/2-1;e.midX=e.segpts[s],e.midY=e.segpts[s+1]}},eh.checkForInvalidEdgeWarning=function(t){var e=t[0]._private.rscratch;e.nodesOverlap||E(e.startX)&&E(e.startY)&&E(e.endX)&&E(e.endY)?e.loggedErr=!1:e.loggedErr||(e.loggedErr=!0,Se("Edge `"+t.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},eh.findEdgeControlPoints=function(t){var e=this;if(t&&0!==t.length){for(var n=this,i=n.cy.hasCompoundNodes(),r={map:new ze,get:function(t){var e=this.map.get(t[0]);return null!=e?e.get(t[1]):null},set:function(t,e){var n=this.map.get(t[0]);null==n&&(n=new ze,this.map.set(t[0],n)),n.set(t[1],e)}},a=[],o=[],s=0;s<t.length;s++){var c=t[s],u=c._private,l=c.pstyle("curve-style").value;if(!c.removed()&&c.takesUpSpace()){if("haystack"===l){o.push(c);continue}var h="unbundled-bezier"===l||"segments"===l||"straight"===l||"straight-triangle"===l||"taxi"===l,f="unbundled-bezier"===l||"bezier"===l,d=u.source,g=u.target,p=[d.poolIndex(),g.poolIndex()].sort(),b=r.get(p);null==b&&(b={eles:[]},r.set(p,b),a.push(p)),b.eles.push(c),h&&(b.hasUnbundled=!0),f&&(b.hasBezier=!0)}}for(var w=function(t){var o=a[t],s=r.get(o),c=void 0;if(!s.hasUnbundled){var u=s.eles[0].parallelEdges().filter((function(t){return t.isBundledBezier()}));Be(s.eles),u.forEach((function(t){return s.eles.push(t)})),s.eles.sort((function(t,e){return t.poolIndex()-e.poolIndex()}))}var l=s.eles[0],h=l.source(),f=l.target();if(h.poolIndex()>f.poolIndex()){var d=h;h=f,f=d}var g=s.srcPos=h.position(),p=s.tgtPos=f.position(),b=s.srcW=h.outerWidth(),w=s.srcH=h.outerHeight(),y=s.tgtW=f.outerWidth(),m=s.tgtH=f.outerHeight(),v=s.srcShape=n.nodeShapes[e.getNodeShape(h)],x=s.tgtShape=n.nodeShapes[e.getNodeShape(f)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var k=0;k<s.eles.length;k++){var _=s.eles[k],T=_[0]._private.rscratch,C=_.pstyle("curve-style").value,S="unbundled-bezier"===C||"segments"===C||"taxi"===C,A=!h.same(_.source());if(!s.calculatedIntersection&&h!==f&&(s.hasBezier||s.hasUnbundled)){s.calculatedIntersection=!0;var M=v.intersectLine(g.x,g.y,b,w,p.x,p.y,0),I=s.srcIntn=M,O=x.intersectLine(p.x,p.y,y,m,g.x,g.y,0),L=s.tgtIntn=O,N=s.intersectionPts={x1:M[0],x2:O[0],y1:M[1],y2:O[1]},D=s.posPts={x1:g.x,x2:p.x,y1:g.y,y2:p.y},P=O[1]-M[1],B=O[0]-M[0],j=Math.sqrt(B*B+P*P),R=s.vector={x:B,y:P},$=s.vectorNorm={x:R.x/j,y:R.y/j},F={x:-$.y,y:$.x};s.nodesOverlap=!E(j)||x.checkPoint(M[0],M[1],0,y,m,p.x,p.y)||v.checkPoint(O[0],O[1],0,b,w,g.x,g.y),s.vectorNormInverse=F,c={nodesOverlap:s.nodesOverlap,dirCounts:s.dirCounts,calculatedIntersection:!0,hasBezier:s.hasBezier,hasUnbundled:s.hasUnbundled,eles:s.eles,srcPos:p,tgtPos:g,srcW:y,srcH:m,tgtW:b,tgtH:w,srcIntn:L,tgtIntn:I,srcShape:x,tgtShape:v,posPts:{x1:D.x2,y1:D.y2,x2:D.x1,y2:D.y1},intersectionPts:{x1:N.x2,y1:N.y2,x2:N.x1,y2:N.y1},vector:{x:-R.x,y:-R.y},vectorNorm:{x:-$.x,y:-$.y},vectorNormInverse:{x:-F.x,y:-F.y}}}var z=A?c:s;T.nodesOverlap=z.nodesOverlap,T.srcIntn=z.srcIntn,T.tgtIntn=z.tgtIntn,i&&(h.isParent()||h.isChild()||f.isParent()||f.isChild())&&(h.parents().anySame(f)||f.parents().anySame(h)||h.same(f)&&h.isParent())?e.findCompoundLoopPoints(_,z,k,S):h===f?e.findLoopPoints(_,z,k,S):"segments"===C?e.findSegmentsPoints(_,z):"taxi"===C?e.findTaxiPoints(_,z):"straight"===C||!S&&s.eles.length%2==1&&k===Math.floor(s.eles.length/2)?e.findStraightEdgePoints(_):e.findBezierPoints(_,z,k,S,A),e.findEndpoints(_),e.tryToCorrectInvalidPoints(_,z),e.checkForInvalidEdgeWarning(_),e.storeAllpts(_),e.storeEdgeProjections(_),e.calculateArrowAngles(_),e.recalculateEdgeLabelProjections(_),e.calculateLabelAngles(_)}},y=0;y<a.length;y++)w(y);this.findHaystackPoints(o)}},eh.getSegmentPoints=function(t){var e=t[0]._private.rscratch;if("segments"===e.edgeType)return this.recalculateRenderedStyle(t),nh(e.segpts)},eh.getControlPoints=function(t){var e=t[0]._private.rscratch,n=e.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return this.recalculateRenderedStyle(t),nh(e.ctrlpts)},eh.getEdgeMidpoint=function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),{x:e.midX,y:e.midY}};var ih={manualEndptToPx:function(t,e){var n=this,i=t.position(),r=t.outerWidth(),a=t.outerHeight();if(2===e.value.length){var o=[e.pfValue[0],e.pfValue[1]];return"%"===e.units[0]&&(o[0]=o[0]*r),"%"===e.units[1]&&(o[1]=o[1]*a),o[0]+=i.x,o[1]+=i.y,o}var s=e.pfValue[0];s=-Math.PI/2+s;var c=2*Math.max(r,a),u=[i.x+Math.cos(s)*c,i.y+Math.sin(s)*c];return n.nodeShapes[this.getNodeShape(t)].intersectLine(i.x,i.y,r,a,u[0],u[1],0)},findEndpoints:function(t){var e,n,i,r,a,o=this,s=t.source()[0],c=t.target()[0],u=s.position(),l=c.position(),h=t.pstyle("target-arrow-shape").value,f=t.pstyle("source-arrow-shape").value,d=t.pstyle("target-distance-from-node").pfValue,g=t.pstyle("source-distance-from-node").pfValue,p=t.pstyle("curve-style").value,b=t._private.rscratch,w=b.edgeType,y="self"===w||"compound"===w,m="bezier"===w||"multibezier"===w||y,v="bezier"!==w,x="straight"===w||"segments"===w,k="segments"===w,_=m||v||x,T=y||"taxi"===p,C=t.pstyle("source-endpoint"),S=T?"outside-to-node":C.value,A=t.pstyle("target-endpoint"),M=T?"outside-to-node":A.value;if(b.srcManEndpt=C,b.tgtManEndpt=A,m){var I=[b.ctrlpts[0],b.ctrlpts[1]];n=v?[b.ctrlpts[b.ctrlpts.length-2],b.ctrlpts[b.ctrlpts.length-1]]:I,i=I}else if(x){var O=k?b.segpts.slice(0,2):[l.x,l.y];n=k?b.segpts.slice(b.segpts.length-2):[u.x,u.y],i=O}if("inside-to-node"===M)e=[l.x,l.y];else if(A.units)e=this.manualEndptToPx(c,A);else if("outside-to-line"===M)e=b.tgtIntn;else if("outside-to-node"===M||"outside-to-node-or-label"===M?r=n:("outside-to-line"===M||"outside-to-line-or-label"===M)&&(r=[u.x,u.y]),e=o.nodeShapes[this.getNodeShape(c)].intersectLine(l.x,l.y,c.outerWidth(),c.outerHeight(),r[0],r[1],0),"outside-to-node-or-label"===M||"outside-to-line-or-label"===M){var L=c._private.rscratch,N=L.labelWidth,D=L.labelHeight,P=L.labelX,B=L.labelY,j=N/2,R=D/2,$=c.pstyle("text-valign").value;"top"===$?B-=R:"bottom"===$&&(B+=R);var F=c.pstyle("text-halign").value;"left"===F?P-=j:"right"===F&&(P+=j);var z=ri(r[0],r[1],[P-j,B-R,P+j,B-R,P+j,B+R,P-j,B+R],l.x,l.y);if(z.length>0){var H=u,U=_n(H,dn(e)),G=_n(H,dn(z)),q=U;G<U&&(e=z,q=G),z.length>2&&_n(H,{x:z[2],y:z[3]})<q&&(e=[z[2],z[3]])}}var K=oi(e,n,o.arrowShapes[h].spacing(t)+d),Y=oi(e,n,o.arrowShapes[h].gap(t)+d);if(b.endX=Y[0],b.endY=Y[1],b.arrowEndX=K[0],b.arrowEndY=K[1],"inside-to-node"===S)e=[u.x,u.y];else if(C.units)e=this.manualEndptToPx(s,C);else if("outside-to-line"===S)e=b.srcIntn;else if("outside-to-node"===S||"outside-to-node-or-label"===S?a=i:("outside-to-line"===S||"outside-to-line-or-label"===S)&&(a=[l.x,l.y]),e=o.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0),"outside-to-node-or-label"===S||"outside-to-line-or-label"===S){var W=s._private.rscratch,X=W.labelWidth,V=W.labelHeight,Q=W.labelX,Z=W.labelY,J=X/2,tt=V/2,et=s.pstyle("text-valign").value;"top"===et?Z-=tt:"bottom"===et&&(Z+=tt);var nt=s.pstyle("text-halign").value;"left"===nt?Q-=J:"right"===nt&&(Q+=J);var it=ri(a[0],a[1],[Q-J,Z-tt,Q+J,Z-tt,Q+J,Z+tt,Q-J,Z+tt],u.x,u.y);if(it.length>0){var rt=l,at=_n(rt,dn(e)),ot=_n(rt,dn(it)),st=at;ot<at&&(e=[it[0],it[1]],st=ot),it.length>2&&_n(rt,{x:it[2],y:it[3]})<st&&(e=[it[2],it[3]])}}var ct=oi(e,i,o.arrowShapes[f].spacing(t)+g),ut=oi(e,i,o.arrowShapes[f].gap(t)+g);b.startX=ut[0],b.startY=ut[1],b.arrowStartX=ct[0],b.arrowStartY=ct[1],_&&(E(b.startX)&&E(b.startY)&&E(b.endX)&&E(b.endY)?b.badLine=!1:b.badLine=!0)},getSourceEndpoint:function(t){var e=t[0]._private.rscratch;return"haystack"===(this.recalculateRenderedStyle(t),e.edgeType)?{x:e.haystackPts[0],y:e.haystackPts[1]}:{x:e.arrowStartX,y:e.arrowStartY}},getTargetEndpoint:function(t){var e=t[0]._private.rscratch;return"haystack"===(this.recalculateRenderedStyle(t),e.edgeType)?{x:e.haystackPts[2],y:e.haystackPts[3]}:{x:e.arrowEndX,y:e.arrowEndY}}},rh={};function ah(t,e,n){for(var i=function(t,e,n,i){return Tn(t,e,n,i)},r=e._private.rstyle.bezierPts,a=0;a<t.bezierProjPcts.length;a++){var o=t.bezierProjPcts[a];r.push({x:i(n[0],n[2],n[4],o),y:i(n[1],n[3],n[5],o)})}}rh.storeEdgeProjections=function(t){var e=t._private,n=e.rscratch,i=n.edgeType;if(e.rstyle.bezierPts=null,e.rstyle.linePts=null,e.rstyle.haystackPts=null,"multibezier"===i||"bezier"===i||"self"===i||"compound"===i){e.rstyle.bezierPts=[];for(var r=0;r+5<n.allpts.length;r+=4)ah(this,t,n.allpts.slice(r,r+6))}else if("segments"===i){var a=e.rstyle.linePts=[];for(r=0;r+1<n.allpts.length;r+=2)a.push({x:n.allpts[r],y:n.allpts[r+1]})}else if("haystack"===i){var o=n.haystackPts;e.rstyle.haystackPts=[{x:o[0],y:o[1]},{x:o[2],y:o[3]}]}e.rstyle.arrowWidth=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth},rh.recalculateEdgeProjections=function(t){this.findEdgeControlPoints(t)};var oh={recalculateNodeLabelProjection:function(t){var e=t.pstyle("label").strValue;if(!N(e)){var n,i,r=t._private,a=t.width(),o=t.height(),s=t.padding(),c=t.position(),u=t.pstyle("text-halign").strValue,l=t.pstyle("text-valign").strValue,h=r.rscratch,f=r.rstyle;switch(u){case"left":n=c.x-a/2-s;break;case"right":n=c.x+a/2+s;break;default:n=c.x}switch(l){case"top":i=c.y-o/2-s;break;case"bottom":i=c.y+o/2+s;break;default:i=c.y}h.labelX=n,h.labelY=i,f.labelX=n,f.labelY=i,this.calculateLabelAngles(t),this.applyLabelDimensions(t)}}},sh=function(t,e){var n=Math.atan(e/t);return 0===t&&n<0&&(n*=-1),n},ch=function(t,e){var n=e.x-t.x,i=e.y-t.y;return sh(n,i)},uh=function(t,e,n,i){var r=An(0,i-.001,1),a=An(0,i+.001,1),o=Cn(t,e,n,r),s=Cn(t,e,n,a);return ch(o,s)};oh.recalculateEdgeLabelProjections=function(t){var e,n=t._private,i=n.rscratch,r=this,a={mid:t.pstyle("label").strValue,source:t.pstyle("source-label").strValue,target:t.pstyle("target-label").strValue};if(a.mid||a.source||a.target){e={x:i.midX,y:i.midY};var o=function(t,e,i){$e(n.rscratch,t,e,i),$e(n.rstyle,t,e,i)};o("labelX",null,e.x),o("labelY",null,e.y);var s=sh(i.midDispX,i.midDispY);o("labelAutoAngle",null,s);var c=function t(){if(t.cache)return t.cache;for(var e=[],a=0;a+5<i.allpts.length;a+=4){var o={x:i.allpts[a],y:i.allpts[a+1]},s={x:i.allpts[a+2],y:i.allpts[a+3]},c={x:i.allpts[a+4],y:i.allpts[a+5]};e.push({p0:o,p1:s,p2:c,startDist:0,length:0,segments:[]})}var u=n.rstyle.bezierPts,l=r.bezierProjPcts.length;function h(t,e,n,i,r){var a=kn(e,n),o=t.segments[t.segments.length-1],s={p0:e,p1:n,t0:i,t1:r,startDist:o?o.startDist+o.length:0,length:a};t.segments.push(s),t.length+=a}for(var f=0;f<e.length;f++){var d=e[f],g=e[f-1];g&&(d.startDist=g.startDist+g.length),h(d,d.p0,u[f*l],0,r.bezierProjPcts[0]);for(var p=0;p<l-1;p++)h(d,u[f*l+p],u[f*l+p+1],r.bezierProjPcts[p],r.bezierProjPcts[p+1]);h(d,u[f*l+l-1],d.p2,r.bezierProjPcts[l-1],1)}return t.cache=e},u=function(n){var r,s="source"===n;if(a[n]){var u=t.pstyle(n+"-text-offset").pfValue;switch(i.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var l,h=c(),f=0,d=0,g=0;g<h.length;g++){for(var p=h[s?g:h.length-1-g],b=0;b<p.segments.length;b++){var w=p.segments[s?b:p.segments.length-1-b],y=g===h.length-1&&b===p.segments.length-1;if(f=d,(d+=w.length)>=u||y){l={cp:p,segment:w};break}}if(l)break}var m=l.cp,v=l.segment,x=(u-f)/v.length,k=v.t1-v.t0,_=s?v.t0+k*x:v.t1-k*x;_=An(0,_,1),e=Cn(m.p0,m.p1,m.p2,_),r=uh(m.p0,m.p1,m.p2,_);break;case"straight":case"segments":case"haystack":for(var E,T,C,S,A=0,M=i.allpts.length,I=0;I+3<M&&(s?(C={x:i.allpts[I],y:i.allpts[I+1]},S={x:i.allpts[I+2],y:i.allpts[I+3]}):(C={x:i.allpts[M-2-I],y:i.allpts[M-1-I]},S={x:i.allpts[M-4-I],y:i.allpts[M-3-I]}),T=A,!((A+=E=kn(C,S))>=u));I+=2);var O=(u-T)/E;O=An(0,O,1),e=Sn(C,S,O),r=ch(C,S)}o("labelX",n,e.x),o("labelY",n,e.y),o("labelAutoAngle",n,r)}};u("source"),u("target"),this.applyLabelDimensions(t)}},oh.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},oh.applyPrefixedLabelDimensions=function(t,e){var n=t._private,i=this.getLabelText(t,e),r=this.calculateLabelDimensions(t,i),a=t.pstyle("line-height").pfValue,o=t.pstyle("text-wrap").strValue,s=Re(n.rscratch,"labelWrapCachedLines",e)||[],c="wrap"!==o?1:Math.max(s.length,1),u=r.height/c,l=u*a,h=r.width,f=r.height+(c-1)*(a-1)*u;$e(n.rstyle,"labelWidth",e,h),$e(n.rscratch,"labelWidth",e,h),$e(n.rstyle,"labelHeight",e,f),$e(n.rscratch,"labelHeight",e,f),$e(n.rscratch,"labelLineHeight",e,l)},oh.getLabelText=function(t,e){var n=t._private,i=e?e+"-":"",r=t.pstyle(i+"label").strValue,a=t.pstyle("text-transform").value,o=function(t,i){return i?($e(n.rscratch,t,e,i),i):Re(n.rscratch,t,e)};if(!r)return"";"none"==a||("uppercase"==a?r=r.toUpperCase():"lowercase"==a&&(r=r.toLowerCase()));var s=t.pstyle("text-wrap").value;if("wrap"===s){var c=o("labelKey");if(null!=c&&o("labelWrapKey")===c)return o("labelWrapCachedText");for(var u="\u200b",l=r.split("\n"),h=t.pstyle("text-max-width").pfValue,f="anywhere"===t.pstyle("text-overflow-wrap").value,d=[],g=/[\s\u200b]+/,p=f?"":" ",b=0;b<l.length;b++){var w=l[b],y=this.calculateLabelDimensions(t,w).width;if(f){var m=w.split("").join(u);w=m}if(y>h){for(var v=w.split(g),x="",k=0;k<v.length;k++){var _=v[k],E=0===x.length?_:x+p+_;this.calculateLabelDimensions(t,E).width<=h?x+=_+p:(x&&d.push(x),x=_+p)}x.match(/^[\s\u200b]+$/)||d.push(x)}else d.push(w)}o("labelWrapCachedLines",d),r=o("labelWrapCachedText",d.join("\n")),o("labelWrapKey",c)}else if("ellipsis"===s){var T=t.pstyle("text-max-width").pfValue,C="",S="\u2026",A=!1;if(this.calculateLabelDimensions(t,r).width<T)return r;for(var M=0;M<r.length&&!(this.calculateLabelDimensions(t,C+r[M]+S).width>T);M++)C+=r[M],M===r.length-1&&(A=!0);return A||(C+=S),C}return r},oh.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,n=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},oh.calculateLabelDimensions=function(t,e){var n=this,i=ge(e,t._private.labelDimsKey),r=n.labelDimCache||(n.labelDimCache=[]),a=r[i];if(null!=a)return a;var o=0,s=t.pstyle("font-style").strValue,c=t.pstyle("font-size").pfValue,u=t.pstyle("font-family").strValue,l=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,f=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),f=this.labelCalcCanvasContext=h.getContext("2d");var d=h.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}f.font="".concat(s," ").concat(l," ").concat(c,"px ").concat(u);for(var g=0,p=0,b=e.split("\n"),w=0;w<b.length;w++){var y=b[w],m=f.measureText(y),v=Math.ceil(m.width),x=c;g=Math.max(v,g),p+=x}return g+=o,p+=o,r[i]={width:g,height:p}},oh.calculateLabelAngle=function(t,e){var n=t._private.rscratch,i=t.isEdge(),r=e?e+"-":"",a=t.pstyle(r+"text-rotation"),o=a.strValue;return"none"===o?0:i&&"autorotate"===o?n.labelAutoAngle:"autorotate"===o?0:a.pfValue},oh.calculateLabelAngles=function(t){var e=this,n=t.isEdge(),i=t._private.rscratch;i.labelAngle=e.calculateLabelAngle(t),n&&(i.sourceLabelAngle=e.calculateLabelAngle(t,"source"),i.targetLabelAngle=e.calculateLabelAngle(t,"target"))};var lh={},hh=28,fh=!1;lh.getNodeShape=function(t){var e=this,n=t.pstyle("shape").value;if("cutrectangle"===n&&(t.width()<hh||t.height()<hh))return fh||(Se("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),fh=!0),"rectangle";if(t.isParent())return"rectangle"===n||"roundrectangle"===n||"round-rectangle"===n||"cutrectangle"===n||"cut-rectangle"===n||"barrel"===n?n:"rectangle";if("polygon"===n){var i=t.pstyle("shape-polygon-points").value;return e.nodeShapes.makePolygon(i).name}return n};var dh={registerCalculationListeners:function(){var t=this.cy,e=t.collection(),n=this,i=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var i=0;i<t.length;i++){var r=t[i]._private.rstyle;r.clean=!1,r.cleanConnected=!1}};n.binder(t).on("bounds.* dirty.*",(function(t){var e=t.target;i(e)})).on("style.* background.*",(function(t){var e=t.target;i(e,!1)}));var r=function(r){if(r){var a=n.onUpdateEleCalcsFns;e.cleanStyle();for(var o=0;o<e.length;o++){var s=e[o],c=s._private.rstyle;s.isNode()&&!c.cleanConnected&&(i(s.connectedEdges()),c.cleanConnected=!0)}if(a)for(var u=0;u<a.length;u++)(0,a[u])(r,e);n.recalculateRenderedStyle(e),e=t.collection()}};n.flushRenderedStyleQueue=function(){r(!0)},n.beforeRender(r,n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(t){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(t)},recalculateRenderedStyle:function(t,e){var n=function(t){return t._private.rstyle.cleanConnected},i=[],r=[];if(!this.destroyed){void 0===e&&(e=!0);for(var a=0;a<t.length;a++){var o=t[a],s=o._private,c=s.rstyle;o.isEdge()&&(!n(o.source())||!n(o.target()))&&(c.clean=!1),!(e&&c.clean||o.removed())&&"none"!==o.pstyle("display").value&&("nodes"===s.group?r.push(o):i.push(o),c.clean=!0)}for(var u=0;u<r.length;u++){var l=r[u],h=l._private.rstyle,f=l.position();this.recalculateNodeLabelProjection(l),h.nodeX=f.x,h.nodeY=f.y,h.nodeW=l.pstyle("width").pfValue,h.nodeH=l.pstyle("height").pfValue}this.recalculateEdgeProjections(i);for(var d=0;d<i.length;d++){var g=i[d]._private,p=g.rstyle,b=g.rscratch;p.srcX=b.arrowStartX,p.srcY=b.arrowStartY,p.tgtX=b.arrowEndX,p.tgtY=b.arrowEndY,p.midX=b.midX,p.midY=b.midY,p.labelAngle=b.labelAngle,p.sourceLabelAngle=b.sourceLabelAngle,p.targetLabelAngle=b.targetLabelAngle}}}},gh={updateCachedGrabbedEles:function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],n=0;n<t.length;n++){var i=(r=t[n])._private.rscratch;r.grabbed()&&!r.isParent()?e.push(r):i.inDragLayer?t.drag.push(r):t.nondrag.push(r)}for(n=0;n<e.length;n++){var r=e[n];t.drag.push(r)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(Vc),e.interactive=e.filter((function(t){return t.interactive()})),this.cachedZSortedEles=e,this.updateCachedGrabbedEles()}else e=this.cachedZSortedEles;return e}},ph={};[Jl,th,eh,ih,rh,oh,lh,dh,gh].forEach((function(t){Z(ph,t)}));var bh={getCachedImage:function(t,e,n){var i=this,r=i.imageCache=i.imageCache||{},a=r[t];if(a)return a.image.complete||a.image.addEventListener("load",n),a.image;var o=(a=r[t]=r[t]||{}).image=new Image;o.addEventListener("load",n),o.addEventListener("error",(function(){o.error=!0}));var s="data:";return t.substring(0,s.length).toLowerCase()===s||(o.crossOrigin=e),o.src=t,o}},wh={registerBinding:function(t,e,n,i){var r=Array.prototype.slice.apply(arguments,[1]),a=this.binder(t);return a.on.apply(a,r)},binder:function(t){var e=this,n=t===window||t===document||t===document.body||D(t);if(null==e.supportsPassiveEvents){var i=!1;try{var r=Object.defineProperty({},"passive",{get:function(){return i=!0,!0}});window.addEventListener("test",null,r)}catch{}e.supportsPassiveEvents=i}var a=function(i,r,a){var o=Array.prototype.slice.call(arguments);return n&&e.supportsPassiveEvents&&(o[2]={capture:a??!1,passive:!1,once:!1}),e.bindings.push({target:t,args:o}),(t.addEventListener||t.on).apply(t,o),this};return{on:a,addEventListener:a,addListener:a,bind:a}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()},load:function(){var t=this,e=function(t){return t.selected()},n=function(e,n,i,r){null==e&&(e=t.cy);for(var a=0;a<n.length;a++){var o=n[a];e.emit({originalEvent:i,type:o,position:r})}},i=function(t){return t.shiftKey||t.metaKey||t.ctrlKey},r=function(e,n){var i=!0;if(t.cy.hasCompoundNodes()&&e&&e.pannable()){for(var r=0;n&&r<n.length;r++)if((e=n[r]).isNode()&&e.isParent()&&!e.pannable()){i=!1;break}}else i=!0;return i},a=function(t){t[0]._private.grabbed=!0},o=function(t){t[0]._private.grabbed=!1},s=function(t){t[0]._private.rscratch.inDragLayer=!0},c=function(t){t[0]._private.rscratch.inDragLayer=!1},u=function(t){t[0]._private.rscratch.isGrabTarget=!0},l=function(t){t[0]._private.rscratch.isGrabTarget=!1},h=function(t,e){var n=e.addToList;!n.has(t)&&t.grabbable()&&!t.locked()&&(n.merge(t),a(t))},f=function(t,e){if(t.cy().hasCompoundNodes()&&(null!=e.inDragLayer||null!=e.addToList)){var n=t.descendants();e.inDragLayer&&(n.forEach(s),n.connectedEdges().forEach(s)),e.addToList&&h(n,e)}},d=function(e,n){n=n||{};var i=e.cy().hasCompoundNodes();n.inDragLayer&&(e.forEach(s),e.neighborhood().stdFilter((function(t){return!i||t.isEdge()})).forEach(s)),n.addToList&&e.forEach((function(t){h(t,n)})),f(e,n),b(e,{inDragLayer:n.inDragLayer}),t.updateCachedGrabbedEles()},g=d,p=function(e){e&&(t.getCachedZSortedEles().forEach((function(t){o(t),c(t),l(t)})),t.updateCachedGrabbedEles())},b=function(t,e){if((null!=e.inDragLayer||null!=e.addToList)&&t.cy().hasCompoundNodes()){var n=t.ancestors().orphans();if(!n.same(t)){var i=n.descendants().spawnSelf().merge(n).unmerge(t).unmerge(t.descendants()),r=i.connectedEdges();e.inDragLayer&&(r.forEach(s),i.forEach(s)),e.addToList&&i.forEach((function(t){h(t,e)}))}}},w=function(){null!=document.activeElement&&null!=document.activeElement.blur&&document.activeElement.blur()},y=typeof MutationObserver<"u",m=typeof ResizeObserver<"u";y?(t.removeObserver=new MutationObserver((function(e){for(var n=0;n<e.length;n++){var i=e[n].removedNodes;if(i)for(var r=0;r<i.length;r++)if(i[r]===t.container){t.destroy();break}}})),t.container.parentNode&&t.removeObserver.observe(t.container.parentNode,{childList:!0})):t.registerBinding(t.container,"DOMNodeRemoved",(function(e){t.destroy()}));var v=Zt((function(){t.cy.resize()}),100);y&&(t.styleObserver=new MutationObserver(v),t.styleObserver.observe(t.container,{attributes:!0})),t.registerBinding(window,"resize",v),m&&(t.resizeObserver=new ResizeObserver(v),t.resizeObserver.observe(t.container));var x=function(){t.invalidateContainerClientCoordsCache()};(function(t,e){for(;null!=t;)e(t),t=t.parentNode})(t.container,(function(e){t.registerBinding(e,"transitionend",x),t.registerBinding(e,"animationend",x),t.registerBinding(e,"scroll",x)})),t.registerBinding(t.container,"contextmenu",(function(t){t.preventDefault()}));var k,_,T,C=function(){return 0!==t.selection[4]},S=function(e){for(var n=t.findContainerClientCoords(),i=n[0],r=n[1],a=n[2],o=n[3],s=e.touches?e.touches:[e],c=!1,u=0;u<s.length;u++){var l=s[u];if(i<=l.clientX&&l.clientX<=i+a&&r<=l.clientY&&l.clientY<=r+o){c=!0;break}}if(!c)return!1;for(var h=t.container,f=e.target.parentNode,d=!1;f;){if(f===h){d=!0;break}f=f.parentNode}return!!d};t.registerBinding(t.container,"mousedown",(function(e){if(S(e)){e.preventDefault(),w(),t.hoverData.capture=!0,t.hoverData.which=e.which;var i=t.cy,r=[e.clientX,e.clientY],a=t.projectIntoViewport(r[0],r[1]),o=t.selection,s=t.findNearestElements(a[0],a[1],!0,!1),c=s[0],l=t.dragData.possibleDragElements;t.hoverData.mdownPos=a,t.hoverData.mdownGPos=r;var h=function(){t.hoverData.tapholdCancelled=!1,clearTimeout(t.hoverData.tapholdTimeout),t.hoverData.tapholdTimeout=setTimeout((function(){if(!t.hoverData.tapholdCancelled){var n=t.hoverData.down;n?n.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}}):i.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}})}}),t.tapholdDuration)};if(3==e.which){t.hoverData.cxtStarted=!0;var f={originalEvent:e,type:"cxttapstart",position:{x:a[0],y:a[1]}};c?(c.activate(),c.emit(f),t.hoverData.down=c):i.emit(f),t.hoverData.downTime=(new Date).getTime(),t.hoverData.cxtDragged=!1}else if(1==e.which){if(c&&c.activate(),null!=c&&t.nodeIsGrabbable(c)){var p=function(t){return{originalEvent:e,type:t,position:{x:a[0],y:a[1]}}},b=function(t){t.emit(p("grab"))};if(u(c),c.selected()){l=t.dragData.possibleDragElements=i.collection();var y=i.$((function(e){return e.isNode()&&e.selected()&&t.nodeIsGrabbable(e)}));d(y,{addToList:l}),c.emit(p("grabon")),y.forEach(b)}else l=t.dragData.possibleDragElements=i.collection(),g(c,{addToList:l}),c.emit(p("grabon")).emit(p("grab"));t.redrawHint("eles",!0),t.redrawHint("drag",!0)}t.hoverData.down=c,t.hoverData.downs=s,t.hoverData.downTime=(new Date).getTime(),n(c,["mousedown","tapstart","vmousedown"],e,{x:a[0],y:a[1]}),null==c?(o[4]=1,t.data.bgActivePosistion={x:a[0],y:a[1]},t.redrawHint("select",!0),t.redraw()):c.pannable()&&(o[4]=1),h()}o[0]=o[2]=a[0],o[1]=o[3]=a[1]}}),!1),t.registerBinding(window,"mousemove",(function(e){if(t.hoverData.capture||S(e)){var a=!1,o=t.cy,s=o.zoom(),c=[e.clientX,e.clientY],u=t.projectIntoViewport(c[0],c[1]),l=t.hoverData.mdownPos,h=t.hoverData.mdownGPos,f=t.selection,g=null;!t.hoverData.draggingEles&&!t.hoverData.dragging&&!t.hoverData.selecting&&(g=t.findNearestElement(u[0],u[1],!0,!1));var b,w=t.hoverData.last,y=t.hoverData.down,m=[u[0]-f[2],u[1]-f[3]],v=t.dragData.possibleDragElements;if(h){var x=c[0]-h[0],k=x*x,_=c[1]-h[1],T=k+_*_;t.hoverData.isOverThresholdDrag=b=T>=t.desktopTapThreshold2}var C=i(e);b&&(t.hoverData.tapholdCancelled=!0);var A=function(){var e=t.hoverData.dragDelta=t.hoverData.dragDelta||[];0===e.length?(e.push(m[0]),e.push(m[1])):(e[0]+=m[0],e[1]+=m[1])};a=!0,n(g,["mousemove","vmousemove","tapdrag"],e,{x:u[0],y:u[1]});var M=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:u[0],y:u[1]}}),f[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(b){var I={originalEvent:e,type:"cxtdrag",position:{x:u[0],y:u[1]}};y?y.emit(I):o.emit(I),t.hoverData.cxtDragged=!0,(!t.hoverData.cxtOver||g!==t.hoverData.cxtOver)&&(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:u[0],y:u[1]}}),t.hoverData.cxtOver=g,g&&g.emit({originalEvent:e,type:"cxtdragover",position:{x:u[0],y:u[1]}}))}}else if(t.hoverData.dragging){if(a=!0,o.panningEnabled()&&o.userPanningEnabled()){var O;if(t.hoverData.justStartedPan){var L=t.hoverData.mdownPos;O={x:(u[0]-L[0])*s,y:(u[1]-L[1])*s},t.hoverData.justStartedPan=!1}else O={x:m[0]*s,y:m[1]*s};o.panBy(O),o.emit("dragpan"),t.hoverData.dragged=!0}u=t.projectIntoViewport(e.clientX,e.clientY)}else if(1!=f[4]||null!=y&&!y.pannable()){if(y&&y.pannable()&&y.active()&&y.unactivate(),(!y||!y.grabbed())&&g!=w&&(w&&n(w,["mouseout","tapdragout"],e,{x:u[0],y:u[1]}),g&&n(g,["mouseover","tapdragover"],e,{x:u[0],y:u[1]}),t.hoverData.last=g),y)if(b){if(o.boxSelectionEnabled()&&C)y&&y.grabbed()&&(p(v),y.emit("freeon"),v.emit("free"),t.dragData.didDrag&&(y.emit("dragfreeon"),v.emit("dragfree"))),M();else if(y&&y.grabbed()&&t.nodeIsDraggable(y)){var N=!t.dragData.didDrag;N&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||d(v,{inDragLayer:!0});var D={x:0,y:0};if(E(m[0])&&E(m[1])&&(D.x+=m[0],D.y+=m[1],N)){var P=t.hoverData.dragDelta;P&&E(P[0])&&E(P[1])&&(D.x+=P[0],D.y+=P[1])}t.hoverData.draggingEles=!0,v.silentShift(D).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else A();a=!0}else b&&(t.hoverData.dragging||!o.boxSelectionEnabled()||!C&&o.panningEnabled()&&o.userPanningEnabled()?!t.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&r(y,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,f[4]=0,t.data.bgActivePosistion=dn(l),t.redrawHint("select",!0),t.redraw()):M(),y&&y.pannable()&&y.active()&&y.unactivate());if(f[2]=u[0],f[3]=u[1],a)return e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1}}),!1),t.registerBinding(window,"mouseup",(function(r){if(t.hoverData.capture){t.hoverData.capture=!1;var a=t.cy,o=t.projectIntoViewport(r.clientX,r.clientY),s=t.selection,c=t.findNearestElement(o[0],o[1],!0,!1),u=t.dragData.possibleDragElements,l=t.hoverData.down,h=i(r);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,l&&l.unactivate(),3===t.hoverData.which){var f={originalEvent:r,type:"cxttapend",position:{x:o[0],y:o[1]}};if(l?l.emit(f):a.emit(f),!t.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:o[0],y:o[1]}};l?l.emit(d):a.emit(d)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(n(c,["mouseup","tapend","vmouseup"],r,{x:o[0],y:o[1]}),!t.dragData.didDrag&&!t.hoverData.dragged&&!t.hoverData.selecting&&!t.hoverData.isOverThresholdDrag&&(n(l,["click","tap","vclick"],r,{x:o[0],y:o[1]}),_=!1,r.timeStamp-T<=a.multiClickDebounceTime()?(k&&clearTimeout(k),_=!0,T=null,n(l,["dblclick","dbltap","vdblclick"],r,{x:o[0],y:o[1]})):(k=setTimeout((function(){_||n(l,["oneclick","onetap","voneclick"],r,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),T=r.timeStamp)),null==l&&!t.dragData.didDrag&&!t.hoverData.selecting&&!t.hoverData.dragged&&!i(r)&&(a.$(e).unselect(["tapunselect"]),u.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=u=a.collection()),c==l&&!t.dragData.didDrag&&!t.hoverData.selecting&&null!=c&&c._private.selectable&&(t.hoverData.dragging||("additive"===a.selectionType()||h?c.selected()?c.unselect(["tapunselect"]):c.select(["tapselect"]):h||(a.$(e).unmerge(c).unselect(["tapunselect"]),c.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var g=a.collection(t.getAllInBox(s[0],s[1],s[2],s[3]));t.redrawHint("select",!0),g.length>0&&t.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:r,position:{x:o[0],y:o[1]}});var b=function(t){return t.selectable()&&!t.selected()};"additive"===a.selectionType()||h||a.$(e).unmerge(g).unselect(),g.emit("box").stdFilter(b).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!s[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var w=l&&l.grabbed();p(u),w&&(l.emit("freeon"),u.emit("free"),t.dragData.didDrag&&(l.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null}}),!1);var A=function(e){if(!t.scrollingPage){var n=t.cy,i=n.zoom(),r=n.pan(),a=t.projectIntoViewport(e.clientX,e.clientY),o=[a[0]*i+r.x,a[1]*i+r.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||C())return void e.preventDefault();if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;e.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout((function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()}),150),s=null!=e.deltaY?e.deltaY/-250:null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3,s*=t.wheelSensitivity,1===e.deltaMode&&(s*=33);var c=n.zoom()*Math.pow(10,s);"gesturechange"===e.type&&(c=t.gestureStartZoom*e.scale),n.zoom({level:c,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",A,!0),t.registerBinding(window,"scroll",(function(e){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout((function(){t.scrollingPage=!1}),250)}),!0),t.registerBinding(t.container,"gesturestart",(function(e){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||e.preventDefault()}),!0),t.registerBinding(t.container,"gesturechange",(function(e){t.hasTouchStarted||A(e)}),!0),t.registerBinding(t.container,"mouseout",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),t.registerBinding(t.container,"mouseover",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var M,I,O,L,N,D,P,B,j,R,$,F,z,H,U,G,q,K,Y,W,X=function(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))},V=function(t,e,n,i){return(n-t)*(n-t)+(i-e)*(i-e)};if(t.registerBinding(t.container,"touchstart",H=function(e){if(t.hasTouchStarted=!0,S(e)){w(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var i=t.cy,r=t.touchData.now,a=t.touchData.earlier;if(e.touches[0]){var o=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);r[0]=o[0],r[1]=o[1]}if(e.touches[1]&&(o=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),r[2]=o[0],r[3]=o[1]),e.touches[2]&&(o=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),r[4]=o[0],r[5]=o[1]),e.touches[1]){t.touchData.singleTouchMoved=!0,p(t.dragData.touchDragEles);var s=t.findContainerClientCoords();j=s[0],R=s[1],$=s[2],F=s[3],M=e.touches[0].clientX-j,I=e.touches[0].clientY-R,O=e.touches[1].clientX-j,L=e.touches[1].clientY-R,z=0<=M&&M<=$&&0<=O&&O<=$&&0<=I&&I<=F&&0<=L&&L<=F;var c=i.pan(),l=i.zoom();N=X(M,I,O,L),D=V(M,I,O,L),B=[((P=[(M+O)/2,(I+L)/2])[0]-c.x)/l,(P[1]-c.y)/l];var h=200;if(D<h*h&&!e.touches[2]){var f=t.findNearestElement(r[0],r[1],!0,!0),b=t.findNearestElement(r[2],r[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=f):b&&b.isNode()?(b.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=b):i.emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(e.touches[2])i.boxSelectionEnabled()&&e.preventDefault();else if(!e.touches[1]&&e.touches[0]){var y=t.findNearestElements(r[0],r[1],!0,!0),m=y[0];if(null!=m&&(m.activate(),t.touchData.start=m,t.touchData.starts=y,t.nodeIsGrabbable(m))){var v=t.dragData.touchDragEles=i.collection(),x=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),m.selected()?(x=i.$((function(e){return e.selected()&&t.nodeIsGrabbable(e)})),d(x,{addToList:v})):g(m,{addToList:v}),u(m);var k=function(t){return{originalEvent:e,type:t,position:{x:r[0],y:r[1]}}};m.emit(k("grabon")),x?x.forEach((function(t){t.emit(k("grab"))})):m.emit(k("grab"))}n(m,["touchstart","tapstart","vmousedown"],e,{x:r[0],y:r[1]}),null==m&&(t.data.bgActivePosistion={x:o[0],y:o[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout((function(){!1===t.touchData.singleTouchMoved&&!t.pinching&&!t.touchData.selecting&&n(t.touchData.start,["taphold"],e,{x:r[0],y:r[1]})}),t.tapholdDuration)}if(e.touches.length>=1){for(var _=t.touchData.startPosition=[],E=0;E<r.length;E++)_[E]=a[E]=r[E];var T=e.touches[0];t.touchData.startGPosition=[T.clientX,T.clientY]}}},!1),t.registerBinding(window,"touchmove",U=function(e){var i=t.touchData.capture;if(i||S(e)){var a=t.selection,o=t.cy,s=t.touchData.now,c=t.touchData.earlier,u=o.zoom();if(e.touches[0]){var l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);s[0]=l[0],s[1]=l[1]}e.touches[1]&&(l=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=l[0],s[3]=l[1]),e.touches[2]&&(l=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=l[0],s[5]=l[1]);var h,f=t.touchData.startGPosition;if(i&&e.touches[0]&&f){for(var g=[],b=0;b<s.length;b++)g[b]=s[b]-c[b];var w=e.touches[0].clientX-f[0],y=w*w,m=e.touches[0].clientY-f[1];h=y+m*m>=t.touchTapThreshold2}if(i&&t.touchData.cxt){e.preventDefault();var v=e.touches[0].clientX-j,x=e.touches[0].clientY-R,k=e.touches[1].clientX-j,_=e.touches[1].clientY-R,T=V(v,x,k,_),C=150,A=1.5;if(T/D>=A*A||T>=C*C){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var P={originalEvent:e,type:"cxttapend",position:{x:s[0],y:s[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(P),t.touchData.start=null):o.emit(P)}}if(i&&t.touchData.cxt){P={originalEvent:e,type:"cxtdrag",position:{x:s[0],y:s[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(P):o.emit(P),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var $=t.findNearestElement(s[0],s[1],!0,!0);(!t.touchData.cxtOver||$!==t.touchData.cxtOver)&&(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:s[0],y:s[1]}}),t.touchData.cxtOver=$,$&&$.emit({originalEvent:e,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(i&&e.touches[2]&&o.boxSelectionEnabled())e.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:s[0],y:s[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,a[4]=1,a&&0!==a.length&&void 0!==a[0]?(a[2]=(s[0]+s[2]+s[4])/3,a[3]=(s[1]+s[3]+s[5])/3):(a[0]=(s[0]+s[2]+s[4])/3,a[1]=(s[1]+s[3]+s[5])/3,a[2]=(s[0]+s[2]+s[4])/3+1,a[3]=(s[1]+s[3]+s[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(i&&e.touches[1]&&!t.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(e.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),nt=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var F=0;F<nt.length;F++){var H=nt[F]._private;H.grabbed=!1,H.rscratch.inDragLayer=!1}}var U=t.touchData.start,G=(v=e.touches[0].clientX-j,x=e.touches[0].clientY-R,k=e.touches[1].clientX-j,_=e.touches[1].clientY-R,X(v,x,k,_)),q=G/N;if(z){var K=(v-M+(k-O))/2,Y=(x-I+(_-L))/2,W=o.zoom(),Q=W*q,Z=o.pan(),J=B[0]*W+Z.x,tt=B[1]*W+Z.y,et={x:-Q/W*(J-Z.x-K)+J,y:-Q/W*(tt-Z.y-Y)+tt};if(U&&U.active()){var nt=t.dragData.touchDragEles;p(nt),t.redrawHint("drag",!0),t.redrawHint("eles",!0),U.unactivate().emit("freeon"),nt.emit("free"),t.dragData.didDrag&&(U.emit("dragfreeon"),nt.emit("dragfree"))}o.viewport({zoom:Q,pan:et,cancelOnFailedZoom:!0}),o.emit("pinchzoom"),N=G,M=v,I=x,O=k,L=_,t.pinching=!0}e.touches[0]&&(l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=l[0],s[1]=l[1]),e.touches[1]&&(l=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=l[0],s[3]=l[1]),e.touches[2]&&(l=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=l[0],s[5]=l[1])}else if(e.touches[0]&&!t.touchData.didSelect){var it=t.touchData.start,rt=t.touchData.last;if(!t.hoverData.draggingEles&&!t.swipePanning&&($=t.findNearestElement(s[0],s[1],!0,!0)),i&&null!=it&&e.preventDefault(),i&&null!=it&&t.nodeIsDraggable(it))if(h){nt=t.dragData.touchDragEles;var at=!t.dragData.didDrag;at&&d(nt,{inDragLayer:!0}),t.dragData.didDrag=!0;var ot={x:0,y:0};E(g[0])&&E(g[1])&&(ot.x+=g[0],ot.y+=g[1],at)&&(t.redrawHint("eles",!0),(st=t.touchData.dragDelta)&&E(st[0])&&E(st[1])&&(ot.x+=st[0],ot.y+=st[1])),t.hoverData.draggingEles=!0,nt.silentShift(ot).emit("position drag"),t.redrawHint("drag",!0),t.touchData.startPosition[0]==c[0]&&t.touchData.startPosition[1]==c[1]&&t.redrawHint("eles",!0),t.redraw()}else{var st;0===(st=t.touchData.dragDelta=t.touchData.dragDelta||[]).length?(st.push(g[0]),st.push(g[1])):(st[0]+=g[0],st[1]+=g[1])}if(n(it||$,["touchmove","tapdrag","vmousemove"],e,{x:s[0],y:s[1]}),(!it||!it.grabbed())&&$!=rt&&(rt&&rt.emit({originalEvent:e,type:"tapdragout",position:{x:s[0],y:s[1]}}),$&&$.emit({originalEvent:e,type:"tapdragover",position:{x:s[0],y:s[1]}})),t.touchData.last=$,i)for(F=0;F<s.length;F++)s[F]&&t.touchData.startPosition[F]&&h&&(t.touchData.singleTouchMoved=!0);i&&(null==it||it.pannable())&&o.panningEnabled()&&o.userPanningEnabled()&&(r(it,t.touchData.starts)&&(e.preventDefault(),t.data.bgActivePosistion||(t.data.bgActivePosistion=dn(t.touchData.startPosition)),t.swipePanning?(o.panBy({x:g[0]*u,y:g[1]*u}),o.emit("dragpan")):h&&(t.swipePanning=!0,o.panBy({x:w*u,y:m*u}),o.emit("dragpan"),it&&(it.unactivate(),t.redrawHint("select",!0),t.touchData.start=null))),l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=l[0],s[1]=l[1])}for(b=0;b<s.length;b++)c[b]=s[b];i&&e.touches.length>0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(window,"touchcancel",G=function(e){var n=t.touchData.start;t.touchData.capture=!1,n&&n.unactivate()}),t.registerBinding(window,"touchend",q=function(i){var r=t.touchData.start;if(t.touchData.capture){0===i.touches.length&&(t.touchData.capture=!1),i.preventDefault();var a=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var o,s=t.cy,c=s.zoom(),u=t.touchData.now,l=t.touchData.earlier;if(i.touches[0]){var h=t.projectIntoViewport(i.touches[0].clientX,i.touches[0].clientY);u[0]=h[0],u[1]=h[1]}if(i.touches[1]&&(h=t.projectIntoViewport(i.touches[1].clientX,i.touches[1].clientY),u[2]=h[0],u[3]=h[1]),i.touches[2]&&(h=t.projectIntoViewport(i.touches[2].clientX,i.touches[2].clientY),u[4]=h[0],u[5]=h[1]),r&&r.unactivate(),t.touchData.cxt){if(o={originalEvent:i,type:"cxttapend",position:{x:u[0],y:u[1]}},r?r.emit(o):s.emit(o),!t.touchData.cxtDragged){var f={originalEvent:i,type:"cxttap",position:{x:u[0],y:u[1]}};r?r.emit(f):s.emit(f)}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!i.touches[2]&&s.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var d=s.collection(t.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,t.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:i,position:{x:u[0],y:u[1]}});var g=function(t){return t.selectable()&&!t.selected()};d.emit("box").stdFilter(g).select().emit("boxselect"),d.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(null!=r&&r.unactivate(),i.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(!i.touches[1]&&!i.touches[0]&&!i.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var b=t.dragData.touchDragEles;if(null!=r){var w=r._private.grabbed;p(b),t.redrawHint("drag",!0),t.redrawHint("eles",!0),w&&(r.emit("freeon"),b.emit("free"),t.dragData.didDrag&&(r.emit("dragfreeon"),b.emit("dragfree"))),n(r,["touchend","tapend","vmouseup","tapdragout"],i,{x:u[0],y:u[1]}),r.unactivate(),t.touchData.start=null}else{var y=t.findNearestElement(u[0],u[1],!0,!0);n(y,["touchend","tapend","vmouseup","tapdragout"],i,{x:u[0],y:u[1]})}var m=t.touchData.startPosition[0]-u[0],v=m*m,x=t.touchData.startPosition[1]-u[1],k=(v+x*x)*c*c;t.touchData.singleTouchMoved||(r||s.$(":selected").unselect(["tapunselect"]),n(r,["tap","vclick"],i,{x:u[0],y:u[1]}),K=!1,i.timeStamp-W<=s.multiClickDebounceTime()?(Y&&clearTimeout(Y),K=!0,W=null,n(r,["dbltap","vdblclick"],i,{x:u[0],y:u[1]})):(Y=setTimeout((function(){K||n(r,["onetap","voneclick"],i,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),W=i.timeStamp)),null!=r&&!t.dragData.didDrag&&r._private.selectable&&k<t.touchTapThreshold2&&!t.pinching&&("single"===s.selectionType()?(s.$(e).unmerge(r).unselect(["tapunselect"]),r.select(["tapselect"])):r.selected()?r.unselect(["tapunselect"]):r.select(["tapselect"]),t.redrawHint("eles",!0)),t.touchData.singleTouchMoved=!0}for(var _=0;_<u.length;_++)l[_]=u[_];t.dragData.didDrag=!1,0===i.touches.length&&(t.touchData.dragDelta=[],t.touchData.startPosition=null,t.touchData.startGPosition=null,t.touchData.didSelect=!1),i.touches.length<2&&(1===i.touches.length&&(t.touchData.startGPosition=[i.touches[0].clientX,i.touches[0].clientY]),t.pinching=!1,t.redrawHint("eles",!0),t.redraw())}},!1),typeof TouchEvent>"u"){var Q=[],Z=function(t){return{clientX:t.clientX,clientY:t.clientY,force:1,identifier:t.pointerId,pageX:t.pageX,pageY:t.pageY,radiusX:t.width/2,radiusY:t.height/2,screenX:t.screenX,screenY:t.screenY,target:t.target}},J=function(t){return{event:t,touch:Z(t)}},tt=function(t){Q.push(J(t))},et=function(t){for(var e=0;e<Q.length;e++)if(Q[e].event.pointerId===t.pointerId)return void Q.splice(e,1)},nt=function(t){var e=Q.filter((function(e){return e.event.pointerId===t.pointerId}))[0];e.event=t,e.touch=Z(t)},it=function(t){t.touches=Q.map((function(t){return t.touch}))},rt=function(t){return"mouse"===t.pointerType||4===t.pointerType};t.registerBinding(t.container,"pointerdown",(function(t){rt(t)||(t.preventDefault(),tt(t),it(t),H(t))})),t.registerBinding(t.container,"pointerup",(function(t){rt(t)||(et(t),it(t),q(t))})),t.registerBinding(t.container,"pointercancel",(function(t){rt(t)||(et(t),it(t),G(t))})),t.registerBinding(t.container,"pointermove",(function(t){rt(t)||(t.preventDefault(),nt(t),it(t),U(t))}))}}},yh={generatePolygon:function(t,e){return this.nodeShapes[t]={renderer:this,name:t,points:e,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("polygon",t,e,n,i,r,this.points)},intersectLine:function(t,e,n,i,r,a,o){return ri(r,a,this.points,t,e,n/2,i/2,o)},checkPoint:function(t,e,n,i,r,a,o){return Xn(t,e,this.points,a,o,i,r,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){return Jn(r,a,t,e,n/2+o,i/2+o)},checkPoint:function(t,e,n,i,r,a,o){return ti(t,e,i,r,a,o,n)}}},generateRoundPolygon:function(t,e){for(var n=new Array(2*e.length),i=0;i<e.length/2;i++){var r=2*i,a=void 0;a=i<e.length/2-1?2*(i+1):0,n[4*i]=e[r],n[4*i+1]=e[r+1];var o=e[a]-e[r],s=e[a+1]-e[r+1],c=Math.sqrt(o*o+s*s);n[4*i+2]=o/c,n[4*i+3]=s/c}return this.nodeShapes[t]={renderer:this,name:t,points:n,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("round-polygon",t,e,n,i,r,this.points)},intersectLine:function(t,e,n,i,r,a,o){return ai(r,a,this.points,t,e,n,i)},checkPoint:function(t,e,n,i,r,a,o){return Vn(t,e,this.points,a,o,i,r)}}},generateRoundRectangle:function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){return zn(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=li(i,r),c=2*s;return!!(Xn(t,e,this.points,a,o,i,r-c,[0,-1],n)||Xn(t,e,this.points,a,o,i-c,r,[0,-1],n)||ti(t,e,c,c,a-i/2+s,o-r/2+s,n)||ti(t,e,c,c,a+i/2-s,o-r/2+s,n)||ti(t,e,c,c,a+i/2-s,o+r/2-s,n)||ti(t,e,c,c,a-i/2+s,o+r/2-s,n))}}},generateCutRectangle:function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:fi(),points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},generateCutTrianglePts:function(t,e,n,i){var r=this.cornerLength,a=e/2,o=t/2,s=n-o,c=n+o,u=i-a,l=i+a;return{topLeft:[s,u+r,s+r,u,s+r,u+r],topRight:[c-r,u,c,u+r,c-r,u+r],bottomRight:[c,l-r,c-r,l,c-r,l-r],bottomLeft:[s+r,l,s,l-r,s+r,l-r]}},intersectLine:function(t,e,n,i,r,a,o){var s=this.generateCutTrianglePts(n+2*o,i+2*o,t,e),c=[].concat.apply([],[s.topLeft.splice(0,4),s.topRight.splice(0,4),s.bottomRight.splice(0,4),s.bottomLeft.splice(0,4)]);return ri(r,a,c,t,e)},checkPoint:function(t,e,n,i,r,a,o){if(Xn(t,e,this.points,a,o,i,r-2*this.cornerLength,[0,-1],n)||Xn(t,e,this.points,a,o,i-2*this.cornerLength,r,[0,-1],n))return!0;var s=this.generateCutTrianglePts(i,r,a,o);return Wn(t,e,s.topLeft)||Wn(t,e,s.topRight)||Wn(t,e,s.bottomRight)||Wn(t,e,s.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){var s=.15,c=.5,u=.85,l=this.generateBarrelBezierPts(n+2*o,i+2*o,t,e),h=function(t){var e=Cn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},s),n=Cn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},c),i=Cn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},u);return[t[0],t[1],e.x,e.y,n.x,n.y,i.x,i.y,t[4],t[5]]},f=[].concat(h(l.topLeft),h(l.topRight),h(l.bottomRight),h(l.bottomLeft));return ri(r,a,f,t,e)},generateBarrelBezierPts:function(t,e,n,i){var r=e/2,a=t/2,o=n-a,s=n+a,c=i-r,u=i+r,l=gi(t,e),h=l.heightOffset,f=l.widthOffset,d=l.ctrlPtOffsetPct*t,g={topLeft:[o,c+h,o+d,c,o+f,c],topRight:[s-f,c,s-d,c,s,c+h],bottomRight:[s,u-h,s-d,u,s-f,u],bottomLeft:[o+f,u,o+d,u,o,u-h]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(t,e,n,i,r,a,o){var s=gi(i,r),c=s.heightOffset,u=s.widthOffset;if(Xn(t,e,this.points,a,o,i,r-2*c,[0,-1],n)||Xn(t,e,this.points,a,o,i-2*u,r,[0,-1],n))return!0;for(var l=this.generateBarrelBezierPts(i,r,a,o),h=function(t,e,n){var i=n[4],r=n[2],a=n[0],o=n[5],s=n[1],c=Math.min(i,a),u=Math.max(i,a),l=Math.min(o,s),h=Math.max(o,s);if(c<=t&&t<=u&&l<=e&&e<=h){var f=di(i,r,a),d=Gn(f[0],f[1],f[2],t).filter((function(t){return 0<=t&&t<=1}));if(d.length>0)return d[0]}return null},f=Object.keys(l),d=0;d<f.length;d++){var g=l[f[d]],p=h(t,e,g);if(null!=p){var b=g[5],w=g[3],y=g[1],m=Tn(b,w,y,p);if(g.isTop&&m<=e||g.isBottom&&e<=m)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:si(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){var s=e-(i/2+o),c=ii(r,a,t,e,t-(n/2+o),s,t+(n/2+o),s,!1);return c.length>0?c:zn(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=li(i,r),c=2*s;if(Xn(t,e,this.points,a,o,i,r-c,[0,-1],n)||Xn(t,e,this.points,a,o,i-c,r,[0,-1],n))return!0;var u=i/2+2*n,l=r/2+2*n;return!!(Wn(t,e,[a-u,o-l,a-u,o,a+u,o,a+u,o-l])||ti(t,e,c,c,a+i/2-s,o+r/2-s,n)||ti(t,e,c,c,a-i/2+s,o+r/2-s,n))}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",si(3,0)),this.generateRoundPolygon("round-triangle",si(3,0)),this.generatePolygon("rectangle",si(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",si(5,0)),this.generateRoundPolygon("round-pentagon",si(5,0)),this.generatePolygon("hexagon",si(6,0)),this.generateRoundPolygon("round-hexagon",si(6,0)),this.generatePolygon("heptagon",si(7,0)),this.generateRoundPolygon("round-heptagon",si(7,0)),this.generatePolygon("octagon",si(8,0)),this.generateRoundPolygon("round-octagon",si(8,0));var i=new Array(20),r=ui(5,0),a=ui(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s<a.length/2;s++)a[2*s]*=o,a[2*s+1]*=o;for(s=0;s<5;s++)i[4*s]=r[2*s],i[4*s+1]=r[2*s+1],i[4*s+2]=a[2*s],i[4*s+3]=a[2*s+1];i=ci(i),this.generatePolygon("star",i),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);var c=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",c),this.generateRoundPolygon("round-tag",c),t.makePolygon=function(t){var n,i="polygon-"+t.join("$");return(n=this[i])?n:e.generatePolygon(i,t)}}},mh={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(t){t=t||Ne();var e=this;void 0===e.averageRedrawTime&&(e.averageRedrawTime=0),void 0===e.lastRedrawTime&&(e.lastRedrawTime=0),void 0===e.lastDrawTime&&(e.lastDrawTime=0),e.requestedFrame=!0,e.renderOptions=t},beforeRender:function(t,e){if(!this.destroyed){null==e&&Te("Priority is not optional for beforeRender");var n=this.beforeRenderCallbacks;n.push({fn:t,priority:e}),n.sort((function(t,e){return e.priority-t.priority}))}}},vh=function(t,e,n){for(var i=t.beforeRenderCallbacks,r=0;r<i.length;r++)i[r].fn(e,n)};mh.startRenderLoop=function(){var t=this,e=t.cy;if(!t.renderLoopStarted){t.renderLoopStarted=!0;var n=function n(i){if(!t.destroyed){if(!e.batching())if(t.requestedFrame&&!t.skipFrame){vh(t,!0,i);var r=ie();t.render(t.renderOptions);var a=t.lastDrawTime=ie();void 0===t.averageRedrawTime&&(t.averageRedrawTime=a-r),void 0===t.redrawCount&&(t.redrawCount=0),t.redrawCount++,void 0===t.redrawTotalTime&&(t.redrawTotalTime=0);var o=a-r;t.redrawTotalTime+=o,t.lastRedrawTime=o,t.averageRedrawTime=t.averageRedrawTime/2+o/2,t.requestedFrame=!1}else vh(t,!1,i);t.skipFrame=!1,ne(n)}};ne(n)}};var xh=function(t){this.init(t)},kh=xh.prototype;kh.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],kh.init=function(t){var e=this;e.options=t,e.cy=t.cy;var n=e.container=t.cy.container();if(f){var i=f.document,r=i.head,a="__________cytoscape_stylesheet",o="__________cytoscape_container",s=null!=i.getElementById(a);if(n.className.indexOf(o)<0&&(n.className=(n.className||"")+" "+o),!s){var c=i.createElement("style");c.id=a,c.innerHTML="."+o+" { position: relative; }",r.insertBefore(c,r.children[0])}"static"===f.getComputedStyle(n).getPropertyValue("position")&&Se("A Cytoscape container has style position:static and so can not use UI extensions properly")}e.selection=[void 0,void 0,void 0,void 0,0],e.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],e.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},e.dragData={possibleDragElements:[]},e.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},e.redraws=0,e.showFps=t.showFps,e.debug=t.debug,e.hideEdgesOnViewport=t.hideEdgesOnViewport,e.textureOnViewport=t.textureOnViewport,e.wheelSensitivity=t.wheelSensitivity,e.motionBlurEnabled=t.motionBlur,e.forcedPixelRatio=E(t.pixelRatio)?t.pixelRatio:null,e.motionBlur=t.motionBlur,e.motionBlurOpacity=t.motionBlurOpacity,e.motionBlurTransparency=1-e.motionBlurOpacity,e.motionBlurPxRatio=1,e.mbPxRBlurry=1,e.minMbLowQualFrames=4,e.fullQualityMb=!1,e.clearedForMotionBlur=[],e.desktopTapThreshold=t.desktopTapThreshold,e.desktopTapThreshold2=t.desktopTapThreshold*t.desktopTapThreshold,e.touchTapThreshold=t.touchTapThreshold,e.touchTapThreshold2=t.touchTapThreshold*t.touchTapThreshold,e.tapholdDuration=500,e.bindings=[],e.beforeRenderCallbacks=[],e.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},e.registerNodeShapes(),e.registerArrowShapes(),e.registerCalculationListeners()},kh.notify=function(t,e){var n=this,i=n.cy;if(!this.destroyed){if("init"===t)return void n.load();if("destroy"===t)return void n.destroy();("add"===t||"remove"===t||"move"===t&&i.hasCompoundNodes()||"load"===t||"zorder"===t||"mount"===t)&&n.invalidateCachedZSortedEles(),"viewport"===t&&n.redrawHint("select",!0),("load"===t||"resize"===t||"mount"===t)&&(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()}},kh.destroy=function(){var t=this;t.destroyed=!0,t.cy.stopAnimationLoop();for(var e=0;e<t.bindings.length;e++){var n=t.bindings[e],i=n.target;(i.off||i.removeEventListener).apply(i,n.args)}if(t.bindings=[],t.beforeRenderCallbacks=[],t.onUpdateEleCalcsFns=[],t.removeObserver&&t.removeObserver.disconnect(),t.styleObserver&&t.styleObserver.disconnect(),t.resizeObserver&&t.resizeObserver.disconnect(),t.labelCalcDiv)try{document.body.removeChild(t.labelCalcDiv)}catch{}},kh.isHeadless=function(){return!1},[Zl,ph,bh,wh,yh,mh].forEach((function(t){Z(kh,t)}));var _h=1e3/60,Eh={setupDequeueing:function(t){return function(){var e=this,n=this.renderer;if(!e.dequeueingSetup){e.dequeueingSetup=!0;var i=Zt((function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()}),t.deqRedrawThreshold),r=function(r,a){var o=ie(),s=n.averageRedrawTime,c=n.lastRedrawTime,u=[],l=n.cy.extent(),h=n.getPixelRatio();for(r||n.flushRenderedStyleQueue();;){var f=ie(),d=f-o,g=f-a;if(c<_h){var p=_h-(r?s:0);if(g>=t.deqFastCost*p)break}else if(r){if(d>=t.deqCost*c||d>=t.deqAvgCost*s)break}else if(g>=t.deqNoDrawCost*_h)break;var b=t.deq(e,h,l);if(!(b.length>0))break;for(var w=0;w<b.length;w++)u.push(b[w])}u.length>0&&(t.onDeqd(e,u),!r&&t.shouldRedraw(e,u,h,l)&&i())},a=t.priority||Ee;n.beforeRender(r,a(e))}}}},Th=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ke;e(this,t),this.idsByKey=new ze,this.keyForId=new ze,this.cachesByLvl=new ze,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=i}return i(t,[{key:"getIdsFor",value:function(t){null==t&&Te("Can not get id list for null key");var e=this.idsByKey,n=this.idsByKey.get(t);return n||(n=new Ge,e.set(t,n)),n}},{key:"addIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).add(e)}},{key:"deleteIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).delete(e)}},{key:"getNumberOfIdsForKey",value:function(t){return null==t?0:this.getIdsFor(t).size}},{key:"updateKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e),i=this.getKey(t);this.deleteIdForKey(n,e),this.addIdForKey(i,e),this.keyForId.set(e,i)}},{key:"deleteKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteIdForKey(n,e),this.keyForId.delete(e)}},{key:"keyHasChangedFor",value:function(t){var e=t.id();return this.keyForId.get(e)!==this.getKey(t)}},{key:"isInvalid",value:function(t){return this.keyHasChangedFor(t)||this.doesEleInvalidateKey(t)}},{key:"getCachesAt",value:function(t){var e=this.cachesByLvl,n=this.lvls,i=e.get(t);return i||(i=new ze,e.set(t,i),n.push(t)),i}},{key:"getCache",value:function(t,e){return this.getCachesAt(e).get(t)}},{key:"get",value:function(t,e){var n=this.getKey(t),i=this.getCache(n,e);return null!=i&&this.updateKeyMappingFor(t),i}},{key:"getForCachedKey",value:function(t,e){var n=this.keyForId.get(t.id());return this.getCache(n,e)}},{key:"hasCache",value:function(t,e){return this.getCachesAt(e).has(t)}},{key:"has",value:function(t,e){var n=this.getKey(t);return this.hasCache(n,e)}},{key:"setCache",value:function(t,e,n){n.key=t,this.getCachesAt(e).set(t,n)}},{key:"set",value:function(t,e,n){var i=this.getKey(t);this.setCache(i,e,n),this.updateKeyMappingFor(t)}},{key:"deleteCache",value:function(t,e){this.getCachesAt(e).delete(t)}},{key:"delete",value:function(t,e){var n=this.getKey(t);this.deleteCache(n,e)}},{key:"invalidateKey",value:function(t){var e=this;this.lvls.forEach((function(n){return e.deleteCache(t,n)}))}},{key:"invalidate",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteKeyMappingFor(t);var i=this.doesEleInvalidateKey(t);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),Ch=25,Sh=50,Ah=-4,Mh=3,Ih=7.99,Oh=8,Lh=1024,Nh=1024,Dh=1024,Ph=.2,Bh=.8,jh=10,Rh=.15,$h=.1,Fh=.9,zh=.9,Hh=100,Uh=1,Gh={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},qh=De({getKey:null,doesEleInvalidateKey:ke,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:xe,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Kh=function(t,e){var n=this;n.renderer=t,n.onDequeues=[];var i=qh(e);Z(n,i),n.lookup=new Th(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},Yh=Kh.prototype;Yh.reasons=Gh,Yh.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},Yh.getRetiredTextureQueue=function(t){var e=this,n=e.eleImgCaches.retired=e.eleImgCaches.retired||{};return n[t]=n[t]||[]},Yh.getElementQueue=function(){var t=this;return t.eleCacheQueue=t.eleCacheQueue||new Xe((function(t,e){return e.reqs-t.reqs}))},Yh.getElementKeyToQueue=function(){var t=this;return t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{}},Yh.getElement=function(t,e,n,i,r){var a=this,o=this.renderer,s=o.cy.zoom(),c=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed()||!a.allowEdgeTxrCaching&&t.isEdge()||!a.allowParentTxrCaching&&t.isParent())return null;if(null==i&&(i=Math.ceil(vn(s*n))),i<Ah)i=Ah;else if(s>=Ih||i>Mh)return null;var u=Math.pow(2,i),l=e.h*u,h=e.w*u,f=o.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,f))return null;var d,g=c.get(t,i);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(d=l<=Ch?Ch:l<=Sh?Sh:Math.ceil(l/Sh)*Sh,l>Dh||h>Nh)return null;var p=a.getTextureQueue(d),b=p[p.length-2],w=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=p[p.length-1]),b||(b=w()),b.width-b.usedWidth<h&&(b=w());for(var y,m=function(t){return t&&t.scaledLabelShown===f},v=r&&r===Gh.dequeue,x=r&&r===Gh.highQuality,k=r&&r===Gh.downscale,_=i+1;_<=Mh;_++){var E=c.get(t,_);if(E){y=E;break}}var T=y&&y.level===i+1?y:null,C=function(){b.context.drawImage(T.texture.canvas,T.x,0,T.width,T.height,b.usedWidth,0,h,l)};if(b.context.setTransform(1,0,0,1,0,0),b.context.clearRect(b.usedWidth,0,h,d),m(T))C();else if(m(y)){if(!x)return a.queueElement(t,y.level-1),y;for(var S=y.level;S>i;S--)T=a.getElement(t,e,n,S,Gh.downscale);C()}else{var A;if(!v&&!x&&!k)for(var M=i-1;M>=Ah;M--){var I=c.get(t,M);if(I){A=I;break}}if(m(A))return a.queueElement(t,i),A;b.context.translate(b.usedWidth,0),b.context.scale(u,u),this.drawElement(b.context,t,e,f,!1),b.context.scale(1/u,1/u),b.context.translate(-b.usedWidth,0)}return g={x:b.usedWidth,texture:b,level:i,scale:u,width:h,height:l,scaledLabelShown:f},b.usedWidth+=Math.ceil(h+Oh),b.eleCaches.push(g),c.set(t,i,g),a.checkTextureFullness(b),g},Yh.invalidateElements=function(t){for(var e=0;e<t.length;e++)this.invalidateElement(t[e])},Yh.invalidateElement=function(t){var e=this,n=e.lookup,i=[];if(n.isInvalid(t)){for(var r=Ah;r<=Mh;r++){var a=n.getForCachedKey(t,r);a&&i.push(a)}if(n.invalidate(t))for(var o=0;o<i.length;o++){var s=i[o],c=s.texture;c.invalidatedWidth+=s.width,s.invalidated=!0,e.checkTextureUtility(c)}e.removeFromQueue(t)}},Yh.checkTextureUtility=function(t){t.invalidatedWidth>=Ph*t.width&&this.retireTexture(t)},Yh.checkTextureFullness=function(t){var e=this.getTextureQueue(t.height);t.usedWidth/t.width>Bh&&t.fullnessChecks>=jh?Pe(e,t):t.fullnessChecks++},Yh.retireTexture=function(t){var e=this,n=t.height,i=e.getTextureQueue(n),r=this.lookup;Pe(i,t),t.retired=!0;for(var a=t.eleCaches,o=0;o<a.length;o++){var s=a[o];r.deleteCache(s.key,s.level)}Be(a),e.getRetiredTextureQueue(n).push(t)},Yh.addTexture=function(t,e){var n=this,i={};return n.getTextureQueue(t).push(i),i.eleCaches=[],i.height=t,i.width=Math.max(Lh,e),i.usedWidth=0,i.invalidatedWidth=0,i.fullnessChecks=0,i.canvas=n.renderer.makeOffscreenCanvas(i.width,i.height),i.context=i.canvas.getContext("2d"),i},Yh.recycleTexture=function(t,e){for(var n=this,i=n.getTextureQueue(t),r=n.getRetiredTextureQueue(t),a=0;a<r.length;a++){var o=r[a];if(o.width>=e)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,Be(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),Pe(r,o),i.push(o),o}},Yh.queueElement=function(t,e){var n=this,i=n.getElementQueue(),r=n.getElementKeyToQueue(),a=this.getKey(t),o=r[a];if(o)o.level=Math.max(o.level,e),o.eles.merge(t),o.reqs++,i.updateItem(o);else{var s={eles:t.spawn().merge(t),level:e,reqs:1,key:a};i.push(s),r[a]=s}},Yh.dequeue=function(t){for(var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=[],a=e.lookup,o=0;o<Uh&&n.size()>0;o++){var s=n.pop(),c=s.key,u=s.eles[0],l=a.hasCache(u,s.level);if(i[c]=null,!l){r.push(s);var h=e.getBoundingBox(u);e.getElement(u,h,t,s.level,Gh.dequeue)}}return r},Yh.removeFromQueue=function(t){var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=this.getKey(t),a=i[r];null!=a&&(1===a.eles.length?(a.reqs=ve,n.updateItem(a),n.pop(),i[r]=null):a.eles.unmerge(t))},Yh.onDequeue=function(t){this.onDequeues.push(t)},Yh.offDequeue=function(t){Pe(this.onDequeues,t)},Yh.setupDequeueing=Eh.setupDequeueing({deqRedrawThreshold:Hh,deqCost:Rh,deqAvgCost:$h,deqNoDrawCost:Fh,deqFastCost:zh,deq:function(t,e,n){return t.dequeue(e,n)},onDeqd:function(t,e){for(var n=0;n<t.onDequeues.length;n++)(0,t.onDequeues[n])(e)},shouldRedraw:function(t,e,n,i){for(var r=0;r<e.length;r++)for(var a=e[r].eles,o=0;o<a.length;o++){var s=a[o].boundingBox();if(jn(s,i))return!0}return!1},priority:function(t){return t.renderer.beforeRenderPriorities.eleTxrDeq}});var Wh=1,Xh=-4,Vh=2,Qh=3.99,Zh=50,Jh=50,tf=.15,ef=.1,nf=.9,rf=.9,af=1,of=250,sf=16e6,cf=!0,uf=function(t){var e=this,n=e.renderer=t,i=n.cy;e.layersByLevel={},e.firstGet=!0,e.lastInvalidationTime=ie()-2*of,e.skipping=!1,e.eleTxrDeqs=i.collection(),e.scheduleElementRefinement=Zt((function(){e.refineElementTextures(e.eleTxrDeqs),e.eleTxrDeqs.unmerge(e.eleTxrDeqs)}),Jh),n.beforeRender((function(t,n){n-e.lastInvalidationTime<=of?e.skipping=!0:e.skipping=!1}),n.beforeRenderPriorities.lyrTxrSkip);var r=function(t,e){return e.reqs-t.reqs};e.layersQueue=new Xe(r),e.setupDequeueing()},lf=uf.prototype,hf=0,ff=Math.pow(2,53)-1;lf.makeLayer=function(t,e){var n=Math.pow(2,e),i=Math.ceil(t.w*n),r=Math.ceil(t.h*n),a=this.renderer.makeOffscreenCanvas(i,r),o={id:hf=++hf%ff,bb:t,level:e,width:i,height:r,canvas:a,context:a.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=o.context,c=-o.bb.x1,u=-o.bb.y1;return s.scale(n,n),s.translate(c,u),o},lf.getLayers=function(t,e,n){var i=this,r=i.renderer.cy.zoom(),a=i.firstGet;if(i.firstGet=!1,null==n)if((n=Math.ceil(vn(r*e)))<Xh)n=Xh;else if(r>=Qh||n>Vh)return null;i.validateLayersElesOrdering(n,t);var o,s,c=i.layersByLevel,u=Math.pow(2,n),l=c[n]=c[n]||[];if(i.levelIsComplete(n,t))return l;!function(){var e=function(e){if(i.validateLayersElesOrdering(e,t),i.levelIsComplete(e,t))return s=c[e],!0},r=function(t){if(!s)for(var i=n+t;Xh<=i&&i<=Vh&&!e(i);i+=t);};r(1),r(-1);for(var a=l.length-1;a>=0;a--){var o=l[a];o.invalid&&Pe(l,o)}}();var h=function(){if(!o){o=Mn();for(var e=0;e<t.length;e++)Ln(o,t[e].boundingBox())}return o},f=function(t){var e=(t=t||{}).after;if(h(),o.w*u*(o.h*u)>sf)return null;var r=i.makeLayer(o,n);if(null!=e){var a=l.indexOf(e)+1;l.splice(a,0,r)}else(void 0===t.insert||t.insert)&&l.unshift(r);return r};if(i.skipping&&!a)return null;for(var d=null,g=t.length/Wh,p=!a,b=0;b<t.length;b++){var w=t[b],y=w._private.rscratch,m=y.imgLayerCaches=y.imgLayerCaches||{},v=m[n];if(v)d=v;else{if((!d||d.eles.length>=g||!Fn(d.bb,w.boundingBox()))&&!(d=f({insert:!0,after:d})))return null;s||p?i.queueLayer(d,w):i.drawEleInLayer(d,w,n,e),d.eles.push(w),m[n]=d}}return s||(p?null:l)},lf.getEleLevelForLayerLevel=function(t,e){return t},lf.drawEleInLayer=function(t,e,n,i){var r=this,a=this.renderer,o=t.context,s=e.boundingBox();0===s.w||0===s.h||!e.visible()||(n=r.getEleLevelForLayerLevel(n,i),a.setImgSmoothing(o,!1),a.drawCachedElement(o,e,null,null,n,cf),a.setImgSmoothing(o,!0))},lf.levelIsComplete=function(t,e){var n=this.layersByLevel[t];if(!n||0===n.length)return!1;for(var i=0,r=0;r<n.length;r++){var a=n[r];if(a.reqs>0||a.invalid)return!1;i+=a.eles.length}return i===e.length},lf.validateLayersElesOrdering=function(t,e){var n=this.layersByLevel[t];if(n)for(var i=0;i<n.length;i++){for(var r=n[i],a=-1,o=0;o<e.length;o++)if(r.eles[0]===e[o]){a=o;break}if(a<0)this.invalidateLayer(r);else{var s=a;for(o=0;o<r.eles.length;o++)if(r.eles[o]!==e[s+o]){this.invalidateLayer(r);break}}}},lf.updateElementsInLayers=function(t,e){for(var n=this,i=A(t[0]),r=0;r<t.length;r++)for(var a=i?null:t[r],o=i?t[r]:t[r].ele,s=o._private.rscratch,c=s.imgLayerCaches=s.imgLayerCaches||{},u=Xh;u<=Vh;u++){var l=c[u];l&&(a&&n.getEleLevelForLayerLevel(l.level)!==a.level||e(l,o,a))}},lf.haveLayers=function(){for(var t=this,e=!1,n=Xh;n<=Vh;n++){var i=t.layersByLevel[n];if(i&&i.length>0){e=!0;break}}return e},lf.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=ie(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,(function(t,n,i){e.invalidateLayer(t)})))},lf.invalidateLayer=function(t){if(this.lastInvalidationTime=ie(),!t.invalid){var e=t.level,n=t.eles,i=this.layersByLevel[e];Pe(i,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var r=0;r<n.length;r++){var a=n[r]._private.rscratch.imgLayerCaches;a&&(a[e]=null)}}},lf.refineElementTextures=function(t){var e=this;e.updateElementsInLayers(t,(function(t,n,i){var r=t.replacement;if(r||((r=t.replacement=e.makeLayer(t.bb,t.level)).replaces=t,r.eles=t.eles),!r.reqs)for(var a=0;a<r.eles.length;a++)e.queueLayer(r,r.eles[a])}))},lf.enqueueElementRefinement=function(t){this.eleTxrDeqs.merge(t),this.scheduleElementRefinement()},lf.queueLayer=function(t,e){var n=this.layersQueue,i=t.elesQueue,r=i.hasId=i.hasId||{};if(!t.replacement){if(e){if(r[e.id()])return;i.push(e),r[e.id()]=!0}t.reqs?(t.reqs++,n.updateItem(t)):(t.reqs=1,n.push(t))}},lf.dequeue=function(t){for(var e=this,n=e.layersQueue,i=[],r=0;r<af&&0!==n.size();){var a=n.peek();if(a.replacement)n.pop();else if(a.replaces&&a!==a.replaces.replacement)n.pop();else if(a.invalid)n.pop();else{var o=a.elesQueue.shift();o&&(e.drawEleInLayer(a,o,a.level,t),r++),0===i.length&&i.push(!0),0===a.elesQueue.length&&(n.pop(),a.reqs=0,a.replaces&&e.applyLayerReplacement(a),e.requestRedraw())}}return i},lf.applyLayerReplacement=function(t){var e=this,n=e.layersByLevel[t.level],i=t.replaces,r=n.indexOf(i);if(!(r<0||i.invalid)){n[r]=t;for(var a=0;a<t.eles.length;a++){var o=t.eles[a]._private,s=o.imgLayerCaches=o.imgLayerCaches||{};s&&(s[t.level]=t)}e.requestRedraw()}},lf.requestRedraw=Zt((function(){var t=this.renderer;t.redrawHint("eles",!0),t.redrawHint("drag",!0),t.redraw()}),100),lf.setupDequeueing=Eh.setupDequeueing({deqRedrawThreshold:Zh,deqCost:tf,deqAvgCost:ef,deqNoDrawCost:nf,deqFastCost:rf,deq:function(t,e){return t.dequeue(e)},onDeqd:Ee,shouldRedraw:xe,priority:function(t){return t.renderer.beforeRenderPriorities.lyrTxrDeq}});var df,gf={};function pf(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.lineTo(i.x,i.y)}}function bf(t,e,n){for(var i,r=0;r<e.length;r++){var a=e[r];0===r&&(i=a),t.lineTo(a.x,a.y)}t.quadraticCurveTo(n.x,n.y,i.x,i.y)}function wf(t,e,n){t.beginPath&&t.beginPath();for(var i=e,r=0;r<i.length;r++){var a=i[r];t.lineTo(a.x,a.y)}var o=n,s=n[0];for(t.moveTo(s.x,s.y),r=1;r<o.length;r++)a=o[r],t.lineTo(a.x,a.y);t.closePath&&t.closePath()}function yf(t,e,n,i,r){t.beginPath&&t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1);var a=e,o=a[0];t.moveTo(o.x,o.y);for(var s=0;s<a.length;s++){var c=a[s];t.lineTo(c.x,c.y)}t.closePath&&t.closePath()}function mf(t,e,n,i){t.arc(e,n,i,0,2*Math.PI,!1)}gf.arrowShapeImpl=function(t){return(df||(df={polygon:pf,"triangle-backcurve":bf,"triangle-tee":wf,"circle-triangle":yf,"triangle-cross":wf,circle:mf}))[t]};var vf={drawElement:function(t,e,n,i,r,a){var o=this;e.isNode()?o.drawNode(t,e,n,i,r,a):o.drawEdge(t,e,n,i,r,a)},drawElementOverlay:function(t,e){var n=this;e.isNode()?n.drawNodeOverlay(t,e):n.drawEdgeOverlay(t,e)},drawElementUnderlay:function(t,e){var n=this;e.isNode()?n.drawNodeUnderlay(t,e):n.drawEdgeUnderlay(t,e)},drawCachedElementPortion:function(t,e,n,i,r,a,o,s){var c=this,u=n.getBoundingBox(e);if(0!==u.w&&0!==u.h){var l=n.getElement(e,u,i,r,a);if(null!=l){var h=s(c,e);if(0===h)return;var f,d,g,p,b,w,y=o(c,e),m=u.x1,v=u.y1,x=u.w,k=u.h;if(0!==y){var _=n.getRotationPoint(e);g=_.x,p=_.y,t.translate(g,p),t.rotate(y),(b=c.getImgSmoothing(t))||c.setImgSmoothing(t,!0);var E=n.getRotationOffset(e);f=E.x,d=E.y}else f=m,d=v;1!==h&&(w=t.globalAlpha,t.globalAlpha=w*h),t.drawImage(l.texture.canvas,l.x,0,l.width,l.height,f,d,x,k),1!==h&&(t.globalAlpha=w),0!==y&&(t.rotate(-y),t.translate(-g,-p),b||c.setImgSmoothing(t,!1))}else n.drawElement(t,e)}}},xf=function(){return 0},kf=function(t,e){return t.getTextAngle(e,null)},_f=function(t,e){return t.getTextAngle(e,"source")},Ef=function(t,e){return t.getTextAngle(e,"target")},Tf=function(t,e){return e.effectiveOpacity()},Cf=function(t,e){return e.pstyle("text-opacity").pfValue*e.effectiveOpacity()};vf.drawCachedElement=function(t,e,n,i,r,a){var o=this,s=o.data,c=s.eleTxrCache,u=s.lblTxrCache,l=s.slbTxrCache,h=s.tlbTxrCache,f=e.boundingBox(),d=!0===a?c.reasons.highQuality:null;if(0!==f.w&&0!==f.h&&e.visible()&&(!i||jn(f,i))){var g=e.isEdge(),p=e.element()._private.rscratch.badLine;o.drawElementUnderlay(t,e),o.drawCachedElementPortion(t,e,c,n,r,d,xf,Tf),(!g||!p)&&o.drawCachedElementPortion(t,e,u,n,r,d,kf,Cf),g&&!p&&(o.drawCachedElementPortion(t,e,l,n,r,d,_f,Cf),o.drawCachedElementPortion(t,e,h,n,r,d,Ef,Cf)),o.drawElementOverlay(t,e)}},vf.drawElements=function(t,e){for(var n=this,i=0;i<e.length;i++){var r=e[i];n.drawElement(t,r)}},vf.drawCachedElements=function(t,e,n,i){for(var r=this,a=0;a<e.length;a++){var o=e[a];r.drawCachedElement(t,o,n,i)}},vf.drawCachedNodes=function(t,e,n,i){for(var r=this,a=0;a<e.length;a++){var o=e[a];o.isNode()&&r.drawCachedElement(t,o,n,i)}},vf.drawLayeredElements=function(t,e,n,i){var r=this,a=r.data.lyrTxrCache.getLayers(e,n);if(a)for(var o=0;o<a.length;o++){var s=a[o],c=s.bb;0===c.w||0===c.h||t.drawImage(s.canvas,c.x1,c.y1,c.w,c.h)}else r.drawCachedElements(t,e,n,i)};var Sf={drawEdge:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=e._private.rscratch;if((!a||e.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var c;n&&(c=n,t.translate(-c.x1,-c.y1));var u=a?e.pstyle("opacity").value:1,l=a?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,f=e.pstyle("line-style").value,d=e.pstyle("width").pfValue,g=e.pstyle("line-cap").value,p=u*l,b=u*l,w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;"straight-triangle"===h?(o.eleStrokeStyle(t,e,n),o.drawEdgeTrianglePath(e,t,s.allpts)):(t.lineWidth=d,t.lineCap=g,o.eleStrokeStyle(t,e,n),o.drawEdgePath(e,t,s.allpts,f),t.lineCap="butt")},y=function(){r&&o.drawEdgeOverlay(t,e)},m=function(){r&&o.drawEdgeUnderlay(t,e)},v=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;o.drawArrowheads(t,e,n)},x=function(){o.drawElementText(t,e,null,i)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var k=e.pstyle("ghost-offset-x").pfValue,_=e.pstyle("ghost-offset-y").pfValue,E=e.pstyle("ghost-opacity").value,T=p*E;t.translate(k,_),w(T),v(T),t.translate(-k,-_)}m(),w(),v(),y(),x(),n&&t.translate(c.x1,c.y1)}}},Af=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n){if(n.visible()){var i=n.pstyle("".concat(t,"-opacity")).value;if(0!==i){var r=this,a=r.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-color")).value;e.lineWidth=s,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",r.colorStrokeStyle(e,c[0],c[1],c[2],i),r.drawEdgePath(n,e,o.allpts,"solid")}}}};Sf.drawEdgeOverlay=Af("overlay"),Sf.drawEdgeUnderlay=Af("underlay"),Sf.drawEdgePath=function(t,e,n,i){var r,a=t._private.rscratch,o=e,s=!1,c=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,l=t.pstyle("line-dash-offset").pfValue;if(c){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(r=e=a.pathCache,s=!0):(r=e=new Path2D,a.pathCacheKey=h,a.pathCache=r)}if(o.setLineDash)switch(i){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=l;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var f=2;f+3<n.length;f+=4)e.quadraticCurveTo(n[f],n[f+1],n[f+2],n[f+3]);break;case"straight":case"segments":case"haystack":for(var d=2;d+1<n.length;d+=2)e.lineTo(n[d],n[d+1])}e=o,c?e.stroke(r):e.stroke(),e.setLineDash&&e.setLineDash([])},Sf.drawEdgeTrianglePath=function(t,e,n){e.fillStyle=e.strokeStyle;for(var i=t.pstyle("width").pfValue,r=0;r+1<n.length;r+=2){var a=[n[r+2]-n[r],n[r+3]-n[r+1]],o=Math.sqrt(a[0]*a[0]+a[1]*a[1]),s=[a[1]/o,-a[0]/o],c=[s[0]*i/2,s[1]*i/2];e.beginPath(),e.moveTo(n[r]-c[0],n[r+1]-c[1]),e.lineTo(n[r]+c[0],n[r+1]+c[1]),e.lineTo(n[r+2],n[r+3]),e.closePath(),e.fill()}},Sf.drawArrowheads=function(t,e,n){var i=e._private.rscratch,r="haystack"===i.edgeType;r||this.drawArrowhead(t,e,"source",i.arrowStartX,i.arrowStartY,i.srcArrowAngle,n),this.drawArrowhead(t,e,"mid-target",i.midX,i.midY,i.midtgtArrowAngle,n),this.drawArrowhead(t,e,"mid-source",i.midX,i.midY,i.midsrcArrowAngle,n),r||this.drawArrowhead(t,e,"target",i.arrowEndX,i.arrowEndY,i.tgtArrowAngle,n)},Sf.drawArrowhead=function(t,e,n,i,r,a,o){if(!(isNaN(i)||null==i||isNaN(r)||null==r||isNaN(a)||null==a)){var s=this,c=e.pstyle(n+"-arrow-shape").value;if("none"!==c){var u="hollow"===e.pstyle(n+"-arrow-fill").value?"both":"filled",l=e.pstyle(n+"-arrow-fill").value,h=e.pstyle("width").pfValue,f=e.pstyle("opacity").value;void 0===o&&(o=f);var d=t.globalCompositeOperation;(1!==o||"hollow"===l)&&(t.globalCompositeOperation="destination-out",s.colorFillStyle(t,255,255,255,1),s.colorStrokeStyle(t,255,255,255,1),s.drawArrowShape(e,t,u,h,c,i,r,a),t.globalCompositeOperation=d);var g=e.pstyle(n+"-arrow-color").value;s.colorFillStyle(t,g[0],g[1],g[2],o),s.colorStrokeStyle(t,g[0],g[1],g[2],o),s.drawArrowShape(e,t,l,h,c,i,r,a)}}},Sf.drawArrowShape=function(t,e,n,i,r,a,o,s){var c,u=this,l=this.usePaths()&&"triangle-cross"!==r,h=!1,f=e,d={x:a,y:o},g=t.pstyle("arrow-scale").value,p=this.getArrowWidth(i,g),b=u.arrowShapes[r];if(l){var w=u.arrowPathCache=u.arrowPathCache||[],y=ge(r),m=w[y];null!=m?(c=e=m,h=!0):(c=e=new Path2D,w[y]=c)}h||(e.beginPath&&e.beginPath(),l?b.draw(e,1,0,{x:0,y:0},1):b.draw(e,p,s,d,i),e.closePath&&e.closePath()),e=f,l&&(e.translate(a,o),e.rotate(s),e.scale(p,p)),("filled"===n||"both"===n)&&(l?e.fill(c):e.fill()),("hollow"===n||"both"===n)&&(e.lineWidth=(b.matchEdgeWidth?i:1)/(l?p:1),e.lineJoin="miter",l?e.stroke(c):e.stroke()),l&&(e.scale(1/p,1/p),e.rotate(-s),e.translate(-a,-o))};var Mf={safeDrawImage:function(t,e,n,i,r,a,o,s,c,u){if(!(r<=0||a<=0||c<=0||u<=0))try{t.drawImage(e,n,i,r,a,o,s,c,u)}catch(l){Se(l)}},drawInscribedImage:function(t,e,n,i,r){var a=this,o=n.position(),s=o.x,c=o.y,u=n.cy().style(),l=u.getIndexedStyle.bind(u),h=l(n,"background-fit","value",i),f=l(n,"background-repeat","value",i),d=n.width(),g=n.height(),p=2*n.padding(),b=d+("inner"===l(n,"background-width-relative-to","value",i)?0:p),w=g+("inner"===l(n,"background-height-relative-to","value",i)?0:p),y=n._private.rscratch,m="node"===l(n,"background-clip","value",i),v=l(n,"background-image-opacity","value",i)*r,x=l(n,"background-image-smoothing","value",i),k=e.width||e.cachedW,_=e.height||e.cachedH;(null==k||null==_)&&(document.body.appendChild(e),k=e.cachedW=e.width||e.offsetWidth,_=e.cachedH=e.height||e.offsetHeight,document.body.removeChild(e));var E=k,T=_;if("auto"!==l(n,"background-width","value",i)&&(E="%"===l(n,"background-width","units",i)?l(n,"background-width","pfValue",i)*b:l(n,"background-width","pfValue",i)),"auto"!==l(n,"background-height","value",i)&&(T="%"===l(n,"background-height","units",i)?l(n,"background-height","pfValue",i)*w:l(n,"background-height","pfValue",i)),0!==E&&0!==T){if("contain"===h)E*=C=Math.min(b/E,w/T),T*=C;else if("cover"===h){var C;E*=C=Math.max(b/E,w/T),T*=C}var S=s-b/2,A=l(n,"background-position-x","units",i),M=l(n,"background-position-x","pfValue",i);S+="%"===A?(b-E)*M:M;var I=l(n,"background-offset-x","units",i),O=l(n,"background-offset-x","pfValue",i);S+="%"===I?(b-E)*O:O;var L=c-w/2,N=l(n,"background-position-y","units",i),D=l(n,"background-position-y","pfValue",i);L+="%"===N?(w-T)*D:D;var P=l(n,"background-offset-y","units",i),B=l(n,"background-offset-y","pfValue",i);L+="%"===P?(w-T)*B:B,y.pathCache&&(S-=s,L-=c,s=0,c=0);var j=t.globalAlpha;t.globalAlpha=v;var R=a.getImgSmoothing(t),$=!1;if("no"===x&&R?(a.setImgSmoothing(t,!1),$=!0):"yes"===x&&!R&&(a.setImgSmoothing(t,!0),$=!0),"no-repeat"===f)m&&(t.save(),y.pathCache?t.clip(y.pathCache):(a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.clip())),a.safeDrawImage(t,e,0,0,k,_,S,L,E,T),m&&t.restore();else{var F=t.createPattern(e,f);t.fillStyle=F,a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.translate(S,L),t.fill(),t.translate(-S,-L)}t.globalAlpha=j,$&&a.setImgSmoothing(t,R)}}},If={};function Of(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-a,n+r),t.lineTo(e+a,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath(),t.fill()}If.eleTextBiggerThanMin=function(t,e){if(!e){var n=t.cy().zoom(),i=this.getPixelRatio(),r=Math.ceil(vn(n*i));e=Math.pow(2,r)}return!(t.pstyle("font-size").pfValue*e<t.pstyle("min-zoomed-font-size").pfValue)},If.drawElementText=function(t,e,n,i,r){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this;if(null==i){if(a&&!o.eleTextBiggerThanMin(e))return}else if(!1===i)return;if(e.isNode()){var s=e.pstyle("label");if(!s||!s.value)return;var c=o.getLabelJustification(e);t.textAlign=c,t.textBaseline="bottom"}else{var u=e.element()._private.rscratch.badLine,l=e.pstyle("label"),h=e.pstyle("source-label"),f=e.pstyle("target-label");if(u||(!l||!l.value)&&(!h||!h.value)&&(!f||!f.value))return;t.textAlign="center",t.textBaseline="bottom"}var d,g=!n;n&&(d=n,t.translate(-d.x1,-d.y1)),null==r?(o.drawText(t,e,null,g,a),e.isEdge()&&(o.drawText(t,e,"source",g,a),o.drawText(t,e,"target",g,a))):o.drawText(t,e,r,g,a),n&&t.translate(d.x1,d.y1)},If.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((e=this.fontCaches[n]).context===t)return e;return e={context:t},this.fontCaches.push(e),e},If.setupTextStyle=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=e.pstyle("font-style").strValue,r=e.pstyle("font-size").pfValue+"px",a=e.pstyle("font-family").strValue,o=e.pstyle("font-weight").strValue,s=n?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,c=e.pstyle("text-outline-opacity").value*s,u=e.pstyle("color").value,l=e.pstyle("text-outline-color").value;t.font=i+" "+o+" "+r+" "+a,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],s),this.colorStrokeStyle(t,l[0],l[1],l[2],c)},If.getTextAngle=function(t,e){var n=t._private.rscratch,i=e?e+"-":"",r=t.pstyle(i+"text-rotation"),a=Re(n,"labelAngle",e);return"autorotate"===r.strValue?t.isEdge()?a:0:"none"===r.strValue?0:r.pfValue},If.drawText=function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=e._private.rscratch,o=r?e.effectiveOpacity():1;if(!r||0!==o&&0!==e.pstyle("text-opacity").value){"main"===n&&(n=null);var s,c,u=Re(a,"labelX",n),l=Re(a,"labelY",n),h=this.getLabelText(e,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(l)){this.setupTextStyle(t,e,r);var f,d=n?n+"-":"",g=Re(a,"labelWidth",n),p=Re(a,"labelHeight",n),b=e.pstyle(d+"text-margin-x").pfValue,w=e.pstyle(d+"text-margin-y").pfValue,y=e.isEdge(),m=e.pstyle("text-halign").value,v=e.pstyle("text-valign").value;switch(y&&(m="center",v="center"),u+=b,l+=w,0!==(f=i?this.getTextAngle(e,n):0)&&(s=u,c=l,t.translate(s,c),t.rotate(f),u=0,l=0),v){case"top":break;case"center":l+=p/2;break;case"bottom":l+=p}var x=e.pstyle("text-background-opacity").value,k=e.pstyle("text-border-opacity").value,_=e.pstyle("text-border-width").pfValue,E=e.pstyle("text-background-padding").pfValue;if(x>0||_>0&&k>0){var T=u-E;switch(m){case"left":T-=g;break;case"center":T-=g/2}var C=l-p-E,S=g+2*E,A=p+2*E;if(x>0){var M=t.fillStyle,I=e.pstyle("text-background-color").value;t.fillStyle="rgba("+I[0]+","+I[1]+","+I[2]+","+x*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?Of(t,T,C,S,A,2):t.fillRect(T,C,S,A),t.fillStyle=M}if(_>0&&k>0){var O=t.strokeStyle,L=t.lineWidth,N=e.pstyle("text-border-color").value,D=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+N[0]+","+N[1]+","+N[2]+","+k*o+")",t.lineWidth=_,t.setLineDash)switch(D){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=_/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(t.strokeRect(T,C,S,A),"double"===D){var P=_/2;t.strokeRect(T+P,C+P,S-2*P,A-2*P)}t.setLineDash&&t.setLineDash([]),t.lineWidth=L,t.strokeStyle=O}}var B=2*e.pstyle("text-outline-width").pfValue;if(B>0&&(t.lineWidth=B),"wrap"===e.pstyle("text-wrap").value){var j=Re(a,"labelWrapCachedLines",n),R=Re(a,"labelLineHeight",n),$=g/2,F=this.getLabelJustification(e);switch("auto"===F||("left"===m?"left"===F?u+=-g:"center"===F&&(u+=-$):"center"===m?"left"===F?u+=-$:"right"===F&&(u+=$):"right"===m&&("center"===F?u+=$:"right"===F&&(u+=g))),v){case"top":case"center":case"bottom":l-=(j.length-1)*R}for(var z=0;z<j.length;z++)B>0&&t.strokeText(j[z],u,l),t.fillText(j[z],u,l),l+=R}else B>0&&t.strokeText(h,u,l),t.fillText(h,u,l);0!==f&&(t.rotate(-f),t.translate(-s,-c))}}};var Lf={drawNode:function(t,e,n){var i,r,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=this,u=e._private,l=u.rscratch,h=e.position();if(E(h.x)&&E(h.y)&&(!s||e.visible())){var f,d,g=s?e.effectiveOpacity():1,p=c.usePaths(),b=!1,w=e.padding();i=e.width()+2*w,r=e.height()+2*w,n&&(d=n,t.translate(-d.x1,-d.y1));for(var y=e.pstyle("background-image").value,m=new Array(y.length),v=new Array(y.length),x=0,k=0;k<y.length;k++){var _=y[k];if(m[k]=null!=_&&"none"!==_){var T=e.cy().style().getIndexedStyle(e,"background-image-crossorigin","value",k);x++,v[k]=c.getCachedImage(_,T,(function(){u.backgroundTimestamp=Date.now(),e.emitAndNotify("background")}))}}var C=e.pstyle("background-blacken").value,S=e.pstyle("border-width").pfValue,A=e.pstyle("background-opacity").value*g,M=e.pstyle("border-color").value,I=e.pstyle("border-style").value,O=e.pstyle("border-opacity").value*g;t.lineJoin="miter";var L=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A;c.eleFillStyle(t,e,n)},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O;c.colorStrokeStyle(t,M[0],M[1],M[2],e)},D=e.pstyle("shape").strValue,P=e.pstyle("shape-polygon-points").pfValue;if(p){t.translate(h.x,h.y);var B=c.nodePathCache=c.nodePathCache||[],j=pe("polygon"===D?D+","+P.join(","):D,""+r,""+i),R=B[j];null!=R?(f=R,b=!0,l.pathCache=f):(f=new Path2D,B[j]=l.pathCache=f)}var $=function(){if(!b){var n=h;p&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(e)].draw(f||t,n.x,n.y,i,r)}p?t.fill(f):t.fill()},F=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.backgrounding,a=0,o=0;o<v.length;o++){var s=e.cy().style().getIndexedStyle(e,"background-image-containment","value",o);i&&"over"===s||!i&&"inside"===s?a++:m[o]&&v[o].complete&&!v[o].error&&(a++,c.drawInscribedImage(t,v[o],e,o,n))}u.backgrounding=a!==x,r!==u.backgrounding&&e.updateStyle(!1)},z=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;c.hasPie(e)&&(c.drawPie(t,e,a),n&&(p||c.nodeShapes[c.getNodeShape(e)].draw(t,h.x,h.y,i,r)))},H=function(){var e=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(c.colorFillStyle(t,n,n,n,e),p?t.fill(f):t.fill())},U=function(){if(S>0){if(t.lineWidth=S,t.lineCap="butt",t.setLineDash)switch(I){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([])}if(p?t.stroke(f):t.stroke(),"double"===I){t.lineWidth=S/3;var e=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",p?t.stroke(f):t.stroke(),t.globalCompositeOperation=e}t.setLineDash&&t.setLineDash([])}},G=function(){o&&c.drawNodeOverlay(t,e,h,i,r)},q=function(){o&&c.drawNodeUnderlay(t,e,h,i,r)},K=function(){c.drawElementText(t,e,null,a)};if("yes"===e.pstyle("ghost").value){var Y=e.pstyle("ghost-offset-x").pfValue,W=e.pstyle("ghost-offset-y").pfValue,X=e.pstyle("ghost-opacity").value,V=X*g;t.translate(Y,W),L(X*A),$(),F(V,!0),N(X*O),U(),z(0!==C||0!==S),F(V,!1),H(V),t.translate(-Y,-W)}p&&t.translate(-h.x,-h.y),q(),p&&t.translate(h.x,h.y),L(),$(),F(g,!0),N(),U(),z(0!==C||0!==S),F(g,!1),H(),p&&t.translate(-h.x,-h.y),K(),G(),n&&t.translate(d.x1,d.y1)}}},Nf=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n,i,r,a){var o=this;if(n.visible()){var s=n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-opacity")).value,u=n.pstyle("".concat(t,"-color")).value,l=n.pstyle("".concat(t,"-shape")).value;if(c>0){if(i=i||n.position(),null==r||null==a){var h=n.padding();r=n.width()+2*h,a=n.height()+2*h}o.colorFillStyle(e,u[0],u[1],u[2],c),o.nodeShapes[l].draw(e,i.x,i.y,r+2*s,a+2*s),e.fill()}}}};Lf.drawNodeOverlay=Nf("overlay"),Lf.drawNodeUnderlay=Nf("underlay"),Lf.hasPie=function(t){return(t=t[0])._private.hasPie},Lf.drawPie=function(t,e,n,i){e=e[0],i=i||e.position();var r=e.cy().style(),a=e.pstyle("pie-size"),o=i.x,s=i.y,c=e.width(),u=e.height(),l=Math.min(c,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var f=1;f<=r.pieBackgroundN;f++){var d=e.pstyle("pie-"+f+"-background-size").value,g=e.pstyle("pie-"+f+"-background-color").value,p=e.pstyle("pie-"+f+"-background-opacity").value*n,b=d/100;b+h>1&&(b=1-h);var w=1.5*Math.PI+2*Math.PI*h,y=w+2*Math.PI*b;0===d||h>=1||h+b>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,l,w,y),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],p),t.fill(),h+=b)}};var Df={},Pf=100;Df.getPixelRatio=function(){var t=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var e=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/e},Df.paintCache=function(t){for(var e,n=this.paintCaches=this.paintCaches||[],i=!0,r=0;r<n.length;r++)if((e=n[r]).context===t){i=!1;break}return i&&(e={context:t},n.push(e)),e},Df.createGradientStyleFor=function(t,e,n,i,r){var a,o=this.usePaths(),s=n.pstyle(e+"-gradient-stop-colors").value,c=n.pstyle(e+"-gradient-stop-positions").pfValue;if("radial-gradient"===i)if(n.isEdge()){var u=n.sourceEndpoint(),l=n.targetEndpoint(),h=n.midpoint(),f=kn(u,h),d=kn(l,h);a=t.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(f,d))}else{var g=o?{x:0,y:0}:n.position(),p=n.paddedWidth(),b=n.paddedHeight();a=t.createRadialGradient(g.x,g.y,0,g.x,g.y,Math.max(p,b))}else if(n.isEdge()){var w=n.sourceEndpoint(),y=n.targetEndpoint();a=t.createLinearGradient(w.x,w.y,y.x,y.y)}else{var m=o?{x:0,y:0}:n.position(),v=n.paddedWidth()/2,x=n.paddedHeight()/2;switch(n.pstyle("background-gradient-direction").value){case"to-bottom":a=t.createLinearGradient(m.x,m.y-x,m.x,m.y+x);break;case"to-top":a=t.createLinearGradient(m.x,m.y+x,m.x,m.y-x);break;case"to-left":a=t.createLinearGradient(m.x+v,m.y,m.x-v,m.y);break;case"to-right":a=t.createLinearGradient(m.x-v,m.y,m.x+v,m.y);break;case"to-bottom-right":case"to-right-bottom":a=t.createLinearGradient(m.x-v,m.y-x,m.x+v,m.y+x);break;case"to-top-right":case"to-right-top":a=t.createLinearGradient(m.x-v,m.y+x,m.x+v,m.y-x);break;case"to-bottom-left":case"to-left-bottom":a=t.createLinearGradient(m.x+v,m.y-x,m.x-v,m.y+x);break;case"to-top-left":case"to-left-top":a=t.createLinearGradient(m.x+v,m.y+x,m.x-v,m.y-x)}}if(!a)return null;for(var k=c.length===s.length,_=s.length,E=0;E<_;E++)a.addColorStop(k?c[E]:E/(_-1),"rgba("+s[E][0]+","+s[E][1]+","+s[E][2]+","+r+")");return a},Df.gradientFillStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"background",e,n,i);if(!r)return null;t.fillStyle=r},Df.colorFillStyle=function(t,e,n,i,r){t.fillStyle="rgba("+e+","+n+","+i+","+r+")"},Df.eleFillStyle=function(t,e,n){var i=e.pstyle("background-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientFillStyle(t,e,i,n);else{var r=e.pstyle("background-color").value;this.colorFillStyle(t,r[0],r[1],r[2],n)}},Df.gradientStrokeStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"line",e,n,i);if(!r)return null;t.strokeStyle=r},Df.colorStrokeStyle=function(t,e,n,i,r){t.strokeStyle="rgba("+e+","+n+","+i+","+r+")"},Df.eleStrokeStyle=function(t,e,n){var i=e.pstyle("line-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientStrokeStyle(t,e,i,n);else{var r=e.pstyle("line-color").value;this.colorStrokeStyle(t,r[0],r[1],r[2],n)}},Df.matchCanvasSize=function(t){var e=this,n=e.data,i=e.findContainerClientCoords(),r=i[2],a=i[3],o=e.getPixelRatio(),s=e.motionBlurPxRatio;(t===e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE]||t===e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG])&&(o=s);var c,u=r*o,l=a*o;if(u!==e.canvasWidth||l!==e.canvasHeight){e.fontCaches=null;var h=n.canvasContainer;h.style.width=r+"px",h.style.height=a+"px";for(var f=0;f<e.CANVAS_LAYERS;f++)(c=n.canvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";for(f=0;f<e.BUFFER_COUNT;f++)(c=n.bufferCanvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";e.textureMult=1,o<=1&&(c=n.bufferCanvases[e.TEXTURE_BUFFER],e.textureMult=2,c.width=u*e.textureMult,c.height=l*e.textureMult),e.canvasWidth=u,e.canvasHeight=l}},Df.renderTo=function(t,e,n,i){this.render({forcedContext:t,forcedZoom:e,forcedPan:n,drawAllLayers:!0,forcedPxRatio:i})},Df.render=function(t){var e=(t=t||Ne()).forcedContext,n=t.drawAllLayers,i=t.drawOnlyNodeLayer,r=t.forcedZoom,a=t.forcedPan,o=this,s=void 0===t.forcedPxRatio?this.getPixelRatio():t.forcedPxRatio,c=o.cy,u=o.data,l=u.canvasNeedsRedraw,h=o.textureOnViewport&&!e&&(o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming),f=void 0!==t.motionBlur?t.motionBlur:o.motionBlur,d=o.motionBlurPxRatio,g=c.hasCompoundNodes(),p=o.hoverData.draggingEles,b=!(!o.hoverData.selecting&&!o.touchData.selecting),w=f=f&&!e&&o.motionBlurEnabled&&!b;e||(o.prevPxRatio!==s&&(o.invalidateContainerClientCoordsCache(),o.matchCanvasSize(o.container),o.redrawHint("eles",!0),o.redrawHint("drag",!0)),o.prevPxRatio=s),!e&&o.motionBlurTimeout&&clearTimeout(o.motionBlurTimeout),f&&(null==o.mbFrames&&(o.mbFrames=0),o.mbFrames++,o.mbFrames<3&&(w=!1),o.mbFrames>o.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(l[o.NODE]=!0,l[o.SELECT_BOX]=!0);var y=c.style(),m=c.zoom(),v=void 0!==r?r:m,x=c.pan(),k={x:x.x,y:x.y},_={zoom:m,pan:{x:x.x,y:x.y}},E=o.prevViewport;!(void 0===E||_.zoom!==E.zoom||_.pan.x!==E.pan.x||_.pan.y!==E.pan.y)&&!(p&&!g)&&(o.motionBlurPxRatio=1),a&&(k=a),v*=s,k.x*=s,k.y*=s;var T=o.getCachedZSortedEles();function C(t,e,n,i,r){var a=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",o.colorFillStyle(t,255,255,255,o.motionBlurTransparency),t.fillRect(e,n,i,r),t.globalCompositeOperation=a}function S(t,i){var s,c,l,h;o.clearingMotionBlur||t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,c=v,l=o.canvasWidth,h=o.canvasHeight):(s={x:x.x*d,y:x.y*d},c=m*d,l=o.canvasWidth*d,h=o.canvasHeight*d),t.setTransform(1,0,0,1,0,0),"motionBlur"===i?C(t,0,0,l,h):!e&&(void 0===i||i)&&t.clearRect(0,0,l,h),n||(t.translate(s.x,s.y),t.scale(c,c)),a&&t.translate(a.x,a.y),r&&t.scale(r,r)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=c.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var A=o.data.bufferContexts[o.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}l[o.DRAG]=!1,l[o.NODE]=!1;var M=u.contexts[o.NODE],I=o.textureCache.texture;_=o.textureCache.viewport,M.setTransform(1,0,0,1,0,0),f?C(M,0,0,_.width,_.height):M.clearRect(0,0,_.width,_.height);var O=y.core("outside-texture-bg-color").value,L=y.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,O[0],O[1],O[2],L),M.fillRect(0,0,_.width,_.height),m=c.zoom(),S(M,!1),M.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),M.drawImage(I,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!e&&(o.textureCache=null);var N=c.extent(),D=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&D,B=[];if(B[o.NODE]=!l[o.NODE]&&f&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,B[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),B[o.DRAG]=!l[o.DRAG]&&f&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,B[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),l[o.NODE]||n||i||B[o.NODE]){var j=f&&!B[o.NODE]&&1!==d;S(M=e||(j?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),f&&!j?"motionBlur":void 0),P?o.drawCachedNodes(M,T.nondrag,s,N):o.drawLayeredElements(M,T.nondrag,s,N),o.debug&&o.drawDebugPoints(M,T.nondrag),!n&&!f&&(l[o.NODE]=!1)}if(!i&&(l[o.DRAG]||n||B[o.DRAG])&&(j=f&&!B[o.DRAG]&&1!==d,S(M=e||(j?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),f&&!j?"motionBlur":void 0),P?o.drawCachedNodes(M,T.drag,s,N):o.drawCachedElements(M,T.drag,s,N),o.debug&&o.drawDebugPoints(M,T.drag),!n&&!f&&(l[o.DRAG]=!1)),o.showFps||!i&&l[o.SELECT_BOX]&&!n){if(S(M=e||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){m=o.cy.zoom();var R=y.core("selection-box-border-width").value/m;M.lineWidth=R,M.fillStyle="rgba("+y.core("selection-box-color").value[0]+","+y.core("selection-box-color").value[1]+","+y.core("selection-box-color").value[2]+","+y.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),R>0&&(M.strokeStyle="rgba("+y.core("selection-box-border-color").value[0]+","+y.core("selection-box-border-color").value[1]+","+y.core("selection-box-border-color").value[2]+","+y.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){m=o.cy.zoom();var $=u.bgActivePosistion;M.fillStyle="rgba("+y.core("active-bg-color").value[0]+","+y.core("active-bg-color").value[1]+","+y.core("active-bg-color").value[2]+","+y.core("active-bg-opacity").value+")",M.beginPath(),M.arc($.x,$.y,y.core("active-bg-size").pfValue/m,0,2*Math.PI),M.fill()}var F=o.lastRedrawTime;if(o.showFps&&F){F=Math.round(F);var z=Math.round(1e3/F);M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+F+" ms = "+z+" fps",0,20);var H=60;M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(z/H,1),20)}n||(l[o.SELECT_BOX]=!1)}if(f&&1!==d){var U=u.contexts[o.NODE],G=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],q=u.contexts[o.DRAG],K=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],Y=function(t,e,n){t.setTransform(1,0,0,1,0,0),n||!w?t.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(t,0,0,o.canvasWidth,o.canvasHeight);var i=d;t.drawImage(e,0,0,o.canvasWidth*i,o.canvasHeight*i,0,0,o.canvasWidth,o.canvasHeight)};(l[o.NODE]||B[o.NODE])&&(Y(U,G,B[o.NODE]),l[o.NODE]=!1),(l[o.DRAG]||B[o.DRAG])&&(Y(q,K,B[o.DRAG]),l[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),f&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,l[o.NODE]=!0,l[o.DRAG]=!0,o.redraw()}),Pf)),e||c.emit("render")};for(var Bf={drawPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2;t.beginPath&&t.beginPath(),t.moveTo(e+o*a[0],n+s*a[1]);for(var c=1;c<a.length/2;c++)t.lineTo(e+o*a[2*c],n+s*a[2*c+1]);t.closePath()},drawRoundPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2,c=hi(i,r);t.beginPath&&t.beginPath();for(var u=0;u<a.length/4;u++){var l=void 0,h=void 0;l=0===u?a.length-2:4*u-2,h=4*u+2;var f=e+o*a[4*u],d=n+s*a[4*u+1],g=-a[l]*a[h]-a[l+1]*a[h+1],p=c/Math.tan(Math.acos(g)/2),b=f-p*a[l],w=d-p*a[l+1],y=f+p*a[h],m=d+p*a[h+1];0===u?t.moveTo(b,w):t.lineTo(b,w),t.arcTo(f,d,y,m,c)}t.closePath()},drawRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=li(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.arcTo(e+a,n-o,e+a,n,s),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.arcTo(e-a,n-o,e,n-o,s),t.lineTo(e,n-o),t.closePath()},drawBottomRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=li(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.lineTo(e+a,n-o),t.lineTo(e+a,n),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.lineTo(e-a,n-o),t.lineTo(e,n-o),t.closePath()},drawCutRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=fi();t.beginPath&&t.beginPath(),t.moveTo(e-a+s,n-o),t.lineTo(e+a-s,n-o),t.lineTo(e+a,n-o+s),t.lineTo(e+a,n+o-s),t.lineTo(e+a-s,n+o),t.lineTo(e-a+s,n+o),t.lineTo(e-a,n+o-s),t.lineTo(e-a,n-o+s),t.closePath()},drawBarrelPath:function(t,e,n,i,r){var a=i/2,o=r/2,s=e-a,c=e+a,u=n-o,l=n+o,h=gi(i,r),f=h.widthOffset,d=h.heightOffset,g=h.ctrlPtOffsetPct*f;t.beginPath&&t.beginPath(),t.moveTo(s,u+d),t.lineTo(s,l-d),t.quadraticCurveTo(s+g,l,s+f,l),t.lineTo(c-f,l),t.quadraticCurveTo(c-g,l,c,l-d),t.lineTo(c,u+d),t.quadraticCurveTo(c-g,u,c-f,u),t.lineTo(s+f,u),t.quadraticCurveTo(s+g,u,s,u+d),t.closePath()}},jf=Math.sin(0),Rf=Math.cos(0),$f={},Ff={},zf=Math.PI/40,Hf=0*Math.PI;Hf<2*Math.PI;Hf+=zf)$f[Hf]=Math.sin(Hf),Ff[Hf]=Math.cos(Hf);Bf.drawEllipsePath=function(t,e,n,i,r){if(t.beginPath&&t.beginPath(),t.ellipse)t.ellipse(e,n,i/2,r/2,0,0,2*Math.PI);else for(var a,o,s=i/2,c=r/2,u=0*Math.PI;u<2*Math.PI;u+=zf)a=e-s*$f[u]*jf+s*Ff[u]*Rf,o=n+c*Ff[u]*jf+c*$f[u]*Rf,0===u?t.moveTo(a,o):t.lineTo(a,o);t.closePath()};var Uf={};function Gf(t,e){for(var n=atob(t),i=new ArrayBuffer(n.length),r=new Uint8Array(i),a=0;a<n.length;a++)r[a]=n.charCodeAt(a);return new Blob([i],{type:e})}function qf(t){var e=t.indexOf(",");return t.substr(e+1)}function Kf(t,e,n){var i=function(){return e.toDataURL(n,t.quality)};switch(t.output){case"blob-promise":return new Fr((function(i,r){try{e.toBlob((function(t){null!=t?i(t):r(new Error("`canvas.toBlob()` sent a null value in its callback"))}),n,t.quality)}catch(a){r(a)}}));case"blob":return Gf(qf(i()),n);case"base64":return qf(i());default:return i()}}Uf.createBuffer=function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,[n,n.getContext("2d")]},Uf.bufferCanvasImage=function(t){var e=this.cy,n=e.mutableElements().boundingBox(),i=this.findContainerClientCoords(),r=t.full?Math.ceil(n.w):i[2],a=t.full?Math.ceil(n.h):i[3],o=E(t.maxWidth)||E(t.maxHeight),s=this.getPixelRatio(),c=1;if(void 0!==t.scale)r*=t.scale,a*=t.scale,c=t.scale;else if(o){var u=1/0,l=1/0;E(t.maxWidth)&&(u=c*t.maxWidth/r),E(t.maxHeight)&&(l=c*t.maxHeight/a),r*=c=Math.min(u,l),a*=c}o||(r*=s,a*=s,c*=s);var h=document.createElement("canvas");h.width=r,h.height=a,h.style.width=r+"px",h.style.height=a+"px";var f=h.getContext("2d");if(r>0&&a>0){f.clearRect(0,0,r,a),f.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)f.translate(-n.x1*c,-n.y1*c),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(n.x1*c,n.y1*c);else{var g=e.pan(),p={x:g.x*c,y:g.y*c};c*=e.zoom(),f.translate(p.x,p.y),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(-p.x,-p.y)}t.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=t.bg,f.rect(0,0,r,a),f.fill())}return h},Uf.png=function(t){return Kf(t,this.bufferCanvasImage(t),"image/png")},Uf.jpg=function(t){return Kf(t,this.bufferCanvasImage(t),"image/jpeg")};var Yf={nodeShapeImpl:function(t,e,n,i,r,a,o){switch(t){case"ellipse":return this.drawEllipsePath(e,n,i,r,a);case"polygon":return this.drawPolygonPath(e,n,i,r,a,o);case"round-polygon":return this.drawRoundPolygonPath(e,n,i,r,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,n,i,r,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,n,i,r,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,n,i,r,a);case"barrel":return this.drawBarrelPath(e,n,i,r,a)}}},Wf=Vf,Xf=Vf.prototype;function Vf(t){var e=this;e.data={canvases:new Array(Xf.CANVAS_LAYERS),contexts:new Array(Xf.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Xf.CANVAS_LAYERS),bufferCanvases:new Array(Xf.BUFFER_COUNT),bufferContexts:new Array(Xf.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var r=e.data.canvasContainer.style;e.data.canvasContainer.style[n]=i,r.position="relative",r.zIndex="0",r.overflow="hidden";var a=t.cy.container();a.appendChild(e.data.canvasContainer),a.style[n]=i;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};j()&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s<Xf.CANVAS_LAYERS;s++){var c=e.data.canvases[s]=document.createElement("canvas");e.data.contexts[s]=c.getContext("2d"),Object.keys(o).forEach((function(t){c.style[t]=o[t]})),c.style.position="absolute",c.setAttribute("data-id","layer"+s),c.style.zIndex=String(Xf.CANVAS_LAYERS-s),e.data.canvasContainer.appendChild(c),e.data.canvasNeedsRedraw[s]=!1}for(e.data.topCanvas=e.data.canvases[0],e.data.canvases[Xf.NODE].setAttribute("data-id","layer"+Xf.NODE+"-node"),e.data.canvases[Xf.SELECT_BOX].setAttribute("data-id","layer"+Xf.SELECT_BOX+"-selectbox"),e.data.canvases[Xf.DRAG].setAttribute("data-id","layer"+Xf.DRAG+"-drag"),s=0;s<Xf.BUFFER_COUNT;s++)e.data.bufferCanvases[s]=document.createElement("canvas"),e.data.bufferContexts[s]=e.data.bufferCanvases[s].getContext("2d"),e.data.bufferCanvases[s].style.position="absolute",e.data.bufferCanvases[s].setAttribute("data-id","buffer"+s),e.data.bufferCanvases[s].style.zIndex=String(-s-1),e.data.bufferCanvases[s].style.visibility="hidden";e.pathsEnabled=!0;var u=Mn(),l=function(t){return{x:(t.x1+t.x2)/2,y:(t.y1+t.y2)/2}},h=function(t){return{x:-t.w/2,y:-t.h/2}},f=function(t){var e=t[0]._private;return!(e.oldBackgroundTimestamp===e.backgroundTimestamp)},d=function(t){return t[0]._private.nodeKey},g=function(t){return t[0]._private.labelStyleKey},p=function(t){return t[0]._private.sourceLabelStyleKey},b=function(t){return t[0]._private.targetLabelStyleKey},w=function(t,n,i,r,a){return e.drawElement(t,n,i,!1,!1,a)},y=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"main",a)},m=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"source",a)},v=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"target",a)},x=function(t){return t.boundingBox(),t[0]._private.bodyBounds},k=function(t){return t.boundingBox(),t[0]._private.labelBounds.main||u},_=function(t){return t.boundingBox(),t[0]._private.labelBounds.source||u},E=function(t){return t.boundingBox(),t[0]._private.labelBounds.target||u},T=function(t,e){return e},C=function(t){return l(x(t))},S=function(t,e,n){var i=t?t+"-":"";return{x:e.x+n.pstyle(i+"text-margin-x").pfValue,y:e.y+n.pstyle(i+"text-margin-y").pfValue}},A=function(t,e,n){var i=t[0]._private.rscratch;return{x:i[e],y:i[n]}},M=function(t){return S("",A(t,"labelX","labelY"),t)},I=function(t){return S("source",A(t,"sourceLabelX","sourceLabelY"),t)},O=function(t){return S("target",A(t,"targetLabelX","targetLabelY"),t)},L=function(t){return h(x(t))},N=function(t){return h(_(t))},D=function(t){return h(E(t))},P=function(t){var e=k(t),n=h(k(t));if(t.isNode()){switch(t.pstyle("text-halign").value){case"left":n.x=-e.w;break;case"right":n.x=0}switch(t.pstyle("text-valign").value){case"top":n.y=-e.h;break;case"bottom":n.y=0}}return n},B=e.data.eleTxrCache=new Kh(e,{getKey:d,doesEleInvalidateKey:f,drawElement:w,getBoundingBox:x,getRotationPoint:C,getRotationOffset:L,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),R=e.data.lblTxrCache=new Kh(e,{getKey:g,drawElement:y,getBoundingBox:k,getRotationPoint:M,getRotationOffset:P,isVisible:T}),$=e.data.slbTxrCache=new Kh(e,{getKey:p,drawElement:m,getBoundingBox:_,getRotationPoint:I,getRotationOffset:N,isVisible:T}),F=e.data.tlbTxrCache=new Kh(e,{getKey:b,drawElement:v,getBoundingBox:E,getRotationPoint:O,getRotationOffset:D,isVisible:T}),z=e.data.lyrTxrCache=new uf(e);e.onUpdateEleCalcs((function(t,e){B.invalidateElements(e),R.invalidateElements(e),$.invalidateElements(e),F.invalidateElements(e),z.invalidateElements(e);for(var n=0;n<e.length;n++){var i=e[n]._private;i.oldBackgroundTimestamp=i.backgroundTimestamp}}));var H=function(t){for(var e=0;e<t.length;e++)z.enqueueElementRefinement(t[e].ele)};B.onDequeue(H),R.onDequeue(H),$.onDequeue(H),F.onDequeue(H)}Xf.CANVAS_LAYERS=3,Xf.SELECT_BOX=0,Xf.DRAG=1,Xf.NODE=2,Xf.BUFFER_COUNT=3,Xf.TEXTURE_BUFFER=0,Xf.MOTIONBLUR_BUFFER_NODE=1,Xf.MOTIONBLUR_BUFFER_DRAG=2,Xf.redrawHint=function(t,e){var n=this;switch(t){case"eles":n.data.canvasNeedsRedraw[Xf.NODE]=e;break;case"drag":n.data.canvasNeedsRedraw[Xf.DRAG]=e;break;case"select":n.data.canvasNeedsRedraw[Xf.SELECT_BOX]=e}};var Qf=typeof Path2D<"u";Xf.path2dEnabled=function(t){if(void 0===t)return this.pathsEnabled;this.pathsEnabled=!!t},Xf.usePaths=function(){return Qf&&this.pathsEnabled},Xf.setImgSmoothing=function(t,e){null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)},Xf.getImgSmoothing=function(t){return null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled},Xf.makeOffscreenCanvas=function(e,n){var i;return"undefined"!==(typeof OffscreenCanvas>"u"?"undefined":t(OffscreenCanvas))?i=new OffscreenCanvas(e,n):((i=document.createElement("canvas")).width=e,i.height=n),i},[gf,vf,Sf,Mf,If,Lf,Df,Bf,Uf,Yf].forEach((function(t){Z(Xf,t)}));var Zf=[{type:"layout",extensions:Wl},{type:"renderer",extensions:[{name:"null",impl:Xl},{name:"base",impl:xh},{name:"canvas",impl:Wf}]}],Jf={},td={};function ed(t,e,n){var i=n,r=function(n){Se("Can not register `"+e+"` for `"+t+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===t){if(sl.prototype[e])return r(e);sl.prototype[e]=n}else if("collection"===t){if(xu.prototype[e])return r(e);xu.prototype[e]=n}else if("layout"===t){for(var a=function(t){this.options=t,n.call(this,t),k(this._private)||(this._private={}),this._private.cy=t.cy,this._private.listeners=[],this.createEmitter()},o=a.prototype=Object.create(n.prototype),s=[],c=0;c<s.length;c++){var u=s[c];o[u]=o[u]||function(){return this}}o.start&&!o.run?o.run=function(){return this.start(),this}:!o.start&&o.run&&(o.start=function(){return this.run(),this});var l=n.prototype.stop;o.stop=function(){var t=this.options;if(t&&t.animate){var e=this.animations;if(e)for(var n=0;n<e.length;n++)e[n].stop()}return l?l.call(this):this.emit("layoutstop"),this},o.destroy||(o.destroy=function(){return this}),o.cy=function(){return this._private.cy};var h=function(t){return t._private.cy},f={addEventFields:function(t,e){e.layout=t,e.cy=h(t),e.target=t},bubble:function(){return!0},parent:function(t){return h(t)}};Z(o,{createEmitter:function(){return this._private.emitter=new Rc(f,this),this},emitter:function(){return this._private.emitter},on:function(t,e){return this.emitter().on(t,e),this},one:function(t,e){return this.emitter().one(t,e),this},once:function(t,e){return this.emitter().one(t,e),this},removeListener:function(t,e){return this.emitter().removeListener(t,e),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(t,e){return this.emitter().emit(t,e),this}}),ds.eventAliasesOn(o),i=a}else if("renderer"===t&&"null"!==e&&"base"!==e){var d=nd("renderer","base"),g=d.prototype,p=n,b=n.prototype,w=function(){d.apply(this,arguments),p.apply(this,arguments)},y=w.prototype;for(var m in g){var v=g[m];if(null!=b[m])return r(m);y[m]=v}for(var x in b)y[x]=b[x];g.clientFunctions.forEach((function(t){y[t]=y[t]||function(){Te("Renderer does not implement `renderer."+t+"()` on its prototype")}})),i=w}else if("__proto__"===t||"constructor"===t||"prototype"===t)return Te(t+" is an illegal type to be registered, possibly lead to prototype pollutions");return at({map:Jf,keys:[t,e],value:i})}function nd(t,e){return ot({map:Jf,keys:[t,e]})}function id(t,e,n,i,r){return at({map:td,keys:[t,e,n,i],value:r})}function rd(t,e,n,i){return ot({map:td,keys:[t,e,n,i]})}var ad=function(){return 2===arguments.length?nd.apply(null,arguments):3===arguments.length?ed.apply(null,arguments):4===arguments.length?rd.apply(null,arguments):5===arguments.length?id.apply(null,arguments):void Te("Invalid extension access syntax")};sl.prototype.extension=ad,Zf.forEach((function(t){t.extensions.forEach((function(e){ed(t.type,e.name,e.impl)}))}));var od=function t(){if(!(this instanceof t))return new t;this.length=0},sd=od.prototype;sd.instanceString=function(){return"stylesheet"},sd.selector=function(t){return this[this.length++]={selector:t,properties:[]},this},sd.css=function(t,e){var n=this.length-1;if(m(t))this[n].properties.push({name:t,value:e});else if(k(t))for(var i=t,r=Object.keys(i),a=0;a<r.length;a++){var o=r[a],s=i[o];if(null!=s){var c=el.properties[o]||el.properties[F(o)];if(null!=c){var u=c.name,l=s;this[n].properties.push({name:u,value:l})}}}return this},sd.style=sd.css,sd.generateStyle=function(t){var e=new el(t);return this.appendToStyle(e)},sd.appendToStyle=function(t){for(var e=0;e<this.length;e++){var n=this[e],i=n.selector,r=n.properties;t.selector(i);for(var a=0;a<r.length;a++){var o=r[a];t.css(o.name,o.value)}}return t};var cd="3.23.0",ud=function(t){return void 0===t&&(t={}),k(t)?new sl(t):m(t)?ad.apply(ad,arguments):void 0};return ud.use=function(t){var e=Array.prototype.slice.call(arguments,1);return e.unshift(ud),t.apply(null,e),this},ud.warnings=function(t){return Ce(t)},ud.version=cd,ud.stylesheet=ud.Stylesheet=od,ud}))}({get exports(){return pq},set exports(t){pq=t}});const bq=pq;var wq,yq,mq={},vq={get exports(){return mq},set exports(t){mq=t}},xq={},kq={get exports(){return xq},set exports(t){xq=t}},_q={},Eq={get exports(){return _q},set exports(t){_q=t}};function Tq(){return wq||(wq=1,function(t){var e;e=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=26)}([function(t,e,n){function i(){}i.QUALITY=1,i.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,i.DEFAULT_INCREMENTAL=!1,i.DEFAULT_ANIMATION_ON_LAYOUT=!0,i.DEFAULT_ANIMATION_DURING_LAYOUT=!1,i.DEFAULT_ANIMATION_PERIOD=50,i.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,i.DEFAULT_GRAPH_MARGIN=15,i.NODE_DIMENSIONS_INCLUDE_LABELS=!1,i.SIMPLE_NODE_SIZE=40,i.SIMPLE_NODE_HALF_SIZE=i.SIMPLE_NODE_SIZE/2,i.EMPTY_COMPOUND_NODE_SIZE=40,i.MIN_EDGE_LENGTH=1,i.WORLD_BOUNDARY=1e6,i.INITIAL_WORLD_BOUNDARY=i.WORLD_BOUNDARY/1e3,i.WORLD_CENTER_X=1200,i.WORLD_CENTER_Y=900,t.exports=i},function(t,e,n){var i=n(2),r=n(8),a=n(9);function o(t,e,n){i.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=t,this.target=e}for(var s in o.prototype=Object.create(i.prototype),i)o[s]=i[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},o.prototype.getOtherEndInGraph=function(t,e){for(var n=this.getOtherEnd(t),i=e.getGraphManager().getRoot();;){if(n.getOwner()==e)return n;if(n.getOwner()==i)break;n=n.getOwner().getParent()}return null},o.prototype.updateLength=function(){var t=new Array(4);this.isOverlapingSourceAndTarget=r.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=o},function(t,e,n){function i(t){this.vGraphObject=t}t.exports=i},function(t,e,n){var i=n(2),r=n(10),a=n(13),o=n(0),s=n(16),c=n(4);function u(t,e,n,o){null==n&&null==o&&(o=e),i.call(this,o),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=t,this.rect=null!=n&&null!=e?new a(e.x,e.y,n.width,n.height):new a}for(var l in u.prototype=Object.create(i.prototype),i)u[l]=i[l];u.prototype.getEdges=function(){return this.edges},u.prototype.getChild=function(){return this.child},u.prototype.getOwner=function(){return this.owner},u.prototype.getWidth=function(){return this.rect.width},u.prototype.setWidth=function(t){this.rect.width=t},u.prototype.getHeight=function(){return this.rect.height},u.prototype.setHeight=function(t){this.rect.height=t},u.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},u.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},u.prototype.getCenter=function(){return new c(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},u.prototype.getLocation=function(){return new c(this.rect.x,this.rect.y)},u.prototype.getRect=function(){return this.rect},u.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},u.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},u.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height},u.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},u.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},u.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},u.prototype.getEdgeListToNode=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.target==t){if(i.source!=n)throw"Incorrect edge source!";e.push(i)}})),e},u.prototype.getEdgesBetween=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.source!=n&&i.target!=n)throw"Incorrect edge source and/or target";(i.target==t||i.source==t)&&e.push(i)})),e},u.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach((function(n){if(n.source==e)t.add(n.target);else{if(n.target!=e)throw"Incorrect incidency!";t.add(n.source)}})),t},u.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),n=0;n<e.length;n++)e[n].withChildren().forEach((function(e){t.add(e)}));return t},u.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else for(var e=this.child.getNodes(),n=0;n<e.length;n++)t+=e[n].getNoOfChildren();return 0==t&&(t=1),t},u.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw"assert failed";return this.estimatedSize},u.prototype.calcEstimatedSize=function(){return null==this.child?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},u.prototype.scatter=function(){var t,e,n=-o.INITIAL_WORLD_BOUNDARY,i=o.INITIAL_WORLD_BOUNDARY;t=o.WORLD_CENTER_X+s.nextDouble()*(i-n)+n;var r=-o.INITIAL_WORLD_BOUNDARY,a=o.INITIAL_WORLD_BOUNDARY;e=o.WORLD_CENTER_Y+s.nextDouble()*(a-r)+r,this.rect.x=t,this.rect.y=e},u.prototype.updateBounds=function(){if(null==this.getChild())throw"assert failed";if(0!=this.getChild().getNodes().length){var t=this.getChild();if(t.updateBounds(!0),this.rect.x=t.getLeft(),this.rect.y=t.getTop(),this.setWidth(t.getRight()-t.getLeft()),this.setHeight(t.getBottom()-t.getTop()),o.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),n=t.getBottom()-t.getTop();this.labelWidth>e&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(t){var e=this.rect.x;e>o.WORLD_BOUNDARY?e=o.WORLD_BOUNDARY:e<-o.WORLD_BOUNDARY&&(e=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var i=new c(e,n),r=t.inverseTransformPoint(i);this.setLocation(r.x,r.y)},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=u},function(t,e,n){function i(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.setX=function(t){this.x=t},i.prototype.setY=function(t){this.y=t},i.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},i.prototype.getCopy=function(){return new i(this.x,this.y)},i.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=i},function(t,e,n){var i=n(2),r=n(10),a=n(0),o=n(6),s=n(3),c=n(1),u=n(13),l=n(12),h=n(11);function f(t,e,n){i.call(this,n),this.estimatedSize=r.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof o?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in f.prototype=Object.create(i.prototype),i)f[d]=i[d];f.prototype.getNodes=function(){return this.nodes},f.prototype.getEdges=function(){return this.edges},f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getParent=function(){return this.parent},f.prototype.getLeft=function(){return this.left},f.prototype.getRight=function(){return this.right},f.prototype.getTop=function(){return this.top},f.prototype.getBottom=function(){return this.bottom},f.prototype.isConnected=function(){return this.isConnected},f.prototype.add=function(t,e,n){if(null==e&&null==n){var i=t;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(i)>-1)throw"Node already in graph!";return i.owner=this,this.getNodes().push(i),i}var r=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(e.owner!=n.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=n.owner?null:(r.source=e,r.target=n,r.isInterGraph=!1,this.getEdges().push(r),e.edges.push(r),n!=e&&n.edges.push(r),r)},f.prototype.remove=function(t){var e=t;if(t instanceof s){if(null==e)throw"Node is null!";if(null==e.owner||e.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=e.edges.slice(),i=n.length,r=0;r<i;r++)(a=n[r]).isInterGraph?this.graphManager.remove(a):a.source.owner.remove(a);if(-1==(o=this.nodes.indexOf(e)))throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(t instanceof c){var a;if(null==(a=t))throw"Edge is null!";if(null==a.source||null==a.target)throw"Source and/or target is null!";if(null==a.source.owner||null==a.target.owner||a.source.owner!=this||a.target.owner!=this)throw"Source and/or target owner is invalid!";var o,u=a.source.edges.indexOf(a),l=a.target.edges.indexOf(a);if(!(u>-1&&l>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(l,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},f.prototype.updateLeftTop=function(){for(var t,e,n,i=r.MAX_VALUE,a=r.MAX_VALUE,o=this.getNodes(),s=o.length,c=0;c<s;c++){var u=o[c];i>(t=u.getTop())&&(i=t),a>(e=u.getLeft())&&(a=e)}return i==r.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=i-n,new l(this.left,this.top))},f.prototype.updateBounds=function(t){for(var e,n,i,a,o,s=r.MAX_VALUE,c=-r.MAX_VALUE,l=r.MAX_VALUE,h=-r.MAX_VALUE,f=this.nodes,d=f.length,g=0;g<d;g++){var p=f[g];t&&null!=p.child&&p.updateBounds(),s>(e=p.getLeft())&&(s=e),c<(n=p.getRight())&&(c=n),l>(i=p.getTop())&&(l=i),h<(a=p.getBottom())&&(h=a)}var b=new u(s,l,c-s,h-l);s==r.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=f[0].getParent().paddingLeft?f[0].getParent().paddingLeft:this.margin,this.left=b.x-o,this.right=b.x+b.width+o,this.top=b.y-o,this.bottom=b.y+b.height+o},f.calculateBounds=function(t){for(var e,n,i,a,o=r.MAX_VALUE,s=-r.MAX_VALUE,c=r.MAX_VALUE,l=-r.MAX_VALUE,h=t.length,f=0;f<h;f++){var d=t[f];o>(e=d.getLeft())&&(o=e),s<(n=d.getRight())&&(s=n),c>(i=d.getTop())&&(c=i),l<(a=d.getBottom())&&(l=a)}return new u(o,c,s-o,l-c)},f.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},f.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw"assert failed";return this.estimatedSize},f.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,n=e.length,i=0;i<n;i++)t+=e[i].calcEstimatedSize();return this.estimatedSize=0==t?a.EMPTY_COMPOUND_NODE_SIZE:t/Math.sqrt(this.nodes.length),this.estimatedSize},f.prototype.updateConnected=function(){var t=this;if(0!=this.nodes.length){var e,n,i=new h,r=new Set,a=this.nodes[0];for(a.withChildren().forEach((function(t){i.push(t),r.add(t)}));0!==i.length;)for(var o=(e=(a=i.shift()).getEdges()).length,s=0;s<o;s++)null==(n=e[s].getOtherEndInGraph(a,this))||r.has(n)||n.withChildren().forEach((function(t){i.push(t),r.add(t)}));if(this.isConnected=!1,r.size>=this.nodes.length){var c=0;r.forEach((function(e){e.owner==t&&c++})),c==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},t.exports=f},function(t,e,n){var i,r=n(1);function a(t){i=n(5),this.layout=t,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),n=this.add(t,e);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(t,e,n,i,r){if(null==n&&null==i&&null==r){if(null==t)throw"Graph is null!";if(null==e)throw"Parent node is null!";if(this.graphs.indexOf(t)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw"Already has a parent!";if(null!=e.child)throw"Already has a child!";return t.parent=e,e.child=t,t}r=n,n=t;var a=(i=e).getOwner(),o=r.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,i,r);if(n.isInterGraph=!0,n.source=i,n.target=r,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(t){if(t instanceof i){var e=t;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(e!=this.rootGraph&&(null==e.parent||e.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(e.getEdges())).length,s=0;s<o;s++)n=a[s],e.remove(n);var c,u=[];for(o=(u=u.concat(e.getNodes())).length,s=0;s<o;s++)c=u[s],e.remove(c);e==this.rootGraph&&this.setRootGraph(null);var l=this.graphs.indexOf(e);this.graphs.splice(l,1),e.parent=null}else if(t instanceof r){if(null==(n=t))throw"Edge is null!";if(!n.isInterGraph)throw"Not an inter-graph edge!";if(null==n.source||null==n.target)throw"Source and/or target is null!";if(-1==n.source.edges.indexOf(n)||-1==n.target.edges.indexOf(n))throw"Source and/or target doesn't know this edge!";if(l=n.source.edges.indexOf(n),n.source.edges.splice(l,1),l=n.target.edges.indexOf(n),n.target.edges.splice(l,1),null==n.source.owner||null==n.source.owner.getGraphManager())throw"Edge owner graph or owner graph manager is null!";if(-1==n.source.owner.getGraphManager().edges.indexOf(n))throw"Not in owner graph manager's edge list!";l=n.source.owner.getGraphManager().edges.indexOf(n),n.source.owner.getGraphManager().edges.splice(l,1)}},a.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},a.prototype.getGraphs=function(){return this.graphs},a.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),n=e.length,i=0;i<n;i++)t=t.concat(e[i].getNodes());this.allNodes=t}return this.allNodes},a.prototype.resetAllNodes=function(){this.allNodes=null},a.prototype.resetAllEdges=function(){this.allEdges=null},a.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},a.prototype.getAllEdges=function(){if(null==this.allEdges){var t=[],e=this.getGraphs();e.length;for(var n=0;n<e.length;n++)t=t.concat(e[n].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},a.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},a.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},a.prototype.getRoot=function(){return this.rootGraph},a.prototype.setRootGraph=function(t){if(t.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=t,null==t.parent&&(t.parent=this.layout.newNode("Root node"))},a.prototype.getLayout=function(){return this.layout},a.prototype.isOneAncestorOfOther=function(t,e){if(null==t||null==e)throw"assert failed";if(t==e)return!0;for(var n,i=t.getOwner();null!=(n=i.getParent());){if(n==e)return!0;if(null==(i=n.getOwner()))break}for(i=e.getOwner();null!=(n=i.getParent());){if(n==t)return!0;if(null==(i=n.getOwner()))break}return!1},a.prototype.calcLowestCommonAncestors=function(){for(var t,e,n,i,r,a=this.getAllEdges(),o=a.length,s=0;s<o;s++)if(e=(t=a[s]).source,n=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=n,e!=n){for(i=e.getOwner();null==t.lca;){for(t.targetInLca=n,r=n.getOwner();null==t.lca;){if(r==i){t.lca=r;break}if(r==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=r.getParent(),r=t.targetInLca.getOwner()}if(i==this.rootGraph)break;null==t.lca&&(t.sourceInLca=i.getParent(),i=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}else t.lca=e.getOwner()},a.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var n=t.getOwner();null!=n;){for(var i=e.getOwner();null!=i;){if(i==n)return i;i=i.getParent().getOwner()}n=n.getParent().getOwner()}return n},a.prototype.calcInclusionTreeDepths=function(t,e){null==t&&null==e&&(t=this.rootGraph,e=1);for(var n,i=t.getNodes(),r=i.length,a=0;a<r;a++)(n=i[a]).inclusionTreeDepth=e,null!=n.child&&this.calcInclusionTreeDepths(n.child,e+1)},a.prototype.includesInvalidEdge=function(){for(var t,e=this.edges.length,n=0;n<e;n++)if(t=this.edges[n],this.isOneAncestorOfOther(t.source,t.target))return!0;return!1},t.exports=a},function(t,e,n){var i=n(0);function r(){}for(var a in i)r[a]=i[a];r.MAX_ITERATIONS=2500,r.DEFAULT_EDGE_LENGTH=50,r.DEFAULT_SPRING_STRENGTH=.45,r.DEFAULT_REPULSION_STRENGTH=4500,r.DEFAULT_GRAVITY_STRENGTH=.4,r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,r.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,r.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,r.COOLING_ADAPTATION_FACTOR=.33,r.ADAPTATION_LOWER_NODE_LIMIT=1e3,r.ADAPTATION_UPPER_NODE_LIMIT=5e3,r.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,r.MAX_NODE_DISPLACEMENT=3*r.MAX_NODE_DISPLACEMENT_INCREMENTAL,r.MIN_REPULSION_DIST=r.DEFAULT_EDGE_LENGTH/10,r.CONVERGENCE_CHECK_PERIOD=100,r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,r.MIN_EDGE_LENGTH=1,r.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=r},function(t,e,n){var i=n(12);function r(){}r.calcSeparationAmount=function(t,e,n,i){if(!t.intersects(e))throw"assert failed";var r=new Array(2);this.decideDirectionsForOverlappingNodes(t,e,r),n[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),n[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var a=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]<s?s=n[0]:o=n[1],n[0]=-1*r[0]*(s/2+i),n[1]=-1*r[1]*(o/2+i)},r.decideDirectionsForOverlappingNodes=function(t,e,n){t.getCenterX()<e.getCenterX()?n[0]=-1:n[0]=1,t.getCenterY()<e.getCenterY()?n[1]=-1:n[1]=1},r.getIntersection2=function(t,e,n){var i=t.getCenterX(),r=t.getCenterY(),a=e.getCenterX(),o=e.getCenterY();if(t.intersects(e))return n[0]=i,n[1]=r,n[2]=a,n[3]=o,!0;var s=t.getX(),c=t.getY(),u=t.getRight(),l=t.getX(),h=t.getBottom(),f=t.getRight(),d=t.getWidthHalf(),g=t.getHeightHalf(),p=e.getX(),b=e.getY(),w=e.getRight(),y=e.getX(),m=e.getBottom(),v=e.getRight(),x=e.getWidthHalf(),k=e.getHeightHalf(),_=!1,E=!1;if(i===a){if(r>o)return n[0]=i,n[1]=c,n[2]=a,n[3]=m,!1;if(r<o)return n[0]=i,n[1]=h,n[2]=a,n[3]=b,!1}else if(r===o){if(i>a)return n[0]=s,n[1]=r,n[2]=w,n[3]=o,!1;if(i<a)return n[0]=u,n[1]=r,n[2]=p,n[3]=o,!1}else{var T=t.height/t.width,C=e.height/e.width,S=(o-r)/(a-i),A=void 0,M=void 0,I=void 0,O=void 0,L=void 0,N=void 0;if(-T===S?i>a?(n[0]=l,n[1]=h,_=!0):(n[0]=u,n[1]=c,_=!0):T===S&&(i>a?(n[0]=s,n[1]=c,_=!0):(n[0]=f,n[1]=h,_=!0)),-C===S?a>i?(n[2]=y,n[3]=m,E=!0):(n[2]=w,n[3]=b,E=!0):C===S&&(a>i?(n[2]=p,n[3]=b,E=!0):(n[2]=v,n[3]=m,E=!0)),_&&E)return!1;if(i>a?r>o?(A=this.getCardinalDirection(T,S,4),M=this.getCardinalDirection(C,S,2)):(A=this.getCardinalDirection(-T,S,3),M=this.getCardinalDirection(-C,S,1)):r>o?(A=this.getCardinalDirection(-T,S,1),M=this.getCardinalDirection(-C,S,3)):(A=this.getCardinalDirection(T,S,2),M=this.getCardinalDirection(C,S,4)),!_)switch(A){case 1:O=c,I=i+-g/S,n[0]=I,n[1]=O;break;case 2:I=f,O=r+d*S,n[0]=I,n[1]=O;break;case 3:O=h,I=i+g/S,n[0]=I,n[1]=O;break;case 4:I=l,O=r+-d*S,n[0]=I,n[1]=O}if(!E)switch(M){case 1:N=b,L=a+-k/S,n[2]=L,n[3]=N;break;case 2:L=v,N=o+x*S,n[2]=L,n[3]=N;break;case 3:N=m,L=a+k/S,n[2]=L,n[3]=N;break;case 4:L=y,N=o+-x*S,n[2]=L,n[3]=N}}return!1},r.getCardinalDirection=function(t,e,n){return t>e?n:1+n%4},r.getIntersection=function(t,e,n,r){if(null==r)return this.getIntersection2(t,e,n);var a=t.x,o=t.y,s=e.x,c=e.y,u=n.x,l=n.y,h=r.x,f=r.y,d=void 0,g=void 0,p=void 0,b=void 0,w=void 0,y=void 0,m=void 0;return w=s*o-a*c,y=h*l-u*f,0==(m=(d=c-o)*(b=u-h)-(g=f-l)*(p=a-s))?null:new i((p*y-b*w)/m,(g*w-d*y)/m)},r.angleOfVector=function(t,e,n,i){var r=void 0;return t!==n?(r=Math.atan((i-e)/(n-t)),n<t?r+=Math.PI:i<e&&(r+=this.TWO_PI)):r=i<e?this.ONE_AND_HALF_PI:this.HALF_PI,r},r.doIntersect=function(t,e,n,i){var r=t.x,a=t.y,o=e.x,s=e.y,c=n.x,u=n.y,l=i.x,h=i.y,f=(o-r)*(h-u)-(l-c)*(s-a);if(0===f)return!1;var d=((h-u)*(l-r)+(c-l)*(h-a))/f,g=((a-s)*(l-r)+(o-r)*(h-a))/f;return 0<d&&d<1&&0<g&&g<1},r.HALF_PI=.5*Math.PI,r.ONE_AND_HALF_PI=1.5*Math.PI,r.TWO_PI=2*Math.PI,r.THREE_PI=3*Math.PI,t.exports=r},function(t,e,n){function i(){}i.sign=function(t){return t>0?1:t<0?-1:0},i.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},i.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=i},function(t,e,n){function i(){}i.MAX_VALUE=2147483647,i.MIN_VALUE=-2147483648,t.exports=i},function(t,e,n){var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(t){return{value:t,next:null,prev:null}},o=function(t,e,n,i){return null!==t?t.next=e:i.head=e,null!==n?n.prev=e:i.tail=e,e.prev=t,e.next=n,i.length++,e},s=function(t,e){var n=t.prev,i=t.next;return null!==n?n.next=i:e.head=i,null!==i?i.prev=n:e.tail=n,t.prev=t.next=null,e.length--,t},c=function(){function t(e){var n=this;r(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach((function(t){return n.push(t)}))}return i(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return o(e.prev,a(t),e,this)}},{key:"insertAfter",value:function(t,e){return o(e,a(t),e.next,this)}},{key:"insertNodeBefore",value:function(t,e){return o(e.prev,t,e,this)}},{key:"insertNodeAfter",value:function(t,e){return o(e,t,e.next,this)}},{key:"push",value:function(t){return o(this.tail,a(t),null,this)}},{key:"unshift",value:function(t){return o(null,a(t),this.head,this)}},{key:"remove",value:function(t){return s(t,this)}},{key:"pop",value:function(){return s(this.tail,this).value}},{key:"popNode",value:function(){return s(this.tail,this)}},{key:"shift",value:function(){return s(this.head,this).value}},{key:"shiftNode",value:function(){return s(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,n=this.head;e<t;)n=n.next,e++;return n.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var n=1,i=this.head;n<t;)i=i.next,n++;i.value=e}}}]),t}();t.exports=c},function(t,e,n){function i(t,e,n){this.x=null,this.y=null,null==t&&null==e&&null==n?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==n?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==n&&(n=t,this.x=n.x,this.y=n.y)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.getLocation=function(){return new i(this.x,this.y)},i.prototype.setLocation=function(t,e,n){"Point"==t.constructor.name&&null==e&&null==n?(n=t,this.setLocation(n.x,n.y)):"number"==typeof t&&"number"==typeof e&&null==n&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},i.prototype.move=function(t,e){this.x=t,this.y=e},i.prototype.translate=function(t,e){this.x+=t,this.y+=e},i.prototype.equals=function(t){if("Point"==t.constructor.name){var e=t;return this.x==e.x&&this.y==e.y}return this==t},i.prototype.toString=function(){return(new i).constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=i},function(t,e,n){function i(t,e,n,i){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=n&&null!=i&&(this.x=t,this.y=e,this.width=n,this.height=i)}i.prototype.getX=function(){return this.x},i.prototype.setX=function(t){this.x=t},i.prototype.getY=function(){return this.y},i.prototype.setY=function(t){this.y=t},i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t},i.prototype.getRight=function(){return this.x+this.width},i.prototype.getBottom=function(){return this.y+this.height},i.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)},i.prototype.getCenterX=function(){return this.x+this.width/2},i.prototype.getMinX=function(){return this.getX()},i.prototype.getMaxX=function(){return this.getX()+this.width},i.prototype.getCenterY=function(){return this.y+this.height/2},i.prototype.getMinY=function(){return this.getY()},i.prototype.getMaxY=function(){return this.getY()+this.height},i.prototype.getWidthHalf=function(){return this.width/2},i.prototype.getHeightHalf=function(){return this.height/2},t.exports=i},function(t,e,n){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function r(){}r.lastID=0,r.createID=function(t){return r.isPrimitive(t)?t:(null!=t.uniqueID||(t.uniqueID=r.getString(),r.lastID++),t.uniqueID)},r.getString=function(t){return null==t&&(t=r.lastID),"Object#"+t},r.isPrimitive=function(t){var e=typeof t>"u"?"undefined":i(t);return null==t||"object"!=e&&"function"!=e},t.exports=r},function(t,e,n){function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r=n(0),a=n(6),o=n(3),s=n(1),c=n(5),u=n(4),l=n(17),h=n(27);function f(t){h.call(this),this.layoutQuality=r.QUALITY,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=r.DEFAULT_INCREMENTAL,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}f.RANDOM_SEED=1,f.prototype=Object.create(h.prototype),f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},f.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},f.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},f.prototype.newGraphManager=function(){var t=new a(this);return this.graphManager=t,t},f.prototype.newGraph=function(t){return new c(null,this.graphManager,t)},f.prototype.newNode=function(t){return new o(this.graphManager,t)},f.prototype.newEdge=function(t){return new s(null,null,t)},f.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},f.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==r.ANIMATE&&(t&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},f.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},f.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t=this.graphManager.getAllEdges(),e=0;e<t.length;e++)t[e];var n=this.graphManager.getRoot().getNodes();for(e=0;e<n.length;e++)n[e];this.update(this.graphManager.getRoot())}},f.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof o){var e=t;if(null!=e.getChild())for(var n=e.getChild().getNodes(),i=0;i<n.length;i++)update(n[i]);null!=e.vGraphObject&&e.vGraphObject.update(e)}else if(t instanceof s){var r=t;null!=r.vGraphObject&&r.vGraphObject.update(r)}else if(t instanceof c){var a=t;null!=a.vGraphObject&&a.vGraphObject.update(a)}},f.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=r.QUALITY,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=r.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},f.prototype.transform=function(t){if(null==t)this.transform(new u(0,0));else{var e=new l,n=this.graphManager.getRoot().updateLeftTop();if(null!=n){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(n.x),e.setDeviceOrgY(n.y);for(var i=this.getAllNodes(),r=0;r<i.length;r++)i[r].transform(e)}}},f.prototype.positionNodesRandomly=function(t){if(null==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var e,n,i=t.getNodes(),r=0;r<i.length;r++)null==(n=(e=i[r]).getChild())||0==n.getNodes().length?e.scatter():(this.positionNodesRandomly(n),e.updateBounds())},f.prototype.getFlatForest=function(){for(var t=[],e=!0,n=this.graphManager.getRoot().getNodes(),r=!0,a=0;a<n.length;a++)null!=n[a].getChild()&&(r=!1);if(!r)return t;var o=new Set,s=[],c=new Map,u=[];for(u=u.concat(n);u.length>0&&e;){for(s.push(u[0]);s.length>0&&e;){var l=s[0];s.splice(0,1),o.add(l);var h=l.getEdges();for(a=0;a<h.length;a++){var f=h[a].getOtherEnd(l);if(c.get(l)!=f){if(o.has(f)){e=!1;break}s.push(f),c.set(f,l)}}}if(e){var d=[].concat(i(o));for(t.push(d),a=0;a<d.length;a++){var g=d[a],p=u.indexOf(g);p>-1&&u.splice(p,1)}o=new Set,c=new Map}else t=[]}return t},f.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],n=t.source,i=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r<t.bendpoints.length;r++){var a=this.newNode(null);a.setRect(new Point(0,0),new Dimension(1,1)),i.add(a);var o=this.newEdge(null);this.graphManager.add(o,n,a),e.add(a),n=a}return o=this.newEdge(null),this.graphManager.add(o,n,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):i.remove(t),e},f.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(i(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var n=t[e];if(n.bendpoints.length>0){for(var r=this.edgeToDummyNodes.get(n),a=0;a<r.length;a++){var o=r[a],s=new u(o.getCenterX(),o.getCenterY()),c=n.bendpoints.get(a);c.x=s.x,c.y=s.y,o.getOwner().remove(o)}this.graphManager.add(n,n.source,n.target)}}},f.transform=function(t,e,n,i){if(null!=n&&null!=i){var r=e;return t<=50?r-=(e-e/n)/50*(50-t):r+=(e*i-e)/50*(t-50),r}var a,o;return t<=50?(a=9*e/500,o=e/10):(a=9*e/50,o=-8*e),a*t+o},f.findCenterOfTree=function(t){var e=[];e=e.concat(t);var n=[],i=new Map,r=!1,a=null;(1==e.length||2==e.length)&&(r=!0,a=e[0]);for(var o=0;o<e.length;o++){var s=(l=e[o]).getNeighborsList().size;i.set(l,l.getNeighborsList().size),1==s&&n.push(l)}var c=[];for(c=c.concat(n);!r;){var u=[];for(u=u.concat(c),c=[],o=0;o<e.length;o++){var l=e[o],h=e.indexOf(l);h>=0&&e.splice(h,1),l.getNeighborsList().forEach((function(t){if(n.indexOf(t)<0){var e=i.get(t)-1;1==e&&c.push(t),i.set(t,e)}}))}n=n.concat(c),(1==e.length||2==e.length)&&(r=!0,a=e[0])}return a},f.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=f},function(t,e,n){function i(){}i.seed=1,i.x=0,i.nextDouble=function(){return i.x=1e4*Math.sin(i.seed++),i.x-Math.floor(i.x)},t.exports=i},function(t,e,n){var i=n(4);function r(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}r.prototype.getWorldOrgX=function(){return this.lworldOrgX},r.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},r.prototype.getWorldOrgY=function(){return this.lworldOrgY},r.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},r.prototype.getWorldExtX=function(){return this.lworldExtX},r.prototype.setWorldExtX=function(t){this.lworldExtX=t},r.prototype.getWorldExtY=function(){return this.lworldExtY},r.prototype.setWorldExtY=function(t){this.lworldExtY=t},r.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},r.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},r.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},r.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},r.prototype.getDeviceExtX=function(){return this.ldeviceExtX},r.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},r.prototype.getDeviceExtY=function(){return this.ldeviceExtY},r.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},r.prototype.transformX=function(t){var e=0,n=this.lworldExtX;return 0!=n&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/n),e},r.prototype.transformY=function(t){var e=0,n=this.lworldExtY;return 0!=n&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/n),e},r.prototype.inverseTransformX=function(t){var e=0,n=this.ldeviceExtX;return 0!=n&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/n),e},r.prototype.inverseTransformY=function(t){var e=0,n=this.ldeviceExtY;return 0!=n&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/n),e},r.prototype.inverseTransformPoint=function(t){return new i(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,n){function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r=n(15),a=n(7),o=n(0),s=n(8),c=n(9);function u(){r.call(this),this.useSmartIdealEdgeLengthCalculation=a.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=a.DEFAULT_EDGE_LENGTH,this.springConstant=a.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=a.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=a.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=a.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=a.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*a.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=a.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=a.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=a.MAX_ITERATIONS}for(var l in u.prototype=Object.create(r.prototype),r)u[l]=r[l];u.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=a.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},u.prototype.calcIdealEdgeLengths=function(){for(var t,e,n,i,r,s,c=this.getGraphManager().getAllEdges(),u=0;u<c.length;u++)(t=c[u]).idealLength=this.idealEdgeLength,t.isInterGraph&&(n=t.getSource(),i=t.getTarget(),r=t.getSourceInLca().getEstimatedSize(),s=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=r+s-2*o.SIMPLE_NODE_SIZE),e=t.getLca().getInclusionTreeDepth(),t.idealLength+=a.DEFAULT_EDGE_LENGTH*a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(n.getInclusionTreeDepth()+i.getInclusionTreeDepth()-2*e))},u.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>a.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*a.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-a.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>a.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(a.COOLING_ADAPTATION_FACTOR,1-(t-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*(1-a.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},u.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),n=0;n<e.length;n++)t=e[n],this.calcSpringForce(t,t.idealLength)},u.prototype.calcRepulsionForces=function(){var t,e,n,i,r,o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),r=new Set,t=0;t<c.length;t++)n=c[t],this.calculateRepulsionForceOfANode(n,r,o,s),r.add(n);else for(t=0;t<c.length;t++)for(n=c[t],e=t+1;e<c.length;e++)i=c[e],n.getOwner()==i.getOwner()&&this.calcRepulsionForce(n,i)},u.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),n=0;n<e.length;n++)t=e[n],this.calcGravitationalForce(t)},u.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},u.prototype.calcSpringForce=function(t,e){var n,i,r,a,o=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==o.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(n=t.getLength())&&(r=(i=this.springConstant*(n-e))*(t.lengthX/n),a=i*(t.lengthY/n),o.springForceX+=r,o.springForceY+=a,s.springForceX-=r,s.springForceY-=a)},u.prototype.calcRepulsionForce=function(t,e){var n,i,r,o,u,l,h,f=t.getRect(),d=e.getRect(),g=new Array(2),p=new Array(4);if(f.intersects(d)){s.calcSeparationAmount(f,d,g,a.DEFAULT_EDGE_LENGTH/2),l=2*g[0],h=2*g[1];var b=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=b*l,t.repulsionForceY-=b*h,e.repulsionForceX+=b*l,e.repulsionForceY+=b*h}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(n=d.getCenterX()-f.getCenterX(),i=d.getCenterY()-f.getCenterY()):(s.getIntersection(f,d,p),n=p[2]-p[0],i=p[3]-p[1]),Math.abs(n)<a.MIN_REPULSION_DIST&&(n=c.sign(n)*a.MIN_REPULSION_DIST),Math.abs(i)<a.MIN_REPULSION_DIST&&(i=c.sign(i)*a.MIN_REPULSION_DIST),r=n*n+i*i,o=Math.sqrt(r),l=(u=this.repulsionConstant*t.noOfChildren*e.noOfChildren/r)*n/o,h=u*i/o,t.repulsionForceX-=l,t.repulsionForceY-=h,e.repulsionForceX+=l,e.repulsionForceY+=h},u.prototype.calcGravitationalForce=function(t){var e,n,i,r,a,o,s,c;n=((e=t.getOwner()).getRight()+e.getLeft())/2,i=(e.getTop()+e.getBottom())/2,r=t.getCenterX()-n,a=t.getCenterY()-i,o=Math.abs(r)+t.getWidth()/2,s=Math.abs(a)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(o>(c=e.getEstimatedSize()*this.gravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*a):(o>(c=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},u.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},u.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},u.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),n=0;n<e.length;n++)(t=e[n]).noOfChildren=t.getNoOfChildren()},u.prototype.calcGrid=function(t){var e=0,n=0;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),n=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var i=new Array(e),r=0;r<e;r++)i[r]=new Array(n);for(r=0;r<e;r++)for(var a=0;a<n;a++)i[r][a]=new Array;return i},u.prototype.addNodeToGrid=function(t,e,n){var i=0,r=0,a=0,o=0;i=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),r=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().y-n)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().height+t.getRect().y-n)/this.repulsionRange));for(var s=i;s<=r;s++)for(var c=a;c<=o;c++)this.grid[s][c].push(t),t.setGridCoordinates(i,r,a,o)},u.prototype.updateGrid=function(){var t,e,n=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),t=0;t<n.length;t++)e=n[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},u.prototype.calculateRepulsionForceOfANode=function(t,e,n,r){if(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&n||r){var o=new Set;t.surrounding=new Array;for(var s,c=this.grid,u=t.startX-1;u<t.finishX+2;u++)for(var l=t.startY-1;l<t.finishY+2;l++)if(!(u<0||l<0||u>=c.length||l>=c[0].length))for(var h=0;h<c[u][l].length;h++)if(s=c[u][l][h],t.getOwner()==s.getOwner()&&t!=s&&!e.has(s)&&!o.has(s)){var f=Math.abs(t.getCenterX()-s.getCenterX())-(t.getWidth()/2+s.getWidth()/2),d=Math.abs(t.getCenterY()-s.getCenterY())-(t.getHeight()/2+s.getHeight()/2);f<=this.repulsionRange&&d<=this.repulsionRange&&o.add(s)}t.surrounding=[].concat(i(o))}for(u=0;u<t.surrounding.length;u++)this.calcRepulsionForce(t,t.surrounding[u])},u.prototype.calcRepulsionRange=function(){return 0},t.exports=u},function(t,e,n){var i=n(1),r=n(7);function a(t,e,n){i.call(this,t,e,n),this.idealLength=r.DEFAULT_EDGE_LENGTH}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];t.exports=a},function(t,e,n){var i=n(3);function r(t,e,n,r){i.call(this,t,e,n,r),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];r.prototype.setGridCoordinates=function(t,e,n,i){this.startX=t,this.finishX=e,this.startY=n,this.finishY=i},t.exports=r},function(t,e,n){function i(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t},t.exports=i},function(t,e,n){var i=n(14);function r(){this.map={},this.keys=[]}r.prototype.put=function(t,e){var n=i.createID(t);this.contains(n)||(this.map[n]=e,this.keys.push(t))},r.prototype.contains=function(t){return i.createID(t),null!=this.map[t]},r.prototype.get=function(t){var e=i.createID(t);return this.map[e]},r.prototype.keySet=function(){return this.keys},t.exports=r},function(t,e,n){var i=n(14);function r(){this.set={}}r.prototype.add=function(t){var e=i.createID(t);this.contains(e)||(this.set[e]=t)},r.prototype.remove=function(t){delete this.set[i.createID(t)]},r.prototype.clear=function(){this.set={}},r.prototype.contains=function(t){return this.set[i.createID(t)]==t},r.prototype.isEmpty=function(){return 0===this.size()},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),n=e.length,i=0;i<n;i++)t.push(this.set[e[i]])},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAll=function(t){for(var e=t.length,n=0;n<e;n++){var i=t[n];this.add(i)}},t.exports=r},function(t,e,n){var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=n(11),o=function(){function t(e,n){r(this,t),(null!==n||void 0!==n)&&(this.compareFunction=this._defaultCompareFunction);var i=void 0;i=e instanceof a?e.size():e.length,this._quicksort(e,0,i-1)}return i(t,[{key:"_quicksort",value:function(t,e,n){if(e<n){var i=this._partition(t,e,n);this._quicksort(t,e,i),this._quicksort(t,i+1,n)}}},{key:"_partition",value:function(t,e,n){for(var i=this._get(t,e),r=e,a=n;;){for(;this.compareFunction(i,this._get(t,a));)a--;for(;this.compareFunction(this._get(t,r),i);)r++;if(!(r<a))return a;this._swap(t,r,a),r++,a--}}},{key:"_get",value:function(t,e){return t instanceof a?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,n){t instanceof a?t.set_object_at(e,n):t[e]=n}},{key:"_swap",value:function(t,e,n){var i=this._get(t,e);this._set(t,e,this._get(t,n)),this._set(t,n,i)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=o},function(t,e,n){var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;r(this,t),this.sequence1=e,this.sequence2=n,this.match_score=i,this.mismatch_penalty=a,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var s=0;s<this.iMax;s++){this.grid[s]=new Array(this.jMax);for(var c=0;c<this.jMax;c++)this.grid[s][c]=0}this.tracebackGrid=new Array(this.iMax);for(var u=0;u<this.iMax;u++){this.tracebackGrid[u]=new Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[u][l]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return i(t,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var t=1;t<this.jMax;t++)this.grid[0][t]=this.grid[0][t-1]+this.gap_penalty,this.tracebackGrid[0][t]=[!1,!1,!0];for(var e=1;e<this.iMax;e++)this.grid[e][0]=this.grid[e-1][0]+this.gap_penalty,this.tracebackGrid[e][0]=[!1,!0,!1];for(var n=1;n<this.iMax;n++)for(var i=1;i<this.jMax;i++){var r=[this.sequence1[n-1]===this.sequence2[i-1]?this.grid[n-1][i-1]+this.match_score:this.grid[n-1][i-1]+this.mismatch_penalty,this.grid[n-1][i]+this.gap_penalty,this.grid[n][i-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(r);this.grid[n][i]=r[a[0]],this.tracebackGrid[n][i]=[a.includes(0),a.includes(1),a.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var t=[];for(t.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});t[0];){var e=t[0],n=this.tracebackGrid[e.pos[0]][e.pos[1]];n[0]&&t.push({pos:[e.pos[0]-1,e.pos[1]-1],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),n[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),n[2]&&t.push({pos:[e.pos[0],e.pos[1]-1],seq1:"-"+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),0===e.pos[0]&&0===e.pos[1]&&this.alignments.push({sequence1:e.seq1,sequence2:e.seq2}),t.shift()}return this.alignments}},{key:"getAllIndexes",value:function(t,e){for(var n=[],i=-1;-1!==(i=t.indexOf(e,i+1));)n.push(i);return n}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=a},function(t,e,n){var i=function(){};i.FDLayout=n(18),i.FDLayoutConstants=n(7),i.FDLayoutEdge=n(19),i.FDLayoutNode=n(20),i.DimensionD=n(21),i.HashMap=n(22),i.HashSet=n(23),i.IGeometry=n(8),i.IMath=n(9),i.Integer=n(10),i.Point=n(12),i.PointD=n(4),i.RandomSeed=n(16),i.RectangleD=n(13),i.Transform=n(17),i.UniqueIDGeneretor=n(14),i.Quicksort=n(24),i.LinkedList=n(11),i.LGraphObject=n(2),i.LGraph=n(5),i.LEdge=n(1),i.LGraphManager=n(6),i.LNode=n(3),i.Layout=n(15),i.LayoutConstants=n(0),i.NeedlemanWunsch=n(25),t.exports=i},function(t,e,n){function i(){this.listeners=[]}var r=i.prototype;r.addListener=function(t,e){this.listeners.push({event:t,callback:e})},r.removeListener=function(t,e){for(var n=this.listeners.length;n>=0;n--){var i=this.listeners[n];i.event===t&&i.callback===e&&this.listeners.splice(n,1)}},r.emit=function(t,e){for(var n=0;n<this.listeners.length;n++){var i=this.listeners[n];t===i.event&&i.callback(e)}},t.exports=i}])},t.exports=e()}(Eq)),_q}function Cq(){return yq||(yq=1,function(t){var e;e=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7)}([function(e,n){e.exports=t},function(t,e,n){var i=n(0).FDLayoutConstants;function r(){}for(var a in i)r[a]=i[a];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=i.DEFAULT_EDGE_LENGTH,r.DEFAULT_COMPONENT_SEPERATION=60,r.TILE=!0,r.TILING_PADDING_VERTICAL=10,r.TILING_PADDING_HORIZONTAL=10,r.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=r},function(t,e,n){var i=n(0).FDLayoutEdge;function r(t,e,n){i.call(this,t,e,n)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){var i=n(0).LGraph;function r(t,e,n){i.call(this,t,e,n)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){var i=n(0).LGraphManager;function r(t){i.call(this,t)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){var i=n(0).FDLayoutNode,r=n(0).IMath;function a(t,e,n,r){i.call(this,t,e,n,r)}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];a.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},a.prototype.propogateDisplacementToChildren=function(t,e){for(var n,i=this.getChild().getNodes(),r=0;r<i.length;r++)null==(n=i[r]).getChild()?(n.moveBy(t,e),n.displacementX+=t,n.displacementY+=e):n.propogateDisplacementToChildren(t,e)},a.prototype.setPred1=function(t){this.pred1=t},a.prototype.getPred1=function(){return pred1},a.prototype.getPred2=function(){return pred2},a.prototype.setNext=function(t){this.next=t},a.prototype.getNext=function(){return next},a.prototype.setProcessed=function(t){this.processed=t},a.prototype.isProcessed=function(){return processed},t.exports=a},function(t,e,n){var i=n(0).FDLayout,r=n(4),a=n(3),o=n(5),s=n(2),c=n(1),u=n(0).FDLayoutConstants,l=n(0).LayoutConstants,h=n(0).Point,f=n(0).PointD,d=n(0).Layout,g=n(0).Integer,p=n(0).IGeometry,b=n(0).LGraph,w=n(0).Transform;function y(){i.call(this),this.toBeTiled={}}for(var m in y.prototype=Object.create(i.prototype),i)y[m]=i[m];y.prototype.newGraphManager=function(){var t=new r(this);return this.graphManager=t,t},y.prototype.newGraph=function(t){return new a(null,this.graphManager,t)},y.prototype.newNode=function(t){return new o(this.graphManager,t)},y.prototype.newEdge=function(t){return new s(null,null,t)},y.prototype.initParameters=function(){i.prototype.initParameters.call(this,arguments),this.isSubLayout||(c.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=c.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=u.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=u.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=u.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=u.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=u.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=u.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/u.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=u.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},y.prototype.layout=function(){return l.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},y.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(c.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(e)}}else{var n=this.getFlatForest();n.length>0?this.positionNodesRadially(n):(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter((function(e){return t.has(e)})),this.graphManager.setAllNodesToApplyGravitation(e),this.positionNodesRandomly())}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},y.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%u.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,i=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,i),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},y.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},n=0;n<t.length;n++){var i=t[n].rect,r=t[n].id;e[r]={id:r,x:i.getCenterX(),y:i.getCenterY(),w:i.width,h:i.height}}return e},y.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===u.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},y.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,n=[],i=this.graphManager.getGraphs(),r=i.length;for(e=0;e<r;e++)(t=i[e]).updateConnected(),t.isConnected||(n=n.concat(t.getNodes()));return n},y.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e,n=new Set;for(e=0;e<t.length;e++){var i=t[e];if(!n.has(i)){var r=i.getSource(),a=i.getTarget();if(r==a)i.getBendpoints().push(new f),i.getBendpoints().push(new f),this.createDummyNodesForBendpoints(i),n.add(i);else{var o=[];if(o=(o=o.concat(r.getEdgeListToNode(a))).concat(a.getEdgeListToNode(r)),!n.has(o[0])){var s;if(o.length>1)for(s=0;s<o.length;s++){var c=o[s];c.getBendpoints().push(new f),this.createDummyNodesForBendpoints(c)}o.forEach((function(t){n.add(t)}))}}}if(n.size==t.length)break}},y.prototype.positionNodesRadially=function(t){for(var e=new h(0,0),n=Math.ceil(Math.sqrt(t.length)),i=0,r=0,a=0,o=new f(0,0),s=0;s<t.length;s++){s%n==0&&(a=0,r=i,0!=s&&(r+=c.DEFAULT_COMPONENT_SEPERATION),i=0);var u=t[s],g=d.findCenterOfTree(u);e.x=a,e.y=r,(o=y.radialLayout(u,g,e)).y>i&&(i=Math.floor(o.y)),a=Math.floor(o.x+c.DEFAULT_COMPONENT_SEPERATION)}this.transform(new f(l.WORLD_CENTER_X-o.x/2,l.WORLD_CENTER_Y-o.y/2))},y.radialLayout=function(t,e,n){var i=Math.max(this.maxDiagonalInTree(t),c.DEFAULT_RADIAL_SEPARATION);y.branchRadialLayout(e,null,0,359,0,i);var r=b.calculateBounds(t),a=new w;a.setDeviceOrgX(r.getMinX()),a.setDeviceOrgY(r.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o<t.length;o++)t[o].transform(a);var s=new f(r.getMaxX(),r.getMaxY());return a.inverseTransformPoint(s)},y.branchRadialLayout=function(t,e,n,i,r,a){var o=(i-n+1)/2;o<0&&(o+=180);var s=(o+n)%360*p.TWO_PI/360,c=r*Math.cos(s),u=r*Math.sin(s);t.setCenter(c,u);var l=[],h=(l=l.concat(t.getEdges())).length;null!=e&&h--;for(var f,d=0,g=l.length,b=t.getEdgesBetween(e);b.length>1;){var w=b[0];b.splice(0,1);var m=l.indexOf(w);m>=0&&l.splice(m,1),g--,h--}f=null!=e?(l.indexOf(b[0])+1)%g:0;for(var v=Math.abs(i-n)/h,x=f;d!=h;x=++x%g){var k=l[x].getOtherEnd(t);if(k!=e){var _=(n+d*v)%360,E=(_+v)%360;y.branchRadialLayout(k,t,_,E,r+a,a),d++}}},y.maxDiagonalInTree=function(t){for(var e=g.MIN_VALUE,n=0;n<t.length;n++){var i=t[n].getDiagonal();i>e&&(e=i)}return e},y.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},y.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var n=[],i=this.graphManager.getAllNodes(),r=0;r<i.length;r++){var a=(s=i[r]).getParent();0===this.getNodeDegreeWithChildren(s)&&(null==a.id||!this.getToBeTiled(a))&&n.push(s)}for(r=0;r<n.length;r++){var s,c=(s=n[r]).getParent().id;typeof e[c]>"u"&&(e[c]=[]),e[c]=e[c].concat(s)}Object.keys(e).forEach((function(n){if(e[n].length>1){var i="DummyCompound_"+n;t.memberGroups[i]=e[n];var r=e[n][0].getParent(),a=new o(t.graphManager);a.id=i,a.paddingLeft=r.paddingLeft||0,a.paddingRight=r.paddingRight||0,a.paddingBottom=r.paddingBottom||0,a.paddingTop=r.paddingTop||0,t.idToDummyNode[i]=a;var s=t.getGraphManager().add(t.newGraph(),a),c=r.getChild();c.add(a);for(var u=0;u<e[n].length;u++){var l=e[n][u];c.remove(l),s.add(l)}}}))},y.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var n=0;n<this.compoundOrder.length;n++)e[this.compoundOrder[n].id]=this.compoundOrder[n],t[this.compoundOrder[n].id]=[].concat(this.compoundOrder[n].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[n].getChild()),this.compoundOrder[n].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},y.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach((function(n){var i=t.idToDummyNode[n];e[n]=t.tileNodes(t.memberGroups[n],i.paddingLeft+i.paddingRight),i.rect.width=e[n].width,i.rect.height=e[n].height}))},y.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],n=e.id,i=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[n],e.rect.x,e.rect.y,i,r)}},y.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach((function(n){var i=t.idToDummyNode[n],r=i.paddingLeft,a=i.paddingTop;t.adjustLocations(e[n],i.rect.x,i.rect.y,r,a)}))},y.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var n=t.getChild();if(null==n)return this.toBeTiled[e]=!1,!1;for(var i=n.getNodes(),r=0;r<i.length;r++){var a=i[r];if(this.getNodeDegree(a)>0)return this.toBeTiled[e]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[e]=!0,!0},y.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),n=0,i=0;i<e.length;i++){var r=e[i];r.getSource().id!==r.getTarget().id&&(n+=1)}return n},y.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var n=t.getChild().getNodes(),i=0;i<n.length;i++){var r=n[i];e+=this.getNodeDegreeWithChildren(r)}return e},y.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},y.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var n=t[e];null!=n.getChild()&&this.fillCompexOrderByDFS(n.getChild().getNodes()),this.getToBeTiled(n)&&this.compoundOrder.push(n)}},y.prototype.adjustLocations=function(t,e,n,i,r){n+=r;for(var a=e+=i,o=0;o<t.rows.length;o++){var s=t.rows[o];e=a;for(var c=0,u=0;u<s.length;u++){var l=s[u];l.rect.x=e,l.rect.y=n,e+=l.rect.width+t.horizontalPadding,l.rect.height>c&&(c=l.rect.height)}n+=c+t.verticalPadding}},y.prototype.tileCompoundMembers=function(t,e){var n=this;this.tiledMemberPack=[],Object.keys(t).forEach((function(i){var r=e[i];n.tiledMemberPack[i]=n.tileNodes(t[i],r.paddingLeft+r.paddingRight),r.rect.width=n.tiledMemberPack[i].width,r.rect.height=n.tiledMemberPack[i].height}))},y.prototype.tileNodes=function(t,e){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:c.TILING_PADDING_VERTICAL,horizontalPadding:c.TILING_PADDING_HORIZONTAL};t.sort((function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height<e.rect.width*e.rect.height?1:0}));for(var i=0;i<t.length;i++){var r=t[i];0==n.rows.length?this.insertNodeToRow(n,r,0,e):this.canAddHorizontal(n,r.rect.width,r.rect.height)?this.insertNodeToRow(n,r,this.getShortestRowIndex(n),e):this.insertNodeToRow(n,r,n.rows.length,e),this.shiftToLastRow(n)}return n},y.prototype.insertNodeToRow=function(t,e,n,i){var r=i;if(n==t.rows.length){var a=[];t.rows.push(a),t.rowWidth.push(r),t.rowHeight.push(0)}var o=t.rowWidth[n]+e.rect.width;t.rows[n].length>0&&(o+=t.horizontalPadding),t.rowWidth[n]=o,t.width<o&&(t.width=o);var s=e.rect.height;n>0&&(s+=t.verticalPadding);var c=0;s>t.rowHeight[n]&&(c=t.rowHeight[n],t.rowHeight[n]=s,c=t.rowHeight[n]-c),t.height+=c,t.rows[n].push(e)},y.prototype.getShortestRowIndex=function(t){for(var e=-1,n=Number.MAX_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]<n&&(e=i,n=t.rowWidth[i]);return e},y.prototype.getLongestRowIndex=function(t){for(var e=-1,n=Number.MIN_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]>n&&(e=i,n=t.rowWidth[i]);return e},y.prototype.canAddHorizontal=function(t,e,n){var i=this.getShortestRowIndex(t);if(i<0)return!0;var r=t.rowWidth[i];if(r+t.horizontalPadding+e<=t.width)return!0;var a,o,s=0;return t.rowHeight[i]<n&&i>0&&(s=n+t.verticalPadding-t.rowHeight[i]),a=t.width-r>=e+t.horizontalPadding?(t.height+s)/(r+e+t.horizontalPadding):(t.height+s)/t.width,s=n+t.verticalPadding,(o=t.width<e?(t.height+s)/e:(t.height+s)/t.width)<1&&(o=1/o),a<1&&(a=1/a),a<o},y.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),n=t.rowWidth.length-1,i=t.rows[e],r=i[i.length-1],a=r.width+t.horizontalPadding;if(t.width-t.rowWidth[n]>a&&e!=n){i.splice(-1,1),t.rows[n].push(r),t.rowWidth[e]=t.rowWidth[e]-a,t.rowWidth[n]=t.rowWidth[n]+a,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var o=Number.MIN_VALUE,s=0;s<i.length;s++)i[s].height>o&&(o=i[s].height);e>0&&(o+=t.verticalPadding);var c=t.rowHeight[e]+t.rowHeight[n];t.rowHeight[e]=o,t.rowHeight[n]<r.height+t.verticalPadding&&(t.rowHeight[n]=r.height+t.verticalPadding);var u=t.rowHeight[e]+t.rowHeight[n];t.height+=u-c,this.shiftToLastRow(t)}},y.prototype.tilingPreLayout=function(){c.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},y.prototype.tilingPostLayout=function(){c.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},y.prototype.reduceTrees=function(){for(var t,e=[],n=!0;n;){var i=this.graphManager.getAllNodes(),r=[];n=!1;for(var a=0;a<i.length;a++)1==(t=i[a]).getEdges().length&&!t.getEdges()[0].isInterGraph&&null==t.getChild()&&(r.push([t,t.getEdges()[0],t.getOwner()]),n=!0);if(1==n){for(var o=[],s=0;s<r.length;s++)1==r[s][0].getEdges().length&&(o.push(r[s]),r[s][0].getOwner().remove(r[s][0]));e.push(o),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},y.prototype.growTree=function(t){for(var e,n=t[t.length-1],i=0;i<n.length;i++)e=n[i],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},y.prototype.findPlaceforPrunedNode=function(t){var e,n,i=t[0],r=(n=i==t[1].source?t[1].target:t[1].source).startX,a=n.finishX,o=n.startY,s=n.finishY,c=[0,0,0,0];if(o>0)for(var l=r;l<=a;l++)c[0]+=this.grid[l][o-1].length+this.grid[l][o].length-1;if(a<this.grid.length-1)for(l=o;l<=s;l++)c[1]+=this.grid[a+1][l].length+this.grid[a][l].length-1;if(s<this.grid[0].length-1)for(l=r;l<=a;l++)c[2]+=this.grid[l][s+1].length+this.grid[l][s].length-1;if(r>0)for(l=o;l<=s;l++)c[3]+=this.grid[r-1][l].length+this.grid[r][l].length-1;for(var h,f,d=g.MAX_VALUE,p=0;p<c.length;p++)c[p]<d?(d=c[p],h=1,f=p):c[p]==d&&h++;if(3==h&&0==d)0==c[0]&&0==c[1]&&0==c[2]?e=1:0==c[0]&&0==c[1]&&0==c[3]?e=0:0==c[0]&&0==c[2]&&0==c[3]?e=3:0==c[1]&&0==c[2]&&0==c[3]&&(e=2);else if(2==h&&0==d){var b=Math.floor(2*Math.random());e=0==c[0]&&0==c[1]?0==b?0:1:0==c[0]&&0==c[2]?0==b?0:2:0==c[0]&&0==c[3]?0==b?0:3:0==c[1]&&0==c[2]?0==b?1:2:0==c[1]&&0==c[3]?0==b?1:3:0==b?2:3}else e=4==h&&0==d?b=Math.floor(4*Math.random()):f;0==e?i.setCenter(n.getCenterX(),n.getCenterY()-n.getHeight()/2-u.DEFAULT_EDGE_LENGTH-i.getHeight()/2):1==e?i.setCenter(n.getCenterX()+n.getWidth()/2+u.DEFAULT_EDGE_LENGTH+i.getWidth()/2,n.getCenterY()):2==e?i.setCenter(n.getCenterX(),n.getCenterY()+n.getHeight()/2+u.DEFAULT_EDGE_LENGTH+i.getHeight()/2):i.setCenter(n.getCenterX()-n.getWidth()/2-u.DEFAULT_EDGE_LENGTH-i.getWidth()/2,n.getCenterY())},t.exports=y},function(t,e,n){var i={};i.layoutBase=n(0),i.CoSEConstants=n(1),i.CoSEEdge=n(2),i.CoSEGraph=n(3),i.CoSEGraphManager=n(4),i.CoSELayout=n(6),i.CoSENode=n(5),t.exports=i}])},t.exports=e(Tq())}(kq)),xq}!function(t){var e;e=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t},function(t,e,n){var i=n(0).layoutBase.LayoutConstants,r=n(0).layoutBase.FDLayoutConstants,a=n(0).CoSEConstants,o=n(0).CoSELayout,s=n(0).CoSENode,c=n(0).layoutBase.PointD,u=n(0).layoutBase.DimensionD,l={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function h(t,e){var n={};for(var i in t)n[i]=t[i];for(var i in e)n[i]=e[i];return n}function f(t){this.options=h(l,t),d(this.options)}var d=function(t){null!=t.nodeRepulsion&&(a.DEFAULT_REPULSION_STRENGTH=r.DEFAULT_REPULSION_STRENGTH=t.nodeRepulsion),null!=t.idealEdgeLength&&(a.DEFAULT_EDGE_LENGTH=r.DEFAULT_EDGE_LENGTH=t.idealEdgeLength),null!=t.edgeElasticity&&(a.DEFAULT_SPRING_STRENGTH=r.DEFAULT_SPRING_STRENGTH=t.edgeElasticity),null!=t.nestingFactor&&(a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(a.DEFAULT_GRAVITY_STRENGTH=r.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(a.MAX_ITERATIONS=r.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(a.DEFAULT_GRAVITY_RANGE_FACTOR=r.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(a.DEFAULT_COOLING_FACTOR_INCREMENTAL=r.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),"draft"==t.quality?i.QUALITY=0:"proof"==t.quality?i.QUALITY=2:i.QUALITY=1,a.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,a.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=!t.randomize,a.ANIMATE=r.ANIMATE=i.ANIMATE=t.animate,a.TILE=t.tile,a.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,a.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal};f.prototype.run=function(){var t,e,n=this.options;this.idToLNode={};var i=this.layout=new o,r=this;r.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var a=i.newGraphManager();this.gm=a;var s=this.options.eles.nodes(),c=this.options.eles.edges();this.root=a.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(s),i);for(var u=0;u<c.length;u++){var l=c[u],h=this.idToLNode[l.data("source")],f=this.idToLNode[l.data("target")];h!==f&&0==h.getEdgesBetween(f).length&&(a.add(i.newEdge(),h,f).id=l.id())}var d=function(t,e){"number"==typeof t&&(t=e);var n=t.data("id"),i=r.idToLNode[n];return{x:i.getRect().getCenterX(),y:i.getRect().getCenterY()}},g=function a(){for(var o,s=function(){n.fit&&n.cy.fit(n.eles,n.padding),t||(t=!0,r.cy.one("layoutready",n.ready),r.cy.trigger({type:"layoutready",layout:r}))},c=r.options.refresh,u=0;u<c&&!o;u++)o=r.stopped||r.layout.tick();if(o)return i.checkLayoutSuccess()&&!i.isSubLayout&&i.doPostLayout(),i.tilingPostLayout&&i.tilingPostLayout(),i.isLayoutFinished=!0,r.options.eles.nodes().positions(d),s(),r.cy.one("layoutstop",r.options.stop),r.cy.trigger({type:"layoutstop",layout:r}),e&&cancelAnimationFrame(e),void(t=!1);var l=r.layout.getPositionsData();n.eles.nodes().positions((function(t,e){if("number"==typeof t&&(t=e),!t.isParent()){for(var n=t.id(),i=l[n],r=t;null==i&&(i=l[r.data("parent")]||l["DummyCompound_"+r.data("parent")],l[n]=i,null!=(r=r.parent()[0])););return null!=i?{x:i.x,y:i.y}:{x:t.position("x"),y:t.position("y")}}})),s(),e=requestAnimationFrame(a)};return i.addListener("layoutstarted",(function(){"during"===r.options.animate&&(e=requestAnimationFrame(g))})),i.runLayout(),"during"!==this.options.animate&&(r.options.eles.nodes().not(":parent").layoutPositions(r,r.options,d),t=!1),this},f.prototype.getTopMostNodes=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].id()]=!0;return t.filter((function(t,n){"number"==typeof t&&(t=n);for(var i=t.parent()[0];null!=i;){if(e[i.id()])return!1;i=i.parent()[0]}return!0}))},f.prototype.processChildrenList=function(t,e,n){for(var i=e.length,r=0;r<i;r++){var a,o,l=e[r],h=l.children(),f=l.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((a=null!=l.outerWidth()&&null!=l.outerHeight()?t.add(new s(n.graphManager,new c(l.position("x")-f.w/2,l.position("y")-f.h/2),new u(parseFloat(f.w),parseFloat(f.h)))):t.add(new s(this.graphManager))).id=l.data("id"),a.paddingLeft=parseInt(l.css("padding")),a.paddingTop=parseInt(l.css("padding")),a.paddingRight=parseInt(l.css("padding")),a.paddingBottom=parseInt(l.css("padding")),this.options.nodeDimensionsIncludeLabels&&l.isParent()){var d=l.boundingBox({includeLabels:!0,includeNodes:!1}).w,g=l.boundingBox({includeLabels:!0,includeNodes:!1}).h,p=l.css("text-halign");a.labelWidth=d,a.labelHeight=g,a.labelPos=p}this.idToLNode[l.data("id")]=a,isNaN(a.rect.x)&&(a.rect.x=0),isNaN(a.rect.y)&&(a.rect.y=0),null!=h&&h.length>0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},f.prototype.stop=function(){return this.stopped=!0,this};var g=function(t){t("layout","cose-bilkent",f)};typeof cytoscape<"u"&&g(cytoscape),t.exports=g}])},t.exports=e(Cq())}(vq);const Sq=a(mq);function Aq(t,e,n,i){gq.drawNode(t,e,n,i),e.children&&e.children.forEach(((e,r)=>{Aq(t,e,n<0?r:n,i)}))}function Mq(t,e){e.edges().map(((e,n)=>{const i=e.data();if(e[0]._private.bodyBounds){const r=e[0]._private.rscratch;h.trace("Edge: ",n,i),t.insert("path").attr("d",`M ${r.startX},${r.startY} L ${r.midX},${r.midY} L${r.endX},${r.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}}))}function Iq(t,e,n,i){e.add({group:"nodes",data:{id:t.id,labelText:t.descr,height:t.height,width:t.width,level:i,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach((r=>{Iq(r,e,n,i+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:i,section:r.section}})}))}function Oq(t,e){return new Promise((n=>{const i=ln("body").append("div").attr("id","cy").attr("style","display:none"),r=bq({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});i.remove(),Iq(t,r,e,0),r.nodes().forEach((function(t){t.layoutDimensions=()=>{const e=t.data();return{w:e.width,h:e.height}}})),r.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),r.ready((t=>{h.info("Ready",t),n(r)}))}))}function Lq(t){t.nodes().map(((t,e)=>{const n=t.data();n.x=t.position().x,n.y=t.position().y,gq.positionNode(n);const i=nq(n.nodeId);h.info("Id:",e,"Position: (",t.position().x,", ",t.position().y,")",n),i.attr("transform",`translate(${t.position().x-n.width/2}, ${t.position().y-n.height/2})`),i.attr("attr",`apa-${e})`)}))}bq.use(Sq);const Nq={draw:async(t,e,n,i)=>{const r=ky();i.db.clear(),i.parser.parse(t),h.debug("Renering info diagram\n"+t);const a=ky().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const s=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body").select("#"+e);s.append("g");const c=i.db.getMindmap(),u=s.append("g");u.attr("class","mindmap-edges");const l=s.append("g");l.attr("class","mindmap-nodes"),Aq(l,c,-1,r);const f=await Oq(c,r);Mq(u,f),Lq(f),Ny(void 0,s,r.mindmap.padding,r.mindmap.useMaxWidth)}},Dq=t=>{let e="";for(let n=0;n<t.THEME_COLOR_LIMIT;n++)t["lineColor"+n]=t["lineColor"+n]||t["cScaleInv"+n],kf(t["lineColor"+n])?t["lineColor"+n]=Ef(t["lineColor"+n],20):t["lineColor"+n]=Tf(t["lineColor"+n],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e},Pq=Object.freeze(Object.defineProperty({__proto__:null,diagram:{db:iq,renderer:Nq,parser:RG,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${Dq(t)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n`}},Symbol.toStringTag,{value:"Module"}));return SU}()},8426:(t,e)=>{function n(t){let e,n=[];for(let i of t.split(",").map((t=>t.trim())))if(/^-?\d+$/.test(i))n.push(parseInt(i,10));else if(e=i.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[t,i,r,a]=e;if(i&&a){i=parseInt(i),a=parseInt(a);const t=i<a?1:-1;"-"!==r&&".."!==r&&"\u2025"!==r||(a+=t);for(let e=i;e!==a;e+=t)n.push(e)}}return n}e.default=n,t.exports=n},1635:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__addDisposableResource:()=>P,__assign:()=>a,__asyncDelegator:()=>T,__asyncGenerator:()=>E,__asyncValues:()=>C,__await:()=>_,__awaiter:()=>g,__classPrivateFieldGet:()=>L,__classPrivateFieldIn:()=>D,__classPrivateFieldSet:()=>N,__createBinding:()=>b,__decorate:()=>s,__disposeResources:()=>j,__esDecorate:()=>u,__exportStar:()=>w,__extends:()=>r,__generator:()=>p,__importDefault:()=>O,__importStar:()=>I,__makeTemplateObject:()=>S,__metadata:()=>d,__param:()=>c,__propKey:()=>h,__read:()=>m,__rest:()=>o,__rewriteRelativeImportExtension:()=>R,__runInitializers:()=>l,__setFunctionName:()=>f,__spread:()=>v,__spreadArray:()=>k,__spreadArrays:()=>x,__values:()=>y,default:()=>$});var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},a.apply(this,arguments)};function o(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function s(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}function c(t,e){return function(n,i){e(n,i,t)}}function u(t,e,n,i,r,a){function o(t){if(void 0!==t&&"function"!=typeof t)throw new TypeError("Function expected");return t}for(var s,c=i.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!e&&t?i.static?t:t.prototype:null,h=e||(l?Object.getOwnPropertyDescriptor(l,i.name):{}),f=!1,d=n.length-1;d>=0;d--){var g={};for(var p in i)g[p]="access"===p?{}:i[p];for(var p in i.access)g.access[p]=i.access[p];g.addInitializer=function(t){if(f)throw new TypeError("Cannot add initializers after decoration has completed");a.push(o(t||null))};var b=(0,n[d])("accessor"===c?{get:h.get,set:h.set}:h[u],g);if("accessor"===c){if(void 0===b)continue;if(null===b||"object"!=typeof b)throw new TypeError("Object expected");(s=o(b.get))&&(h.get=s),(s=o(b.set))&&(h.set=s),(s=o(b.init))&&r.unshift(s)}else(s=o(b))&&("field"===c?r.unshift(s):h[u]=s)}l&&Object.defineProperty(l,i.name,h),f=!0}function l(t,e,n){for(var i=arguments.length>2,r=0;r<e.length;r++)n=i?e[r].call(t,n):e[r].call(t);return i?n:void 0}function h(t){return"symbol"==typeof t?t:"".concat(t)}function f(t,e,n){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})}function d(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function g(t,e,n,i){return new(n||(n=Promise))((function(r,a){function o(t){try{c(i.next(t))}catch(e){a(e)}}function s(t){try{c(i.throw(t))}catch(e){a(e)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,s)}c((i=i.apply(t,e||[])).next())}))}function p(t,e){var n,i,r,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(r=2&s[0]?i.return:s[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;switch(i=0,r&&(s=[2&s[0],r.value]),s[0]){case 0:case 1:r=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]<r[3])){a.label=s[1];break}if(6===s[0]&&a.label<r[1]){a.label=r[1],r=s;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(s);break}r[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(c){s=[6,c],i=0}finally{n=r=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}var b=Object.create?function(t,e,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(e,n);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,r)}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]};function w(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||b(e,t,n)}function y(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(m(arguments[e]));return t}function x(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var a=arguments[e],o=0,s=a.length;o<s;o++,r++)i[r]=a[o];return i}function k(t,e,n){if(n||2===arguments.length)for(var i,r=0,a=e.length;r<a;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function E(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),a=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",(function(t){return function(e){return Promise.resolve(e).then(t,u)}})),i[Symbol.asyncIterator]=function(){return this},i;function o(t,e){r[t]&&(i[t]=function(e){return new Promise((function(n,i){a.push([t,e,n,i])>1||s(t,e)}))},e&&(i[t]=e(i[t])))}function s(t,e){try{(n=r[t](e)).value instanceof _?Promise.resolve(n.value.v).then(c,u):l(a[0][2],n)}catch(i){l(a[0][3],i)}var n}function c(t){s("next",t)}function u(t){s("throw",t)}function l(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}}function T(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:_(t[i](e)),done:!1}:r?r(e):e}:r}}function C(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=y(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){(function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)})(i,r,(e=t[n](e)).done,e.value)}))}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var A=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},M=function(t){return M=Object.getOwnPropertyNames||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[e.length]=n);return e},M(t)};function I(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n=M(t),i=0;i<n.length;i++)"default"!==n[i]&&b(e,t,n[i]);return A(e,t),e}function O(t){return t&&t.__esModule?t:{default:t}}function L(t,e,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:e.get(t)}function N(t,e,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(t,n):r?r.value=n:e.set(t,n),n}function D(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function P(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var i,r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose],n&&(r=i)}if("function"!=typeof i)throw new TypeError("Object not disposable.");r&&(i=function(){try{r.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:i,async:n})}else n&&t.stack.push({async:!0});return e}var B="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var i=new Error(n);return i.name="SuppressedError",i.error=t,i.suppressed=e,i};function j(t){function e(e){t.error=t.hasError?new B(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,i=0;return function r(){for(;n=t.stack.pop();)try{if(!n.async&&1===i)return i=0,t.stack.push(n),Promise.resolve().then(r);if(n.dispose){var a=n.dispose.call(n.value);if(n.async)return i|=2,Promise.resolve(a).then(r,(function(t){return e(t),r()}))}else i|=1}catch(o){e(o)}if(1===i)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function R(t,e){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(t,n,i,r,a){return n?e?".jsx":".js":!i||r&&a?i+r+"."+a.toLowerCase()+"js":t})):t}const $={__extends:r,__assign:a,__rest:o,__decorate:s,__param:c,__esDecorate:u,__runInitializers:l,__propKey:h,__setFunctionName:f,__metadata:d,__awaiter:g,__generator:p,__createBinding:b,__exportStar:w,__values:y,__read:m,__spread:v,__spreadArrays:x,__spreadArray:k,__await:_,__asyncGenerator:E,__asyncDelegator:T,__asyncValues:C,__makeTemplateObject:S,__importStar:I,__importDefault:O,__classPrivateFieldGet:L,__classPrivateFieldSet:N,__classPrivateFieldIn:D,__addDisposableResource:P,__disposeResources:j,__rewriteRelativeImportExtension:R}}}]); \ No newline at end of file diff --git a/assets/js/17896441.f24b0a2a.js.LICENSE.txt b/assets/js/17896441.f24b0a2a.js.LICENSE.txt deleted file mode 100644 index 6549966..0000000 --- a/assets/js/17896441.f24b0a2a.js.LICENSE.txt +++ /dev/null @@ -1,27 +0,0 @@ -/*! - Event object based on jQuery events, MIT license - - https://jquery.org/license/ - https://tldrlegal.com/license/mit-license - https://github.com/jquery/jquery/blob/master/src/event.js - */ - -/*! - * Wait for document loaded before starting the execution - */ - -/*! -Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable -Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com) -Licensed under The MIT License (http://opensource.org/licenses/MIT) -*/ - -/*! @license DOMPurify 2.4.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.3/LICENSE */ - -/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */ - -/*! Check if previously processed */ - -/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */ - -/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ diff --git a/assets/js/1be78505.aa0d9004.js b/assets/js/1be78505.aa0d9004.js deleted file mode 100644 index 52ea981..0000000 --- a/assets/js/1be78505.aa0d9004.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[714,774],{10:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_e});var a=n(6540),l=n(53),o=n(1003),r=n(7559),c=n(2967),i=n(4142),s=n(2252),d=n(6588),m=n(8498),u=n(1312),b=n(3104),p=n(5062);const h={backToTopButton:"backToTopButton_sjWU",backToTopButtonShow:"backToTopButtonShow_xfvO"};function E(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,l]=(0,a.useState)(!1),o=(0,a.useRef)(!1),{startScroll:r,cancelScroll:c}=(0,b.gk)();return(0,b.Mq)(((e,n)=>{let{scrollY:a}=e;const r=n?.scrollY;r&&(o.current?o.current=!1:a>=r?(c(),l(!1)):a<t?l(!1):a+window.innerHeight<document.documentElement.scrollHeight&&l(!0))})),(0,p.$)((e=>{e.location.hash&&(o.current=!0,l(!1))})),{shown:n,scrollToTop:()=>r(0)}}({threshold:300});return a.createElement("button",{"aria-label":(0,u.T)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.A)("clean-btn",r.G.common.backToTopButton,h.backToTopButton,e&&h.backToTopButtonShow),type:"button",onClick:t})}var f=n(6347),g=n(4581),_=n(6342),v=n(3465),C=n(8168);function k(e){return a.createElement("svg",(0,C.A)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const A="collapseSidebarButton_PEFL",S="collapseSidebarButtonIcon_kv0_";function N(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,u.T)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,u.T)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,l.A)("button button--secondary button--outline",A),onClick:t},a.createElement(k,{className:S}))}var T=n(5041),I=n(9532);const y=Symbol("EmptyContext"),x=a.createContext(y);function w(e){let{children:t}=e;const[n,l]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:l})),[n]);return a.createElement(x.Provider,{value:o},t)}var B=n(1422),M=n(9169),L=n(5489),P=n(2303);function G(e){let{categoryLabel:t,onClick:n}=e;return a.createElement("button",{"aria-label":(0,u.T)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:n})}function H(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{items:m,label:u,collapsible:b,className:p,href:h}=t,{docs:{sidebar:{autoCollapseCategories:E}}}=(0,_.p)(),f=function(e){const t=(0,P.A)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,i._o)(e):void 0),[e,t])}(t),g=(0,i.w8)(t,o),v=(0,M.ys)(h,o),{collapsed:k,setCollapsed:A}=(0,B.u)({initialState:()=>!!b&&(!g&&t.collapsed)}),{expandedItem:S,setExpandedItem:N}=function(){const e=(0,a.useContext)(x);if(e===y)throw new I.dV("DocSidebarItemsExpandedStateProvider");return e}(),T=function(e){void 0===e&&(e=!k),N(e?null:s),A(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:l}=e;const o=(0,I.ZC)(t);(0,a.useEffect)((()=>{t&&!o&&n&&l(!1)}),[t,o,n,l])}({isActive:g,collapsed:k,updateCollapsed:T}),(0,a.useEffect)((()=>{b&&null!=S&&S!==s&&E&&A(!0)}),[b,S,s,A,E]),a.createElement("li",{className:(0,l.A)(r.G.docs.docSidebarItemCategory,r.G.docs.docSidebarItemCategoryLevel(c),"menu__list-item",{"menu__list-item--collapsed":k},p)},a.createElement("div",{className:(0,l.A)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":v})},a.createElement(L.A,(0,C.A)({className:(0,l.A)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!h&&b,"menu__link--active":g}),onClick:b?e=>{n?.(t),h?T(!1):(e.preventDefault(),T())}:()=>{n?.(t)},"aria-current":v?"page":void 0,"aria-expanded":b?!k:void 0,href:b?f??"#":f},d),u),h&&b&&a.createElement(G,{categoryLabel:u,onClick:e=>{e.preventDefault(),T()}})),a.createElement(B.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:k},a.createElement(q,{items:m,tabIndex:k?-1:0,onItemClick:n,activePath:o,level:c+1})))}var F=n(6654),W=n(3186);const D="menuExternalLink_NmtK";function z(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{href:m,label:u,className:b,autoAddBaseUrl:p}=t,h=(0,i.w8)(t,o),E=(0,F.A)(m);return a.createElement("li",{className:(0,l.A)(r.G.docs.docSidebarItemLink,r.G.docs.docSidebarItemLinkLevel(c),"menu__list-item",b),key:u},a.createElement(L.A,(0,C.A)({className:(0,l.A)("menu__link",!E&&D,{"menu__link--active":h}),autoAddBaseUrl:p,"aria-current":h?"page":void 0,to:m},E&&{onClick:n?()=>n(t):void 0},d),u,!E&&a.createElement(W.A,null)))}const U="menuHtmlItem_M9Kj";function R(e){let{item:t,level:n,index:o}=e;const{value:c,defaultStyle:i,className:s}=t;return a.createElement("li",{className:(0,l.A)(r.G.docs.docSidebarItemLink,r.G.docs.docSidebarItemLinkLevel(n),i&&[U,"menu__list-item"],s),key:o,dangerouslySetInnerHTML:{__html:c}})}function j(e){let{item:t,...n}=e;switch(t.type){case"category":return a.createElement(H,(0,C.A)({item:t},n));case"html":return a.createElement(R,(0,C.A)({item:t},n));default:return a.createElement(z,(0,C.A)({item:t},n))}}function K(e){let{items:t,...n}=e;return a.createElement(w,null,t.map(((e,t)=>a.createElement(j,(0,C.A)({key:t,item:e,index:t},n)))))}const q=(0,a.memo)(K),V="menu_SIkG",Y="menuWithAnnouncementBar_GW3s";function O(e){let{path:t,sidebar:n,className:o}=e;const c=function(){const{isActive:e}=(0,T.Mj)(),[t,n]=(0,a.useState)(e);return(0,b.Mq)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return a.createElement("nav",{className:(0,l.A)("menu thin-scrollbar",V,c&&Y,o)},a.createElement("ul",{className:(0,l.A)(r.G.docs.docSidebarMenu,"menu__list")},a.createElement(q,{items:n,activePath:t,level:1})))}const X="sidebar_njMd",Z="sidebarWithHideableNavbar_wUlq",$="sidebarHidden_VK0M",J="sidebarLogo_isFc";function Q(e){let{path:t,sidebar:n,onCollapse:o,isHidden:r}=e;const{navbar:{hideOnScroll:c},docs:{sidebar:{hideable:i}}}=(0,_.p)();return a.createElement("div",{className:(0,l.A)(X,c&&Z,r&&$)},c&&a.createElement(v.A,{tabIndex:-1,className:J}),a.createElement(O,{path:t,sidebar:n}),i&&a.createElement(N,{onClick:o}))}const ee=a.memo(Q);var te=n(5600),ne=n(9876);const ae=e=>{let{sidebar:t,path:n}=e;const o=(0,ne.M)();return a.createElement("ul",{className:(0,l.A)(r.G.docs.docSidebarMenu,"menu__list")},a.createElement(q,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&o.toggle(),"link"===e.type&&o.toggle()},level:1}))};function le(e){return a.createElement(te.GX,{component:ae,props:e})}const oe=a.memo(le);function re(e){const t=(0,g.l)(),n="desktop"===t||"ssr"===t,l="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement(ee,e),l&&a.createElement(oe,e))}const ce={expandButton:"expandButton_m80_",expandButtonIcon:"expandButtonIcon_BlDH"};function ie(e){let{toggleSidebar:t}=e;return a.createElement("div",{className:ce.expandButton,title:(0,u.T)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,u.T)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t},a.createElement(k,{className:ce.expandButtonIcon}))}const se={docSidebarContainer:"docSidebarContainer_b6E3",docSidebarContainerHidden:"docSidebarContainerHidden_b3ry"};function de(e){let{children:t}=e;const n=(0,d.t)();return a.createElement(a.Fragment,{key:n?.name??"noSidebar"},t)}function me(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:c}=(0,f.zy)(),[i,s]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{i&&s(!1),o((e=>!e))}),[o,i]);return a.createElement("aside",{className:(0,l.A)(r.G.docs.docSidebarContainer,se.docSidebarContainer,n&&se.docSidebarContainerHidden),onTransitionEnd:e=>{e.currentTarget.classList.contains(se.docSidebarContainer)&&n&&s(!0)}},a.createElement(de,null,a.createElement(re,{sidebar:t,path:c,onCollapse:d,isHidden:i})),i&&a.createElement(ie,{toggleSidebar:d}))}const ue={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function be(e){let{hiddenSidebarContainer:t,children:n}=e;const o=(0,d.t)();return a.createElement("main",{className:(0,l.A)(ue.docMainContainer,(t||!o)&&ue.docMainContainerEnhanced)},a.createElement("div",{className:(0,l.A)("container padding-top--md padding-bottom--lg",ue.docItemWrapper,t&&ue.docItemWrapperEnhanced)},n))}const pe={docPage:"docPage__5DB",docsWrapper:"docsWrapper_BCFX"};function he(e){let{children:t}=e;const n=(0,d.t)(),[l,o]=(0,a.useState)(!1);return a.createElement(m.A,{wrapperClassName:pe.docsWrapper},a.createElement(E,null),a.createElement("div",{className:pe.docPage},n&&a.createElement(me,{sidebar:n.items,hiddenSidebarContainer:l,setHiddenSidebarContainer:o}),a.createElement(be,{hiddenSidebarContainer:l},t)))}var Ee=n(1774),fe=n(1463);function ge(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(fe.A,{version:t.version,tag:(0,c.tU)(t.pluginId,t.version)}),a.createElement(o.be,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function _e(e){const{versionMetadata:t}=e,n=(0,i.mz)(e);if(!n)return a.createElement(Ee.default,null);const{docElement:c,sidebarName:m,sidebarItems:u}=n;return a.createElement(a.Fragment,null,a.createElement(ge,e),a.createElement(o.e3,{className:(0,l.A)(r.G.wrapper.docsPages,r.G.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.n,{version:t},a.createElement(d.V,{name:m,items:u},a.createElement(he,null,c)))))}},1774:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(6540),l=n(1312),o=n(1003),r=n(8498);function c(){return a.createElement(a.Fragment,null,a.createElement(o.be,{title:(0,l.T)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.A,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.A,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/1be78505.bee760d5.js b/assets/js/1be78505.bee760d5.js new file mode 100644 index 0000000..181260a --- /dev/null +++ b/assets/js/1be78505.bee760d5.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[514,972],{9963:(e,t,n)=>{n.r(t),n.d(t,{default:()=>Ie});var a=n(7294),l=n(6010),o=n(1944),r=n(5281),c=n(3320),i=n(3438),s=n(4477),d=n(1116),m=n(782),u=n(5999),b=n(2466),p=n(5936);const h="backToTopButton_sjWU",E="backToTopButtonShow_xfvO";function f(){const{shown:e,scrollToTop:t}=function(e){let{threshold:t}=e;const[n,l]=(0,a.useState)(!1),o=(0,a.useRef)(!1),{startScroll:r,cancelScroll:c}=(0,b.Ct)();return(0,b.RF)(((e,n)=>{let{scrollY:a}=e;const r=n?.scrollY;r&&(o.current?o.current=!1:a>=r?(c(),l(!1)):a<t?l(!1):a+window.innerHeight<document.documentElement.scrollHeight&&l(!0))})),(0,p.S)((e=>{e.location.hash&&(o.current=!0,l(!1))})),{shown:n,scrollToTop:()=>r(0)}}({threshold:300});return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.BackToTopButton.buttonAriaLabel",message:"Scroll back to top",description:"The ARIA label for the back to top button"}),className:(0,l.Z)("clean-btn",r.k.common.backToTopButton,h,e&&E),type:"button",onClick:t})}var g=n(6550),_=n(7524),v=n(6668),k=n(1327),C=n(7462);function I(e){return a.createElement("svg",(0,C.Z)({width:"20",height:"20","aria-hidden":"true"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})))}const N="collapseSidebarButton_PEFL",S="collapseSidebarButtonIcon_kv0_";function Z(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,u.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,l.Z)("button button--secondary button--outline",N),onClick:t},a.createElement(I,{className:S}))}var y=n(9689),T=n(902);const x=Symbol("EmptyContext"),w=a.createContext(x);function L(e){let{children:t}=e;const[n,l]=(0,a.useState)(null),o=(0,a.useMemo)((()=>({expandedItem:n,setExpandedItem:l})),[n]);return a.createElement(w.Provider,{value:o},t)}var M=n(6043),A=n(8596),B=n(9960),F=n(2389);function H(e){let{categoryLabel:t,onClick:n}=e;return a.createElement("button",{"aria-label":(0,u.I)({id:"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel",message:"Toggle the collapsible sidebar category '{label}'",description:"The ARIA label to toggle the collapsible sidebar category"},{label:t}),type:"button",className:"clean-btn menu__caret",onClick:n})}function P(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{items:m,label:u,collapsible:b,className:p,href:h}=t,{docs:{sidebar:{autoCollapseCategories:E}}}=(0,v.L)(),f=function(e){const t=(0,F.Z)();return(0,a.useMemo)((()=>e.href?e.href:!t&&e.collapsible?(0,i.Wl)(e):void 0),[e,t])}(t),g=(0,i._F)(t,o),_=(0,A.Mg)(h,o),{collapsed:k,setCollapsed:I}=(0,M.u)({initialState:()=>!!b&&(!g&&t.collapsed)}),{expandedItem:N,setExpandedItem:S}=function(){const e=(0,a.useContext)(w);if(e===x)throw new T.i6("DocSidebarItemsExpandedStateProvider");return e}(),Z=function(e){void 0===e&&(e=!k),S(e?null:s),I(e)};return function(e){let{isActive:t,collapsed:n,updateCollapsed:l}=e;const o=(0,T.D9)(t);(0,a.useEffect)((()=>{t&&!o&&n&&l(!1)}),[t,o,n,l])}({isActive:g,collapsed:k,updateCollapsed:Z}),(0,a.useEffect)((()=>{b&&null!=N&&N!==s&&E&&I(!0)}),[b,N,s,I,E]),a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemCategory,r.k.docs.docSidebarItemCategoryLevel(c),"menu__list-item",{"menu__list-item--collapsed":k},p)},a.createElement("div",{className:(0,l.Z)("menu__list-item-collapsible",{"menu__list-item-collapsible--active":_})},a.createElement(B.Z,(0,C.Z)({className:(0,l.Z)("menu__link",{"menu__link--sublist":b,"menu__link--sublist-caret":!h&&b,"menu__link--active":g}),onClick:b?e=>{n?.(t),h?Z(!1):(e.preventDefault(),Z())}:()=>{n?.(t)},"aria-current":_?"page":void 0,"aria-expanded":b?!k:void 0,href:b?f??"#":f},d),u),h&&b&&a.createElement(H,{categoryLabel:u,onClick:e=>{e.preventDefault(),Z()}})),a.createElement(M.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:k},a.createElement(G,{items:m,tabIndex:k?-1:0,onItemClick:n,activePath:o,level:c+1})))}var W=n(3919),D=n(9471);const R="menuExternalLink_NmtK";function z(e){let{item:t,onItemClick:n,activePath:o,level:c,index:s,...d}=e;const{href:m,label:u,className:b,autoAddBaseUrl:p}=t,h=(0,i._F)(t,o),E=(0,W.Z)(m);return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(c),"menu__list-item",b),key:u},a.createElement(B.Z,(0,C.Z)({className:(0,l.Z)("menu__link",!E&&R,{"menu__link--active":h}),autoAddBaseUrl:p,"aria-current":h?"page":void 0,to:m},E&&{onClick:n?()=>n(t):void 0},d),u,!E&&a.createElement(D.Z,null)))}const U="menuHtmlItem_M9Kj";function K(e){let{item:t,level:n,index:o}=e;const{value:c,defaultStyle:i,className:s}=t;return a.createElement("li",{className:(0,l.Z)(r.k.docs.docSidebarItemLink,r.k.docs.docSidebarItemLinkLevel(n),i&&[U,"menu__list-item"],s),key:o,dangerouslySetInnerHTML:{__html:c}})}function V(e){let{item:t,...n}=e;switch(t.type){case"category":return a.createElement(P,(0,C.Z)({item:t},n));case"html":return a.createElement(K,(0,C.Z)({item:t},n));default:return a.createElement(z,(0,C.Z)({item:t},n))}}function j(e){let{items:t,...n}=e;return a.createElement(L,null,t.map(((e,t)=>a.createElement(V,(0,C.Z)({key:t,item:e,index:t},n)))))}const G=(0,a.memo)(j),Y="menu_SIkG",q="menuWithAnnouncementBar_GW3s";function O(e){let{path:t,sidebar:n,className:o}=e;const c=function(){const{isActive:e}=(0,y.nT)(),[t,n]=(0,a.useState)(e);return(0,b.RF)((t=>{let{scrollY:a}=t;e&&n(0===a)}),[e]),e&&t}();return a.createElement("nav",{className:(0,l.Z)("menu thin-scrollbar",Y,c&&q,o)},a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(G,{items:n,activePath:t,level:1})))}const X="sidebar_njMd",J="sidebarWithHideableNavbar_wUlq",Q="sidebarHidden_VK0M",$="sidebarLogo_isFc";function ee(e){let{path:t,sidebar:n,onCollapse:o,isHidden:r}=e;const{navbar:{hideOnScroll:c},docs:{sidebar:{hideable:i}}}=(0,v.L)();return a.createElement("div",{className:(0,l.Z)(X,c&&J,r&&Q)},c&&a.createElement(k.Z,{tabIndex:-1,className:$}),a.createElement(O,{path:t,sidebar:n}),i&&a.createElement(Z,{onClick:o}))}const te=a.memo(ee);var ne=n(3102),ae=n(2961);const le=e=>{let{sidebar:t,path:n}=e;const o=(0,ae.e)();return a.createElement("ul",{className:(0,l.Z)(r.k.docs.docSidebarMenu,"menu__list")},a.createElement(G,{items:t,activePath:n,onItemClick:e=>{"category"===e.type&&e.href&&o.toggle(),"link"===e.type&&o.toggle()},level:1}))};function oe(e){return a.createElement(ne.Zo,{component:le,props:e})}const re=a.memo(oe);function ce(e){const t=(0,_.i)(),n="desktop"===t||"ssr"===t,l="mobile"===t;return a.createElement(a.Fragment,null,n&&a.createElement(te,e),l&&a.createElement(re,e))}const ie="expandButton_m80_",se="expandButtonIcon_BlDH";function de(e){let{toggleSidebar:t}=e;return a.createElement("div",{className:ie,title:(0,u.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,u.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:t,onClick:t},a.createElement(I,{className:se}))}const me="docSidebarContainer_b6E3",ue="docSidebarContainerHidden_b3ry";function be(e){let{children:t}=e;const n=(0,d.V)();return a.createElement(a.Fragment,{key:n?.name??"noSidebar"},t)}function pe(e){let{sidebar:t,hiddenSidebarContainer:n,setHiddenSidebarContainer:o}=e;const{pathname:c}=(0,g.TH)(),[i,s]=(0,a.useState)(!1),d=(0,a.useCallback)((()=>{i&&s(!1),o((e=>!e))}),[o,i]);return a.createElement("aside",{className:(0,l.Z)(r.k.docs.docSidebarContainer,me,n&&ue),onTransitionEnd:e=>{e.currentTarget.classList.contains(me)&&n&&s(!0)}},a.createElement(be,null,a.createElement(ce,{sidebar:t,path:c,onCollapse:d,isHidden:i})),i&&a.createElement(de,{toggleSidebar:d}))}const he={docMainContainer:"docMainContainer_gTbr",docMainContainerEnhanced:"docMainContainerEnhanced_Uz_u",docItemWrapperEnhanced:"docItemWrapperEnhanced_czyv"};function Ee(e){let{hiddenSidebarContainer:t,children:n}=e;const o=(0,d.V)();return a.createElement("main",{className:(0,l.Z)(he.docMainContainer,(t||!o)&&he.docMainContainerEnhanced)},a.createElement("div",{className:(0,l.Z)("container padding-top--md padding-bottom--lg",he.docItemWrapper,t&&he.docItemWrapperEnhanced)},n))}const fe="docPage__5DB",ge="docsWrapper_BCFX";function _e(e){let{children:t}=e;const n=(0,d.V)(),[l,o]=(0,a.useState)(!1);return a.createElement(m.Z,{wrapperClassName:ge},a.createElement(f,null),a.createElement("div",{className:fe},n&&a.createElement(pe,{sidebar:n.items,hiddenSidebarContainer:l,setHiddenSidebarContainer:o}),a.createElement(Ee,{hiddenSidebarContainer:l},t)))}var ve=n(4972),ke=n(197);function Ce(e){const{versionMetadata:t}=e;return a.createElement(a.Fragment,null,a.createElement(ke.Z,{version:t.version,tag:(0,c.os)(t.pluginId,t.version)}),a.createElement(o.d,null,t.noIndex&&a.createElement("meta",{name:"robots",content:"noindex, nofollow"})))}function Ie(e){const{versionMetadata:t}=e,n=(0,i.hI)(e);if(!n)return a.createElement(ve.default,null);const{docElement:c,sidebarName:m,sidebarItems:u}=n;return a.createElement(a.Fragment,null,a.createElement(Ce,e),a.createElement(o.FG,{className:(0,l.Z)(r.k.wrapper.docsPages,r.k.page.docsDocPage,e.versionMetadata.className)},a.createElement(s.q,{version:t},a.createElement(d.b,{name:m,items:u},a.createElement(_e,null,c)))))}},4972:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});var a=n(7294),l=n(5999),o=n(1944),r=n(782);function c(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/20d512de.3cb845a4.js b/assets/js/20d512de.a78a9f66.js similarity index 59% rename from assets/js/20d512de.3cb845a4.js rename to assets/js/20d512de.a78a9f66.js index b5a4137..17a52cf 100644 --- a/assets/js/20d512de.3cb845a4.js +++ b/assets/js/20d512de.a78a9f66.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[260],{5680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>y});var n=r(6540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},p="mdxType",b={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=l(r),m=a,y=p["".concat(u,".").concat(m)]||p[m]||b[m]||i;return r?n.createElement(y,o(o({ref:t},c),{},{components:r})):n.createElement(y,o({ref:t},c))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=m;var s={};for(var u in t)hasOwnProperty.call(t,u)&&(s[u]=t[u]);s.originalType=e,s[p]="string"==typeof e?e:a,o[1]=s;for(var l=2;l<i;l++)o[l]=r[l];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}m.displayName="MDXCreateElement"},6748:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>b,frontMatter:()=>i,metadata:()=>s,toc:()=>l});var n=r(8168),a=(r(6540),r(5680));const i={sidebar_position:1},o="Attributes",s={unversionedId:"segmentation/attributes",id:"segmentation/attributes",title:"Attributes",description:"What are Attributes",source:"@site/docs/segmentation/attributes.md",sourceDirName:"segmentation",slug:"/segmentation/attributes",permalink:"/segmentation/attributes",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"defaultSidebar",previous:{title:"Segmentation",permalink:"/category/segmentation"},next:{title:"Segments",permalink:"/segmentation/segments"}},u={},l=[{value:"What are Attributes",id:"what-are-attributes",level:2},{value:"Default Attributes",id:"default-attributes",level:2}],c={toc:l},p="wrapper";function b(e){let{components:t,...r}=e;return(0,a.yg)(p,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"attributes"},"Attributes"),(0,a.yg)("h2",{id:"what-are-attributes"},"What are Attributes"),(0,a.yg)("p",null,"An attribute is a ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"characteristic or property of a user"))," that can be used to segment them. For example, an attribute could be the user's location, device type, or account status."),(0,a.yg)("p",null,"An example may be the user's location, which could be used to segment users by country or region."),(0,a.yg)("p",null,"Attributes can be numbers or strings."),(0,a.yg)("h2",{id:"default-attributes"},"Default Attributes"),(0,a.yg)("p",null,"By default, when a new application created 3 Attributes are created:"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"userId"),(0,a.yg)("li",{parentName:"ul"},"sessionId"),(0,a.yg)("li",{parentName:"ul"},"ipAddress")),(0,a.yg)("p",null,"All of them can be modified, and we can create as many attributes as we need."))}b.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[602],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>d});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},c=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},p="mdxType",b={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,u=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=l(r),m=a,d=p["".concat(u,".").concat(m)]||p[m]||b[m]||i;return r?n.createElement(d,o(o({ref:t},c),{},{components:r})):n.createElement(d,o({ref:t},c))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=m;var s={};for(var u in t)hasOwnProperty.call(t,u)&&(s[u]=t[u]);s.originalType=e,s[p]="string"==typeof e?e:a,o[1]=s;for(var l=2;l<i;l++)o[l]=r[l];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}m.displayName="MDXCreateElement"},1023:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>l});var n=r(7462),a=(r(7294),r(3905));const i={sidebar_position:1},o="Attributes",s={unversionedId:"segmentation/attributes",id:"segmentation/attributes",title:"Attributes",description:"What are Attributes",source:"@site/docs/segmentation/attributes.md",sourceDirName:"segmentation",slug:"/segmentation/attributes",permalink:"/segmentation/attributes",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"defaultSidebar",previous:{title:"Segmentation",permalink:"/category/segmentation"},next:{title:"Segments",permalink:"/segmentation/segments"}},u={},l=[{value:"What are Attributes",id:"what-are-attributes",level:2},{value:"Default Attributes",id:"default-attributes",level:2}],c={toc:l};function p(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"attributes"},"Attributes"),(0,a.kt)("h2",{id:"what-are-attributes"},"What are Attributes"),(0,a.kt)("p",null,"An attribute is a ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("em",{parentName:"strong"},"characteristic or property of a user"))," that can be used to segment them. For example, an attribute could be the user's location, device type, or account status."),(0,a.kt)("p",null,"An example may be the user's location, which could be used to segment users by country or region."),(0,a.kt)("p",null,"Atributes can be numbers or strings."),(0,a.kt)("h2",{id:"default-attributes"},"Default Attributes"),(0,a.kt)("p",null,"By default when a new application created 3 Attributes are created:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"userId"),(0,a.kt)("li",{parentName:"ul"},"sessionId"),(0,a.kt)("li",{parentName:"ul"},"ipAdress")),(0,a.kt)("p",null,"All of them can be modified and we can create as many attributes as we need."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/390800e5.ac45d3d9.js b/assets/js/390800e5.75611e36.js similarity index 83% rename from assets/js/390800e5.ac45d3d9.js rename to assets/js/390800e5.75611e36.js index 8629eab..a99e329 100644 --- a/assets/js/390800e5.ac45d3d9.js +++ b/assets/js/390800e5.75611e36.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[465],{7875:e=>{e.exports=JSON.parse('{"title":"The Basics","description":"Some concepts to understand.","slug":"/category/the-basics","permalink":"/category/the-basics","navigation":{"previous":{"title":"First Steps","permalink":"/"},"next":{"title":"Applications","permalink":"/the-basics/applications"}}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[395],{3166:e=>{e.exports=JSON.parse('{"title":"The Basics","description":"Some concepts to understand.","slug":"/category/the-basics","permalink":"/category/the-basics","navigation":{"previous":{"title":"First Steps","permalink":"/"},"next":{"title":"Applications","permalink":"/the-basics/applications"}}}')}}]); \ No newline at end of file diff --git a/assets/js/57c1c2d9.c9792a01.js b/assets/js/57c1c2d9.c9792a01.js deleted file mode 100644 index 46a2145..0000000 --- a/assets/js/57c1c2d9.c9792a01.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[657],{5680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>b});var n=r(6540);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var u=n.createContext({}),c=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(u.Provider,{value:t},e.children)},f="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,u=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),f=c(r),g=i,b=f["".concat(u,".").concat(g)]||f[g]||p[g]||a;return r?n.createElement(b,o(o({ref:t},l),{},{components:r})):n.createElement(b,o({ref:t},l))}));function b(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=g;var s={};for(var u in t)hasOwnProperty.call(t,u)&&(s[u]=t[u]);s.originalType=e,s[f]="string"==typeof e?e:i,o[1]=s;for(var c=2;c<a;c++)o[c]=r[c];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}g.displayName="MDXCreateElement"},9934:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var n=r(8168),i=(r(6540),r(5680));const a={sidebar_position:4},o="Feature Flag Versions",s={unversionedId:"segmentation/feature-flag-versions",id:"segmentation/feature-flag-versions",title:"Feature Flag Versions",description:"The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version.",source:"@site/docs/segmentation/feature-flag-versions.md",sourceDirName:"segmentation",slug:"/segmentation/feature-flag-versions",permalink:"/segmentation/feature-flag-versions",draft:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"defaultSidebar",previous:{title:"Feature Flag Segments",permalink:"/segmentation/feature-flag-segments"},next:{title:"Best Practices",permalink:"/category/best-practices"}},u={},c=[{value:"The Distribution Attribute",id:"the-distribution-attribute",level:2}],l={toc:c},f="wrapper";function p(e){let{components:t,...r}=e;return(0,i.yg)(f,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,i.yg)("h1",{id:"feature-flag-versions"},"Feature Flag Versions"),(0,i.yg)("p",null,"The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version."),(0,i.yg)("p",null,"The feature flag version is composed by the feature version and a percentage."),(0,i.yg)("h2",{id:"the-distribution-attribute"},"The Distribution Attribute"),(0,i.yg)("p",null,"Each feature flag has a Distribution attribute that defines the attribute used to distribute the users on each specific feature version."),(0,i.yg)("p",null,"For more information about distribution attributes check ",(0,i.yg)("a",{parentName:"p",href:"/best-practices/stickiness-attributes"},"stickiness-attributes"),"."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/57c1c2d9.e5abfa4b.js b/assets/js/57c1c2d9.e5abfa4b.js new file mode 100644 index 0000000..eb98b1c --- /dev/null +++ b/assets/js/57c1c2d9.e5abfa4b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[755],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});var n=r(7294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var u=n.createContext({}),c=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(u.Provider,{value:t},e.children)},f="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,a=e.originalType,u=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),f=c(r),b=i,m=f["".concat(u,".").concat(b)]||f[b]||p[b]||a;return r?n.createElement(m,o(o({ref:t},l),{},{components:r})):n.createElement(m,o({ref:t},l))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=r.length,o=new Array(a);o[0]=b;var s={};for(var u in t)hasOwnProperty.call(t,u)&&(s[u]=t[u]);s.originalType=e,s[f]="string"==typeof e?e:i,o[1]=s;for(var c=2;c<a;c++)o[c]=r[c];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}b.displayName="MDXCreateElement"},88:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>o,default:()=>f,frontMatter:()=>a,metadata:()=>s,toc:()=>c});var n=r(7462),i=(r(7294),r(3905));const a={sidebar_position:4},o="Feature Flag Versions",s={unversionedId:"segmentation/feature-flag-versions",id:"segmentation/feature-flag-versions",title:"Feature Flag Versions",description:"The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version.",source:"@site/docs/segmentation/feature-flag-versions.md",sourceDirName:"segmentation",slug:"/segmentation/feature-flag-versions",permalink:"/segmentation/feature-flag-versions",draft:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"defaultSidebar",previous:{title:"Feature Flag Segments",permalink:"/segmentation/feature-flag-segments"},next:{title:"Best Practices",permalink:"/category/best-practices"}},u={},c=[{value:"The Distribution Attribute",id:"the-distribution-attribute",level:2}],l={toc:c};function f(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",{id:"feature-flag-versions"},"Feature Flag Versions"),(0,i.kt)("p",null,"The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version."),(0,i.kt)("p",null,"The feature flag version is composed by the feature version and a percentage."),(0,i.kt)("h2",{id:"the-distribution-attribute"},"The Distribution Attribute"),(0,i.kt)("p",null,"Each feature flag has a Distribution attribute that defines the attribute used to distribute the users on each specific feature version."),(0,i.kt)("p",null,"For more information about distribution attributes check ",(0,i.kt)("a",{parentName:"p",href:"/best-practices/stickiness-attributes"},"stickiness-attributes"),"."))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/62e430e6.92bd4fa9.js b/assets/js/62e430e6.92bd4fa9.js deleted file mode 100644 index e7a8489..0000000 --- a/assets/js/62e430e6.92bd4fa9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[84],{5680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>d});var n=r(6540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},f="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),f=u(r),b=a,d=f["".concat(c,".").concat(b)]||f[b]||p[b]||i;return r?n.createElement(d,o(o({ref:t},l),{},{components:r})):n.createElement(d,o({ref:t},l))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=b;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[f]="string"==typeof e?e:a,o[1]=s;for(var u=2;u<i;u++)o[u]=r[u];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}b.displayName="MDXCreateElement"},6991:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>u});var n=r(8168),a=(r(6540),r(5680));const i={sidebar_position:4},o="Features",s={unversionedId:"the-basics/features",id:"the-basics/features",title:"Features",description:"A feature refers to a specific functionality or capability of an application.",source:"@site/docs/the-basics/features.md",sourceDirName:"the-basics",slug:"/the-basics/features",permalink:"/the-basics/features",draft:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"defaultSidebar",previous:{title:"Environment Keys",permalink:"/the-basics/environment-keys"},next:{title:"Feature Version",permalink:"/the-basics/feature-versions"}},c={},u=[],l={toc:u},f="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(f,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"features"},"Features"),(0,a.yg)("p",null,"A feature refers to a specific functionality or capability of an application."),(0,a.yg)("p",null,"In the context of FeatureIT, a feature would be something that can be enabled or disabled, or have different versions targeted to different segments of users."),(0,a.yg)("p",null,"Each feature can have different configurations in different environments. For example, a feature could be enabled in the development environment, disabled in the staging environment, and enabled with a specific version in the production environment."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/62e430e6.b4d45818.js b/assets/js/62e430e6.b4d45818.js new file mode 100644 index 0000000..e1baf36 --- /dev/null +++ b/assets/js/62e430e6.b4d45818.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[298],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>d});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):o(o({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},f="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),f=u(r),b=a,d=f["".concat(c,".").concat(b)]||f[b]||p[b]||i;return r?n.createElement(d,o(o({ref:t},l),{},{components:r})):n.createElement(d,o({ref:t},l))}));function d(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=r.length,o=new Array(i);o[0]=b;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[f]="string"==typeof e?e:a,o[1]=s;for(var u=2;u<i;u++)o[u]=r[u];return n.createElement.apply(null,o)}return n.createElement.apply(null,r)}b.displayName="MDXCreateElement"},2313:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>f,frontMatter:()=>i,metadata:()=>s,toc:()=>u});var n=r(7462),a=(r(7294),r(3905));const i={sidebar_position:4},o="Features",s={unversionedId:"the-basics/features",id:"the-basics/features",title:"Features",description:"A feature refers to a specific functionality or capability of an application.",source:"@site/docs/the-basics/features.md",sourceDirName:"the-basics",slug:"/the-basics/features",permalink:"/the-basics/features",draft:!1,tags:[],version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"defaultSidebar",previous:{title:"Environment Keys",permalink:"/the-basics/environment-keys"},next:{title:"Feature Version",permalink:"/the-basics/feature-versions"}},c={},u=[],l={toc:u};function f(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"features"},"Features"),(0,a.kt)("p",null,"A feature refers to a specific functionality or capability of an application."),(0,a.kt)("p",null,"In the context of FeatureIT, a feature would be something that can be enabled or disabled, or have different versions targeted to different segments of users."),(0,a.kt)("p",null,"Each feature can have different configurations in different environments. For example, a feature could be enabled in the development environment, disabled in the staging environment, and enabled with a specific version in the production environment."))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/65da6cb5.777846fc.js b/assets/js/65da6cb5.777846fc.js deleted file mode 100644 index 945f3b3..0000000 --- a/assets/js/65da6cb5.777846fc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[783],{5680:(e,t,r)=>{r.d(t,{xA:()=>g,yg:()=>y});var n=r(6540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var o=n.createContext({}),u=function(e){var t=n.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},g=function(e){var t=u(e.components);return n.createElement(o.Provider,{value:t},e.children)},m="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},c=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,s=e.originalType,o=e.parentName,g=i(e,["components","mdxType","originalType","parentName"]),m=u(r),c=a,y=m["".concat(o,".").concat(c)]||m[c]||p[c]||s;return r?n.createElement(y,l(l({ref:t},g),{},{components:r})):n.createElement(y,l({ref:t},g))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var s=r.length,l=new Array(s);l[0]=c;var i={};for(var o in t)hasOwnProperty.call(t,o)&&(i[o]=t[o]);i.originalType=e,i[m]="string"==typeof e?e:a,l[1]=i;for(var u=2;u<s;u++)l[u]=r[u];return n.createElement.apply(null,l)}return n.createElement.apply(null,r)}c.displayName="MDXCreateElement"},1555:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>p,frontMatter:()=>s,metadata:()=>i,toc:()=>u});var n=r(8168),a=(r(6540),r(5680));const s={sidebar_position:2},l="Segments",i={unversionedId:"segmentation/segments",id:"segmentation/segments",title:"Segments",description:"What is a Segment",source:"@site/docs/segmentation/segments.md",sourceDirName:"segmentation",slug:"/segmentation/segments",permalink:"/segmentation/segments",draft:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"defaultSidebar",previous:{title:"Attributes",permalink:"/segmentation/attributes"},next:{title:"Feature Flag Segments",permalink:"/segmentation/feature-flag-segments"}},o={},u=[{value:"What is a Segment",id:"what-is-a-segment",level:2},{value:"Segment Rules",id:"segment-rules",level:2},{value:"String Rules",id:"string-rules",level:3},{value:"Number rules",id:"number-rules",level:3}],g={toc:u},m="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(m,(0,n.A)({},g,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"segments"},"Segments"),(0,a.yg)("h2",{id:"what-is-a-segment"},"What is a Segment"),(0,a.yg)("p",null,"A segment is a ",(0,a.yg)("strong",{parentName:"p"},(0,a.yg)("em",{parentName:"strong"},"group of users"))," that share certain characteristics. In the context of feature flags, a segment can be used to determine which group of users should have access to a particular feature or version of a feature."),(0,a.yg)("h2",{id:"segment-rules"},"Segment Rules"),(0,a.yg)("p",null,"Segments are created by defining a set of rules that use an attribute, an operation, and a value."),(0,a.yg)("p",null,"These rules are used to determine which users belong to a particular segment."),(0,a.yg)("p",null,"For example, let's say you have a rule that says:"),(0,a.yg)("p",null,(0,a.yg)("em",{parentName:"p"},"\"Users whose 'location' attribute starts with 'US' belong to the segment 'US users'.\"")),(0,a.yg)("p",null,"In this example, the attribute is ",(0,a.yg)("strong",{parentName:"p"},'"location"'),", the operation is ",(0,a.yg)("strong",{parentName:"p"},'"starts with"')," and the value is ",(0,a.yg)("strong",{parentName:"p"},'"US"'),". If a user's location attribute is \"US-New York\", they would be considered part of the 'US users' segment."),(0,a.yg)("h3",{id:"string-rules"},"String Rules"),(0,a.yg)("p",null,"String rules are rules where the attribute is a string. The available operations for string rules are:"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"Equals"),(0,a.yg)("li",{parentName:"ul"},"Not equals"),(0,a.yg)("li",{parentName:"ul"},"Contains"),(0,a.yg)("li",{parentName:"ul"},"Is contained in "),(0,a.yg)("li",{parentName:"ul"},"Starts with"),(0,a.yg)("li",{parentName:"ul"},"Ends with")),(0,a.yg)("p",null,'The "Is contained in" rule is a filter that lets you segment data based on any of the values listed in a comma-separated format.'),(0,a.yg)("h3",{id:"number-rules"},"Number rules"),(0,a.yg)("p",null,"Number rules are rules where the attribute is a number. The available operations for number rules are:"),(0,a.yg)("ul",null,(0,a.yg)("li",{parentName:"ul"},"(less than) <"),(0,a.yg)("li",{parentName:"ul"},"(Less or equal than) <="),(0,a.yg)("li",{parentName:"ul"},"(Equal) ="),(0,a.yg)("li",{parentName:"ul"},"(Not equal) !="),(0,a.yg)("li",{parentName:"ul"},"(Greater or equal than) >="),(0,a.yg)("li",{parentName:"ul"},"(Greater than) >")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/65da6cb5.b6c13c94.js b/assets/js/65da6cb5.b6c13c94.js new file mode 100644 index 0000000..ded2d87 --- /dev/null +++ b/assets/js/65da6cb5.b6c13c94.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[800],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>f});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var o=n.createContext({}),u=function(e){var t=n.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(o.Provider,{value:t},e.children)},m="mdxType",c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,s=e.originalType,o=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),m=u(r),g=a,f=m["".concat(o,".").concat(g)]||m[g]||c[g]||s;return r?n.createElement(f,l(l({ref:t},p),{},{components:r})):n.createElement(f,l({ref:t},p))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var s=r.length,l=new Array(s);l[0]=g;var i={};for(var o in t)hasOwnProperty.call(t,o)&&(i[o]=t[o]);i.originalType=e,i[m]="string"==typeof e?e:a,l[1]=i;for(var u=2;u<s;u++)l[u]=r[u];return n.createElement.apply(null,l)}return n.createElement.apply(null,r)}g.displayName="MDXCreateElement"},2435:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>s,metadata:()=>i,toc:()=>u});var n=r(7462),a=(r(7294),r(3905));const s={sidebar_position:2},l="Segments",i={unversionedId:"segmentation/segments",id:"segmentation/segments",title:"Segments",description:"What is a Segment",source:"@site/docs/segmentation/segments.md",sourceDirName:"segmentation",slug:"/segmentation/segments",permalink:"/segmentation/segments",draft:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"defaultSidebar",previous:{title:"Attributes",permalink:"/segmentation/attributes"},next:{title:"Feature Flag Segments",permalink:"/segmentation/feature-flag-segments"}},o={},u=[{value:"What is a Segment",id:"what-is-a-segment",level:2},{value:"Segment Rules",id:"segment-rules",level:2},{value:"String Rules",id:"string-rules",level:3},{value:"Number rules",id:"number-rules",level:3}],p={toc:u};function m(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},p,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"segments"},"Segments"),(0,a.kt)("h2",{id:"what-is-a-segment"},"What is a Segment"),(0,a.kt)("p",null,"A segment is a ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("em",{parentName:"strong"},"group of users"))," that share certain characteristics. In the context of feature flags, a segment can be used to determine which group of users should have access to a particular feature or version of a feature."),(0,a.kt)("h2",{id:"segment-rules"},"Segment Rules"),(0,a.kt)("p",null,"Segments are created by defining a set of rules that use an attribute, an operation, and a value."),(0,a.kt)("p",null,"These rules are used to determine which users belong to a particular segment."),(0,a.kt)("p",null,"For example, let's say you have a rule that says:"),(0,a.kt)("p",null,(0,a.kt)("em",{parentName:"p"},"\"Users whose 'location' attribute starts with 'US' belong to the segment 'US users'.\"")),(0,a.kt)("p",null,"In this example, the attribute is ",(0,a.kt)("strong",{parentName:"p"},'"location"'),", the operation is ",(0,a.kt)("strong",{parentName:"p"},'"starts with"')," and the value is ",(0,a.kt)("strong",{parentName:"p"},'"US"'),". If a user's location attribute is \"US-New York\", they would be considered part of the 'US users' segment."),(0,a.kt)("h3",{id:"string-rules"},"String Rules"),(0,a.kt)("p",null,"String rules are rules where the atribute is a string. The available operations for string rules are:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"Equals"),(0,a.kt)("li",{parentName:"ul"},"Not equals"),(0,a.kt)("li",{parentName:"ul"},"Contains"),(0,a.kt)("li",{parentName:"ul"},"Starts with"),(0,a.kt)("li",{parentName:"ul"},"Ends with")),(0,a.kt)("h3",{id:"number-rules"},"Number rules"),(0,a.kt)("p",null,"Number rules are rules where the atribute is a number. The available operations for number rules are:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"(less than) <"),(0,a.kt)("li",{parentName:"ul"},"(Less or equal than) <="),(0,a.kt)("li",{parentName:"ul"},"(Equal) ="),(0,a.kt)("li",{parentName:"ul"},"(Not equal) !="),(0,a.kt)("li",{parentName:"ul"},"(Greather or equal than) >="),(0,a.kt)("li",{parentName:"ul"},"(Greather than) >")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6a947763.743450d7.js b/assets/js/6a947763.b8c9acaf.js similarity index 67% rename from assets/js/6a947763.743450d7.js rename to assets/js/6a947763.b8c9acaf.js index 75214e9..b581571 100644 --- a/assets/js/6a947763.743450d7.js +++ b/assets/js/6a947763.b8c9acaf.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[996],{5680:(e,t,n)=>{n.d(t,{xA:()=>l,yg:()=>b});var r=n(6540);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),p=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},l=function(e){var t=p(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},y=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=p(n),y=a,b=u["".concat(c,".").concat(y)]||u[y]||f[y]||i;return n?r.createElement(b,o(o({ref:t},l),{},{components:n})):r.createElement(b,o({ref:t},l))}));function b(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=y;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[u]="string"==typeof e?e:a,o[1]=s;for(var p=2;p<i;p++)o[p]=n[p];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}y.displayName="MDXCreateElement"},2151:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>f,frontMatter:()=>i,metadata:()=>s,toc:()=>p});var r=n(8168),a=(n(6540),n(5680));const i={sidebar_position:1},o="Applications",s={unversionedId:"the-basics/applications",id:"the-basics/applications",title:"Applications",description:"An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments.",source:"@site/docs/the-basics/applications.md",sourceDirName:"the-basics",slug:"/the-basics/applications",permalink:"/the-basics/applications",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"defaultSidebar",previous:{title:"The Basics",permalink:"/category/the-basics"},next:{title:"Environments",permalink:"/the-basics/environments"}},c={},p=[],l={toc:p},u="wrapper";function f(e){let{components:t,...n}=e;return(0,a.yg)(u,(0,r.A)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"applications"},"Applications"),(0,a.yg)("p",null,"An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments."))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[345],{3905:(e,t,n)=>{n.d(t,{Zo:()=>l,kt:()=>m});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),p=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},l=function(e){var t=p(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},b=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,i=e.originalType,c=e.parentName,l=s(e,["components","mdxType","originalType","parentName"]),u=p(n),b=a,m=u["".concat(c,".").concat(b)]||u[b]||f[b]||i;return n?r.createElement(m,o(o({ref:t},l),{},{components:n})):r.createElement(m,o({ref:t},l))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var i=n.length,o=new Array(i);o[0]=b;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[u]="string"==typeof e?e:a,o[1]=s;for(var p=2;p<i;p++)o[p]=n[p];return r.createElement.apply(null,o)}return r.createElement.apply(null,n)}b.displayName="MDXCreateElement"},9513:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>p});var r=n(7462),a=(n(7294),n(3905));const i={sidebar_position:1},o="Applications",s={unversionedId:"the-basics/applications",id:"the-basics/applications",title:"Applications",description:"An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments.",source:"@site/docs/the-basics/applications.md",sourceDirName:"the-basics",slug:"/the-basics/applications",permalink:"/the-basics/applications",draft:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"defaultSidebar",previous:{title:"The Basics",permalink:"/category/the-basics"},next:{title:"Environments",permalink:"/the-basics/environments"}},c={},p=[],l={toc:p};function u(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"applications"},"Applications"),(0,a.kt)("p",null,"An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments."))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/6d0fdcd8.168710eb.js b/assets/js/6d0fdcd8.da8ca633.js similarity index 50% rename from assets/js/6d0fdcd8.168710eb.js rename to assets/js/6d0fdcd8.da8ca633.js index 135dfc1..3de214d 100644 --- a/assets/js/6d0fdcd8.168710eb.js +++ b/assets/js/6d0fdcd8.da8ca633.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[496],{5680:(e,n,t)=>{t.d(n,{xA:()=>l,yg:()=>y});var r=t(6540);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function c(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=r.createContext({}),p=function(e){var n=r.useContext(s),t=n;return e&&(t="function"==typeof e?e(n):a(a({},n),e)),t},l=function(e){var n=p(e.components);return r.createElement(s.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},f=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,i=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=p(t),f=o,y=u["".concat(s,".").concat(f)]||u[f]||m[f]||i;return t?r.createElement(y,a(a({ref:n},l),{},{components:t})):r.createElement(y,a({ref:n},l))}));function y(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var i=t.length,a=new Array(i);a[0]=f;var c={};for(var s in n)hasOwnProperty.call(n,s)&&(c[s]=n[s]);c.originalType=e,c[u]="string"==typeof e?e:o,a[1]=c;for(var p=2;p<i;p++)a[p]=t[p];return r.createElement.apply(null,a)}return r.createElement.apply(null,t)}f.displayName="MDXCreateElement"},130:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>a,default:()=>m,frontMatter:()=>i,metadata:()=>c,toc:()=>p});var r=t(8168),o=(t(6540),t(5680));const i={sidebar_position:2},a="Environments",c={unversionedId:"the-basics/environments",id:"the-basics/environments",title:"Environments",description:"An environment refers to a specific deployment or execution context for an application.",source:"@site/docs/the-basics/environments.md",sourceDirName:"the-basics",slug:"/the-basics/environments",permalink:"/the-basics/environments",draft:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"defaultSidebar",previous:{title:"Applications",permalink:"/the-basics/applications"},next:{title:"Environment Keys",permalink:"/the-basics/environment-keys"}},s={},p=[],l={toc:p},u="wrapper";function m(e){let{components:n,...t}=e;return(0,o.yg)(u,(0,r.A)({},l,t,{components:n,mdxType:"MDXLayout"}),(0,o.yg)("h1",{id:"environments"},"Environments"),(0,o.yg)("p",null,"An environment refers to a specific deployment or execution context for an application."),(0,o.yg)("p",null,"For example, an application could have a development environment, a staging environment, and a production environment. This way, you can test new features and changes in the development environment before rolling them out to the staging environment for further testing and then to the production environment for the actual release."))}m.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[385],{3905:(e,n,t)=>{t.d(n,{Zo:()=>l,kt:()=>v});var r=t(7294);function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?i(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function c(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=r.createContext({}),p=function(e){var n=r.useContext(s),t=n;return e&&(t="function"==typeof e?e(n):a(a({},n),e)),t},l=function(e){var n=p(e.components);return r.createElement(s.Provider,{value:n},e.children)},u="mdxType",m={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},f=r.forwardRef((function(e,n){var t=e.components,o=e.mdxType,i=e.originalType,s=e.parentName,l=c(e,["components","mdxType","originalType","parentName"]),u=p(t),f=o,v=u["".concat(s,".").concat(f)]||u[f]||m[f]||i;return t?r.createElement(v,a(a({ref:n},l),{},{components:t})):r.createElement(v,a({ref:n},l))}));function v(e,n){var t=arguments,o=n&&n.mdxType;if("string"==typeof e||o){var i=t.length,a=new Array(i);a[0]=f;var c={};for(var s in n)hasOwnProperty.call(n,s)&&(c[s]=n[s]);c.originalType=e,c[u]="string"==typeof e?e:o,a[1]=c;for(var p=2;p<i;p++)a[p]=t[p];return r.createElement.apply(null,a)}return r.createElement.apply(null,t)}f.displayName="MDXCreateElement"},3967:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>c,toc:()=>p});var r=t(7462),o=(t(7294),t(3905));const i={sidebar_position:2},a="Environments",c={unversionedId:"the-basics/environments",id:"the-basics/environments",title:"Environments",description:"An environment refers to a specific deployment or execution context for an application.",source:"@site/docs/the-basics/environments.md",sourceDirName:"the-basics",slug:"/the-basics/environments",permalink:"/the-basics/environments",draft:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"defaultSidebar",previous:{title:"Applications",permalink:"/the-basics/applications"},next:{title:"Environment Keys",permalink:"/the-basics/environment-keys"}},s={},p=[],l={toc:p};function u(e){let{components:n,...t}=e;return(0,o.kt)("wrapper",(0,r.Z)({},l,t,{components:n,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"environments"},"Environments"),(0,o.kt)("p",null,"An environment refers to a specific deployment or execution context for an application."),(0,o.kt)("p",null,"For example, an application could have a development environment, a staging environment, and a production environment. This way, you can test new features and changes in the development environment before rolling them out to the staging environment for further testing and then to the production environment for the actual release."))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/774.2a3102dc.js b/assets/js/774.2a3102dc.js deleted file mode 100644 index 4ef5969..0000000 --- a/assets/js/774.2a3102dc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[774],{1774:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(6540),l=n(1312),o=n(1003),r=n(8498);function i(){return a.createElement(a.Fragment,null,a.createElement(o.be,{title:(0,l.T)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.A,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.A,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.A,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.A,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.47c97e71.js b/assets/js/935f2afb.47c97e71.js new file mode 100644 index 0000000..86f8941 --- /dev/null +++ b/assets/js/935f2afb.47c97e71.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"defaultSidebar":[{"type":"link","label":"First Steps","href":"/","docId":"intro"},{"type":"category","label":"The Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Applications","href":"/the-basics/applications","docId":"the-basics/applications"},{"type":"link","label":"Environments","href":"/the-basics/environments","docId":"the-basics/environments"},{"type":"link","label":"Environment Keys","href":"/the-basics/environment-keys","docId":"the-basics/environment-keys"},{"type":"link","label":"Features","href":"/the-basics/features","docId":"the-basics/features"},{"type":"link","label":"Feature Version","href":"/the-basics/feature-versions","docId":"the-basics/feature-versions"},{"type":"link","label":"Feature Flags","href":"/the-basics/feature-flags","docId":"the-basics/feature-flags"}],"href":"/category/the-basics"},{"type":"category","label":"Segmentation","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Attributes","href":"/segmentation/attributes","docId":"segmentation/attributes"},{"type":"link","label":"Segments","href":"/segmentation/segments","docId":"segmentation/segments"},{"type":"link","label":"Feature Flag Segments","href":"/segmentation/feature-flag-segments","docId":"segmentation/feature-flag-segments"},{"type":"link","label":"Feature Flag Versions","href":"/segmentation/feature-flag-versions","docId":"segmentation/feature-flag-versions"}],"href":"/category/segmentation"},{"type":"category","label":"Best Practices","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Naming Features","href":"/best-practices/naming-features","docId":"best-practices/naming-features"},{"type":"link","label":"Stickiness Attributes","href":"/best-practices/stickiness-attributes","docId":"best-practices/stickiness-attributes"}],"href":"/category/best-practices"}]},"docs":{"best-practices/naming-features":{"id":"best-practices/naming-features","title":"Naming Features","description":"Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features.","sidebar":"defaultSidebar"},"best-practices/stickiness-attributes":{"id":"best-practices/stickiness-attributes","title":"Stickiness Attributes","description":"Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version.","sidebar":"defaultSidebar"},"intro":{"id":"intro","title":"First Steps","description":"Let\'s discover FeaturIT in less than 5 minutes.","sidebar":"defaultSidebar"},"segmentation/attributes":{"id":"segmentation/attributes","title":"Attributes","description":"What are Attributes","sidebar":"defaultSidebar"},"segmentation/feature-flag-segments":{"id":"segmentation/feature-flag-segments","title":"Feature Flag Segments","description":"A feature flag segment is a rule that allows some users of a given segment access to the feature.","sidebar":"defaultSidebar"},"segmentation/feature-flag-versions":{"id":"segmentation/feature-flag-versions","title":"Feature Flag Versions","description":"The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version.","sidebar":"defaultSidebar"},"segmentation/segments":{"id":"segmentation/segments","title":"Segments","description":"What is a Segment","sidebar":"defaultSidebar"},"the-basics/applications":{"id":"the-basics/applications","title":"Applications","description":"An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments.","sidebar":"defaultSidebar"},"the-basics/environment-keys":{"id":"the-basics/environment-keys","title":"Environment Keys","description":"Environment keys are unique identifiers used to control access to an API.","sidebar":"defaultSidebar"},"the-basics/environments":{"id":"the-basics/environments","title":"Environments","description":"An environment refers to a specific deployment or execution context for an application.","sidebar":"defaultSidebar"},"the-basics/feature-flags":{"id":"the-basics/feature-flags","title":"Feature Flags","description":"Feature Flag","sidebar":"defaultSidebar"},"the-basics/feature-versions":{"id":"the-basics/feature-versions","title":"Feature Version","description":"A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users.","sidebar":"defaultSidebar"},"the-basics/features":{"id":"the-basics/features","title":"Features","description":"A feature refers to a specific functionality or capability of an application.","sidebar":"defaultSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.e09ff0cc.js b/assets/js/935f2afb.e09ff0cc.js deleted file mode 100644 index 7552864..0000000 --- a/assets/js/935f2afb.e09ff0cc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[581],{5610:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"defaultSidebar":[{"type":"link","label":"First Steps","href":"/","docId":"intro"},{"type":"category","label":"The Basics","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Applications","href":"/the-basics/applications","docId":"the-basics/applications"},{"type":"link","label":"Environments","href":"/the-basics/environments","docId":"the-basics/environments"},{"type":"link","label":"Environment Keys","href":"/the-basics/environment-keys","docId":"the-basics/environment-keys"},{"type":"link","label":"Features","href":"/the-basics/features","docId":"the-basics/features"},{"type":"link","label":"Feature Version","href":"/the-basics/feature-versions","docId":"the-basics/feature-versions"},{"type":"link","label":"Feature Flags","href":"/the-basics/feature-flags","docId":"the-basics/feature-flags"}],"href":"/category/the-basics"},{"type":"category","label":"Segmentation","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Attributes","href":"/segmentation/attributes","docId":"segmentation/attributes"},{"type":"link","label":"Segments","href":"/segmentation/segments","docId":"segmentation/segments"},{"type":"link","label":"Feature Flag Segments","href":"/segmentation/feature-flag-segments","docId":"segmentation/feature-flag-segments"},{"type":"link","label":"Feature Flag Versions","href":"/segmentation/feature-flag-versions","docId":"segmentation/feature-flag-versions"}],"href":"/category/segmentation"},{"type":"category","label":"Best Practices","collapsible":true,"collapsed":true,"items":[{"type":"link","label":"Naming Features","href":"/best-practices/naming-features","docId":"best-practices/naming-features"},{"type":"link","label":"Stickiness Attributes","href":"/best-practices/stickiness-attributes","docId":"best-practices/stickiness-attributes"}],"href":"/category/best-practices"}]},"docs":{"best-practices/naming-features":{"id":"best-practices/naming-features","title":"Naming Features","description":"Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features.","sidebar":"defaultSidebar"},"best-practices/stickiness-attributes":{"id":"best-practices/stickiness-attributes","title":"Stickiness Attributes","description":"Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version.","sidebar":"defaultSidebar"},"intro":{"id":"intro","title":"First Steps","description":"Let\'s discover FeaturIT in less than 5 minutes.","sidebar":"defaultSidebar"},"segmentation/attributes":{"id":"segmentation/attributes","title":"Attributes","description":"What are Attributes","sidebar":"defaultSidebar"},"segmentation/feature-flag-segments":{"id":"segmentation/feature-flag-segments","title":"Feature Flag Segments","description":"A feature flag segment is a rule that allows some users of a given segment access to the feature.","sidebar":"defaultSidebar"},"segmentation/feature-flag-versions":{"id":"segmentation/feature-flag-versions","title":"Feature Flag Versions","description":"The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version.","sidebar":"defaultSidebar"},"segmentation/segments":{"id":"segmentation/segments","title":"Segments","description":"What is a Segment","sidebar":"defaultSidebar"},"the-basics/applications":{"id":"the-basics/applications","title":"Applications","description":"An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments.","sidebar":"defaultSidebar"},"the-basics/environment-keys":{"id":"the-basics/environment-keys","title":"Environment Keys","description":"Environment keys are unique identifiers used to control access to an API.","sidebar":"defaultSidebar"},"the-basics/environments":{"id":"the-basics/environments","title":"Environments","description":"An environment refers to a specific deployment or execution context for an application.","sidebar":"defaultSidebar"},"the-basics/feature-flags":{"id":"the-basics/feature-flags","title":"Feature Flags","description":"Feature Flag","sidebar":"defaultSidebar"},"the-basics/feature-versions":{"id":"the-basics/feature-versions","title":"Feature Version","description":"A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users.","sidebar":"defaultSidebar"},"the-basics/features":{"id":"the-basics/features","title":"Features","description":"A feature refers to a specific functionality or capability of an application.","sidebar":"defaultSidebar"}}}')}}]); \ No newline at end of file diff --git a/assets/js/972.23ac08d8.js b/assets/js/972.23ac08d8.js new file mode 100644 index 0000000..c2c3ef5 --- /dev/null +++ b/assets/js/972.23ac08d8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[972],{4972:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var a=n(7294),l=n(5999),o=n(1944),r=n(782);function i(){return a.createElement(a.Fragment,null,a.createElement(o.d,{title:(0,l.I)({id:"theme.NotFound.title",message:"Page Not Found"})}),a.createElement(r.Z,null,a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(l.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(l.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken.")))))))}}}]); \ No newline at end of file diff --git a/assets/js/9dbf4169.1cc04d61.js b/assets/js/9dbf4169.1cc04d61.js deleted file mode 100644 index fc220d3..0000000 --- a/assets/js/9dbf4169.1cc04d61.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[138],{9221:e=>{e.exports=JSON.parse('{"title":"Best Practices","description":"How to get the most from FeaturIT","slug":"/category/best-practices","permalink":"/category/best-practices","navigation":{"previous":{"title":"Feature Flag Versions","permalink":"/segmentation/feature-flag-versions"},"next":{"title":"Naming Features","permalink":"/best-practices/naming-features"}}}')}}]); \ No newline at end of file diff --git a/assets/js/9dbf4169.7a0bba11.js b/assets/js/9dbf4169.7a0bba11.js new file mode 100644 index 0000000..8508a9a --- /dev/null +++ b/assets/js/9dbf4169.7a0bba11.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[30],{5226:e=>{e.exports=JSON.parse('{"title":"Best Practices","description":"How to get the most from FeaturIT","slug":"/category/best-practices","permalink":"/category/best-practices","navigation":{"previous":{"title":"Feature Flag Versions","permalink":"/segmentation/feature-flag-versions"},"next":{"title":"Naming Features","permalink":"/best-practices/naming-features"}}}')}}]); \ No newline at end of file diff --git a/assets/js/a1f504af.dbd6e58f.js b/assets/js/a1f504af.7f256d42.js similarity index 86% rename from assets/js/a1f504af.dbd6e58f.js rename to assets/js/a1f504af.7f256d42.js index 5cb74ba..ede45d6 100644 --- a/assets/js/a1f504af.dbd6e58f.js +++ b/assets/js/a1f504af.7f256d42.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[963],{4893:e=>{e.exports=JSON.parse('{"title":"Segmentation","description":"How to manage segments, progresive rollouts and flagging versions.","slug":"/category/segmentation","permalink":"/category/segmentation","navigation":{"previous":{"title":"Feature Flags","permalink":"/the-basics/feature-flags"},"next":{"title":"Attributes","permalink":"/segmentation/attributes"}}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[718],{9408:e=>{e.exports=JSON.parse('{"title":"Segmentation","description":"How to manage segments, progresive rollouts and flagging versions.","slug":"/category/segmentation","permalink":"/category/segmentation","navigation":{"previous":{"title":"Feature Flags","permalink":"/the-basics/feature-flags"},"next":{"title":"Attributes","permalink":"/segmentation/attributes"}}}')}}]); \ No newline at end of file diff --git a/assets/js/6d2fb31d.759c1da8.js b/assets/js/a23c3548.efdf31c5.js similarity index 64% rename from assets/js/6d2fb31d.759c1da8.js rename to assets/js/a23c3548.efdf31c5.js index 75caa6b..7ecc0fd 100644 --- a/assets/js/6d2fb31d.759c1da8.js +++ b/assets/js/a23c3548.efdf31c5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[359],{1966:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[357],{3769:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]); \ No newline at end of file diff --git a/assets/js/d4277124.3fcbe32d.js b/assets/js/d4277124.0cfab8b0.js similarity index 57% rename from assets/js/d4277124.3fcbe32d.js rename to assets/js/d4277124.0cfab8b0.js index b55243c..fb3d3a3 100644 --- a/assets/js/d4277124.3fcbe32d.js +++ b/assets/js/d4277124.0cfab8b0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[312],{5680:(e,t,r)=>{r.d(t,{xA:()=>l,yg:()=>y});var n=r(6540);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},p="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,s=e.mdxType,i=e.originalType,c=e.parentName,l=o(e,["components","mdxType","originalType","parentName"]),p=u(r),b=s,y=p["".concat(c,".").concat(b)]||p[b]||f[b]||i;return r?n.createElement(y,a(a({ref:t},l),{},{components:r})):n.createElement(y,a({ref:t},l))}));function y(e,t){var r=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var i=r.length,a=new Array(i);a[0]=b;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o[p]="string"==typeof e?e:s,a[1]=o;for(var u=2;u<i;u++)a[u]=r[u];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}b.displayName="MDXCreateElement"},3336:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>f,frontMatter:()=>i,metadata:()=>o,toc:()=>u});var n=r(8168),s=(r(6540),r(5680));const i={sidebar_position:2},a="Stickiness Attributes",o={unversionedId:"best-practices/stickiness-attributes",id:"best-practices/stickiness-attributes",title:"Stickiness Attributes",description:"Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version.",source:"@site/docs/best-practices/stickiness-attributes.md",sourceDirName:"best-practices",slug:"/best-practices/stickiness-attributes",permalink:"/best-practices/stickiness-attributes",draft:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"defaultSidebar",previous:{title:"Naming Features",permalink:"/best-practices/naming-features"}},c={},u=[],l={toc:u},p="wrapper";function f(e){let{components:t,...r}=e;return(0,s.yg)(p,(0,n.A)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,s.yg)("h1",{id:"stickiness-attributes"},"Stickiness Attributes"),(0,s.yg)("p",null,"Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version."),(0,s.yg)("p",null,"Stickiness attributes are used to ensure that a user will experience rollouts, progresive deploys and versions in a consistent way. This can be important when a feature is deployed in stages, or when different versions of a feature are made available to different users."),(0,s.yg)("p",null,"In most of the cases stickiness attribute can be user IDs but sometimes we may chose another attribute."),(0,s.yg)("p",null,"For example lets imagine we have a streaming service for companies. We want to try a new feature and we roll out it for 5% of one country userbase, but we want that given any company all of the employees see the feature or none of them do."),(0,s.yg)("p",null,"In this case we will use the company id as a rollout stickiness atribute. This way all users of 5% of companyies of the segmented country will be able to see the new feature."),(0,s.yg)("p",null,"If we increase progresively to 20% of companyies the rollout but at some point we rollback to 5%, the same 5% of companyies will be able to keep seing the feature."))}f.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[591],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});var n=r(7294);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){s(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t){if(null==e)return{};var r,n,s=function(e,t){if(null==e)return{};var r,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},p="mdxType",f={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,s=e.mdxType,i=e.originalType,c=e.parentName,l=o(e,["components","mdxType","originalType","parentName"]),p=u(r),b=s,m=p["".concat(c,".").concat(b)]||p[b]||f[b]||i;return r?n.createElement(m,a(a({ref:t},l),{},{components:r})):n.createElement(m,a({ref:t},l))}));function m(e,t){var r=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var i=r.length,a=new Array(i);a[0]=b;var o={};for(var c in t)hasOwnProperty.call(t,c)&&(o[c]=t[c]);o.originalType=e,o[p]="string"==typeof e?e:s,a[1]=o;for(var u=2;u<i;u++)a[u]=r[u];return n.createElement.apply(null,a)}return n.createElement.apply(null,r)}b.displayName="MDXCreateElement"},8661:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>u});var n=r(7462),s=(r(7294),r(3905));const i={sidebar_position:2},a="Stickiness Attributes",o={unversionedId:"best-practices/stickiness-attributes",id:"best-practices/stickiness-attributes",title:"Stickiness Attributes",description:"Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version.",source:"@site/docs/best-practices/stickiness-attributes.md",sourceDirName:"best-practices",slug:"/best-practices/stickiness-attributes",permalink:"/best-practices/stickiness-attributes",draft:!1,tags:[],version:"current",sidebarPosition:2,frontMatter:{sidebar_position:2},sidebar:"defaultSidebar",previous:{title:"Naming Features",permalink:"/best-practices/naming-features"}},c={},u=[],l={toc:u};function p(e){let{components:t,...r}=e;return(0,s.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h1",{id:"stickiness-attributes"},"Stickiness Attributes"),(0,s.kt)("p",null,"Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version."),(0,s.kt)("p",null,"Stickiness attributes are used to ensure that a user will experience rollouts, progresive deploys and versions in a consistent way. This can be important when a feature is deployed in stages, or when different versions of a feature are made available to different users."),(0,s.kt)("p",null,"In most of the cases stickiness attribute can be user IDs but sometimes we may chose another attribute."),(0,s.kt)("p",null,"For example lets imagine we have a streaming service for companies. We want to try a new feature and we roll out it for 5% of one country userbase, but we want that given any company all of the employees see the feature or none of them do."),(0,s.kt)("p",null,"In this case we will use the company id as a rollout stickiness atribute. This way all users of 5% of companyies of the segmented country will be able to see the new feature."),(0,s.kt)("p",null,"If we increase progresively to 20% of companyies the rollout but at some point we rollback to 5%, the same 5% of companyies will be able to keep seing the feature."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/dc57ca8b.c51c3a2c.js b/assets/js/dc57ca8b.c51c3a2c.js new file mode 100644 index 0000000..7c10943 --- /dev/null +++ b/assets/js/dc57ca8b.c51c3a2c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[74],{3905:(e,t,r)=>{r.d(t,{Zo:()=>u,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),f=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=f(e.components);return n.createElement(c.Provider,{value:t},e.children)},l="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),l=f(r),b=a,m=l["".concat(c,".").concat(b)]||l[b]||p[b]||o;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=b;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[l]="string"==typeof e?e:a,i[1]=s;for(var f=2;f<o;f++)i[f]=r[f];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}b.displayName="MDXCreateElement"},9244:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>f});var n=r(7462),a=(r(7294),r(3905));const o={sidebar_position:5},i="Feature Version",s={unversionedId:"the-basics/feature-versions",id:"the-basics/feature-versions",title:"Feature Version",description:"A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users.",source:"@site/docs/the-basics/feature-versions.md",sourceDirName:"the-basics",slug:"/the-basics/feature-versions",permalink:"/the-basics/feature-versions",draft:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"defaultSidebar",previous:{title:"Features",permalink:"/the-basics/features"},next:{title:"Feature Flags",permalink:"/the-basics/feature-flags"}},c={},f=[],u={toc:f};function l(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"feature-version"},"Feature Version"),(0,a.kt)("p",null,"A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users."))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/dc57ca8b.ca5560ab.js b/assets/js/dc57ca8b.ca5560ab.js deleted file mode 100644 index 011aaa8..0000000 --- a/assets/js/dc57ca8b.ca5560ab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[786],{5680:(e,t,r)=>{r.d(t,{xA:()=>u,yg:()=>m});var n=r(6540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function s(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),f=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=f(e.components);return n.createElement(c.Provider,{value:t},e.children)},l="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},b=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),l=f(r),b=a,m=l["".concat(c,".").concat(b)]||l[b]||p[b]||o;return r?n.createElement(m,i(i({ref:t},u),{},{components:r})):n.createElement(m,i({ref:t},u))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=b;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[l]="string"==typeof e?e:a,i[1]=s;for(var f=2;f<o;f++)i[f]=r[f];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}b.displayName="MDXCreateElement"},3960:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>p,frontMatter:()=>o,metadata:()=>s,toc:()=>f});var n=r(8168),a=(r(6540),r(5680));const o={sidebar_position:5},i="Feature Version",s={unversionedId:"the-basics/feature-versions",id:"the-basics/feature-versions",title:"Feature Version",description:"A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users.",source:"@site/docs/the-basics/feature-versions.md",sourceDirName:"the-basics",slug:"/the-basics/feature-versions",permalink:"/the-basics/feature-versions",draft:!1,tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"defaultSidebar",previous:{title:"Features",permalink:"/the-basics/features"},next:{title:"Feature Flags",permalink:"/the-basics/feature-flags"}},c={},f=[],u={toc:f},l="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(l,(0,n.A)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"feature-version"},"Feature Version"),(0,a.yg)("p",null,"A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e7e439d1.184165e7.js b/assets/js/e7e439d1.184165e7.js deleted file mode 100644 index 626bedf..0000000 --- a/assets/js/e7e439d1.184165e7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[345],{5680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(6540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},c=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},f="mdxType",g={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),f=l(r),p=a,m=f["".concat(u,".").concat(p)]||f[p]||g[p]||o;return r?n.createElement(m,s(s({ref:t},c),{},{components:r})):n.createElement(m,s({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,s=new Array(o);s[0]=p;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[f]="string"==typeof e?e:a,s[1]=i;for(var l=2;l<o;l++)s[l]=r[l];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}p.displayName="MDXCreateElement"},3217:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>s,default:()=>g,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(8168),a=(r(6540),r(5680));const o={sidebar_position:3},s="Feature Flag Segments",i={unversionedId:"segmentation/feature-flag-segments",id:"segmentation/feature-flag-segments",title:"Feature Flag Segments",description:"A feature flag segment is a rule that allows some users of a given segment access to the feature.",source:"@site/docs/segmentation/feature-flag-segments.md",sourceDirName:"segmentation",slug:"/segmentation/feature-flag-segments",permalink:"/segmentation/feature-flag-segments",draft:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"defaultSidebar",previous:{title:"Segments",permalink:"/segmentation/segments"},next:{title:"Feature Flag Versions",permalink:"/segmentation/feature-flag-versions"}},u={},l=[],c={toc:l},f="wrapper";function g(e){let{components:t,...r}=e;return(0,a.yg)(f,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"feature-flag-segments"},"Feature Flag Segments"),(0,a.yg)("p",null,"A feature flag segment is a rule that allows some users of a given segment access to the feature."),(0,a.yg)("p",null,"A feature flag segment is defined by a segment, a feature flag, a rollout attribute and a rollout percentage."),(0,a.yg)("p",null,"Here the segment defines the group that can use the feature.\nThe feature flag determines the feature and the environment.\nThe rollout percentage fixes the percentage of this group that can use the feature and the rollout attribute is used to assign consistently the users with access to the feature."),(0,a.yg)("p",null,"For more information about rollout attributes check ",(0,a.yg)("a",{parentName:"p",href:"/best-practices/stickiness-attributes"},"stickiness-attributes"),"."))}g.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e7e439d1.fb7f6b74.js b/assets/js/e7e439d1.fb7f6b74.js new file mode 100644 index 0000000..0cc4760 --- /dev/null +++ b/assets/js/e7e439d1.fb7f6b74.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[200],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},c=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},f="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),f=l(r),g=a,m=f["".concat(u,".").concat(g)]||f[g]||p[g]||o;return r?n.createElement(m,s(s({ref:t},c),{},{components:r})):n.createElement(m,s({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,s=new Array(o);s[0]=g;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[f]="string"==typeof e?e:a,s[1]=i;for(var l=2;l<o;l++)s[l]=r[l];return n.createElement.apply(null,s)}return n.createElement.apply(null,r)}g.displayName="MDXCreateElement"},934:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>u,contentTitle:()=>s,default:()=>f,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var n=r(7462),a=(r(7294),r(3905));const o={sidebar_position:3},s="Feature Flag Segments",i={unversionedId:"segmentation/feature-flag-segments",id:"segmentation/feature-flag-segments",title:"Feature Flag Segments",description:"A feature flag segment is a rule that allows some users of a given segment access to the feature.",source:"@site/docs/segmentation/feature-flag-segments.md",sourceDirName:"segmentation",slug:"/segmentation/feature-flag-segments",permalink:"/segmentation/feature-flag-segments",draft:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"defaultSidebar",previous:{title:"Segments",permalink:"/segmentation/segments"},next:{title:"Feature Flag Versions",permalink:"/segmentation/feature-flag-versions"}},u={},l=[],c={toc:l};function f(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"feature-flag-segments"},"Feature Flag Segments"),(0,a.kt)("p",null,"A feature flag segment is a rule that allows some users of a given segment access to the feature."),(0,a.kt)("p",null,"A feature flag segment is defined by a segment, a feature flag, a rollout attribute and a rollout percentage."),(0,a.kt)("p",null,"Here the segment defines the group that can use the feature.\nThe feature flag determines the feature and the environment.\nThe rollout percentage fixes the percentage of this group that can use the feature and the rollout attribute is used to assign consistently the users with access to the feature."),(0,a.kt)("p",null,"For more information about rollout attributes check ",(0,a.kt)("a",{parentName:"p",href:"/best-practices/stickiness-attributes"},"stickiness-attributes"),"."))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/faca8232.ce309464.js b/assets/js/faca8232.2ee226d8.js similarity index 61% rename from assets/js/faca8232.ce309464.js rename to assets/js/faca8232.2ee226d8.js index 69926cb..f346284 100644 --- a/assets/js/faca8232.ce309464.js +++ b/assets/js/faca8232.2ee226d8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[445],{5680:(e,t,r)=>{r.d(t,{xA:()=>c,yg:()=>m});var n=r(6540);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},f="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),f=u(r),g=a,m=f["".concat(s,".").concat(g)]||f[g]||p[g]||o;return r?n.createElement(m,i(i({ref:t},c),{},{components:r})):n.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=g;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[f]="string"==typeof e?e:a,i[1]=l;for(var u=2;u<o;u++)i[u]=r[u];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}g.displayName="MDXCreateElement"},8122:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>p,frontMatter:()=>o,metadata:()=>l,toc:()=>u});var n=r(8168),a=(r(6540),r(5680));const o={sidebar_position:6},i="Feature Flags",l={unversionedId:"the-basics/feature-flags",id:"the-basics/feature-flags",title:"Feature Flags",description:"Feature Flag",source:"@site/docs/the-basics/feature-flags.md",sourceDirName:"the-basics",slug:"/the-basics/feature-flags",permalink:"/the-basics/feature-flags",draft:!1,tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"defaultSidebar",previous:{title:"Feature Version",permalink:"/the-basics/feature-versions"},next:{title:"Segmentation",permalink:"/category/segmentation"}},s={},u=[{value:"Feature Flag",id:"feature-flag",level:2},{value:"Feature Flag and Environments",id:"feature-flag-and-environments",level:2}],c={toc:u},f="wrapper";function p(e){let{components:t,...r}=e;return(0,a.yg)(f,(0,n.A)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.yg)("h1",{id:"feature-flags"},"Feature Flags"),(0,a.yg)("h2",{id:"feature-flag"},"Feature Flag"),(0,a.yg)("p",null,"Feature flags can be used to enable or disable a feature, or to roll out a feature to a specific group of users (segment)."),(0,a.yg)("h2",{id:"feature-flag-and-environments"},"Feature Flag and Environments"),(0,a.yg)("p",null,"When a new feature is created featurIT automatically create a feature flag for this feature in each environment."),(0,a.yg)("mermaid",{value:"graph LR\n\nsubgraph Feature Flags\nA2[Application] --\x3e B2[Environment A]\nA2[Application] --\x3e C2[Environment B]\nB2 --\x3e D2[Flag for Feature 1]\nB2 --\x3e E2[Flag for Feature 2]\nB2 --\x3e F2[Flag for Feature 3]\nC2 --\x3e G2[Flag for Feature 1]\nC2 --\x3e H2[Flag for Feature 2]\nC2 --\x3e I2[Flag for Feature 3]\nend\n\nsubgraph Environments\nA[Application] --\x3e B[Environment A]\nA --\x3e C[Environment B]\n\nend \n\nsubgraph Features\nA1[Application] --\x3e B1[Feature 1]\nA1 --\x3e C1[Feature 2]\nA1 --\x3e D1[Feature 3]\nend \n\nclassDef App fill:#FD8A8A, stroke:#FD8A8A\nclassDef Env fill:#A8D1D1, stroke:#A8D1D1\nclassDef Feature fill:#9EA1D4, stroke:#9EA1D4\nclass A,A1,A2 App\nclass B1,C1,D1 Feature\nclass B,C,B2,C2 Env\nclass B1,C1,D1,D2,E2,F2,G2,H2,I2 Feature\n"}))}p.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[746],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var n=r(7294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},f="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},g=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,s=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),f=u(r),g=a,m=f["".concat(s,".").concat(g)]||f[g]||p[g]||o;return r?n.createElement(m,i(i({ref:t},c),{},{components:r})):n.createElement(m,i({ref:t},c))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=g;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[f]="string"==typeof e?e:a,i[1]=l;for(var u=2;u<o;u++)i[u]=r[u];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}g.displayName="MDXCreateElement"},4753:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>f,frontMatter:()=>o,metadata:()=>l,toc:()=>u});var n=r(7462),a=(r(7294),r(3905));const o={sidebar_position:6},i="Feature Flags",l={unversionedId:"the-basics/feature-flags",id:"the-basics/feature-flags",title:"Feature Flags",description:"Feature Flag",source:"@site/docs/the-basics/feature-flags.md",sourceDirName:"the-basics",slug:"/the-basics/feature-flags",permalink:"/the-basics/feature-flags",draft:!1,tags:[],version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"defaultSidebar",previous:{title:"Feature Version",permalink:"/the-basics/feature-versions"},next:{title:"Segmentation",permalink:"/category/segmentation"}},s={},u=[{value:"Feature Flag",id:"feature-flag",level:2},{value:"Feature Flag and Environments",id:"feature-flag-and-environments",level:2}],c={toc:u};function f(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"feature-flags"},"Feature Flags"),(0,a.kt)("h2",{id:"feature-flag"},"Feature Flag"),(0,a.kt)("p",null,"Feature flags can be used to enable or disable a feature, or to roll out a feature to a specific group of users (segment)."),(0,a.kt)("h2",{id:"feature-flag-and-environments"},"Feature Flag and Environments"),(0,a.kt)("p",null,"When a new feature is created featurIT automatically create a feature flag for this feature in each environment."),(0,a.kt)("mermaid",{value:"graph LR\n\nsubgraph Feature Flags\nA2[Application] --\x3e B2[Environment A]\nA2[Application] --\x3e C2[Environment B]\nB2 --\x3e D2[Flag for Feature 1]\nB2 --\x3e E2[Flag for Feature 2]\nB2 --\x3e F2[Flag for Feature 3]\nC2 --\x3e G2[Flag for Feature 1]\nC2 --\x3e H2[Flag for Feature 2]\nC2 --\x3e I2[Flag for Feature 3]\nend\n\nsubgraph Environments\nA[Application] --\x3e B[Environment A]\nA --\x3e C[Environment B]\n\nend \n\nsubgraph Features\nA1[Application] --\x3e B1[Feature 1]\nA1 --\x3e C1[Feature 2]\nA1 --\x3e D1[Feature 3]\nend \n\nclassDef App fill:#FD8A8A, stroke:#FD8A8A\nclassDef Env fill:#A8D1D1, stroke:#A8D1D1\nclassDef Feature fill:#9EA1D4, stroke:#9EA1D4\nclass A,A1,A2 App\nclass B1,C1,D1 Feature\nclass B,C,B2,C2 Env\nclass B1,C1,D1,D2,E2,F2,G2,H2,I2 Feature\n"}))}f.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/main.1b38e052.js b/assets/js/main.1b38e052.js deleted file mode 100644 index 2374ec4..0000000 --- a/assets/js/main.1b38e052.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.1b38e052.js.LICENSE.txt */ -(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[792],{8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(6540),a=n(8168),o=n(3259),i=n.n(o),l=n(4054);const s={"00cdcb4e":[()=>n.e(384).then(n.bind(n,6642)),"@site/docs/best-practices/naming-features.md",6642],"0e384e19":[()=>n.e(976).then(n.bind(n,5436)),"@site/docs/intro.md",5436],"12bc0817":[()=>n.e(279).then(n.bind(n,5176)),"@site/docs/the-basics/environment-keys.md",5176],"14eb3368":[()=>Promise.all([n.e(869),n.e(969)]).then(n.bind(n,4136)),"@theme/DocCategoryGeneratedIndexPage",4136],17896441:[()=>Promise.all([n.e(869),n.e(401)]).then(n.bind(n,8641)),"@theme/DocItem",8641],"1be78505":[()=>Promise.all([n.e(869),n.e(714)]).then(n.bind(n,10)),"@theme/DocPage",10],"20d512de":[()=>n.e(260).then(n.bind(n,6748)),"@site/docs/segmentation/attributes.md",6748],"390800e5":[()=>n.e(465).then(n.t.bind(n,7875,19)),"~docs/default/category-defaultsidebar-category-the-basics-ae1.json",7875],"57c1c2d9":[()=>n.e(657).then(n.bind(n,9934)),"@site/docs/segmentation/feature-flag-versions.md",9934],"62e430e6":[()=>n.e(84).then(n.bind(n,6991)),"@site/docs/the-basics/features.md",6991],"65da6cb5":[()=>n.e(783).then(n.bind(n,1555)),"@site/docs/segmentation/segments.md",1555],"6a947763":[()=>n.e(996).then(n.bind(n,2151)),"@site/docs/the-basics/applications.md",2151],"6d0fdcd8":[()=>n.e(496).then(n.bind(n,130)),"@site/docs/the-basics/environments.md",130],"6d2fb31d":[()=>n.e(359).then(n.t.bind(n,1966,19)),"/home/xavisas/Code/featurit/featurit-documentation/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",1966],"935f2afb":[()=>n.e(581).then(n.t.bind(n,5610,19)),"~docs/default/version-current-metadata-prop-751.json",5610],"9dbf4169":[()=>n.e(138).then(n.t.bind(n,9221,19)),"~docs/default/category-defaultsidebar-category-best-practices-cf4.json",9221],a1f504af:[()=>n.e(963).then(n.t.bind(n,4893,19)),"~docs/default/category-defaultsidebar-category-segmentation-686.json",4893],d4277124:[()=>n.e(312).then(n.bind(n,3336)),"@site/docs/best-practices/stickiness-attributes.md",3336],dc57ca8b:[()=>n.e(786).then(n.bind(n,3960)),"@site/docs/the-basics/feature-versions.md",3960],e7e439d1:[()=>n.e(345).then(n.bind(n,3217)),"@site/docs/segmentation/feature-flag-segments.md",3217],faca8232:[()=>n.e(445).then(n.bind(n,8122)),"@site/docs/the-basics/feature-flags.md",8122]};function u(e){let{error:t,retry:n,pastDelay:a}=e;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var c=n(6921),d=n(3102);function f(e,t){if("*"===e)return i()({loading:u,loader:()=>n.e(774).then(n.bind(n,1774)),modules:["@theme/NotFound"],webpack:()=>[1774],render(e,t){const n=e.default;return r.createElement(d.W,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});const o=l[`${e}-${t}`],f={},p=[],m=[],h=(0,c.A)(o);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=s[n];r&&(f[t]=r[0],p.push(r[1]),m.push(r[2]))})),i().Map({loading:u,loader:f,modules:p,webpack:()=>m,render(t,n){const i=JSON.parse(JSON.stringify(o));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let o=i;const l=n.split(".");l.slice(0,-1).forEach((e=>{o=o[e]})),o[l[l.length-1]]=a}));const l=i.__comp;delete i.__comp;const s=i.__context;return delete i.__context,r.createElement(d.W,{value:s},r.createElement(l,(0,a.A)({},i,n)))}})}const p=[{path:"/",component:f("/","a21"),routes:[{path:"/",component:f("/","678"),exact:!0,sidebar:"defaultSidebar"},{path:"/best-practices/naming-features",component:f("/best-practices/naming-features","175"),exact:!0,sidebar:"defaultSidebar"},{path:"/best-practices/stickiness-attributes",component:f("/best-practices/stickiness-attributes","8b7"),exact:!0,sidebar:"defaultSidebar"},{path:"/category/best-practices",component:f("/category/best-practices","c05"),exact:!0,sidebar:"defaultSidebar"},{path:"/category/segmentation",component:f("/category/segmentation","5d1"),exact:!0,sidebar:"defaultSidebar"},{path:"/category/the-basics",component:f("/category/the-basics","2b6"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/attributes",component:f("/segmentation/attributes","484"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/feature-flag-segments",component:f("/segmentation/feature-flag-segments","493"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/feature-flag-versions",component:f("/segmentation/feature-flag-versions","191"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/segments",component:f("/segmentation/segments","0c7"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/applications",component:f("/the-basics/applications","f16"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/environment-keys",component:f("/the-basics/environment-keys","185"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/environments",component:f("/the-basics/environments","aaa"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/feature-flags",component:f("/the-basics/feature-flags","e59"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/feature-versions",component:f("/the-basics/feature-versions","cc8"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/features",component:f("/the-basics/features","9d6"),exact:!0,sidebar:"defaultSidebar"}]},{path:"*",component:f("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>a,x:()=>o});var r=n(6540);const a=r.createContext(!1);function o(e){let{children:t}=e;const[n,o]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{o(!0)}),[]),r.createElement(a.Provider,{value:n},t)}},5660:(e,t,n)=>{"use strict";var r=n(6540),a=n(961),o=n(4625),i=n(545),l=n(8193);const s=[n(119),n(6134),n(6294),n(1043)];var u=n(8328),c=n(6347),d=n(2831);function f(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)}var p=n(8168),m=n(5260),h=n(4586),g=n(6025),b=n(6342),v=n(1003),y=n(2131),w=n(4090),k=n(2967),E=n(1463);function S(){const{i18n:{defaultLocale:e,localeConfigs:t}}=(0,h.A)(),n=(0,y.o)();return r.createElement(m.A,null,Object.entries(t).map((e=>{let[t,{htmlLang:a}]=e;return r.createElement("link",{key:t,rel:"alternate",href:n.createUrl({locale:t,fullyQualified:!0}),hrefLang:a})})),r.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function x(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.A)(),a=function(){const{siteConfig:{url:e}}=(0,h.A)(),{pathname:t}=(0,c.zy)();return e+(0,g.A)(t)}(),o=t?`${n}${t}`:a;return r.createElement(m.A,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function C(){const{i18n:{currentLocale:e}}=(0,h.A)(),{metadata:t,image:n}=(0,b.p)();return r.createElement(r.Fragment,null,r.createElement(m.A,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:w.w})),n&&r.createElement(v.be,{image:n}),r.createElement(x,null),r.createElement(S,null),r.createElement(E.A,{tag:k.Cy,locale:e}),r.createElement(m.A,null,t.map(((e,t)=>r.createElement("meta",(0,p.A)({key:t},e))))))}const A=new Map;function T(e){if(A.has(e.pathname))return{...e,pathname:A.get(e.pathname)};if((0,d.u)(u.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return A.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return A.set(e.pathname,t),{...e,pathname:t}}var _=n(6125),L=n(6988);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=s.map((t=>{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const N=function(e){let{children:t,location:n,previousLocation:a}=e;return(0,r.useLayoutEffect)((()=>{a!==n&&(a&&function(e){const{hash:t}=e;if(t){const e=decodeURIComponent(t.substring(1)),n=document.getElementById(e);n?.scrollIntoView()}else window.scrollTo(0,0)}(n),R("onRouteDidUpdate",{previousLocation:a,location:n}))}),[a,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.u)(u.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class P extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=l.A.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return r.createElement(N,{previousLocation:this.previousLocation,location:t},r.createElement(c.qh,{location:t,render:()=>e}))}}const D=P,I="docusaurus-base-url-issue-banner-container",M="docusaurus-base-url-issue-banner-suggestion-container",F="__DOCUSAURUS_INSERT_BASEURL_BANNER";function B(e){return`\nwindow['${F}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${F}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${I}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseurl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${M}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n var suggestionContainer = document.getElementById('${M}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function j(){const{siteConfig:{baseUrl:e}}=(0,h.A)();return(0,r.useLayoutEffect)((()=>{window[F]=!1}),[]),r.createElement(r.Fragment,null,!l.A.canUseDOM&&r.createElement(m.A,null,r.createElement("script",null,B(e))),r.createElement("div",{id:I}))}function z(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.A)(),{pathname:n}=(0,c.zy)();return t&&n===e?r.createElement(j,null):null}function $(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,h.A)(),i=(0,g.A)(e),{htmlLang:l,direction:s}=o[a];return r.createElement(m.A,null,r.createElement("html",{lang:l,dir:s}),r.createElement("title",null,t),r.createElement("meta",{property:"og:title",content:t}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&r.createElement("link",{rel:"icon",href:i}))}var U=n(7489);function G(){const e=(0,d.v)(u.A),t=(0,c.zy)();return r.createElement(U.A,null,r.createElement(L.l,null,r.createElement(_.x,null,r.createElement(f,null,r.createElement($,null),r.createElement(C,null),r.createElement(z,null),r.createElement(D,{location:T(t)},e)))))}var q=n(4054);const H=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var V=n(6921);const W=new Set,K=new Set,Y=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,Q={prefetch(e){if(!(e=>!Y()&&!K.has(e)&&!W.has(e))(e))return!1;W.add(e);const t=(0,d.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,V.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?H(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Y()&&!K.has(e))(e)&&(K.add(e),O(e))},X=Object.freeze(Q);if(l.A.canUseDOM){window.docusaurus=X;const e=a.hydrate;O(window.location.pathname).then((()=>{e(r.createElement(i.vd,null,r.createElement(o.Kd,null,r.createElement(G,null))),document.getElementById("__docusaurus"))}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>c,l:()=>d});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"intro","docs":[{"id":"best-practices/naming-features","path":"/best-practices/naming-features","sidebar":"defaultSidebar"},{"id":"best-practices/stickiness-attributes","path":"/best-practices/stickiness-attributes","sidebar":"defaultSidebar"},{"id":"intro","path":"/","sidebar":"defaultSidebar"},{"id":"segmentation/attributes","path":"/segmentation/attributes","sidebar":"defaultSidebar"},{"id":"segmentation/feature-flag-segments","path":"/segmentation/feature-flag-segments","sidebar":"defaultSidebar"},{"id":"segmentation/feature-flag-versions","path":"/segmentation/feature-flag-versions","sidebar":"defaultSidebar"},{"id":"segmentation/segments","path":"/segmentation/segments","sidebar":"defaultSidebar"},{"id":"the-basics/applications","path":"/the-basics/applications","sidebar":"defaultSidebar"},{"id":"the-basics/environment-keys","path":"/the-basics/environment-keys","sidebar":"defaultSidebar"},{"id":"the-basics/environments","path":"/the-basics/environments","sidebar":"defaultSidebar"},{"id":"the-basics/feature-flags","path":"/the-basics/feature-flags","sidebar":"defaultSidebar"},{"id":"the-basics/feature-versions","path":"/the-basics/feature-versions","sidebar":"defaultSidebar"},{"id":"the-basics/features","path":"/the-basics/features","sidebar":"defaultSidebar"},{"id":"/category/the-basics","path":"/category/the-basics","sidebar":"defaultSidebar"},{"id":"/category/segmentation","path":"/category/segmentation","sidebar":"defaultSidebar"},{"id":"/category/best-practices","path":"/category/best-practices","sidebar":"defaultSidebar"}],"draftIds":[],"sidebars":{"defaultSidebar":{"link":{"path":"/","label":"intro"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(2654);const s=JSON.parse('{"docusaurusVersion":"2.2.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.2.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.2.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.2.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.2.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.2.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"2.2.0"}}}'),u={siteConfig:a.A,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},c=r.createContext(u);function d(e){let{children:t}=e;return r.createElement(c.Provider,{value:u},t)}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6540),a=n(8193),o=n(5260),i=n(8498);function l(e){let{error:t,tryAgain:n}=e;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},r.createElement("h1",null,"This page crashed."),r.createElement("p",null,t.message),r.createElement("button",{type:"button",onClick:n},"Try again"))}function s(e){let{error:t,tryAgain:n}=e;return r.createElement(c,{fallback:()=>r.createElement(l,{error:t,tryAgain:n})},r.createElement(o.A,null,r.createElement("title",null,"Page Error")),r.createElement(i.A,null,r.createElement(l,{error:t,tryAgain:n})))}const u=e=>r.createElement(s,e);class c extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??u)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(545);function o(e){return r.createElement(a.mg,e)}},5489:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(8168),a=n(6540),o=n(4625),i=n(440),l=n(4586),s=n(6654),u=n(8193);const c=a.createContext({collectLink:()=>{}});var d=n(6025);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...v}=e;const{siteConfig:{trailingSlash:y,baseUrl:w}}=(0,l.A)(),{withBaseUrl:k}=(0,d.h)(),E=(0,a.useContext)(c),S=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>S.current));const x=f||p;const C=(0,s.A)(x),A=x?.replace("pathname://","");let T=void 0!==A?(_=A,b&&(e=>e.startsWith("/"))(_)?k(_):_):void 0;var _;T&&C&&(T=(0,i.applyTrailingSlash)(T,{trailingSlash:y,baseUrl:w}));const L=(0,a.useRef)(!1),R=n?o.k2:o.N_,N=u.A.canUseIntersectionObserver,O=(0,a.useRef)(),P=()=>{L.current||null==T||(window.docusaurus.preload(T),L.current=!0)};(0,a.useEffect)((()=>(!N&&C&&null!=T&&window.docusaurus.prefetch(T),()=>{N&&O.current&&O.current.disconnect()})),[O,T,N,C]);const D=T?.startsWith("#")??!1,I=!T||!C||D;return I||g||E.collectLink(T),I?a.createElement("a",(0,r.A)({ref:S,href:T},x&&!C&&{target:"_blank",rel:"noopener noreferrer"},v)):a.createElement(R,(0,r.A)({},v,{onMouseEnter:P,onTouchStart:P,innerRef:e=>{S.current=e,N&&e&&C&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),O.current.observe(e))},to:T},n&&{isActive:h,activeClassName:m}))}const p=a.forwardRef(f)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,T:()=>l});var r=n(6540);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var o=n(2654);function i(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return o[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return a(i({message:n,id:r}),t)}function s(e){let{children:t,id:n,values:o}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const l=i({message:t,id:n});return r.createElement(r.Fragment,null,a(l,o))}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,h:()=>o});var r=n(4586),a=n(6654);function o(){const{siteConfig:{baseUrl:e,url:t}}=(0,r.A)();return{withBaseUrl:(n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.z)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)}}function i(e,t){void 0===t&&(t={});const{withBaseUrl:n}=o();return n(e,t)}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const l=a?`${a}.${o}`:o;r(i)?e(i,l):t[l]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>o,o:()=>a});var r=n(6540);const a=r.createContext(null);function o(e){let{children:t,value:n}=e;const o=r.useContext(a),i=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:o,value:n})),[o,n]);return r.createElement(a.Provider,{value:i},t)}},4070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>b,vT:()=>p,gk:()=>m,Gy:()=>d,HW:()=>v,ht:()=>f,r7:()=>g,jh:()=>h});var r=n(6347),a=n(4586),o=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}function u(e,t){const n=s(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},d=()=>i("docusaurus-plugin-content-docs")??c,f=e=>function(e,t,n){void 0===t&&(t=o.W),void 0===n&&(n={});const r=i(e),a=r?.[t];if(!a&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return a}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function m(e){void 0===e&&(e={});const t=p(e),{pathname:n}=(0,r.zy)();if(!t)return;return{activePlugin:t,activeVersion:s(t.pluginData,n)}}function h(e){return f(e).versions}function g(e){const t=f(e);return l(t)}function b(e){const t=f(e),{pathname:n}=(0,r.zy)();return u(t,n)}function v(e){const t=f(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=l(e);return{latestDocSuggestion:u(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},6134:(e,t,n)=>{"use strict";var r=n(1258),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.A,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{n(8692)(`./prism-${e}`)})),delete globalThis.Prism}(r.A)},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);const a={iconExternalLink:"iconExternalLink_nPIU"};function o(e){let{width:t=13.5,height:n=13.5}=e;return r.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a.iconExternalLink},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},8498:(e,t,n)=>{"use strict";n.d(t,{A:()=>ot});var r=n(6540),a=n(53),o=n(7489),i=n(1003),l=n(5236),s=n(7559),u=n(4090);const c={skipToContent:"skipToContent_fXgn"};function d(){return r.createElement(l.K,{className:c.skipToContent})}var f=n(6342),p=n(5041),m=n(8168),h=n(1312);function g(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...l}=e;return r.createElement("svg",(0,m.A)({viewBox:"0 0 15 15",width:t,height:n},l),r.createElement("g",{stroke:a,strokeWidth:o},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const b={closeButton:"closeButton_CVFx"};function v(e){return r.createElement("button",(0,m.A)({type:"button","aria-label":(0,h.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.A)("clean-btn close",b.closeButton,e.className)}),r.createElement(g,{width:14,height:14,strokeWidth:3.1}))}const y={content:"content_knG7"};function w(e){const{announcementBar:t}=(0,f.p)(),{content:n}=t;return r.createElement("div",(0,m.A)({},e,{className:(0,a.A)(y.content,e.className),dangerouslySetInnerHTML:{__html:n}}))}const k={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function E(){const{announcementBar:e}=(0,f.p)(),{isActive:t,close:n}=(0,p.Mj)();if(!t)return null;const{backgroundColor:a,textColor:o,isCloseable:i}=e;return r.createElement("div",{className:k.announcementBar,style:{backgroundColor:a,color:o},role:"banner"},i&&r.createElement("div",{className:k.announcementBarPlaceholder}),r.createElement(w,{className:k.announcementBarContent}),i&&r.createElement(v,{onClick:n,className:k.announcementBarClose}))}var S=n(9876),x=n(5062),C=n(3104);var A=n(9532),T=n(5600);const _=r.createContext(null);function L(e){let{children:t}=e;const n=function(){const e=(0,S.M)(),t=(0,T.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,A.ZC)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return r.createElement(_.Provider,{value:n},t)}function R(e){if(e.component){const t=e.component;return r.createElement(t,e.props)}}function N(){const e=(0,r.useContext)(_);if(!e)throw new A.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,T.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:R(o)})),[a,o,t])}function O(e){let{header:t,primaryMenu:n,secondaryMenu:o}=e;const{shown:i}=N();return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},o)))}var P=n(5293),D=n(2303);function I(e){return r.createElement("svg",(0,m.A)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function M(e){return r.createElement("svg",(0,m.A)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const F={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function B(e){let{className:t,value:n,onChange:o}=e;const i=(0,D.A)(),l=(0,h.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===n?(0,h.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,h.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,a.A)(F.toggle,t)},r.createElement("button",{className:(0,a.A)("clean-btn",F.toggleButton,!i&&F.toggleButtonDisabled),type:"button",onClick:()=>o("dark"===n?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite"},r.createElement(I,{className:(0,a.A)(F.toggleIcon,F.lightToggleIcon)}),r.createElement(M,{className:(0,a.A)(F.toggleIcon,F.darkToggleIcon)})))}const j=r.memo(B);function z(e){let{className:t}=e;const n=(0,f.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,P.G)();return n?null:r.createElement(j,{className:t,value:a,onChange:o})}var $=n(3465);function U(){return r.createElement($.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function G(){const e=(0,S.M)();return r.createElement("button",{type:"button","aria-label":(0,h.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},r.createElement(g,{color:"var(--ifm-color-emphasis-600)"}))}function q(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(U,null),r.createElement(z,{className:"margin-right--md"}),r.createElement(G,null))}var H=n(5489),V=n(6025),W=n(6654),K=n(1252),Y=n(3186);function Q(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:l,isDropdownLink:s,prependBaseUrlToHref:u,...c}=e;const d=(0,V.A)(a),f=(0,V.A)(t),p=(0,V.A)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,W.A)(o),g=l?{dangerouslySetInnerHTML:{__html:l}}:{children:r.createElement(r.Fragment,null,i,h&&r.createElement(Y.A,s&&{width:12,height:12}))};return o?r.createElement(H.A,(0,m.A)({href:u?p:o},c,g)):r.createElement(H.A,(0,m.A)({to:d,isNavLink:!0},(t||n)&&{isActive:(e,t)=>n?(0,K.G)(n,t.pathname):t.pathname.startsWith(f)},c,g))}function X(e){let{className:t,isDropdownItem:n=!1,...o}=e;const i=r.createElement(Q,(0,m.A)({className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n},o));return n?r.createElement("li",null,i):i}function Z(e){let{className:t,isDropdownItem:n,...o}=e;return r.createElement("li",{className:"menu__list-item"},r.createElement(Q,(0,m.A)({className:(0,a.A)("menu__link",t)},o)))}function J(e){let{mobile:t=!1,position:n,...a}=e;const o=t?Z:X;return r.createElement(o,(0,m.A)({},a,{activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")}))}var ee=n(1422),te=n(9169),ne=n(6347),re=n(4586);function ae(e,t){return e.some((e=>function(e,t){return!!(0,te.ys)(e.to,t)||!!(0,K.G)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function oe(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&c(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[s]),r.createElement("div",{ref:s,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u})},r.createElement(Q,(0,m.A)({"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.A)("navbar__link",o)},l,{onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),c(!u))}}),l.children??l.label),r.createElement("ul",{className:"dropdown__menu"},t.map(((e,n)=>r.createElement(ye,(0,m.A)({isDropdownItem:!0,onKeyDown:e=>{if(n===t.length-1&&"Tab"===e.key){e.preventDefault(),c(!1);const t=s.current.nextElementSibling;if(t){(t instanceof HTMLAnchorElement?t:t.querySelector("a")).focus()}}},activeClassName:"dropdown__link--active"},e,{key:n}))))))}function ie(e){let{items:t,className:n,position:o,onClick:i,...l}=e;const s=function(){const{siteConfig:{baseUrl:e}}=(0,re.A)(),{pathname:t}=(0,ne.zy)();return t.replace(e,"/")}(),u=ae(t,s),{collapsed:c,toggleCollapsed:d,setCollapsed:f}=(0,ee.u)({initialState:()=>!u});return(0,r.useEffect)((()=>{u&&f(!u)}),[s,u,f]),r.createElement("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":c})},r.createElement(Q,(0,m.A)({role:"button",className:(0,a.A)("menu__link menu__link--sublist menu__link--sublist-caret",n)},l,{onClick:e=>{e.preventDefault(),d()}}),l.children??l.label),r.createElement(ee.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:c},t.map(((e,t)=>r.createElement(ye,(0,m.A)({mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active"},e,{key:t}))))))}function le(e){let{mobile:t=!1,...n}=e;const a=t?ie:oe;return r.createElement(a,n)}var se=n(2131);function ue(e){let{width:t=20,height:n=20,...a}=e;return r.createElement("svg",(0,m.A)({viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0},a),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const ce="iconLanguage_nlXk";const de=()=>null,fe={searchBox:"searchBox_ZlJk"};function pe(e){let{children:t,className:n}=e;return r.createElement("div",{className:(0,a.A)(n,fe.searchBox)},t)}var me=n(4070),he=n(4142);var ge=n(5597);const be=e=>e.docs.find((t=>t.id===e.mainDocId));const ve={default:J,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,...o}=e;const{i18n:{currentLocale:i,locales:l,localeConfigs:s}}=(0,re.A)(),u=(0,se.o)(),{search:c,hash:d}=(0,ne.zy)(),f=[...n,...l.map((e=>{const n=`${`pathname://${u.createUrl({locale:e,fullyQualified:!1})}`}${c}${d}`;return{label:s[e].label,lang:s[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...a],p=t?(0,h.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):s[i].label;return r.createElement(le,(0,m.A)({},o,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(ue,{className:ce}),p),items:f}))},search:function(e){let{mobile:t,className:n}=e;return t?null:r.createElement(pe,{className:n},r.createElement(de,null))},dropdown:le,html:function(e){let{value:t,className:n,mobile:o=!1,isDropdownItem:i=!1}=e;const l=i?"li":"div";return r.createElement(l,{className:(0,a.A)({navbar__item:!o&&!i,"menu__list-item":o},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,me.zK)(a),l=(0,he.QB)(t,a);return null===l?null:r.createElement(J,(0,m.A)({exact:!0},o,{isActive:()=>i?.path===l.path||!!i?.sidebar&&i.sidebar===l.sidebar,label:n??l.id,to:l.path}))},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,me.zK)(a),l=(0,he.fW)(t,a).link;if(!l)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return r.createElement(J,(0,m.A)({exact:!0},o,{isActive:()=>i?.sidebar===t,label:n??l.label,to:l.path}))},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e;const i=(0,he.Vd)(a)[0],l=t??i.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(i).path;return r.createElement(J,(0,m.A)({},o,{label:l,to:s}))},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e;const{search:s,hash:u}=(0,ne.zy)(),c=(0,me.zK)(n),d=(0,me.jh)(n),{savePreferredVersionName:f}=(0,ge.g1)(n),p=[...o,...d.map((e=>{const t=c.alternateDocVersions[e.name]??be(e);return{label:e.label,to:`${t.path}${s}${u}`,isActive:()=>e===c.activeVersion,onClick:()=>f(e.name)}})),...i],g=(0,he.Vd)(n)[0],b=t&&p.length>1?(0,h.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,v=t&&p.length>1?void 0:be(g).path;return p.length<=1?r.createElement(J,(0,m.A)({},l,{mobile:t,label:b,to:v,isActive:a?()=>!1:void 0})):r.createElement(le,(0,m.A)({},l,{mobile:t,label:b,to:v,items:p,isActive:a?()=>!1:void 0}))}};function ye(e){let{type:t,...n}=e;const a=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=ve[a];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return r.createElement(o,n)}function we(){const e=(0,S.M)(),t=(0,f.p)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map(((t,n)=>r.createElement(ye,(0,m.A)({mobile:!0},t,{onClick:()=>e.toggle(),key:n})))))}function ke(e){return r.createElement("button",(0,m.A)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(h.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function Ee(){const e=0===(0,f.p)().navbar.items.length,t=N();return r.createElement(r.Fragment,null,!e&&r.createElement(ke,{onClick:()=>t.hide()}),t.content)}function Se(){const e=(0,S.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?r.createElement(O,{header:r.createElement(q,null),primaryMenu:r.createElement(we,null),secondaryMenu:r.createElement(Ee,null)}):null}const xe={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ce(e){return r.createElement("div",(0,m.A)({role:"presentation"},e,{className:(0,a.A)("navbar-sidebar__backdrop",e.className)}))}function Ae(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,f.p)(),i=(0,S.M)(),{navbarRef:l,isNavbarVisible:s}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,C.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)})),(0,x.$)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return r.createElement("nav",{ref:l,className:(0,a.A)("navbar","navbar--fixed-top",n&&[xe.navbarHideable,!s&&xe.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown})},t,r.createElement(Ce,{onClick:i.toggle}),r.createElement(Se,null))}const Te="right";function _e(e){let{width:t=30,height:n=30,className:a,...o}=e;return r.createElement("svg",(0,m.A)({className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true"},o),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function Le(){const{toggle:e,shown:t}=(0,S.M)();return r.createElement("button",{onClick:e,"aria-label":(0,h.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button"},r.createElement(_e,null))}const Re={colorModeToggle:"colorModeToggle_DEke"};function Ne(e){let{items:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement(ye,(0,m.A)({},e,{key:t})))))}function Oe(e){let{left:t,right:n}=e;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function Pe(){const e=(0,S.M)(),t=(0,f.p)().navbar.items,[n,a]=function(e){function t(e){return"left"===(e.position??Te)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return r.createElement(Oe,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(Le,null),r.createElement(U,null),r.createElement(Ne,{items:n})),right:r.createElement(r.Fragment,null,r.createElement(Ne,{items:a}),r.createElement(z,{className:Re.colorModeToggle}),!o&&r.createElement(pe,null,r.createElement(de,null)))})}function De(){return r.createElement(Ae,null,r.createElement(Pe,null))}var Ie=n(3106);function Me(e){let{item:t}=e;const{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,V.A)(n),u=(0,V.A)(a,{forcePrependBaseUrl:!0});return r.createElement(H.A,(0,m.A)({className:"footer__link-item"},a?{href:i?u:a}:{to:s},l),o,a&&!(0,W.A)(a)&&r.createElement(Y.A,null))}function Fe(e){let{item:t}=e;return t.html?r.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement("li",{key:t.href??t.to,className:"footer__item"},r.createElement(Me,{item:t}))}function Be(e){let{column:t}=e;return r.createElement("div",{className:"col footer__col"},r.createElement("div",{className:"footer__title"},t.title),r.createElement("ul",{className:"footer__items clean-list"},t.items.map(((e,t)=>r.createElement(Fe,{key:t,item:e})))))}function je(e){let{columns:t}=e;return r.createElement("div",{className:"row footer__links"},t.map(((e,t)=>r.createElement(Be,{key:t,column:e}))))}function ze(){return r.createElement("span",{className:"footer__link-separator"},"\xb7")}function $e(e){let{item:t}=e;return t.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement(Me,{item:t})}function Ue(e){let{links:t}=e;return r.createElement("div",{className:"footer__links text--center"},r.createElement("div",{className:"footer__links"},t.map(((e,n)=>r.createElement(r.Fragment,{key:n},r.createElement($e,{item:e}),t.length!==n+1&&r.createElement(ze,null))))))}function Ge(e){let{links:t}=e;return(0,Ie.C)(t)?r.createElement(je,{columns:t}):r.createElement(Ue,{links:t})}var qe=n(1653);const He="footerLogoLink_BH7S";function Ve(e){let{logo:t}=e;const{withBaseUrl:n}=(0,V.h)(),o={light:n(t.src),dark:n(t.srcDark??t.src)};return r.createElement(qe.A,{className:(0,a.A)("footer__logo",t.className),alt:t.alt,sources:o,width:t.width,height:t.height,style:t.style})}function We(e){let{logo:t}=e;return t.href?r.createElement(H.A,{href:t.href,className:He,target:t.target},r.createElement(Ve,{logo:t})):r.createElement(Ve,{logo:t})}function Ke(e){let{copyright:t}=e;return r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function Ye(e){let{style:t,links:n,logo:o,copyright:i}=e;return r.createElement("footer",{className:(0,a.A)("footer",{"footer--dark":"dark"===t})},r.createElement("div",{className:"container container-fluid"},n,(o||i)&&r.createElement("div",{className:"footer__bottom text--center"},o&&r.createElement("div",{className:"margin-bottom--sm"},o),i)))}function Qe(){const{footer:e}=(0,f.p)();if(!e)return null;const{copyright:t,links:n,logo:a,style:o}=e;return r.createElement(Ye,{style:o,links:n&&n.length>0&&r.createElement(Ge,{links:n}),logo:a&&r.createElement(We,{logo:a}),copyright:t&&r.createElement(Ke,{copyright:t})})}const Xe=r.memo(Qe);var Ze=n(9466);const Je="docusaurus.tab.",et=r.createContext(void 0);const tt=(0,A.fM)([P.a,p.oq,function(e){let{children:t}=e;const n=function(){const[e,t]=(0,r.useState)({}),n=(0,r.useCallback)(((e,t)=>{(0,Ze.W)(`${Je}${e}`).set(t)}),[]);(0,r.useEffect)((()=>{try{const e={};(0,Ze.E)().forEach((t=>{if(t.startsWith(Je)){const n=t.substring(15);e[n]=(0,Ze.W)(t).get()}})),t(e)}catch(e){console.error(e)}}),[]);const a=(0,r.useCallback)(((e,r)=>{t((t=>({...t,[e]:r}))),n(e,r)}),[n]);return(0,r.useMemo)((()=>({tabGroupChoices:e,setTabGroupChoices:a})),[e,a])}();return r.createElement(et.Provider,{value:n},t)},C.Tv,ge.VQ,i.Jx,function(e){let{children:t}=e;return r.createElement(T.y_,null,r.createElement(S.e,null,r.createElement(L,null,t)))}]);function nt(e){let{children:t}=e;return r.createElement(tt,null,t)}function rt(e){let{error:t,tryAgain:n}=e;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(h.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},r.createElement(h.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again when the page crashed"},"Try again"))))))}const at={mainWrapper:"mainWrapper_z2l0"};function ot(e){const{children:t,noFooter:n,wrapperClassName:c,title:f,description:p}=e;return(0,u.J)(),r.createElement(nt,null,r.createElement(i.be,{title:f,description:p}),r.createElement(d,null),r.createElement(E,null),r.createElement(De,null),r.createElement("div",{id:l.j,className:(0,a.A)(s.G.wrapper.main,at.mainWrapper,c)},r.createElement(o.A,{fallback:e=>r.createElement(rt,e)},t)),!n&&r.createElement(Xe,null))}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(8168),a=n(6540),o=n(5489),i=n(6025),l=n(4586),s=n(6342),u=n(1653);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,i.A)(t.src),dark:(0,i.A)(t.srcDark||t.src)},l=a.createElement(u.A,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?a.createElement("div",{className:r},l):l}function d(e){const{siteConfig:{title:t}}=(0,l.A)(),{navbar:{title:n,logo:u}}=(0,s.p)(),{imageClassName:d,titleClassName:f,...p}=e,m=(0,i.A)(u?.href||"/"),h=n?"":t,g=u?.alt??h;return a.createElement(o.A,(0,r.A)({to:m},p,u?.target&&{target:u.target}),u&&a.createElement(c,{logo:u,alt:g,imageClassName:d}),null!=n&&a.createElement("b",{className:f},n))}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(5260);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return r.createElement(a.A,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),o&&r.createElement("meta",{name:"docusaurus_tag",content:o}),i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),o&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}},1653:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(8168),a=n(6540),o=n(53),i=n(2303),l=n(5293);const s={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"};function u(e){const t=(0,i.A)(),{colorMode:n}=(0,l.G)(),{sources:u,className:c,alt:d,...f}=e,p=t?"dark"===n?["dark"]:["light"]:["light","dark"];return a.createElement(a.Fragment,null,p.map((e=>a.createElement("img",(0,r.A)({key:e,src:u[e],alt:d,className:(0,o.A)(s.themedImage,s[`themedImage--${e}`],c)},f)))))}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>h,u:()=>l});var r=n(8168),a=n(6540),o=n(8193);const i="ease-in-out";function l(e){let{initialState:t}=e;const[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}const s={display:"none",overflow:"hidden",height:"0px"},u={display:"block",overflow:"visible",height:"auto"};function c(e,t){const n=t?s:u;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function d(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const o=(0,a.useRef)(!1);(0,a.useEffect)((()=>{const e=t.current;function a(){const t=e.scrollHeight,n=r?.duration??function(e){const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${r?.easing??i}`,height:`${t}px`}}function l(){const t=a();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return c(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(l(),requestAnimationFrame((()=>{e.style.height=s.height,e.style.overflow=s.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{l()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function f(e){if(!o.A.canUseDOM)return e?s:u}function p(e){let{as:t="div",collapsed:n,children:r,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:s}=e;const u=(0,a.useRef)(null);return d({collapsibleRef:u,collapsed:n,animation:o}),a.createElement(t,{ref:u,style:s?void 0:f(n),onTransitionEnd:e=>{"height"===e.propertyName&&(c(u.current,n),i?.(n))},className:l},r)}function m(e){let{collapsed:t,...n}=e;const[o,i]=(0,a.useState)(!t),[l,s]=(0,a.useState)(t);return(0,a.useLayoutEffect)((()=>{t||i(!0)}),[t]),(0,a.useLayoutEffect)((()=>{o&&s(t)}),[o,t]),o?a.createElement(p,(0,r.A)({},n,{collapsed:l})):null}function h(e){let{lazy:t,...n}=e;const r=t?m:p;return a.createElement(r,n)}},5041:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>m,oq:()=>p});var r=n(6540),a=n(2303),o=n(9466),i=n(9532),l=n(6342);const s=(0,o.W)("docusaurus.announcement.dismiss"),u=(0,o.W)("docusaurus.announcement.id"),c=()=>"true"===s.get(),d=e=>s.set(String(e)),f=r.createContext(null);function p(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&c()));(0,r.useEffect)((()=>{o(c())}),[]);const i=(0,r.useCallback)((()=>{d(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&d(!1),!r&&c()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return r.createElement(f.Provider,{value:n},t)}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>g,a:()=>h});var r=n(6540),a=n(8193),o=n(9532),i=n(9466),l=n(6342);const s=r.createContext(void 0),u="theme",c=(0,i.W)(u),d={light:"light",dark:"dark"},f=e=>e===d.dark?d.dark:d.light,p=e=>a.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{c.set(f(e))};function h(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.p)(),[a,o]=(0,r.useState)(p(e));(0,r.useEffect)((()=>{t&&c.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&m(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?d.dark:d.light:e),c.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=c.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const s=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||s.current?s.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===d.dark},setLightTheme(){i(d.light)},setDarkTheme(){i(d.dark)}})),[a,i])}();return r.createElement(s.Provider,{value:n},t)}function g(){const e=(0,r.useContext)(s);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>g,XK:()=>y,g1:()=>v});var r=n(6540),a=n(4070),o=n(7065),i=n(6342),l=n(4142),s=n(9532),u=n(9466);const c=e=>`docs-preferred-version-${e}`,d={save:(e,t,n)=>{(0,u.W)(c(e),{persistence:t}).set(n)},read:(e,t)=>(0,u.W)(c(e),{persistence:t}).get(),clear:(e,t)=>{(0,u.W)(c(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const p=r.createContext(null);function m(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=d.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(d.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d.save(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function h(e){let{children:t}=e;const n=m();return r.createElement(p.Provider,{value:n},t)}function g(e){let{children:t}=e;return l.C5?r.createElement(h,null,t):r.createElement(r.Fragment,null,t)}function b(){const e=(0,r.useContext)(p);if(!e)throw new s.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=b(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function y(){const e=(0,a.Gy)(),[t]=b();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>s});var r=n(6540),a=n(9532);const o=Symbol("EmptyContext"),i=r.createContext(o);function l(e){let{children:t,name:n,items:a}=e;const o=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return r.createElement(i.Provider,{value:o},t)}function s(){const e=(0,r.useContext)(i);if(e===o)throw new a.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>i,r:()=>l});var r=n(6540),a=n(9532);const o=r.createContext(null);function i(e){let{children:t,version:n}=e;return r.createElement(o.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(o);if(null===e)throw new a.dV("DocsVersionProvider");return e}},9876:(e,t,n)=>{"use strict";n.d(t,{e:()=>f,M:()=>p});var r=n(6540),a=n(5600),o=n(4581),i=n(6347),l=n(9532);function s(e){!function(e){const t=(0,i.W6)(),n=(0,l._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(6342);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,u.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const c=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function f(e){let{children:t}=e;const n=d();return r.createElement(c.Provider,{value:n},t)}function p(){const e=r.useContext(c);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>s,YL:()=>l,y_:()=>i});var r=n(6540),a=n(9532);const o=r.createContext(null);function i(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return r.createElement(o.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(o);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function s(e){let{component:t,props:n}=e;const i=(0,r.useContext)(o);if(!i)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,l]=i,s=(0,a.Be)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>u});var r=n(6540),a=n(8193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function l(){return a.A.canUseDOM?window.innerWidth>i?o.desktop:o.mobile:o.ssr}const s=!1;function u(){const[e,t]=(0,r.useState)((()=>s?"ssr":l()));return(0,r.useEffect)((()=>{function e(){t(l())}const n=s?window.setTimeout(e,1e3):void 0;return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(n)}}),[]),e}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},4142:(e,t,n)=>{"use strict";n.d(t,{$S:()=>h,C5:()=>f,OF:()=>w,QB:()=>S,Vd:()=>k,_o:()=>m,cC:()=>p,d1:()=>C,fW:()=>E,mz:()=>x,w8:()=>v});var r=n(6540),a=n(6347),o=n(2831),i=n(4070),l=n(5597),s=n(2252),u=n(6588),c=n(1682),d=n(9169);const f=!!i.Gy;function p(e){const t=(0,s.r)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function m(e){if(e.href)return e.href;for(const t of e.items){if("link"===t.type)return t.href;if("category"===t.type){const e=m(t);if(e)return e}}}function h(){const{pathname:e}=(0,a.zy)(),t=(0,u.t)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=y({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const g=(e,t)=>void 0!==e&&(0,d.ys)(e,t),b=(e,t)=>e.some((e=>v(e,t)));function v(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||b(e.items,t))}function y(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,u.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?y({sidebarItems:e.items,pathname:t}):null}function k(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,l.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>(0,c.s)([t,n,a].filter(Boolean))),[t,n,a])}function E(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\n Available sidebar ids are:\n - ${Object.keys(t).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=k(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`DocNavbarItem: couldn't find any doc with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,c.s)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function x(e){let{route:t,versionMetadata:n}=e;const r=(0,a.zy)(),i=t.routes,l=i.find((e=>(0,a.B6)(r.pathname,e)));if(!l)return null;const s=l.sidebar,u=s?n.docsSidebars[s]:void 0;return{docElement:(0,o.v)(i),sidebarName:s,sidebarItems:u}}function C(e){return e.filter((e=>"category"!==e.type||!!m(e)))}},3106:(e,t,n)=>{"use strict";function r(e){return"title"in e[0]}n.d(t,{C:()=>r})},1682:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{X:()=>r,s:()=>a})},1003:(e,t,n)=>{"use strict";n.d(t,{e3:()=>f,be:()=>c,Jx:()=>p});var r=n(6540),a=n(53),o=n(5260),i=n(3102);function l(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(6025),u=n(4586);function c(e){let{title:t,description:n,keywords:a,image:i,children:l}=e;const c=function(e){const{siteConfig:t}=(0,u.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.h)(),f=i?d(i,{absolute:!0}):void 0;return r.createElement(o.A,null,t&&r.createElement("title",null,c),t&&r.createElement("meta",{property:"og:title",content:c}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),a&&r.createElement("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),l)}const d=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(d),l=(0,a.A)(i,t);return r.createElement(d.Provider,{value:l},r.createElement(o.A,null,r.createElement("html",{className:l})),n)}function p(e){let{children:t}=e;const n=l(),o=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const i=`plugin-id-${n.plugin.id}`;return r.createElement(f,{className:(0,a.A)(o,i)},t)}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>s,Es:()=>a,ZC:()=>i,_q:()=>o,dV:()=>l,fM:()=>u});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect;function o(e){const t=(0,r.useRef)(e);return a((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function i(e){const t=(0,r.useRef)();return a((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function s(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return r.createElement(r.Fragment,null,e.reduceRight(((e,t)=>r.createElement(t,null,e)),n))}}},1252:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{G:()=>r})},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>l,ys:()=>i});var r=n(6540),a=n(8328),o=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>d,Tv:()=>s,gk:()=>f});var r=n(6540),a=n(8193),o=n(2303),i=n(9532);const l=r.createContext(void 0);function s(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return r.createElement(l.Provider,{value:n},t)}function u(){const e=(0,r.useContext)(l);if(null==e)throw new i.dV("ScrollControllerProvider");return e}const c=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),a=(0,r.useRef)(c()),o=(0,i._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=c();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>i,af:()=>s,tU:()=>l});var r=n(4070),a=n(4586),o=n(5597);const i="default";function l(e,t){return`docs-${e}-${t}`}function s(){const{i18n:e}=(0,a.A)(),t=(0,r.Gy)(),n=(0,r.gk)(),s=(0,o.XK)();const u=[i,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,a=s[e],o=t[e].versions.find((e=>e.isLast));return l(e,(r??a??o).name)}))];return{locale:e.currentLocale,tags:u}}},5236:(e,t,n)=>{"use strict";n.d(t,{K:()=>f,j:()=>s});var r=n(8168),a=n(6540),o=n(6347),i=n(1312),l=n(5062);const s="docusaurus_skipToContent_fallback";function u(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function c(){const e=(0,a.useRef)(null),{action:t}=(0,o.W6)(),n=(0,a.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(s);t&&u(t)}),[]);return(0,l.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&u(e.current)})),{containerRef:e,onClick:n}}const d=(0,i.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function f(e){const t=e.children??d,{containerRef:n,onClick:o}=c();return a.createElement("div",{ref:n,role:"region","aria-label":d},a.createElement("a",(0,r.A)({},e,{href:`#${s}`,onClick:o}),t))}},9466:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,W:()=>l});const r="localStorage";function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,o||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),o=!0),null}var t}let o=!1;const i={get:()=>null,set:()=>{},del:()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t}}(e);const n=a(t?.persistence);return null===n?i:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{n.setItem(e,t)}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{n.removeItem(e)}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}}}}function s(e){void 0===e&&(e=r);const t=a(e);if(!t)return[];const n=[];for(let r=0;r<t.length;r+=1){const e=t.key(r);null!==e&&n.push(e)}return n}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var r=n(4586),a=n(6347);function o(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:n,currentLocale:o}}=(0,r.A)(),{pathname:i}=(0,a.zy)(),l=o===n?e:e.replace(`/${o}/`,"/"),s=i.replace(e,"");return{createUrl:function(e){let{locale:r,fullyQualified:a}=e;return`${a?t:""}${function(e){return e===n?`${l}`:`${l}${e}/`}(r)}${s}`}}}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(9532);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.A)().siteConfig.themeConfig}},2983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var a=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}})},53:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}n.d(t,{A:()=>a});const a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>A,yJ:()=>p,sC:()=>_,AO:()=>f});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(1561);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var b="popstate",v="hashchange";function y(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,E=void 0===k?g:k,S=i.keyLength,x=void 0===S?6:S,C=e.basename?d(s(e.basename)):"";function A(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return C&&(o=c(o,C)),p(o,r,n)}function T(){return Math.random().toString(36).substr(2,x)}var _=m();function L(e){(0,r.A)($,e),$.length=n.length,_.notifyListeners($.location,$.action)}function R(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(A(e.state))}function N(){P(A(y()))}var O=!1;function P(e){if(O)O=!1,L();else{_.confirmTransitionTo(e,"POP",E,(function(t){t?L({action:"POP",location:e}):function(e){var t=$.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(O=!0,F(a))}(e)}))}}var D=A(y()),I=[D.key];function M(e){return C+f(e)}function F(e){n.go(e)}var B=0;function j(e){1===(B+=e)&&1===e?(window.addEventListener(b,R),o&&window.addEventListener(v,N)):0===B&&(window.removeEventListener(b,R),o&&window.removeEventListener(v,N))}var z=!1;var $={length:n.length,action:"POP",location:D,createHref:M,push:function(e,t){var r="PUSH",o=p(e,t,T(),$.location);_.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=I.indexOf($.location.key),u=I.slice(0,s+1);u.push(o.key),I=u,L({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,T(),$.location);_.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=I.indexOf($.location.key);-1!==s&&(I[s]=o.key),L({action:r,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return z||(j(1),z=!0),function(){return z&&(z=!1,j(-1)),t()}},listen:function(e){var t=_.appendListener(e);return j(1),function(){j(-1),t()}}};return $}var k="hashchange",E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function A(e){void 0===e&&(e={}),h||(0,l.A)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=void 0===i?"slash":i,b=e.basename?d(s(e.basename)):"",v=E[u],y=v.encodePath,w=v.decodePath;function A(){var e=w(x());return b&&(e=c(e,b)),p(e)}var T=m();function _(e){(0,r.A)(z,e),z.length=t.length,T.notifyListeners(z.location,z.action)}var L=!1,R=null;function N(){var e,t,n=x(),r=y(n);if(n!==r)C(r);else{var a=A(),i=z.location;if(!L&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(R===f(a))return;R=null,function(e){if(L)L=!1,_();else{var t="POP";T.confirmTransitionTo(e,t,o,(function(n){n?_({action:t,location:e}):function(e){var t=z.location,n=I.lastIndexOf(f(t));-1===n&&(n=0);var r=I.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(L=!0,M(a))}(e)}))}}(a)}}var O=x(),P=y(O);O!==P&&C(P);var D=A(),I=[f(D)];function M(e){t.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?window.addEventListener(k,N):0===F&&window.removeEventListener(k,N)}var j=!1;var z={length:t.length,action:"POP",location:D,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+y(b+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(b+t);if(x()!==a){R=t,function(e){window.location.hash=e}(a);var o=I.lastIndexOf(f(z.location)),i=I.slice(0,o+1);i.push(t),I=i,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);T.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(b+t);x()!==a&&(R=t,C(a));var o=I.indexOf(f(z.location));-1!==o&&(I[o]=t),_({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=T.setPrompt(e);return j||(B(1),j=!0),function(){return j&&(j=!1,B(-1)),t()}},listen:function(e){var t=T.appendListener(e);return B(1),function(){B(-1),t()}}};return z}function T(e,t,n){return Math.min(Math.max(e,t),n)}function _(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,c=m();function d(e){(0,r.A)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,u)}var g=T(l,0,o.length-1),b=o.map((function(e){return p(e,void 0,"string"==typeof e?h():e.key||h())})),v=f;function y(e){var t=T(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:b.length,action:"POP",location:b[g],index:g,entries:b,createHref:v,push:function(e,t){var r="PUSH",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},4146:(e,t,n)=>{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||r&&r[b]||h&&h[b]||l&&l[b])){var v=f(n,b);try{u(t,b,v)}catch(y){}}}}return t}},311:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},5228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var u in o=Object(arguments[s]))n.call(o,u)&&(l[u]=o[u]);if(t){i=t(o);for(var c=0;c<i.length;c++)r.call(o,i[c])&&(l[i[c]]=o[i[c]])}}return l}},1258:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(d&&d.cause==f+","+m)return;var h=p[m],g=h.inside,b=!!h.lookbehind,v=!!h.greedy,y=h.alias;if(v&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,E=l.next,S=c;E!==t.tail&&!(d&&S>=d.reach);S+=E.value.length,E=E.next){var x=E.value;if(t.length>e.length)return;if(!(x instanceof a)){var C,A=1;if(v){if(!(C=o(k,S,e,b))||C.index>=e.length)break;var T=C.index,_=C.index+C[0].length,L=S;for(L+=E.value.length;T>=L;)L+=(E=E.next).value.length;if(S=L-=E.value.length,E.value instanceof a)continue;for(var R=E;R!==t.tail&&(L<_||"string"==typeof R.value);R=R.next)A++,L+=R.value.length;A--,x=e.slice(S,L),C.index-=S}else if(!(C=o(k,0,x,b)))continue;T=C.index;var N=C[0],O=x.slice(0,T),P=x.slice(T+N.length),D=S+x.length;d&&D>d.reach&&(d.reach=D);var I=E.prev;if(O&&(I=s(t,I,O),S+=O.length),u(t,I,A),E=s(t,I,new a(f,g?r.tokenize(N,g):N,y,N)),P&&s(t,E,P),A>1){var M={cause:f+","+m,reach:D};i(e,t,n,E.prev,S,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.shell=e.languages.bash}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var o=a.content[1],i=a.content[3];if(o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content){var l=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,s]:i.alias.push(s):i.alias=[s]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r],u=/language-(.+)/.exec(o);if(u){n=u[1];break}}var c,d=e.languages[n];if(d)t.content=e.highlight((c=t.content,c.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n);var r=l[t];return r||e}))),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),a.length>0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&a.indexOf(u.content)>=0&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return!1}return!0}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0===--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),a.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),f=Object.keys(c);return i=0,function e(t){for(var n=0;n<t.length;n++){if(i>=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),p=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var o=n[r];if("string"!=typeof o){var i=o.content;if(Array.isArray(i))if("template-string"===o.type){var l=i[1];if(3===i.length&&"string"!=typeof l&&"embedded-code"===l.type){var s=f(l),u=l.alias,d=Array.isArray(u)?u[0]:u,p=e.languages[d];if(!p)continue;i[1]=c(s,p,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)}))}(a),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[a]={pattern:o});var i=o.inside||{};o.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(a),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(m+p.length),v=[];h&&v.push.apply(v,i([h])),v.push(g),b&&v.push.apply(v,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},6969:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{const r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)}))}i.silent=!1,e.exports=i},8692:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8692},3157:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(s),m=c;a(m);){for(var h in f={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var b in d)if(!(b in c))for(var v in p(b))if(v in c){f[b]=!0;break}for(var y in m=f)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var f in s)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(5228),o=n(9982);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var l=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)l.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,m={},h={};function g(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,t,n,r){var a=b.hasOwnProperty(t)?b[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!p.call(h,e)||!p.call(m,e)&&(f.test(e)?h[e]=!0:(m[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);b[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);b[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);b[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,S=60106,x=60107,C=60108,A=60114,T=60109,_=60110,L=60112,R=60113,N=60120,O=60115,P=60116,D=60121,I=60128,M=60129,F=60130,B=60131;if("function"==typeof Symbol&&Symbol.for){var j=Symbol.for;E=j("react.element"),S=j("react.portal"),x=j("react.fragment"),C=j("react.strict_mode"),A=j("react.profiler"),T=j("react.provider"),_=j("react.context"),L=j("react.forward_ref"),R=j("react.suspense"),N=j("react.suspense_list"),O=j("react.memo"),P=j("react.lazy"),D=j("react.block"),j("react.scope"),I=j("react.opaque.id"),M=j("react.debug_trace_mode"),F=j("react.offscreen"),B=j("react.legacy_hidden")}var z,$="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=$&&e[$]||e["@@iterator"])?e:null}function G(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var q=!1;function H(e,t){if(!e||q)return"";q=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"==typeof s.stack){for(var a=s.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{q=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?G(e):""}function V(e){switch(e.tag){case 5:return G(e.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 22:return e=H(e.type._render,!1);case 1:return e=H(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case A:return"Profiler";case C:return"StrictMode";case R:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case T:return(e._context.displayName||"Context")+".Provider";case L:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case O:return W(e.type);case D:return W(e._render);case P:t=e._payload,e=e._init;try{return W(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function ue(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,ge,be=(ge=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Ee(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ye).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var Se=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ae(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Te=null,_e=null,Le=null;function Re(e){if(e=ra(e)){if("function"!=typeof Te)throw Error(i(280));var t=e.stateNode;t&&(t=oa(t),Te(e.stateNode,e.type,t))}}function Ne(e){_e?Le?Le.push(e):Le=[e]:_e=e}function Oe(){if(_e){var e=_e,t=Le;if(Le=_e=null,Re(e),t)for(e=0;e<t.length;e++)Re(t[e])}}function Pe(e,t){return e(t)}function De(e,t,n,r,a){return e(t,n,r,a)}function Ie(){}var Me=Pe,Fe=!1,Be=!1;function je(){null===_e&&null===Le||(Ie(),Oe())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=oa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var $e=!1;if(d)try{var Ue={};Object.defineProperty(Ue,"passive",{get:function(){$e=!0}}),window.addEventListener("test",Ue,Ue),window.removeEventListener("test",Ue,Ue)}catch(ge){$e=!1}function Ge(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var qe=!1,He=null,Ve=!1,We=null,Ke={onError:function(e){qe=!0,He=e}};function Ye(e,t,n,r,a,o,i,l,s){qe=!1,He=null,Ge.apply(Ke,arguments)}function Qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Xe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(Qe(e)!==e)throw Error(i(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Ze(a),e;if(o===r)return Ze(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,at,ot=!1,it=[],lt=null,st=null,ut=null,ct=new Map,dt=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function mt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ut=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function gt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=mt(t,n,r,a,o),null!==t&&(null!==(t=ra(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function bt(e){var t=na(e.target);if(null!==t){var n=Qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Xe(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ra(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function wt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ra(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==lt&&vt(lt)&&(lt=null),null!==st&&vt(st)&&(st=null),null!==ut&&vt(ut)&&(ut=null),ct.forEach(yt),dt.forEach(yt)}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,wt)))}function Et(e){function t(t){return kt(t,e)}if(0<it.length){kt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==lt&&kt(lt,e),null!==st&&kt(st,e),null!==ut&&kt(ut,e),ct.forEach(t),dt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)bt(n),null===n.blockedOn&&ft.shift()}function St(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xt={animationend:St("Animation","AnimationEnd"),animationiteration:St("Animation","AnimationIteration"),animationstart:St("Animation","AnimationStart"),transitionend:St("Transition","TransitionEnd")},Ct={},At={};function Tt(e){if(Ct[e])return Ct[e];if(!xt[e])return e;var t,n=xt[e];for(t in n)if(n.hasOwnProperty(t)&&t in At)return Ct[e]=n[t];return e}d&&(At=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var _t=Tt("animationend"),Lt=Tt("animationiteration"),Rt=Tt("animationstart"),Nt=Tt("transitionend"),Ot=new Map,Pt=new Map,Dt=["abort","abort",_t,"animationEnd",Lt,"animationIteration",Rt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Nt,"transitionEnd","waiting","waiting"];function It(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Pt.set(r,t),Ot.set(r,a),u(a,[r])}}(0,o.unstable_now)();var Mt=8;function Ft(e){if(1&e)return Mt=15,1;if(2&e)return Mt=14,2;if(4&e)return Mt=13,4;var t=24&e;return 0!==t?(Mt=12,t):32&e?(Mt=11,32):0!==(t=192&e)?(Mt=10,t):256&e?(Mt=9,256):0!==(t=3584&e)?(Mt=8,t):4096&e?(Mt=7,4096):0!==(t=4186112&e)?(Mt=6,t):0!==(t=62914560&e)?(Mt=5,t):67108864&e?(Mt=4,67108864):134217728&e?(Mt=3,134217728):0!==(t=805306368&e)?(Mt=2,t):1073741824&e?(Mt=1,1073741824):(Mt=8,e)}function Bt(e,t){var n=e.pendingLanes;if(0===n)return Mt=0;var r=0,a=0,o=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==o)r=o,a=Mt=15;else if(0!==(o=134217727&n)){var s=o&~i;0!==s?(r=Ft(s),a=Mt):0!==(l&=o)&&(r=Ft(l),a=Mt)}else 0!==(o=n&~i)?(r=Ft(o),a=Mt):0!==l&&(r=Ft(l),a=Mt);if(0===r)return 0;if(r=n&((0>(r=31-qt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&!(t&i)){if(Ft(t),a<=Mt)return t;Mt=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-qt(t)),r|=e[n],t&=~a;return r}function jt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=$t(24&~t))?zt(10,t):e;case 10:return 0===(e=$t(192&~t))?zt(8,t):e;case 8:return 0===(e=$t(3584&~t))&&(0===(e=$t(4186112&~t))&&(e=512)),e;case 2:return 0===(t=$t(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function $t(e){return e&-e}function Ut(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Gt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-qt(t)]=n}var qt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/Vt|0)|0},Ht=Math.log,Vt=Math.LN2;var Wt=o.unstable_UserBlockingPriority,Kt=o.unstable_runWithPriority,Yt=!0;function Qt(e,t,n,r){Fe||Ie();var a=Zt,o=Fe;Fe=!0;try{De(a,e,t,n,r)}finally{(Fe=o)||je()}}function Xt(e,t,n,r){Kt(Wt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){var a;if(Yt)if((a=!(4&t))&&0<it.length&&-1<pt.indexOf(e))e=mt(null,e,t,n,r),it.push(e);else{var o=Jt(e,t,n,r);if(null===o)a&&ht(e,r);else{if(a){if(-1<pt.indexOf(e))return e=mt(o,e,t,n,r),void it.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return lt=gt(lt,e,t,n,r,a),!0;case"dragenter":return st=gt(st,e,t,n,r,a),!0;case"mouseover":return ut=gt(ut,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return ct.set(o,gt(ct.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,dt.set(o,gt(dt.get(o)||null,e,t,n,r,a)),!0}return!1}(o,e,t,n,r))return;ht(e,r)}Ir(e,t,r,null,n)}}}function Jt(e,t,n,r){var a=Ae(r);if(null!==(a=na(a))){var o=Qe(a);if(null===o)a=null;else{var i=o.tag;if(13===i){if(null!==(a=Xe(o)))return a;a=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return Ir(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function ln(){return!1}function sn(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:ln,this.isPropagationStopped=ln,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var un,cn,dn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(fn),mn=a({},fn,{view:0,detail:0}),hn=sn(mn),gn=a({},mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:_n,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(un=e.screenX-dn.screenX,cn=e.screenY-dn.screenY):cn=un=0,dn=e),un)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),bn=sn(gn),vn=sn(a({},gn,{dataTransfer:0})),yn=sn(a({},mn,{relatedTarget:0})),wn=sn(a({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=a({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),En=sn(kn),Sn=sn(a({},fn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=An[e])&&!!t[e]}function _n(){return Tn}var Ln=a({},mn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:_n,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Rn=sn(Ln),Nn=sn(a({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=sn(a({},mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:_n})),Pn=sn(a({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dn=a({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),In=sn(Dn),Mn=[9,13,27,32],Fn=d&&"CompositionEvent"in window,Bn=null;d&&"documentMode"in document&&(Bn=document.documentMode);var jn=d&&"TextEvent"in window&&!Bn,zn=d&&(!Fn||Bn&&8<Bn&&11>=Bn),$n=String.fromCharCode(32),Un=!1;function Gn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Vn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Vn[e.type]:"textarea"===t}function Kn(e,t,n,r){Ne(r),0<(t=Fr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Qn=null;function Xn(e){Lr(e,0)}function Zn(e){if(X(aa(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(d){var tr;if(d){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"==typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ar(){Yn&&(Yn.detachEvent("onpropertychange",or),Qn=Yn=null)}function or(e){if("value"===e.propertyName&&Zn(Qn)){var t=[];if(Kn(t,Qn,e,Ae(e)),e=Xn,Fe)e(t);else{Fe=!0;try{Pe(e,t)}finally{Fe=!1,je()}}}}function ir(e,t,n){"focusin"===e?(ar(),Qn=n,(Yn=t).attachEvent("onpropertychange",or)):"focusout"===e&&ar()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn(Qn)}function sr(e,t){if("click"===e)return Zn(t)}function ur(e,t){if("input"===e||"change"===e)return Zn(t)}var cr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},dr=Object.prototype.hasOwnProperty;function fr(e,t){if(cr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!dr.call(t,n[r])||!cr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function mr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vr=d&&"documentMode"in document&&11>=document.documentMode,yr=null,wr=null,kr=null,Er=!1;function Sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Er||null==yr||yr!==Z(r)||("selectionStart"in(r=yr)&&br(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},kr&&fr(kr,r)||(kr=r,0<(r=Fr(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}It("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),It("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),It(Dt,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cr=0;Cr<xr.length;Cr++)Pt.set(xr[Cr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ar="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Tr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar));function _r(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,l,s,u){if(Ye.apply(this,arguments),qe){if(!qe)throw Error(i(198));var c=He;qe=!1,He=null,Ve||(Ve=!0,We=c)}}(r,t,void 0,e),e.currentTarget=null}function Lr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;_r(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;_r(a,l,u),o=s}}}if(Ve)throw e=We,Ve=!1,We=null,e}function Rr(e,t){var n=ia(t),r=e+"__bubble";n.has(r)||(Dr(t,e,2,!1),n.add(r))}var Nr="_reactListening"+Math.random().toString(36).slice(2);function Or(e){e[Nr]||(e[Nr]=!0,l.forEach((function(t){Tr.has(t)||Pr(t,!1,e,null),Pr(t,!0,e,null)})))}function Pr(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Tr.has(e)){if("scroll"!==e)return;a|=2,o=r}var i=ia(o),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(a|=4),Dr(o,e,a,t),i.add(l))}function Dr(e,t,n,r){var a=Pt.get(t);switch(void 0===a?2:a){case 0:a=Qt;break;case 1:a=Xt;break;default:a=Zt}n=a.bind(null,t,n,e),a=void 0,!$e||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Ir(e,t,n,r,a){var o=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=na(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Be)return e(t,n);Be=!0;try{return Me(e,t,n)}finally{Be=!1,je()}}((function(){var r=o,a=Ae(n),i=[];e:{var l=Ot.get(e);if(void 0!==l){var s=pn,u=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":s=Rn;break;case"focusin":u="focus",s=yn;break;case"focusout":u="blur",s=yn;break;case"beforeblur":case"afterblur":s=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=bn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=On;break;case _t:case Lt:case Rt:s=wn;break;case Nt:s=Pn;break;case"scroll":s=hn;break;case"wheel":s=In;break;case"copy":case"cut":case"paste":s=En;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nn}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==f&&(null!=(h=ze(m,f))&&c.push(Mr(m,h,p)))),d)break;m=m.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||16&t||!(u=n.relatedTarget||n.fromElement)||!na(u)&&!u[ea])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?na(u):null)&&(u!==(d=Qe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=bn,h="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,h="onPointerLeave",f="onPointerEnter",m="pointer"),d=null==s?l:aa(s),p=null==u?l:aa(u),(l=new c(h,m+"leave",s,n,a)).target=d,l.relatedTarget=p,h=null,na(a)===r&&((c=new c(f,m+"enter",u,n,a)).target=p,c.relatedTarget=d,h=c),d=h,s&&u)e:{for(f=u,m=0,p=c=s;p;p=Br(p))m++;for(p=0,h=f;h;h=Br(h))p++;for(;0<m-p;)c=Br(c),m--;for(;0<p-m;)f=Br(f),p--;for(;m--;){if(c===f||null!==f&&c===f.alternate)break e;c=Br(c),f=Br(f)}c=null}else c=null;null!==s&&jr(i,l,s,c,!1),null!==u&&null!==d&&jr(i,d,u,c,!0)}if("select"===(s=(l=r?aa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Jn;else if(Wn(l))if(er)g=ur;else{g=lr;var b=ir}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=sr);switch(g&&(g=g(e,r))?Kn(i,g,n,a):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&ae(l,"number",l.value)),b=r?aa(r):window,e){case"focusin":(Wn(b)||"true"===b.contentEditable)&&(yr=b,wr=r,kr=null);break;case"focusout":kr=wr=yr=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,Sr(i,n,a);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":Sr(i,n,a)}var v;if(Fn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Hn?Gn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(zn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Hn&&(v=rn()):(tn="value"in(en=a)?en.value:en.textContent,Hn=!0)),0<(b=Fr(r,y)).length&&(y=new Sn(y,e,null,n,a),i.push({event:y,listeners:b}),v?y.data=v:null!==(v=qn(n))&&(y.data=v))),(v=jn?function(e,t){switch(e){case"compositionend":return qn(t);case"keypress":return 32!==t.which?null:(Un=!0,$n);case"textInput":return(e=t.data)===$n&&Un?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Fn&&Gn(e,t)?(e=rn(),nn=tn=en=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Fr(r,"onBeforeInput")).length&&(a=new Sn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=v))}Lr(i,t)}))}function Mr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=ze(e,n))&&r.unshift(Mr(e,o,a)),null!=(o=ze(e,t))&&r.push(Mr(e,o,a))),e=e.return}return r}function Br(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function jr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=ze(n,o))&&i.unshift(Mr(n,s,l)):a||null!=(s=ze(n,o))&&i.push(Mr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function zr(){}var $r=null,Ur=null;function Gr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function qr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Hr="function"==typeof setTimeout?setTimeout:void 0,Vr="function"==typeof clearTimeout?clearTimeout:void 0;function Wr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Qr=0;var Xr=Math.random().toString(36).slice(2),Zr="__reactFiber$"+Xr,Jr="__reactProps$"+Xr,ea="__reactContainer$"+Xr,ta="__reactEvents$"+Xr;function na(e){var t=e[Zr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ea]||n[Zr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yr(e);null!==e;){if(n=e[Zr])return n;e=Yr(e)}return t}n=(e=n).parentNode}return null}function ra(e){return!(e=e[Zr]||e[ea])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function aa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function oa(e){return e[Jr]||null}function ia(e){var t=e[ta];return void 0===t&&(t=e[ta]=new Set),t}var la=[],sa=-1;function ua(e){return{current:e}}function ca(e){0>sa||(e.current=la[sa],la[sa]=null,sa--)}function da(e,t){sa++,la[sa]=e.current,e.current=t}var fa={},pa=ua(fa),ma=ua(!1),ha=fa;function ga(e,t){var n=e.type.contextTypes;if(!n)return fa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ba(e){return null!=(e=e.childContextTypes)}function va(){ca(ma),ca(pa)}function ya(e,t,n){if(pa.current!==fa)throw Error(i(168));da(pa,t),da(ma,n)}function wa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,W(t)||"Unknown",o));return a({},n,r)}function ka(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fa,ha=pa.current,da(pa,e),da(ma,ma.current),!0}function Ea(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=wa(e,t,ha),r.__reactInternalMemoizedMergedChildContext=e,ca(ma),ca(pa),da(pa,e)):ca(ma),da(ma,n)}var Sa=null,xa=null,Ca=o.unstable_runWithPriority,Aa=o.unstable_scheduleCallback,Ta=o.unstable_cancelCallback,_a=o.unstable_shouldYield,La=o.unstable_requestPaint,Ra=o.unstable_now,Na=o.unstable_getCurrentPriorityLevel,Oa=o.unstable_ImmediatePriority,Pa=o.unstable_UserBlockingPriority,Da=o.unstable_NormalPriority,Ia=o.unstable_LowPriority,Ma=o.unstable_IdlePriority,Fa={},Ba=void 0!==La?La:function(){},ja=null,za=null,$a=!1,Ua=Ra(),Ga=1e4>Ua?Ra:function(){return Ra()-Ua};function qa(){switch(Na()){case Oa:return 99;case Pa:return 98;case Da:return 97;case Ia:return 96;case Ma:return 95;default:throw Error(i(332))}}function Ha(e){switch(e){case 99:return Oa;case 98:return Pa;case 97:return Da;case 96:return Ia;case 95:return Ma;default:throw Error(i(332))}}function Va(e,t){return e=Ha(e),Ca(e,t)}function Wa(e,t,n){return e=Ha(e),Aa(e,t,n)}function Ka(){if(null!==za){var e=za;za=null,Ta(e)}Ya()}function Ya(){if(!$a&&null!==ja){$a=!0;var e=0;try{var t=ja;Va(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),ja=null}catch(n){throw null!==ja&&(ja=ja.slice(e+1)),Aa(Oa,Ka),n}finally{$a=!1}}}var Qa=k.ReactCurrentBatchConfig;function Xa(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Za=ua(null),Ja=null,eo=null,to=null;function no(){to=eo=Ja=null}function ro(e){var t=Za.current;ca(Za),e.type._context._currentValue=t}function ao(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function oo(e,t){Ja=e,to=eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(!!(e.lanes&t)&&(Fi=!0),e.firstContext=null)}function io(e,t){if(to!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(to=e,t=1073741823),t={context:e,observedBits:t,next:null},null===eo){if(null===Ja)throw Error(i(308));eo=t,Ja.dependencies={lanes:0,firstContext:t,responders:null}}else eo=eo.next=t;return e._currentValue}var lo=!1;function so(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function uo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function co(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function po(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mo(e,t,n,r){var o=e.updateQueue;lo=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var u=s,c=u.next;u.next=null,null===l?i=c:l.next=c,l=u;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==l&&(null===f?d.firstBaseUpdate=c:f.next=c,d.lastBaseUpdate=u)}}if(null!==i){for(f=o.baseState,l=0,d=c=u=null;;){s=i.lane;var p=i.eventTime;if((r&s)===s){null!==d&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,h=i;switch(s=t,p=n,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,s);break e}f=m;break e;case 3:m.flags=-4097&m.flags|64;case 0:if(null==(s="function"==typeof(m=h.payload)?m.call(p,f,s):m))break e;f=a({},f,s);break e;case 2:lo=!0}}null!==i.callback&&(e.flags|=32,null===(s=o.effects)?o.effects=[i]:s.push(i))}else p={eventTime:p,lane:s,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===d?(c=d=p,u=f):d=d.next=p,l|=s;if(null===(i=i.next)){if(null===(s=o.shared.pending))break;i=s.next,s.next=null,o.lastBaseUpdate=s,o.shared.pending=null}}null===d&&(u=f),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=d,Ul|=l,e.lanes=l,e.memoizedState=f}}function ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(i(191,a));a.call(r)}}}var go=(new r.Component).refs;function bo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vo={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ps(),a=ms(e),o=co(r,a);o.payload=t,null!=n&&(o.callback=n),fo(e,o),hs(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ps(),a=ms(e),o=co(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),fo(e,o),hs(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ps(),r=ms(e),a=co(n,r);a.tag=2,null!=t&&(a.callback=t),fo(e,a),hs(e,r,n)}};function yo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!fr(n,r)||!fr(a,o))}function wo(e,t,n){var r=!1,a=fa,o=t.contextType;return"object"==typeof o&&null!==o?o=io(o):(a=ba(t)?ha:pa.current,o=(r=null!=(r=t.contextTypes))?ga(e,a):fa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ko(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vo.enqueueReplaceState(t,t.state,null)}function Eo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=go,so(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=io(o):(o=ba(t)?ha:pa.current,a.context=ga(e,o)),mo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(bo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&vo.enqueueReplaceState(a,a.state,null),mo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4)}var So=Array.isArray;function xo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===go&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ao(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ws(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Xs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=xo(e,t,n),r.return=e,r):((r=Ks(n.type,n.key,n.props,null,e.mode,r)).ref=xo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Zs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ys(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Xs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Ks(t.type,t.key,t.props,null,e.mode,n)).ref=xo(e,null,t),n.return=e,n;case S:return(t=Zs(t,e.mode,n)).return=e,t}if(So(t)||U(t))return(t=Ys(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===a?n.type===x?d(e,t,n.props.children,r,a):u(e,t,n,r):null;case S:return n.key===a?c(e,t,n,r):null}if(So(n)||U(n))return null!==a?null:d(e,t,n,r,null);Co(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return e=e.get(null===r.key?n:r.key)||null,r.type===x?d(t,e,r.props.children,a,r.key):u(t,e,r,a);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(So(r)||U(r))return d(t,e=e.get(n)||null,r,a,null);Co(t,r)}return null}function h(a,i,l,s){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=p(a,d,l[h],s);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(a,d),i=o(b,i,h),null===c?u=b:c.sibling=b,c=b,d=g}if(h===l.length)return n(a,d),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(i=o(d,i,h),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(a,d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),u}function g(a,l,s,u){var c=U(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,h=l,g=l=0,b=null,v=s.next();null!==h&&!v.done;g++,v=s.next()){h.index>g?(b=h,h=null):b=h.sibling;var y=p(a,h,v.value,u);if(null===y){null===h&&(h=b);break}e&&h&&null===y.alternate&&t(a,h),l=o(y,l,g),null===d?c=y:d.sibling=y,d=y,h=b}if(v.done)return n(a,h),c;if(null===h){for(;!v.done;g++,v=s.next())null!==(v=f(a,v.value,u))&&(l=o(v,l,g),null===d?c=v:d.sibling=v,d=v);return c}for(h=r(a,h);!v.done;g++,v=s.next())null!==(v=m(h,a,g,v.value,u))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),l=o(v,l,g),null===d?c=v:d.sibling=v,d=v);return e&&h.forEach((function(e){return t(a,e)})),c}return function(e,r,o,s){var u="object"==typeof o&&null!==o&&o.type===x&&null===o.key;u&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case E:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(o.type===x){n(e,u.sibling),(r=a(u,o.props.children)).return=e,e=r;break e}}else if(u.elementType===o.type){n(e,u.sibling),(r=a(u,o.props)).ref=xo(e,u,o),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}o.type===x?((r=Ys(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Ks(o.type,o.key,o.props,null,e.mode,s)).ref=xo(e,r,o),s.return=e,e=s)}return l(e);case S:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Zs(o,e.mode,s)).return=e,e=r}return l(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Xs(o,e.mode,s)).return=e,e=r),l(e);if(So(o))return h(e,r,o,s);if(U(o))return g(e,r,o,s);if(c&&Co(e,o),void 0===o&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,W(e.type)||"Component"))}return n(e,r)}}var To=Ao(!0),_o=Ao(!1),Lo={},Ro=ua(Lo),No=ua(Lo),Oo=ua(Lo);function Po(e){if(e===Lo)throw Error(i(174));return e}function Do(e,t){switch(da(Oo,t),da(No,e),da(Ro,Lo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:me(null,"");break;default:t=me(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ca(Ro),da(Ro,t)}function Io(){ca(Ro),ca(No),ca(Oo)}function Mo(e){Po(Oo.current);var t=Po(Ro.current),n=me(t,e.type);t!==n&&(da(No,e),da(Ro,n))}function Fo(e){No.current===e&&(ca(Ro),ca(No))}var Bo=ua(0);function jo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(64&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zo=null,$o=null,Uo=!1;function Go(e,t){var n=Hs(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function qo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ho(e){if(Uo){var t=$o;if(t){var n=t;if(!qo(e,t)){if(!(t=Kr(n.nextSibling))||!qo(e,t))return e.flags=-1025&e.flags|2,Uo=!1,void(zo=e);Go(zo,n)}zo=e,$o=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,Uo=!1,zo=e}}function Vo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zo=e}function Wo(e){if(e!==zo)return!1;if(!Uo)return Vo(e),Uo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!qr(t,e.memoizedProps))for(t=$o;t;)Go(e,t),t=Kr(t.nextSibling);if(Vo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){$o=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}$o=null}}else $o=zo?Kr(e.stateNode.nextSibling):null;return!0}function Ko(){$o=zo=null,Uo=!1}var Yo=[];function Qo(){for(var e=0;e<Yo.length;e++)Yo[e]._workInProgressVersionPrimary=null;Yo.length=0}var Xo=k.ReactCurrentDispatcher,Zo=k.ReactCurrentBatchConfig,Jo=0,ei=null,ti=null,ni=null,ri=!1,ai=!1;function oi(){throw Error(i(321))}function ii(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!cr(e[n],t[n]))return!1;return!0}function li(e,t,n,r,a,o){if(Jo=o,ei=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Xo.current=null===e||null===e.memoizedState?Pi:Di,e=n(r,a),ai){o=0;do{if(ai=!1,!(25>o))throw Error(i(301));o+=1,ni=ti=null,t.updateQueue=null,Xo.current=Ii,e=n(r,a)}while(ai)}if(Xo.current=Oi,t=null!==ti&&null!==ti.next,Jo=0,ni=ti=ei=null,ri=!1,t)throw Error(i(300));return e}function si(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ni?ei.memoizedState=ni=e:ni=ni.next=e,ni}function ui(){if(null===ti){var e=ei.alternate;e=null!==e?e.memoizedState:null}else e=ti.next;var t=null===ni?ei.memoizedState:ni.next;if(null!==t)ni=t,ti=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ti=e).memoizedState,baseState:ti.baseState,baseQueue:ti.baseQueue,queue:ti.queue,next:null},null===ni?ei.memoizedState=ni=e:ni=ni.next=e}return ni}function ci(e,t){return"function"==typeof t?t(e):t}function di(e){var t=ui(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ti,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var l=a.next;a.next=o.next,o.next=l}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=l=o=null,u=a;do{var c=u.lane;if((Jo&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(l=s=d,o=r):s=s.next=d,ei.lanes|=c,Ul|=c}u=u.next}while(null!==u&&u!==a);null===s?o=r:s.next=l,cr(r,t.memoizedState)||(Fi=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fi(e){var t=ui(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{o=e(o,l.action),l=l.next}while(l!==a);cr(o,t.memoizedState)||(Fi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function pi(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Jo&e)===e)&&(t._workInProgressVersionPrimary=r,Yo.push(t))),e)return n(t._source);throw Yo.push(t),Error(i(350))}function mi(e,t,n,r){var a=Dl;if(null===a)throw Error(i(349));var o=t._getVersion,l=o(t._source),s=Xo.current,u=s.useState((function(){return pi(a,t,n)})),c=u[1],d=u[0];u=ni;var f=e.memoizedState,p=f.refs,m=p.getSnapshot,h=f.source;f=f.subscribe;var g=ei;return e.memoizedState={refs:p,source:t,subscribe:r},s.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=o(t._source);if(!cr(l,e)){e=n(t._source),cr(d,e)||(c(e),e=ms(g),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0<i;){var s=31-qt(i),u=1<<s;r[s]|=e,i&=~u}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ms(g);a.mutableReadLanes|=r&a.pendingLanes}catch(o){n((function(){throw o}))}}))}),[t,r]),cr(m,n)&&cr(h,t)&&cr(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:d}).dispatch=c=Ni.bind(null,ei,e),u.queue=e,u.baseQueue=null,d=pi(a,t,n),u.memoizedState=u.baseState=d),d}function hi(e,t,n){return mi(ui(),e,t,n)}function gi(e){var t=si();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:e}).dispatch=Ni.bind(null,ei,e),[t.memoizedState,e]}function bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ei.updateQueue)?(t={lastEffect:null},ei.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vi(e){return e={current:e},si().memoizedState=e}function yi(){return ui().memoizedState}function wi(e,t,n,r){var a=si();ei.flags|=e,a.memoizedState=bi(1|t,n,void 0,void 0===r?null:r)}function ki(e,t,n,r){var a=ui();r=void 0===r?null:r;var o=void 0;if(null!==ti){var i=ti.memoizedState;if(o=i.destroy,null!==r&&ii(r,i.deps))return void bi(t,n,o,r)}ei.flags|=e,a.memoizedState=bi(1|t,n,o,r)}function Ei(e,t){return wi(516,4,e,t)}function Si(e,t){return ki(516,4,e,t)}function xi(e,t){return ki(4,2,e,t)}function Ci(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ai(e,t,n){return n=null!=n?n.concat([e]):null,ki(4,2,Ci.bind(null,t,e),n)}function Ti(){}function _i(e,t){var n=ui();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Li(e,t){var n=ui();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ri(e,t){var n=qa();Va(98>n?98:n,(function(){e(!0)})),Va(97<n?97:n,(function(){var n=Zo.transition;Zo.transition=1;try{e(!1),t()}finally{Zo.transition=n}}))}function Ni(e,t,n){var r=ps(),a=ms(e),o={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===ei||null!==i&&i===ei)ai=ri=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=i(l,n);if(o.eagerReducer=i,o.eagerState=s,cr(s,l))return}catch(u){}hs(e,a,r)}}var Oi={readContext:io,useCallback:oi,useContext:oi,useEffect:oi,useImperativeHandle:oi,useLayoutEffect:oi,useMemo:oi,useReducer:oi,useRef:oi,useState:oi,useDebugValue:oi,useDeferredValue:oi,useTransition:oi,useMutableSource:oi,useOpaqueIdentifier:oi,unstable_isNewReconciler:!1},Pi={readContext:io,useCallback:function(e,t){return si().memoizedState=[e,void 0===t?null:t],e},useContext:io,useEffect:Ei,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wi(4,2,Ci.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wi(4,2,e,t)},useMemo:function(e,t){var n=si();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=si();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ni.bind(null,ei,e),[r.memoizedState,e]},useRef:vi,useState:gi,useDebugValue:Ti,useDeferredValue:function(e){var t=gi(e),n=t[0],r=t[1];return Ei((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=gi(!1),t=e[0];return vi(e=Ri.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=si();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},mi(r,e,t,n)},useOpaqueIdentifier:function(){if(Uo){var e=!1,t=function(e){return{$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Qr++).toString(36))),Error(i(355))})),n=gi(t)[1];return!(2&ei.mode)&&(ei.flags|=516,bi(5,(function(){n("r:"+(Qr++).toString(36))}),void 0,null)),t}return gi(t="r:"+(Qr++).toString(36)),t},unstable_isNewReconciler:!1},Di={readContext:io,useCallback:_i,useContext:io,useEffect:Si,useImperativeHandle:Ai,useLayoutEffect:xi,useMemo:Li,useReducer:di,useRef:yi,useState:function(){return di(ci)},useDebugValue:Ti,useDeferredValue:function(e){var t=di(ci),n=t[0],r=t[1];return Si((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=di(ci)[0];return[yi().current,e]},useMutableSource:hi,useOpaqueIdentifier:function(){return di(ci)[0]},unstable_isNewReconciler:!1},Ii={readContext:io,useCallback:_i,useContext:io,useEffect:Si,useImperativeHandle:Ai,useLayoutEffect:xi,useMemo:Li,useReducer:fi,useRef:yi,useState:function(){return fi(ci)},useDebugValue:Ti,useDeferredValue:function(e){var t=fi(ci),n=t[0],r=t[1];return Si((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=fi(ci)[0];return[yi().current,e]},useMutableSource:hi,useOpaqueIdentifier:function(){return fi(ci)[0]},unstable_isNewReconciler:!1},Mi=k.ReactCurrentOwner,Fi=!1;function Bi(e,t,n,r){t.child=null===e?_o(t,null,n,r):To(t,e.child,n,r)}function ji(e,t,n,r,a){n=n.render;var o=t.ref;return oo(t,a),r=li(e,t,n,r,o,a),null===e||Fi?(t.flags|=1,Bi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,il(e,t,a))}function zi(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||Vs(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ks(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,$i(e,t,i,r,a,o))}return i=e.child,a&o||(a=i.memoizedProps,!(n=null!==(n=n.compare)?n:fr)(a,r)||e.ref!==t.ref)?(t.flags|=1,(e=Ws(i,r)).ref=t.ref,e.return=t,t.child=e):il(e,t,o)}function $i(e,t,n,r,a,o){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(Fi=!1,!(o&a))return t.lanes=e.lanes,il(e,t,o);16384&e.flags&&(Fi=!0)}return qi(e,t,n,r,o)}function Ui(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(4&t.mode){if(!(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Ss(t,e),null;t.memoizedState={baseLanes:0},Ss(t,null!==o?o.baseLanes:n)}else t.memoizedState={baseLanes:0},Ss(t,n);else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ss(t,r);return Bi(e,t,a,n),t.child}function Gi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function qi(e,t,n,r,a){var o=ba(n)?ha:pa.current;return o=ga(t,o),oo(t,a),n=li(e,t,n,r,o,a),null===e||Fi?(t.flags|=1,Bi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,il(e,t,a))}function Hi(e,t,n,r,a){if(ba(n)){var o=!0;ka(t)}else o=!1;if(oo(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wo(t,n,r),Eo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=io(u):u=ga(t,u=ba(n)?ha:pa.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&ko(t,i,r,u),lo=!1;var f=t.memoizedState;i.state=f,mo(t,r,i,a),s=t.memoizedState,l!==r||f!==s||ma.current||lo?("function"==typeof c&&(bo(t,n,c,r),s=t.memoizedState),(l=lo||yo(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,uo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Xa(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=io(s):s=ga(t,s=ba(n)?ha:pa.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&ko(t,i,r,s),lo=!1,f=t.memoizedState,i.state=f,mo(t,r,i,a);var m=t.memoizedState;l!==d||f!==m||ma.current||lo?("function"==typeof p&&(bo(t,n,p,r),m=t.memoizedState),(u=lo||yo(t,n,u,r,f,m,s))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return Vi(e,t,n,r,o,a)}function Vi(e,t,n,r,a,o){Gi(e,t);var i=!!(64&t.flags);if(!r&&!i)return a&&Ea(t,n,!1),il(e,t,o);r=t.stateNode,Mi.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=To(t,e.child,null,o),t.child=To(t,null,l,o)):Bi(e,t,l,o),t.memoizedState=r.state,a&&Ea(t,n,!0),t.child}function Wi(e){var t=e.stateNode;t.pendingContext?ya(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ya(0,t.context,!1),Do(e,t.containerInfo)}var Ki,Yi,Qi,Xi,Zi={dehydrated:null,retryLane:0};function Ji(e,t,n){var r,a=t.pendingProps,o=Bo.current,i=!1;return(r=!!(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),da(Bo,1&o),null===e?(void 0!==a.fallback&&Ho(t),e=a.children,o=a.fallback,i?(e=el(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zi,e):"number"==typeof a.unstable_expectedLoadTime?(e=el(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zi,t.lanes=33554432,e):((n=Qs({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(a=nl(e,t,a.children,a.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Zi,a):(n=tl(e,t,a.children,n),t.memoizedState=null,n))}function el(e,t,n,r){var a=e.mode,o=e.child;return t={mode:"hidden",children:t},2&a||null===o?o=Qs(t,a,0,null):(o.childLanes=0,o.pendingProps=t),n=Ys(n,a,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function tl(e,t,n,r){var a=e.child;return e=a.sibling,n=Ws(a,{mode:"visible",children:n}),!(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function nl(e,t,n,r,a){var o=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 2&o||t.child===i?n=Ws(i,l):((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null),null!==e?r=Ws(e,r):(r=Ys(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function rl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ao(e.return,t)}function al(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.lastEffect=o)}function ol(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Bi(e,t,r.children,n),2&(r=Bo.current))r=1&r|2,t.flags|=64;else{if(null!==e&&64&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&rl(e,n);else if(19===e.tag)rl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(da(Bo,r),2&t.mode)switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===jo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),al(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===jo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}al(t,!0,n,null,o,t.lastEffect);break;case"together":al(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function il(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ul|=t.lanes,n&t.childLanes){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Ws(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ws(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ll(e,t){if(!Uo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function sl(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ba(t.type)&&va(),null;case 3:return Io(),ca(ma),ca(pa),Qo(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Wo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Yi(t),null;case 5:Fo(t);var o=Po(Oo.current);if(n=t.type,null!==e&&null!=t.stateNode)Qi(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Po(Ro.current),Wo(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Zr]=t,r[Jr]=l,n){case"dialog":Rr("cancel",r),Rr("close",r);break;case"iframe":case"object":case"embed":Rr("load",r);break;case"video":case"audio":for(e=0;e<Ar.length;e++)Rr(Ar[e],r);break;case"source":Rr("error",r);break;case"img":case"image":case"link":Rr("error",r),Rr("load",r);break;case"details":Rr("toggle",r);break;case"input":ee(r,l),Rr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Rr("invalid",r);break;case"textarea":se(r,l),Rr("invalid",r)}for(var u in xe(n,l),e=null,l)l.hasOwnProperty(u)&&(o=l[u],"children"===u?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):s.hasOwnProperty(u)&&null!=o&&"onScroll"===u&&Rr("scroll",r));switch(n){case"input":Q(r),re(r,l,!0);break;case"textarea":Q(r),ce(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(u=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[Zr]=t,e[Jr]=r,Ki(e,t,!1,!1),t.stateNode=e,u=Ce(n,r),n){case"dialog":Rr("cancel",e),Rr("close",e),o=r;break;case"iframe":case"object":case"embed":Rr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Ar.length;o++)Rr(Ar[o],e);o=r;break;case"source":Rr("error",e),o=r;break;case"img":case"image":case"link":Rr("error",e),Rr("load",e),o=r;break;case"details":Rr("toggle",e),o=r;break;case"input":ee(e,r),o=J(e,r),Rr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Rr("invalid",e);break;case"textarea":se(e,r),o=le(e,r),Rr("invalid",e);break;default:o=r}xe(n,o);var c=o;for(l in c)if(c.hasOwnProperty(l)){var d=c[l];"style"===l?Ee(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&be(e,d):"children"===l?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?null!=d&&"onScroll"===l&&Rr("scroll",e):null!=d&&w(e,l,d,u))}switch(n){case"input":Q(e),re(e,r,!1);break;case"textarea":Q(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ie(e,!!r.multiple,l,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=zr)}Gr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Xi(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Po(Oo.current),Po(Ro.current),Wo(t)?(r=t.stateNode,n=t.memoizedProps,r[Zr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Zr]=t,t.stateNode=r)}return null;case 13:return ca(Bo),r=t.memoizedState,64&t.flags?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Wo(t):n=null!==e.memoizedState,r&&!n&&2&t.mode&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||1&Bo.current?0===jl&&(jl=3):(0!==jl&&3!==jl||(jl=4),null===Dl||!(134217727&Ul)&&!(134217727&Gl)||ys(Dl,Ml))),(r||n)&&(t.flags|=4),null);case 4:return Io(),Yi(t),null===e&&Or(t.stateNode.containerInfo),null;case 10:return ro(t),null;case 19:if(ca(Bo),null===(r=t.memoizedState))return null;if(l=!!(64&t.flags),null===(u=r.rendering))if(l)ll(r,!1);else{if(0!==jl||null!==e&&64&e.flags)for(e=t.child;null!==e;){if(null!==(u=jo(e))){for(t.flags|=64,ll(r,!1),null!==(l=u.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return da(Bo,1&Bo.current|2),t.child}e=e.sibling}null!==r.tail&&Ga()>Wl&&(t.flags|=64,l=!0,ll(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=jo(u))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ll(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!Uo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ga()-r.renderingStartTime>Wl&&1073741824!==n&&(t.flags|=64,l=!0,ll(r,!1),t.lanes=33554432);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ga(),n.sibling=null,t=Bo.current,da(Bo,l?1&t|2:1&t),n):null;case 23:case 24:return xs(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function ul(e){switch(e.tag){case 1:ba(e.type)&&va();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Io(),ca(ma),ca(pa),Qo(),64&(t=e.flags))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Fo(e),null;case 13:return ca(Bo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ca(Bo),null;case 4:return Io(),null;case 10:return ro(e),null;case 23:case 24:return xs(),null;default:return null}}function cl(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a}}function dl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ki=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Yi=function(){},Qi=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Po(Ro.current);var i,l=null;switch(n){case"input":o=J(e,o),r=J(e,r),l=[];break;case"option":o=oe(e,o),r=oe(e,r),l=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),l=[];break;case"textarea":o=le(e,o),r=le(e,r),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=zr)}for(d in xe(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var u=o[d];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?l||(l=[]):(l=l||[]).push(d,null));for(d in r){var c=r[d];if(u=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&c!==u&&(null!=c||null!=u))if("style"===d)if(u){for(i in u)!u.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&u[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(l||(l=[]),l.push(d,n)),n=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(l=l||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Rr("scroll",e),l||u===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===I?c.toString():(l=l||[]).push(d,c))}n&&(l=l||[]).push("style",n);var d=l;(t.updateQueue=d)&&(t.flags|=4)}},Xi=function(e,t,n,r){n!==r&&(t.flags|=4)};var fl="function"==typeof WeakMap?WeakMap:Map;function pl(e,t,n){(n=co(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xl||(Xl=!0,Zl=r),dl(0,t)},n}function ml(e,t,n){(n=co(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return dl(0,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Jl?Jl=new Set([this]):Jl.add(this),dl(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var hl="function"==typeof WeakSet?WeakSet:Set;function gl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){$s(e,n)}else t.current=null}function bl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xa(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Wr(t.stateNode.containerInfo))}throw Error(i(163))}function vl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(!(3&~e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,4&(a=a.tag)&&1&a&&(Bs(n,e),Fs(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xa(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ho(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ho(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Gr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Et(n)))))}throw Error(i(163))}function yl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=ke("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function wl(e,t){if(xa&&"function"==typeof xa.onCommitFiberUnmount)try{xa.onCommitFiberUnmount(Sa,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(4&r)Bs(t,n);else{r=t;try{a()}catch(o){$s(r,o)}}n=n.next}while(n!==e)}break;case 1:if(gl(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){$s(t,o)}break;case 5:gl(t);break;case 4:Al(e,t)}}function kl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function El(e){return 5===e.tag||3===e.tag||4===e.tag}function Sl(e){e:{for(var t=e.return;null!==t;){if(El(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||El(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?xl(e,n,t):Cl(e,n,t)}function xl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(xl(e,t,n),e=e.sibling;null!==e;)xl(e,t,n),e=e.sibling}function Cl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Cl(e,t,n),e=e.sibling;null!==e;)Cl(e,t,n),e=e.sibling}function Al(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var l=e,s=a,u=s;;)if(wl(l,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===s)break e;for(;null===u.sibling;){if(null===u.return||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=n,s=a.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(wl(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function Tl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{!(3&~r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ce(e,a),t=Ce(e,r),a=0;a<o.length;a+=2){var l=o[a],s=o[a+1];"style"===l?Ee(n,s):"dangerouslySetInnerHTML"===l?be(n,s):"children"===l?ve(n,s):w(n,l,s,t)}switch(e){case"input":ne(n,r);break;case"textarea":ue(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ie(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Et(n.containerInfo)));case 13:return null!==t.memoizedState&&(Vl=Ga(),yl(t.child,!0)),void _l(t);case 19:return void _l(t);case 23:case 24:return void yl(t,null!==t.memoizedState)}throw Error(i(163))}function _l(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new hl),t.forEach((function(t){var r=Gs.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ll(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Rl=Math.ceil,Nl=k.ReactCurrentDispatcher,Ol=k.ReactCurrentOwner,Pl=0,Dl=null,Il=null,Ml=0,Fl=0,Bl=ua(0),jl=0,zl=null,$l=0,Ul=0,Gl=0,ql=0,Hl=null,Vl=0,Wl=1/0;function Kl(){Wl=Ga()+500}var Yl,Ql=null,Xl=!1,Zl=null,Jl=null,es=!1,ts=null,ns=90,rs=[],as=[],os=null,is=0,ls=null,ss=-1,us=0,cs=0,ds=null,fs=!1;function ps(){return 48&Pl?Ga():-1!==ss?ss:ss=Ga()}function ms(e){if(!(2&(e=e.mode)))return 1;if(!(4&e))return 99===qa()?1:2;if(0===us&&(us=$l),0!==Qa.transition){0!==cs&&(cs=null!==Hl?Hl.pendingLanes:0),e=us;var t=4186112&~cs;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=qa(),4&Pl&&98===e?e=zt(12,us):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),us),e}function hs(e,t,n){if(50<is)throw is=0,ls=null,Error(i(185));if(null===(e=gs(e,t)))return null;Gt(e,t,n),e===Dl&&(Gl|=t,4===jl&&ys(e,Ml));var r=qa();1===t?8&Pl&&!(48&Pl)?ws(e):(bs(e,n),0===Pl&&(Kl(),Ka())):(!(4&Pl)||98!==r&&99!==r||(null===os?os=new Set([e]):os.add(e)),bs(e,n)),Hl=e}function gs(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function bs(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes;0<l;){var s=31-qt(l),u=1<<s,c=o[s];if(-1===c){if(!(u&r)||u&a){c=t,Ft(u);var d=Mt;o[s]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);l&=~u}if(r=Bt(e,e===Dl?Ml:0),t=Mt,0===r)null!==n&&(n!==Fa&&Ta(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Fa&&Ta(n)}15===t?(n=ws.bind(null,e),null===ja?(ja=[n],za=Aa(Oa,Ya)):ja.push(n),n=Fa):14===t?n=Wa(99,ws.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),n=Wa(n,vs.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function vs(e){if(ss=-1,cs=us=0,48&Pl)throw Error(i(327));var t=e.callbackNode;if(Ms()&&e.callbackNode!==t)return null;var n=Bt(e,e===Dl?Ml:0);if(0===n)return null;var r=n,a=Pl;Pl|=16;var o=Ts();for(Dl===e&&Ml===r||(Kl(),Cs(e,r));;)try{Rs();break}catch(s){As(e,s)}if(no(),Nl.current=o,Pl=a,null!==Il?r=0:(Dl=null,Ml=0,r=jl),$l&Gl)Cs(e,0);else if(0!==r){if(2===r&&(Pl|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(n=jt(e))&&(r=_s(e,n))),1===r)throw t=zl,Cs(e,0),ys(e,n),bs(e,Ga()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:case 5:Ps(e);break;case 3:if(ys(e,n),(62914560&n)===n&&10<(r=Vl+500-Ga())){if(0!==Bt(e,0))break;if(((a=e.suspendedLanes)&n)!==n){ps(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Hr(Ps.bind(null,e),r);break}Ps(e);break;case 4:if(ys(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var l=31-qt(n);o=1<<l,(l=r[l])>a&&(a=l),n&=~o}if(n=a,10<(n=(120>(n=Ga()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Rl(n/1960))-n)){e.timeoutHandle=Hr(Ps.bind(null,e),n);break}Ps(e);break;default:throw Error(i(329))}}return bs(e,Ga()),e.callbackNode===t?vs.bind(null,e):null}function ys(e,t){for(t&=~ql,t&=~Gl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-qt(t),r=1<<n;e[n]=-1,t&=~r}}function ws(e){if(48&Pl)throw Error(i(327));if(Ms(),e===Dl&&e.expiredLanes&Ml){var t=Ml,n=_s(e,t);$l&Gl&&(n=_s(e,t=Bt(e,t)))}else n=_s(e,t=Bt(e,0));if(0!==e.tag&&2===n&&(Pl|=64,e.hydrate&&(e.hydrate=!1,Wr(e.containerInfo)),0!==(t=jt(e))&&(n=_s(e,t))),1===n)throw n=zl,Cs(e,0),ys(e,t),bs(e,Ga()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ps(e),bs(e,Ga()),null}function ks(e,t){var n=Pl;Pl|=1;try{return e(t)}finally{0===(Pl=n)&&(Kl(),Ka())}}function Es(e,t){var n=Pl;Pl&=-2,Pl|=8;try{return e(t)}finally{0===(Pl=n)&&(Kl(),Ka())}}function Ss(e,t){da(Bl,Fl),Fl|=t,$l|=t}function xs(){Fl=Bl.current,ca(Bl)}function Cs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Vr(n)),null!==Il)for(n=Il.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&va();break;case 3:Io(),ca(ma),ca(pa),Qo();break;case 5:Fo(r);break;case 4:Io();break;case 13:case 19:ca(Bo);break;case 10:ro(r);break;case 23:case 24:xs()}n=n.return}Dl=e,Il=Ws(e.current,null),Ml=Fl=$l=t,jl=0,zl=null,ql=Gl=Ul=0}function As(e,t){for(;;){var n=Il;try{if(no(),Xo.current=Oi,ri){for(var r=ei.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ri=!1}if(Jo=0,ni=ti=ei=null,ai=!1,Ol.current=null,null===n||null===n.return){jl=1,zl=t,Il=null;break}e:{var o=e,i=n.return,l=n,s=t;if(t=Ml,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(!(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=!!(1&Bo.current),f=i;do{var p;if(p=13===f.tag){var m=f.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!d)}}if(p){var g=f.updateQueue;if(null===g){var b=new Set;b.add(u),f.updateQueue=b}else g.add(u);if(!(2&f.mode)){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=co(-1,1);v.tag=2,fo(l,v)}l.lanes|=1;break e}s=void 0,l=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new fl,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(l)){s.add(l);var w=Us.bind(null,o,u,l);u.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);s=Error((W(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==jl&&(jl=2),s=cl(s,l),f=i;do{switch(f.tag){case 3:o=s,f.flags|=4096,t&=-t,f.lanes|=t,po(f,pl(0,o,t));break e;case 1:o=s;var k=f.type,E=f.stateNode;if(!(64&f.flags||"function"!=typeof k.getDerivedStateFromError&&(null===E||"function"!=typeof E.componentDidCatch||null!==Jl&&Jl.has(E)))){f.flags|=4096,t&=-t,f.lanes|=t,po(f,ml(f,o,t));break e}}f=f.return}while(null!==f)}Os(n)}catch(S){t=S,Il===n&&null!==n&&(Il=n=n.return);continue}break}}function Ts(){var e=Nl.current;return Nl.current=Oi,null===e?Oi:e}function _s(e,t){var n=Pl;Pl|=16;var r=Ts();for(Dl===e&&Ml===t||Cs(e,t);;)try{Ls();break}catch(a){As(e,a)}if(no(),Pl=n,Nl.current=r,null!==Il)throw Error(i(261));return Dl=null,Ml=0,jl}function Ls(){for(;null!==Il;)Ns(Il)}function Rs(){for(;null!==Il&&!_a();)Ns(Il)}function Ns(e){var t=Yl(e.alternate,e,Fl);e.memoizedProps=e.pendingProps,null===t?Os(e):Il=t,Ol.current=null}function Os(e){var t=e;do{var n=t.alternate;if(e=t.return,2048&t.flags){if(null!==(n=ul(t)))return n.flags&=2047,void(Il=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}else{if(null!==(n=sl(n,t,Fl)))return void(Il=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||1073741824&Fl||!(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&!(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}if(null!==(t=t.sibling))return void(Il=t);Il=t=e}while(null!==t);0===jl&&(jl=5)}function Ps(e){var t=qa();return Va(99,Ds.bind(null,e,t)),null}function Ds(e,t){do{Ms()}while(null!==ts);if(48&Pl)throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var l=e.eventTimes,s=e.expirationTimes;0<o;){var u=31-qt(o),c=1<<u;a[u]=0,l[u]=-1,s[u]=-1,o&=~c}if(null!==os&&!(24&r)&&os.has(e)&&os.delete(e),e===Dl&&(Il=Dl=null,Ml=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Pl,Pl|=32,Ol.current=null,$r=Yt,br(l=gr())){if("selectionStart"in l)s={start:l.selectionStart,end:l.selectionEnd};else e:if(s=(s=l.ownerDocument)&&s.defaultView||window,(c=s.getSelection&&s.getSelection())&&0!==c.rangeCount){s=c.anchorNode,o=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{s.nodeType,u.nodeType}catch(A){s=null;break e}var d=0,f=-1,p=-1,m=0,h=0,g=l,b=null;t:for(;;){for(var v;g!==s||0!==o&&3!==g.nodeType||(f=d+o),g!==u||0!==c&&3!==g.nodeType||(p=d+c),3===g.nodeType&&(d+=g.nodeValue.length),null!==(v=g.firstChild);)b=g,g=v;for(;;){if(g===l)break t;if(b===s&&++m===o&&(f=d),b===u&&++h===c&&(p=d),null!==(v=g.nextSibling))break;b=(g=b).parentNode}g=v}s=-1===f||-1===p?null:{start:f,end:p}}else s=null;s=s||{start:0,end:0}}else s=null;Ur={focusedElem:l,selectionRange:s},Yt=!1,ds=null,fs=!1,Ql=r;do{try{Is()}catch(A){if(null===Ql)throw Error(i(330));$s(Ql,A),Ql=Ql.nextEffect}}while(null!==Ql);ds=null,Ql=r;do{try{for(l=e;null!==Ql;){var y=Ql.flags;if(16&y&&ve(Ql.stateNode,""),128&y){var w=Ql.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&y){case 2:Sl(Ql),Ql.flags&=-3;break;case 6:Sl(Ql),Ql.flags&=-3,Tl(Ql.alternate,Ql);break;case 1024:Ql.flags&=-1025;break;case 1028:Ql.flags&=-1025,Tl(Ql.alternate,Ql);break;case 4:Tl(Ql.alternate,Ql);break;case 8:Al(l,s=Ql);var E=s.alternate;kl(s),null!==E&&kl(E)}Ql=Ql.nextEffect}}catch(A){if(null===Ql)throw Error(i(330));$s(Ql,A),Ql=Ql.nextEffect}}while(null!==Ql);if(k=Ur,w=gr(),y=k.focusedElem,l=k.selectionRange,w!==y&&y&&y.ownerDocument&&hr(y.ownerDocument.documentElement,y)){null!==l&&br(y)&&(w=l.start,void 0===(k=l.end)&&(k=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(k,y.value.length)):(k=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),s=y.textContent.length,E=Math.min(l.start,s),l=void 0===l.end?E:Math.min(l.end,s),!k.extend&&E>l&&(s=l,l=E,E=s),s=mr(y,E),o=mr(y,l),s&&o&&(1!==k.rangeCount||k.anchorNode!==s.node||k.anchorOffset!==s.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((w=w.createRange()).setStart(s.node,s.offset),k.removeAllRanges(),E>l?(k.addRange(w),k.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),k.addRange(w))))),w=[];for(k=y;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(k=w[y]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Yt=!!$r,Ur=$r=null,e.current=n,Ql=r;do{try{for(y=e;null!==Ql;){var S=Ql.flags;if(36&S&&vl(y,Ql.alternate,Ql),128&S){w=void 0;var x=Ql.ref;if(null!==x){var C=Ql.stateNode;Ql.tag,w=C,"function"==typeof x?x(w):x.current=w}}Ql=Ql.nextEffect}}catch(A){if(null===Ql)throw Error(i(330));$s(Ql,A),Ql=Ql.nextEffect}}while(null!==Ql);Ql=null,Ba(),Pl=a}else e.current=n;if(es)es=!1,ts=e,ns=t;else for(Ql=r;null!==Ql;)t=Ql.nextEffect,Ql.nextEffect=null,8&Ql.flags&&((S=Ql).sibling=null,S.stateNode=null),Ql=t;if(0===(r=e.pendingLanes)&&(Jl=null),1===r?e===ls?is++:(is=0,ls=e):is=0,n=n.stateNode,xa&&"function"==typeof xa.onCommitFiberRoot)try{xa.onCommitFiberRoot(Sa,n,void 0,!(64&~n.current.flags))}catch(A){}if(bs(e,Ga()),Xl)throw Xl=!1,e=Zl,Zl=null,e;return 8&Pl||Ka(),null}function Is(){for(;null!==Ql;){var e=Ql.alternate;fs||null===ds||(8&Ql.flags?et(Ql,ds)&&(fs=!0):13===Ql.tag&&Ll(e,Ql)&&et(Ql,ds)&&(fs=!0));var t=Ql.flags;256&t&&bl(e,Ql),!(512&t)||es||(es=!0,Wa(97,(function(){return Ms(),null}))),Ql=Ql.nextEffect}}function Ms(){if(90!==ns){var e=97<ns?97:ns;return ns=90,Va(e,js)}return!1}function Fs(e,t){rs.push(t,e),es||(es=!0,Wa(97,(function(){return Ms(),null})))}function Bs(e,t){as.push(t,e),es||(es=!0,Wa(97,(function(){return Ms(),null})))}function js(){if(null===ts)return!1;var e=ts;if(ts=null,48&Pl)throw Error(i(331));var t=Pl;Pl|=32;var n=as;as=[];for(var r=0;r<n.length;r+=2){var a=n[r],o=n[r+1],l=a.destroy;if(a.destroy=void 0,"function"==typeof l)try{l()}catch(u){if(null===o)throw Error(i(330));$s(o,u)}}for(n=rs,rs=[],r=0;r<n.length;r+=2){a=n[r],o=n[r+1];try{var s=a.create;a.destroy=s()}catch(u){if(null===o)throw Error(i(330));$s(o,u)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Pl=t,Ka(),!0}function zs(e,t,n){fo(e,t=pl(0,t=cl(n,t),1)),t=ps(),null!==(e=gs(e,1))&&(Gt(e,1,t),bs(e,t))}function $s(e,t){if(3===e.tag)zs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){zs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Jl||!Jl.has(r))){var a=ml(n,e=cl(t,e),1);if(fo(n,a),a=ps(),null!==(n=gs(n,1)))Gt(n,1,a),bs(n,a);else if("function"==typeof r.componentDidCatch&&(null===Jl||!Jl.has(r)))try{r.componentDidCatch(t,e)}catch(o){}break}}n=n.return}}function Us(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ps(),e.pingedLanes|=e.suspendedLanes&n,Dl===e&&(Ml&n)===n&&(4===jl||3===jl&&(62914560&Ml)===Ml&&500>Ga()-Vl?Cs(e,0):ql|=n),bs(e,t)}function Gs(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(2&(t=e.mode)?4&t?(0===us&&(us=$l),0===(t=$t(62914560&~us))&&(t=4194304)):t=99===qa()?1:2:t=1),n=ps(),null!==(e=gs(e,t))&&(Gt(e,t,n),bs(e,n))}function qs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Hs(e,t,n,r){return new qs(e,t,n,r)}function Vs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ws(e,t){var n=e.alternate;return null===n?((n=Hs(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ks(e,t,n,r,a,o){var l=2;if(r=e,"function"==typeof e)Vs(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case x:return Ys(n.children,a,o,t);case M:l=8,a|=16;break;case C:l=8,a|=1;break;case A:return(e=Hs(12,n,t,8|a)).elementType=A,e.type=A,e.lanes=o,e;case R:return(e=Hs(13,n,t,a)).type=R,e.elementType=R,e.lanes=o,e;case N:return(e=Hs(19,n,t,a)).elementType=N,e.lanes=o,e;case F:return Qs(n,a,o,t);case B:return(e=Hs(24,n,t,a)).elementType=B,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:l=10;break e;case _:l=9;break e;case L:l=11;break e;case O:l=14;break e;case P:l=16,r=null;break e;case D:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Hs(l,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Ys(e,t,n,r){return(e=Hs(7,e,r,t)).lanes=n,e}function Qs(e,t,n,r){return(e=Hs(23,e,r,t)).elementType=F,e.lanes=n,e}function Xs(e,t,n){return(e=Hs(6,e,null,t)).lanes=n,e}function Zs(e,t,n){return(t=Hs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Js(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ut(0),this.expirationTimes=Ut(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ut(0),this.mutableSourceEagerHydrationData=null}function eu(e,t,n,r){var a=t.current,o=ps(),l=ms(a);e:if(n){t:{if(Qe(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ba(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(i(171))}if(1===n.tag){var u=n.type;if(ba(u)){n=wa(n,u,s);break e}}n=s}else n=fa;return null===t.context?t.context=n:t.pendingContext=n,(t=co(o,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fo(a,t),hs(a,l,o),l}function tu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ru(e,t){nu(e,t),(e=e.alternate)&&nu(e,t)}function au(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Js(e,t,null!=n&&!0===n.hydrate),t=Hs(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,so(t),e[ea]=n.current,Or(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function ou(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function iu(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var l=a;a=function(){var e=tu(i);l.call(e)}}eu(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new au(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var s=a;a=function(){var e=tu(i);s.call(e)}}Es((function(){eu(t,i,e,a)}))}return tu(i)}function lu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ou(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Yl=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ma.current)Fi=!0;else{if(!(n&r)){switch(Fi=!1,t.tag){case 3:Wi(t),Ko();break;case 5:Mo(t);break;case 1:ba(t.type)&&ka(t);break;case 4:Do(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;da(Za,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return n&t.child.childLanes?Ji(e,t,n):(da(Bo,1&Bo.current),null!==(t=il(e,t,n))?t.sibling:null);da(Bo,1&Bo.current);break;case 19:if(r=!!(n&t.childLanes),64&e.flags){if(r)return ol(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),da(Bo,Bo.current),r)break;return null;case 23:case 24:return t.lanes=0,Ui(e,t,n)}return il(e,t,n)}Fi=!!(16384&e.flags)}else Fi=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=ga(t,pa.current),oo(t,n),a=li(null,t,r,e,a,n),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ba(r)){var o=!0;ka(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,so(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&bo(t,r,l,e),a.updater=vo,t.stateNode=a,a._reactInternals=t,Eo(t,r,e,n),t=Vi(null,t,r,!0,o,n)}else t.tag=0,Bi(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return Vs(e)?1:0;if(null!=e){if((e=e.$$typeof)===L)return 11;if(e===O)return 14}return 2}(a),e=Xa(a,e),o){case 0:t=qi(null,t,a,e,n);break e;case 1:t=Hi(null,t,a,e,n);break e;case 11:t=ji(null,t,a,e,n);break e;case 14:t=zi(null,t,a,Xa(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,qi(e,t,r,a=t.elementType===r?a:Xa(r,a),n);case 1:return r=t.type,a=t.pendingProps,Hi(e,t,r,a=t.elementType===r?a:Xa(r,a),n);case 3:if(Wi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,uo(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===a)Ko(),t=il(e,t,n);else{if((o=(a=t.stateNode).hydrate)&&($o=Kr(t.stateNode.containerInfo.firstChild),zo=t,o=Uo=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],Yo.push(o);for(n=_o(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Bi(e,t,r,n),Ko();t=t.child}return t;case 5:return Mo(t),null===e&&Ho(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,l=a.children,qr(r,a)?l=null:null!==o&&qr(r,o)&&(t.flags|=16),Gi(e,t),Bi(e,t,l,n),t.child;case 6:return null===e&&Ho(t),null;case 13:return Ji(e,t,n);case 4:return Do(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=To(t,null,r,n):Bi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ji(e,t,r,a=t.elementType===r?a:Xa(r,a),n);case 7:return Bi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Bi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,o=a.value;var s=t.type._context;if(da(Za,s._currentValue),s._currentValue=o,null!==l)if(s=l.value,0===(o=cr(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(l.children===a.children&&!ma.current){t=il(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){l=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&c.observedBits&o){1===s.tag&&((c=co(-1,n&-n)).tag=2,fo(s,c)),s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),ao(s.return,n),u.lanes|=n;break}c=c.next}}else l=10===s.tag&&s.type===t.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===t){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}Bi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,oo(t,n),r=r(a=io(a,o.unstable_observedBits)),t.flags|=1,Bi(e,t,r,n),t.child;case 14:return o=Xa(a=t.type,t.pendingProps),zi(e,t,a,o=Xa(a.type,o),r,n);case 15:return $i(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Xa(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ba(r)?(e=!0,ka(t)):e=!1,oo(t,n),wo(t,r,a),Eo(t,r,a,n),Vi(null,t,r,!0,e,n);case 19:return ol(e,t,n);case 23:case 24:return Ui(e,t,n)}throw Error(i(156,t.tag))},au.prototype.render=function(e){eu(e,this._internalRoot,null,null)},au.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;eu(null,e,null,(function(){t[ea]=null}))},tt=function(e){13===e.tag&&(hs(e,4,ps()),ru(e,4))},nt=function(e){13===e.tag&&(hs(e,67108864,ps()),ru(e,67108864))},rt=function(e){if(13===e.tag){var t=ps(),n=ms(e);hs(e,n,t),ru(e,n)}},at=function(e,t){return t()},Te=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=oa(r);if(!a)throw Error(i(90));X(r),ne(r,a)}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Pe=ks,De=function(e,t,n,r,a){var o=Pl;Pl|=4;try{return Va(98,e.bind(null,t,n,r,a))}finally{0===(Pl=o)&&(Kl(),Ka())}},Ie=function(){!(49&Pl)&&(function(){if(null!==os){var e=os;os=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,bs(e,Ga())}))}Ka()}(),Ms())},Me=function(e,t){var n=Pl;Pl|=2;try{return e(t)}finally{0===(Pl=n)&&(Kl(),Ka())}};var su={Events:[ra,aa,oa,Ne,Oe,Ms,{current:!1}]},uu={findFiberByHostInstance:na,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},cu={bundleType:uu.bundleType,version:uu.version,rendererPackageName:uu.rendererPackageName,rendererConfig:uu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:uu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var du=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!du.isDisabled&&du.supportsFiber)try{Sa=du.inject(cu),xa=du}catch(ge){}}t.hydrate=function(e,t,n){if(!ou(t))throw Error(i(200));return iu(null,e,t,!0,n)}},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(2551)},115:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof i.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof i.toString)return e.toString()===i.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!o(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},545:(e,t,n)=>{"use strict";n.d(t,{mg:()=>J,vd:()=>H});var r=n(6540),a=n(5556),o=n.n(a),i=n(115),l=n.n(i),s=n(311),u=n.n(s),c=n(2833),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},E=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},x=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},A=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},T=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},_=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},L=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},R=function(e){return Array.isArray(e)?e.join(""):e},N=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[g.NOSCRIPT,g.SCRIPT,g.STYLE],D=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},I=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},M=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},B=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=M(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=I(n),o=R(t);return a?"<"+e+' data-rh="true" '+a+">"+D(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+D(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return M(t)},toString:function(){return I(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+D(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},j=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=N(e.metaTags,y),o=N(t,b),i=N(n,v);return{priorityMethods:{toComponent:function(){return[].concat(F(g.META,a.priority),F(g.LINK,o.priority),F(g.SCRIPT,i.priority))},toString:function(){return B(g.META,a.priority,r)+" "+B(g.LINK,o.priority,r)+" "+B(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=m.priorityMethods,c=m.linkTags,d=m.metaTags,f=m.scriptTags}return{priority:p,base:B(g.BASE,t,r),bodyAttributes:B("bodyAttributes",n,r),htmlAttributes:B("htmlAttributes",a,r),link:B(g.LINK,c,r),meta:B(g.META,d,r),noscript:B(g.NOSCRIPT,o,r),script:B(g.SCRIPT,f,r),style:B(g.STYLE,i,r),title:B(g.TITLE,{title:s,titleAttributes:u},r)}},z=[],$=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=j({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},U=r.createContext({}),G=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),q="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new $(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement(U.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=q,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var V=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},W=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},K=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;W(g.BODY,e.bodyAttributes),W(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=R(e)),W(g.TITLE,t)}(c,d);var f={baseTag:V(g.BASE,n),linkTags:V(g.LINK,a),metaTags:V(g.META,o),noscriptTags:V(g.NOSCRIPT,i),scriptTags:V(g.SCRIPT,s),styleTags:V(g.STYLE,u)},p={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)})),t&&t(),l(e,p,m)},Y=null,Q=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:T(["href"],e),bodyAttributes:A("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:A("htmlAttributes",e),linkTags:_(g.LINK,["rel","href"],e),metaTags:_(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:_(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:_(g.SCRIPT,["src","innerHTML"],e),styleTags:_(g.STYLE,["cssText"],e),title:x(e),titleAttributes:A("titleAttributes",e),prioritizeSeoTags:L(e,"prioritizeSeoTags")});H.canUseDOM?(t=o,Y&&cancelAnimationFrame(Y),t.defer?Y=requestAnimationFrame((function(){K(t,(function(){Y=null}))})):(K(t),Y=null)):j&&(a=j(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);Q.propTypes={context:G.isRequired},Q.displayName="HelmetDispatcher";var X=["children"],Z=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(O(this.props,"helmetData"),O(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,X),l=Object.keys(i).reduce((function(e,t){return e[E[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,Z),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof $||(o=new $(o.context,o.instances)),o?r.createElement(Q,f({},a,{context:o.value,helmetData:void 0})):r.createElement(U.Consumer,null,(function(e){return r.createElement(Q,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},2799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case h:case s:return e;default:return t}}case a:return t}}}function E(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||k(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=k},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},3259:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(6540),s=n(5556),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return u.push(g),"function"==typeof m.webpack&&c.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),f}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}o(g,"propTypes",{report:s.func.isRequired}),o(g,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){b(u).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){b(c).then(e,e)}))},e.exports=h},2831:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,v:()=>l});var r=n(6347),a=n(8168),o=n(6540);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.B6)(t,e):n.length?n[n.length-1].match:r.Ix.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.dO,n,e.map((function(e,n){return o.createElement(r.qh,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.A)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.A)({},n,t,{route:e}))}})}))):null}},4625:(e,t,n)=>{"use strict";n.d(t,{Kd:()=>c,N_:()=>g,k2:()=>y});var r=n(6347),a=n(2892),o=n(6540),i=n(1513),l=n(8168),s=n(8587),u=n(1561),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.zR)(t.props),t}return(0,a.A)(t,e),t.prototype.render=function(){return o.createElement(r.Ix,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.yJ)(e,null,null,t):e},p=function(e){return e},m=o.forwardRef;void 0===m&&(m=p);var h=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.A)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.A)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==m&&t||n,o.createElement("a",c)}));var g=m((function(e,t){var n=e.component,a=void 0===n?h:n,c=e.replace,g=e.to,b=e.innerRef,v=(0,s.A)(e,["component","replace","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=e.history,r=f(d(g,e.location),e.location),s=r?n.createHref(r):"",h=(0,l.A)({},v,{href:s,navigate:function(){var t=d(g,e.location),r=(0,i.AO)(e.location)===(0,i.AO)(f(t));(c||r?n.replace:n.push)(t)}});return p!==m?h.ref=t||b:h.innerRef=b,o.createElement(a,h)}))})),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var y=v((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,m=e.className,h=e.exact,y=e.isActive,w=e.location,k=e.sensitive,E=e.strict,S=e.style,x=e.to,C=e.innerRef,A=(0,s.A)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.XZ.Consumer,null,(function(e){e||(0,u.A)(!1);var n=w||e.location,i=f(d(x,n),n),s=i.pathname,T=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=T?(0,r.B6)(n.pathname,{path:T,exact:h,sensitive:k,strict:E}):null,L=!!(y?y(_,n):_),R="function"==typeof m?m(L):m,N="function"==typeof S?S(L):S;L&&(R=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(R,c),N=(0,l.A)({},N,p));var O=(0,l.A)({"aria-current":L&&a||null,className:R,style:N,to:i},A);return b!==v?O.ref=t||C:O.innerRef=C,o.createElement(g,O)}))}))},6347:(e,t,n)=>{"use strict";n.d(t,{B6:()=>S,Ix:()=>y,W6:()=>O,XZ:()=>v,dO:()=>R,qh:()=>x,zy:()=>P});var r=n(2892),a=n(6540),o=n(5556),i=n.n(o),l=n(1513),s=n(1561),u=n(8168),c=n(8505),d=n.n(c),f=(n(4363),n(8587)),p=(n(4146),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var h=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}(0,r.A)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){(0|e.observedBits)&n&&e.setState({value:e.getValue()})},e}(0,r.A)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return u.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:u}},g=function(e){var t=h();return t.displayName=e,t},b=g("Router-History"),v=g("Router"),y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.A)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(v.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(b.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var w={},k=1e4,E=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=w[n]||(w[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return E<k&&(r[e]=o,E++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var c=s[0],f=s.slice(1),p=e===c;return o&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var x=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(v.Consumer,null,(function(t){t||(0,s.A)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,u.A)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(v.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function A(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,u.A)({},t,{pathname:t.pathname.substr(n.length)})}function T(e){return"string"==typeof e?e:(0,l.AO)(e)}function _(e){return function(){(0,s.A)(!1)}}function L(){}a.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.A)(t,e),t.prototype.render=function(){var e=this;return a.createElement(v.Consumer,null,(function(t){t||(0,s.A)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,u.A)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var N=a.useContext;function O(){return N(b)}function P(){return N(v).location}},8505:(e,t,n)=>{var r=n(4634);e.exports=m,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,l=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(l,p),l=p+d.length,f)s+=f[1];else{var m=e[l],h=n[2],g=n[3],b=n[4],v=n[5],y=n[6],w=n[7];s&&(r.push(s),s="");var k=null!=h&&null!=m&&m!==h,E="+"===y||"*"===y,S="?"===y||"*"===y,x=h||u,C=b||v,A=h||("string"==typeof r[r.length-1]?r[r.length-1]:"");r.push({name:g||o++,prefix:h||"",delimiter:x,optional:S,repeat:E,partial:k,asterisk:!!w,pattern:C?c(C):w?".*":i(x,A)})}}return l<e.length&&(s+=e.substr(l)),s&&r.push(s),r}function i(e,t){return!t||t.indexOf(e)>-1?"[^"+u(e)+"]+?":u(t)+"|(?:(?!"+u(t)+")[^"+u(e)+"])+?"}function l(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",f(t)));return function(t,a){for(var o="",i=t||{},s=(a||{}).pretty?l:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=i[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=s(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function d(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function p(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var s=e[l];if("string"==typeof s)i+=u(s);else{var c=u(s.prefix),p="(?:"+s.pattern+")";t.push(s),s.repeat&&(p+="(?:"+c+p+")*"),i+=p=s.optional?s.partial?c+"("+p+")?":"(?:"+c+"("+p+"))?":c+"("+p+")"}}var m=u(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",d(new RegExp("^"+i,f(n)),t)}function m(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return d(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(m(e[a],t,n).source);return d(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return p(o(e,n),t,n)}(e,t,n)}},5287:(e,t,n)=>{"use strict";var r=n(5228),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,l=60110,s=60112;t.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;a=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),i=d("react.provider"),l=d("react.context"),s=d("react.forward_ref"),t.Suspense=d("react.suspense"),u=d("react.memo"),c=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h={};function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var y=v.prototype=new b;y.constructor=v,r(y,g.prototype),y.isPureReactComponent=!0;var w={current:null},k=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,o={},i=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,r)&&!E.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:a,type:e,key:i,ref:l,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var C=/\/+/g;function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,n,r,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case o:s=!0}}if(s)return i=i(s=e),e=""===r?"."+A(s,0):r,Array.isArray(i)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),T(i,t,n,"",(function(e){return e}))):null!=i&&(x(i)&&(i=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+A(l=e[u],u);s+=T(l,t,n,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=T(l=l.value,t,n,c=r+A(l,u++),i);else if("object"===l)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function _(e,t,n){if(null==e)return e;var r=[],a=0;return T(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function L(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var R={current:null};function N(){var e=R.current;if(null===e)throw Error(p(321));return e}var O={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:_,forEach:function(e,t,n){_(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return _(e,(function(){t++})),t},toArray:function(e){return _(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var o=r({},e.props),i=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=w.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)k.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}return{$$typeof:a,type:e.type,key:i,ref:l,props:o,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="17.0.2"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},7463:(e,t)=>{"use strict";var n,r,a,o;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,d=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(n){throw setTimeout(d,0),n}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(d,0))},r=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,g=null,b=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,k=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();y=e+v;try{g(!0,e)?k.postMessage(null):(h=!1,g=null)}catch(n){throw k.postMessage(null),n}}else h=!1},n=function(e){g=e,h||(h=!0,k.postMessage(null))},r=function(e,n){b=f((function(){e(t.unstable_now())}),n)},a=function(){p(b),b=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<C(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],l=o+1,s=e[l];if(void 0!==i&&0>C(i,n))void 0!==s&&0>C(s,i)?(e[r]=s,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==s&&0>C(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],T=[],_=1,L=null,R=3,N=!1,O=!1,P=!1;function D(e){for(var t=S(T);null!==t;){if(null===t.callback)x(T);else{if(!(t.startTime<=e))break;x(T),t.sortIndex=t.expirationTime,E(A,t)}t=S(T)}}function I(e){if(P=!1,D(e),!O)if(null!==S(A))O=!0,n(M);else{var t=S(T);null!==t&&r(I,t.startTime-e)}}function M(e,n){O=!1,P&&(P=!1,a()),N=!0;var o=R;try{for(D(n),L=S(A);null!==L&&(!(L.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=L.callback;if("function"==typeof i){L.callback=null,R=L.priorityLevel;var l=i(L.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?L.callback=l:L===S(A)&&x(A),D(n)}else x(A);L=S(A)}if(null!==L)var s=!0;else{var u=S(T);null!==u&&r(I,u.startTime-n),s=!1}return s}finally{L=null,R=o,N=!1}}var F=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||N||(O=!0,n(M))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return S(A)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,o,i){var l=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?l+i:l:i=l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:_++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>l?(e.sortIndex=i,E(T,e),null===S(A)&&e===S(T)&&(P?a():P=!0,r(I,i-l))):(e.sortIndex=s,E(A,e),O||N||(O=!0,n(M))),e},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},2833:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},4784:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={title:"FeaturIT Docs",tagline:"Gain control over your features",url:"https://featurit.github.io",baseUrl:"/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/favicon.ico",organizationName:"featurit",projectName:"featurit.github.io",deploymentBranch:"main",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},markdown:{mermaid:!0},presets:[["classic",{docs:{routeBasePath:"/"},blog:{showReadingTime:!1},theme:{customCss:"/home/xavisas/Code/featurit/featurit-documentation/src/css/custom.css"}}]],themes:["@docusaurus/theme-mermaid"],themeConfig:{navbar:{title:"FeaturIT Docs",logo:{alt:"FeaturIT Logo",src:"img/mini_logo.svg"},items:[{type:"doc",docId:"intro",position:"left",label:"Documentation"},{href:"https://github.com/orgs/featurit/repositories",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"More",items:[{label:"GitHub",href:"https://github.com/orgs/featurit/repositories"},{label:"Blog",href:"https://featurit.com/blog"}]}],copyright:"Copyright \xa9 2024 FEATURE TECHNOLOGY S.L."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3},mermaid:{theme:{dark:"dark",light:"default"},options:{}}},baseUrlIssueBanner:!0,onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},2892:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{A:()=>a})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},1561:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=!0,a="Invariant failed";function o(e,t){if(!e){if(r)throw new Error(a);var n="function"==typeof t?t():t,o=n?"".concat(a,": ").concat(n):a;throw new Error(o)}}},2654:e=>{"use strict";e.exports={}},4054:e=>{"use strict";e.exports=JSON.parse('{"/-a21":{"__comp":"1be78505","__context":{"plugin":"6d2fb31d"},"versionMetadata":"935f2afb"},"/-678":{"__comp":"17896441","content":"0e384e19"},"/best-practices/naming-features-175":{"__comp":"17896441","content":"00cdcb4e"},"/best-practices/stickiness-attributes-8b7":{"__comp":"17896441","content":"d4277124"},"/category/best-practices-c05":{"__comp":"14eb3368","categoryGeneratedIndex":"9dbf4169"},"/category/segmentation-5d1":{"__comp":"14eb3368","categoryGeneratedIndex":"a1f504af"},"/category/the-basics-2b6":{"__comp":"14eb3368","categoryGeneratedIndex":"390800e5"},"/segmentation/attributes-484":{"__comp":"17896441","content":"20d512de"},"/segmentation/feature-flag-segments-493":{"__comp":"17896441","content":"e7e439d1"},"/segmentation/feature-flag-versions-191":{"__comp":"17896441","content":"57c1c2d9"},"/segmentation/segments-0c7":{"__comp":"17896441","content":"65da6cb5"},"/the-basics/applications-f16":{"__comp":"17896441","content":"6a947763"},"/the-basics/environment-keys-185":{"__comp":"17896441","content":"12bc0817"},"/the-basics/environments-aaa":{"__comp":"17896441","content":"6d0fdcd8"},"/the-basics/feature-flags-e59":{"__comp":"17896441","content":"faca8232"},"/the-basics/feature-versions-cc8":{"__comp":"17896441","content":"dc57ca8b"},"/the-basics/features-9d6":{"__comp":"17896441","content":"62e430e6"}}')}},e=>{e.O(0,[869],(()=>{return t=5660,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.700e9045.js b/assets/js/main.700e9045.js new file mode 100644 index 0000000..aa2add3 --- /dev/null +++ b/assets/js/main.700e9045.js @@ -0,0 +1,2 @@ +/*! For license information please see main.700e9045.js.LICENSE.txt */ +(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[179],{723:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7294),a=n(7462),o=n(8356),i=n.n(o),l=n(6887);const s={"00cdcb4e":[()=>n.e(620).then(n.bind(n,9816)),"@site/docs/best-practices/naming-features.md",9816],"0e384e19":[()=>n.e(671).then(n.bind(n,9881)),"@site/docs/intro.md",9881],"12bc0817":[()=>n.e(635).then(n.bind(n,7127)),"@site/docs/the-basics/environment-keys.md",7127],"14eb3368":[()=>Promise.all([n.e(532),n.e(817)]).then(n.bind(n,4228)),"@theme/DocCategoryGeneratedIndexPage",4228],17896441:[()=>Promise.all([n.e(532),n.e(918)]).then(n.bind(n,3958)),"@theme/DocItem",3958],"1be78505":[()=>Promise.all([n.e(532),n.e(514)]).then(n.bind(n,9963)),"@theme/DocPage",9963],"20d512de":[()=>n.e(602).then(n.bind(n,1023)),"@site/docs/segmentation/attributes.md",1023],"390800e5":[()=>n.e(395).then(n.t.bind(n,3166,19)),"~docs/default/category-defaultsidebar-category-the-basics-ae1.json",3166],"57c1c2d9":[()=>n.e(755).then(n.bind(n,88)),"@site/docs/segmentation/feature-flag-versions.md",88],"62e430e6":[()=>n.e(298).then(n.bind(n,2313)),"@site/docs/the-basics/features.md",2313],"65da6cb5":[()=>n.e(800).then(n.bind(n,2435)),"@site/docs/segmentation/segments.md",2435],"6a947763":[()=>n.e(345).then(n.bind(n,9513)),"@site/docs/the-basics/applications.md",9513],"6d0fdcd8":[()=>n.e(385).then(n.bind(n,3967)),"@site/docs/the-basics/environments.md",3967],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"9dbf4169":[()=>n.e(30).then(n.t.bind(n,5226,19)),"~docs/default/category-defaultsidebar-category-best-practices-cf4.json",5226],a1f504af:[()=>n.e(718).then(n.t.bind(n,9408,19)),"~docs/default/category-defaultsidebar-category-segmentation-686.json",9408],a23c3548:[()=>n.e(357).then(n.t.bind(n,3769,19)),"/home/xavier/Code/docuexample/my-website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",3769],d4277124:[()=>n.e(591).then(n.bind(n,8661)),"@site/docs/best-practices/stickiness-attributes.md",8661],dc57ca8b:[()=>n.e(74).then(n.bind(n,9244)),"@site/docs/the-basics/feature-versions.md",9244],e7e439d1:[()=>n.e(200).then(n.bind(n,934)),"@site/docs/segmentation/feature-flag-segments.md",934],faca8232:[()=>n.e(746).then(n.bind(n,4753)),"@site/docs/the-basics/feature-flags.md",4753]};function u(e){let{error:t,retry:n,pastDelay:a}=e;return t?r.createElement("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,String(t)),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null}var c=n(9670),d=n(226);function f(e,t){if("*"===e)return i()({loading:u,loader:()=>n.e(972).then(n.bind(n,4972)),modules:["@theme/NotFound"],webpack:()=>[4972],render(e,t){const n=e.default;return r.createElement(d.z,{value:{plugin:{name:"native",id:"default"}}},r.createElement(n,t))}});const o=l[`${e}-${t}`],f={},p=[],m=[],h=(0,c.Z)(o);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=s[n];r&&(f[t]=r[0],p.push(r[1]),m.push(r[2]))})),i().Map({loading:u,loader:f,modules:p,webpack:()=>m,render(t,n){const i=JSON.parse(JSON.stringify(o));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let o=i;const l=n.split(".");l.slice(0,-1).forEach((e=>{o=o[e]})),o[l[l.length-1]]=a}));const l=i.__comp;delete i.__comp;const s=i.__context;return delete i.__context,r.createElement(d.z,{value:s},r.createElement(l,(0,a.Z)({},i,n)))}})}const p=[{path:"/",component:f("/","315"),routes:[{path:"/",component:f("/","678"),exact:!0,sidebar:"defaultSidebar"},{path:"/best-practices/naming-features",component:f("/best-practices/naming-features","175"),exact:!0,sidebar:"defaultSidebar"},{path:"/best-practices/stickiness-attributes",component:f("/best-practices/stickiness-attributes","8b7"),exact:!0,sidebar:"defaultSidebar"},{path:"/category/best-practices",component:f("/category/best-practices","c05"),exact:!0,sidebar:"defaultSidebar"},{path:"/category/segmentation",component:f("/category/segmentation","5d1"),exact:!0,sidebar:"defaultSidebar"},{path:"/category/the-basics",component:f("/category/the-basics","2b6"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/attributes",component:f("/segmentation/attributes","484"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/feature-flag-segments",component:f("/segmentation/feature-flag-segments","493"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/feature-flag-versions",component:f("/segmentation/feature-flag-versions","191"),exact:!0,sidebar:"defaultSidebar"},{path:"/segmentation/segments",component:f("/segmentation/segments","0c7"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/applications",component:f("/the-basics/applications","f16"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/environment-keys",component:f("/the-basics/environment-keys","185"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/environments",component:f("/the-basics/environments","aaa"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/feature-flags",component:f("/the-basics/feature-flags","e59"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/feature-versions",component:f("/the-basics/feature-versions","cc8"),exact:!0,sidebar:"defaultSidebar"},{path:"/the-basics/features",component:f("/the-basics/features","9d6"),exact:!0,sidebar:"defaultSidebar"}]},{path:"*",component:f("*")}]},8934:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,t:()=>o});var r=n(7294);const a=r.createContext(!1);function o(e){let{children:t}=e;const[n,o]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{o(!0)}),[]),r.createElement(a.Provider,{value:n},t)}},9383:(e,t,n)=>{"use strict";var r=n(7294),a=n(3935),o=n(3727),i=n(405),l=n(412);const s=[n(2497),n(3310),n(8320),n(2295)];var u=n(723),c=n(6550),d=n(8790);function f(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)}var p=n(7462),m=n(5742),h=n(2263),g=n(4996),b=n(6668),v=n(1944),y=n(4711),w=n(9727),k=n(3320),E=n(197);function S(){const{i18n:{defaultLocale:e,localeConfigs:t}}=(0,h.Z)(),n=(0,y.l)();return r.createElement(m.Z,null,Object.entries(t).map((e=>{let[t,{htmlLang:a}]=e;return r.createElement("link",{key:t,rel:"alternate",href:n.createUrl({locale:t,fullyQualified:!0}),hrefLang:a})})),r.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function x(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,h.Z)(),a=function(){const{siteConfig:{url:e}}=(0,h.Z)(),{pathname:t}=(0,c.TH)();return e+(0,g.Z)(t)}(),o=t?`${n}${t}`:a;return r.createElement(m.Z,null,r.createElement("meta",{property:"og:url",content:o}),r.createElement("link",{rel:"canonical",href:o}))}function C(){const{i18n:{currentLocale:e}}=(0,h.Z)(),{metadata:t,image:n}=(0,b.L)();return r.createElement(r.Fragment,null,r.createElement(m.Z,null,r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("body",{className:w.h})),n&&r.createElement(v.d,{image:n}),r.createElement(x,null),r.createElement(S,null),r.createElement(E.Z,{tag:k.HX,locale:e}),r.createElement(m.Z,null,t.map(((e,t)=>r.createElement("meta",(0,p.Z)({key:t},e))))))}const T=new Map;function _(e){if(T.has(e.pathname))return{...e,pathname:T.get(e.pathname)};if((0,d.f)(u.Z,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return T.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return T.set(e.pathname,t),{...e,pathname:t}}var A=n(8934),L=n(8940);function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const a=s.map((t=>(t.default?.[e]??t[e])?.(...n)));return()=>a.forEach((e=>e?.()))}const N=function(e){let{children:t,location:n,previousLocation:a}=e;return(0,r.useLayoutEffect)((()=>{a!==n&&(a&&function(e){const{hash:t}=e;if(t){const e=decodeURIComponent(t.substring(1));document.getElementById(e)?.scrollIntoView()}else window.scrollTo(0,0)}(n),R("onRouteDidUpdate",{previousLocation:a,location:n}))}),[a,n]),t};function O(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.f)(u.Z,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class P extends r.Component{constructor(e){super(e),this.previousLocation=void 0,this.routeUpdateCleanupCb=void 0,this.previousLocation=null,this.routeUpdateCleanupCb=l.Z.canUseDOM?R("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=R("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),O(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return r.createElement(N,{previousLocation:this.previousLocation,location:t},r.createElement(c.AW,{location:t,render:()=>e}))}}const I=P,D="docusaurus-base-url-issue-banner-container",M="docusaurus-base-url-issue-banner-suggestion-container",F="__DOCUSAURUS_INSERT_BASEURL_BANNER";function B(e){return`\nwindow['${F}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${F}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${D}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n<div id="docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseurl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">${e}</span> ${"/"===e?" (default value)":""}</p>\n <p>We suggest trying baseUrl = <span id="${M}" style="font-weight: bold; color: green;"></span></p>\n</div>\n`}(e)).replace(/</g,"\\<")};\n bannerContainer.innerHTML = bannerHtml;\n var suggestionContainer = document.getElementById('${M}');\n var actualHomePagePath = window.location.pathname;\n var suggestedBaseUrl = actualHomePagePath.substr(-1) === '/'\n ? actualHomePagePath\n : actualHomePagePath + '/';\n suggestionContainer.innerHTML = suggestedBaseUrl;\n}\n`}function j(){const{siteConfig:{baseUrl:e}}=(0,h.Z)();return(0,r.useLayoutEffect)((()=>{window[F]=!1}),[]),r.createElement(r.Fragment,null,!l.Z.canUseDOM&&r.createElement(m.Z,null,r.createElement("script",null,B(e))),r.createElement("div",{id:D}))}function z(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,h.Z)(),{pathname:n}=(0,c.TH)();return t&&n===e?r.createElement(j,null):null}function U(){const{siteConfig:{favicon:e,title:t,noIndex:n},i18n:{currentLocale:a,localeConfigs:o}}=(0,h.Z)(),i=(0,g.Z)(e),{htmlLang:l,direction:s}=o[a];return r.createElement(m.Z,null,r.createElement("html",{lang:l,dir:s}),r.createElement("title",null,t),r.createElement("meta",{property:"og:title",content:t}),r.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),n&&r.createElement("meta",{name:"robots",content:"noindex, nofollow"}),e&&r.createElement("link",{rel:"icon",href:i}))}var $=n(4763);function q(){const e=(0,d.H)(u.Z),t=(0,c.TH)();return r.createElement($.Z,null,r.createElement(L.M,null,r.createElement(A.t,null,r.createElement(f,null,r.createElement(U,null),r.createElement(C,null),r.createElement(z,null),r.createElement(I,{location:_(t)},e)))))}var G=n(6887);const H=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();(document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode)?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Z=n(9670);const V=new Set,W=new Set,Y=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,K={prefetch(e){if(!(e=>!Y()&&!W.has(e)&&!V.has(e))(e))return!1;V.add(e);const t=(0,d.f)(u.Z,e).flatMap((e=>{return t=e.route.path,Object.entries(G).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Z.Z)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?H(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Y()&&!W.has(e))(e)&&(W.add(e),O(e))},Q=Object.freeze(K);if(l.Z.canUseDOM){window.docusaurus=Q;const e=a.hydrate;O(window.location.pathname).then((()=>{e(r.createElement(i.B6,null,r.createElement(o.VK,null,r.createElement(q,null))),document.getElementById("__docusaurus"))}))}},8940:(e,t,n)=>{"use strict";n.d(t,{_:()=>c,M:()=>d});var r=n(7294),a=n(6809);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"intro","docs":[{"id":"best-practices/naming-features","path":"/best-practices/naming-features","sidebar":"defaultSidebar"},{"id":"best-practices/stickiness-attributes","path":"/best-practices/stickiness-attributes","sidebar":"defaultSidebar"},{"id":"intro","path":"/","sidebar":"defaultSidebar"},{"id":"segmentation/attributes","path":"/segmentation/attributes","sidebar":"defaultSidebar"},{"id":"segmentation/feature-flag-segments","path":"/segmentation/feature-flag-segments","sidebar":"defaultSidebar"},{"id":"segmentation/feature-flag-versions","path":"/segmentation/feature-flag-versions","sidebar":"defaultSidebar"},{"id":"segmentation/segments","path":"/segmentation/segments","sidebar":"defaultSidebar"},{"id":"the-basics/applications","path":"/the-basics/applications","sidebar":"defaultSidebar"},{"id":"the-basics/environment-keys","path":"/the-basics/environment-keys","sidebar":"defaultSidebar"},{"id":"the-basics/environments","path":"/the-basics/environments","sidebar":"defaultSidebar"},{"id":"the-basics/feature-flags","path":"/the-basics/feature-flags","sidebar":"defaultSidebar"},{"id":"the-basics/feature-versions","path":"/the-basics/feature-versions","sidebar":"defaultSidebar"},{"id":"the-basics/features","path":"/the-basics/features","sidebar":"defaultSidebar"},{"id":"/category/the-basics","path":"/category/the-basics","sidebar":"defaultSidebar"},{"id":"/category/segmentation","path":"/category/segmentation","sidebar":"defaultSidebar"},{"id":"/category/best-practices","path":"/category/best-practices","sidebar":"defaultSidebar"}],"draftIds":[],"sidebars":{"defaultSidebar":{"link":{"path":"/","label":"intro"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var l=n(7529);const s=JSON.parse('{"docusaurusVersion":"2.2.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.2.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.2.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.2.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.2.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.2.0"},"docusaurus-theme-mermaid":{"type":"package","name":"@docusaurus/theme-mermaid","version":"2.2.0"}}}'),u={siteConfig:a.Z,siteMetadata:s,globalData:o,i18n:i,codeTranslations:l},c=r.createContext(u);function d(e){let{children:t}=e;return r.createElement(c.Provider,{value:u},t)}},4763:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(7294),a=n(412),o=n(5742),i=n(782);function l(e){let{error:t,tryAgain:n}=e;return r.createElement("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"50vh",width:"100%",fontSize:"20px"}},r.createElement("h1",null,"This page crashed."),r.createElement("p",null,t.message),r.createElement("button",{type:"button",onClick:n},"Try again"))}function s(e){let{error:t,tryAgain:n}=e;return r.createElement(c,{fallback:()=>r.createElement(l,{error:t,tryAgain:n})},r.createElement(o.Z,null,r.createElement("title",null,"Page Error")),r.createElement(i.Z,null,r.createElement(l,{error:t,tryAgain:n})))}const u=e=>r.createElement(s,e);class c extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.Z.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??u)(e)}return e??null}}},412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(405);function o(e){return r.createElement(a.ql,e)}},9960:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(7462),a=n(7294),o=n(3727),i=n(8780),l=n(2263),s=n(3919),u=n(412);const c=a.createContext({collectLink:()=>{}});var d=n(4996);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...v}=e;const{siteConfig:{trailingSlash:y,baseUrl:w}}=(0,l.Z)(),{withBaseUrl:k}=(0,d.C)(),E=(0,a.useContext)(c),S=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,(()=>S.current));const x=f||p;const C=(0,s.Z)(x),T=x?.replace("pathname://","");let _=void 0!==T?(A=T,b&&(e=>e.startsWith("/"))(A)?k(A):A):void 0;var A;_&&C&&(_=(0,i.applyTrailingSlash)(_,{trailingSlash:y,baseUrl:w}));const L=(0,a.useRef)(!1),R=n?o.OL:o.rU,N=u.Z.canUseIntersectionObserver,O=(0,a.useRef)(),P=()=>{L.current||null==_||(window.docusaurus.preload(_),L.current=!0)};(0,a.useEffect)((()=>(!N&&C&&null!=_&&window.docusaurus.prefetch(_),()=>{N&&O.current&&O.current.disconnect()})),[O,_,N,C]);const I=_?.startsWith("#")??!1,D=!_||!C||I;return D||g||E.collectLink(_),D?a.createElement("a",(0,r.Z)({ref:S,href:_},x&&!C&&{target:"_blank",rel:"noopener noreferrer"},v)):a.createElement(R,(0,r.Z)({},v,{onMouseEnter:P,onTouchStart:P,innerRef:e=>{S.current=e,N&&e&&C&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=_&&window.docusaurus.prefetch(_))}))})),O.current.observe(e))},to:_},n&&{isActive:h,activeClassName:m}))}const p=a.forwardRef(f)},5999:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s,I:()=>l});var r=n(7294);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var o=n(7529);function i(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return o[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return a(i({message:n,id:r}),t)}function s(e){let{children:t,id:n,values:o}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal <Translate> children",t),new Error("The Docusaurus <Translate> component only accept simple string values");const l=i({message:t,id:n});return r.createElement(r.Fragment,null,a(l,o))}},9935:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});const r="default"},3919:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{Z:()=>a,b:()=>r})},4996:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,Z:()=>i});var r=n(2263),a=n(3919);function o(){const{siteConfig:{baseUrl:e,url:t}}=(0,r.Z)();return{withBaseUrl:(n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.b)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const l=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+l:l}(t,e,n,r)}}function i(e,t){void 0===t&&(t={});const{withBaseUrl:n}=o();return n(e,t)}},2263:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8940);function o(){return(0,r.useContext)(a._)}},2389:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(8934);function o(){return(0,r.useContext)(a._)}},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});function r(e){const t={};return function e(n,r){Object.entries(n).forEach((n=>{let[a,o]=n;const i=r?`${r}.${a}`:a;var l;"object"==typeof(l=o)&&l&&Object.keys(l).length>0?e(o,i):t[i]=o}))}(e),t}},226:(e,t,n)=>{"use strict";n.d(t,{_:()=>a,z:()=>o});var r=n(7294);const a=r.createContext(null);function o(e){let{children:t,value:n}=e;const o=r.useContext(a),i=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:o,value:n})),[o,n]);return r.createElement(a.Provider,{value:i},t)}},143:(e,t,n)=>{"use strict";n.d(t,{Iw:()=>b,gA:()=>p,WS:()=>m,_r:()=>d,Jo:()=>v,zh:()=>f,yW:()=>g,gB:()=>h});var r=n(6550),a=n(2263),o=n(9935);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,a.Z)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const l=e=>e.versions.find((e=>e.isLast));function s(e,t){const n=l(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.LX)(t,{path:e.path,exact:!1,strict:!1})))}function u(e,t){const n=s(e,t),a=n?.docs.find((e=>!!(0,r.LX)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const c={},d=()=>i("docusaurus-plugin-content-docs")??c,f=e=>function(e,t,n){void 0===t&&(t=o.m),void 0===n&&(n={});const r=i(e)?.[t];if(!r&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return r}("docusaurus-plugin-content-docs",e,{failfast:!0});function p(e){void 0===e&&(e={});const t=d(),{pathname:n}=(0,r.TH)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.LX)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function m(e){void 0===e&&(e={});const t=p(e),{pathname:n}=(0,r.TH)();if(!t)return;return{activePlugin:t,activeVersion:s(t.pluginData,n)}}function h(e){return f(e).versions}function g(e){const t=f(e);return l(t)}function b(e){const t=f(e),{pathname:n}=(0,r.TH)();return u(t,n)}function v(e){const t=f(e),{pathname:n}=(0,r.TH)();return function(e,t){const n=l(e);return{latestDocSuggestion:u(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},8320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(4865),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},3310:(e,t,n)=>{"use strict";n.r(t);var r=n(7410),a=n(6809);!function(e){const{themeConfig:{prism:t}}=a.Z,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{n(6726)(`./prism-${e}`)})),delete globalThis.Prism}(r.Z)},9471:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294);const a="iconExternalLink_nPIU";function o(e){let{width:t=13.5,height:n=13.5}=e;return r.createElement("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:a},r.createElement("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"}))}},782:(e,t,n)=>{"use strict";n.d(t,{Z:()=>st});var r=n(7294),a=n(6010),o=n(4763),i=n(1944),l=n(5225),s=n(5281),u=n(9727);const c="skipToContent_fXgn";function d(){return r.createElement(l.l,{className:c})}var f=n(6668),p=n(9689),m=n(7462),h=n(5999);function g(e){let{width:t=21,height:n=21,color:a="currentColor",strokeWidth:o=1.2,className:i,...l}=e;return r.createElement("svg",(0,m.Z)({viewBox:"0 0 15 15",width:t,height:n},l),r.createElement("g",{stroke:a,strokeWidth:o},r.createElement("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})))}const b="closeButton_CVFx";function v(e){return r.createElement("button",(0,m.Z)({type:"button","aria-label":(0,h.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},e,{className:(0,a.Z)("clean-btn close",b,e.className)}),r.createElement(g,{width:14,height:14,strokeWidth:3.1}))}const y="content_knG7";function w(e){const{announcementBar:t}=(0,f.L)(),{content:n}=t;return r.createElement("div",(0,m.Z)({},e,{className:(0,a.Z)(y,e.className),dangerouslySetInnerHTML:{__html:n}}))}const k="announcementBar_mb4j",E="announcementBarPlaceholder_vyr4",S="announcementBarClose_gvF7",x="announcementBarContent_xLdY";function C(){const{announcementBar:e}=(0,f.L)(),{isActive:t,close:n}=(0,p.nT)();if(!t)return null;const{backgroundColor:a,textColor:o,isCloseable:i}=e;return r.createElement("div",{className:k,style:{backgroundColor:a,color:o},role:"banner"},i&&r.createElement("div",{className:E}),r.createElement(w,{className:x}),i&&r.createElement(v,{onClick:n,className:S}))}var T=n(2961),_=n(5936),A=n(2466);var L=n(902),R=n(3102);const N=r.createContext(null);function O(e){let{children:t}=e;const n=function(){const e=(0,T.e)(),t=(0,R.HY)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,L.D9)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return r.createElement(N.Provider,{value:n},t)}function P(e){if(e.component){const t=e.component;return r.createElement(t,e.props)}}function I(){const e=(0,r.useContext)(N);if(!e)throw new L.i6("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,R.HY)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:P(o)})),[a,o,t])}function D(e){let{header:t,primaryMenu:n,secondaryMenu:o}=e;const{shown:i}=I();return r.createElement("div",{className:"navbar-sidebar"},t,r.createElement("div",{className:(0,a.Z)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":i})},r.createElement("div",{className:"navbar-sidebar__item menu"},n),r.createElement("div",{className:"navbar-sidebar__item menu"},o)))}var M=n(2949),F=n(2389);function B(e){return r.createElement("svg",(0,m.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"}))}function j(e){return r.createElement("svg",(0,m.Z)({viewBox:"0 0 24 24",width:24,height:24},e),r.createElement("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"}))}const z={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function U(e){let{className:t,value:n,onChange:o}=e;const i=(0,F.Z)(),l=(0,h.I)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===n?(0,h.I)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,h.I)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return r.createElement("div",{className:(0,a.Z)(z.toggle,t)},r.createElement("button",{className:(0,a.Z)("clean-btn",z.toggleButton,!i&&z.toggleButtonDisabled),type:"button",onClick:()=>o("dark"===n?"light":"dark"),disabled:!i,title:l,"aria-label":l,"aria-live":"polite"},r.createElement(B,{className:(0,a.Z)(z.toggleIcon,z.lightToggleIcon)}),r.createElement(j,{className:(0,a.Z)(z.toggleIcon,z.darkToggleIcon)})))}const $=r.memo(U);function q(e){let{className:t}=e;const n=(0,f.L)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,M.I)();return n?null:r.createElement($,{className:t,value:a,onChange:o})}var G=n(1327);function H(){return r.createElement(G.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Z(){const e=(0,T.e)();return r.createElement("button",{type:"button","aria-label":(0,h.I)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle()},r.createElement(g,{color:"var(--ifm-color-emphasis-600)"}))}function V(){return r.createElement("div",{className:"navbar-sidebar__brand"},r.createElement(H,null),r.createElement(q,{className:"margin-right--md"}),r.createElement(Z,null))}var W=n(9960),Y=n(4996),K=n(3919),Q=n(8022),X=n(9471);function J(e){let{activeBasePath:t,activeBaseRegex:n,to:a,href:o,label:i,html:l,isDropdownLink:s,prependBaseUrlToHref:u,...c}=e;const d=(0,Y.Z)(a),f=(0,Y.Z)(t),p=(0,Y.Z)(o,{forcePrependBaseUrl:!0}),h=i&&o&&!(0,K.Z)(o),g=l?{dangerouslySetInnerHTML:{__html:l}}:{children:r.createElement(r.Fragment,null,i,h&&r.createElement(X.Z,s&&{width:12,height:12}))};return o?r.createElement(W.Z,(0,m.Z)({href:u?p:o},c,g)):r.createElement(W.Z,(0,m.Z)({to:d,isNavLink:!0},(t||n)&&{isActive:(e,t)=>n?(0,Q.F)(n,t.pathname):t.pathname.startsWith(f)},c,g))}function ee(e){let{className:t,isDropdownItem:n=!1,...o}=e;const i=r.createElement(J,(0,m.Z)({className:(0,a.Z)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n},o));return n?r.createElement("li",null,i):i}function te(e){let{className:t,isDropdownItem:n,...o}=e;return r.createElement("li",{className:"menu__list-item"},r.createElement(J,(0,m.Z)({className:(0,a.Z)("menu__link",t)},o)))}function ne(e){let{mobile:t=!1,position:n,...a}=e;const o=t?te:ee;return r.createElement(o,(0,m.Z)({},a,{activeClassName:a.activeClassName??(t?"menu__link--active":"navbar__link--active")}))}var re=n(6043),ae=n(8596),oe=n(6550),ie=n(2263);function le(e,t){return e.some((e=>function(e,t){return!!(0,ae.Mg)(e.to,t)||!!(0,Q.F)(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function se(e){let{items:t,position:n,className:o,onClick:i,...l}=e;const s=(0,r.useRef)(null),[u,c]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&c(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[s]),r.createElement("div",{ref:s,className:(0,a.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":u})},r.createElement(J,(0,m.Z)({"aria-haspopup":"true","aria-expanded":u,role:"button",href:l.to?void 0:"#",className:(0,a.Z)("navbar__link",o)},l,{onClick:l.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),c(!u))}}),l.children??l.label),r.createElement("ul",{className:"dropdown__menu"},t.map(((e,n)=>r.createElement(Ee,(0,m.Z)({isDropdownItem:!0,onKeyDown:e=>{if(n===t.length-1&&"Tab"===e.key){e.preventDefault(),c(!1);const t=s.current.nextElementSibling;if(t){(t instanceof HTMLAnchorElement?t:t.querySelector("a")).focus()}}},activeClassName:"dropdown__link--active"},e,{key:n}))))))}function ue(e){let{items:t,className:n,position:o,onClick:i,...l}=e;const s=function(){const{siteConfig:{baseUrl:e}}=(0,ie.Z)(),{pathname:t}=(0,oe.TH)();return t.replace(e,"/")}(),u=le(t,s),{collapsed:c,toggleCollapsed:d,setCollapsed:f}=(0,re.u)({initialState:()=>!u});return(0,r.useEffect)((()=>{u&&f(!u)}),[s,u,f]),r.createElement("li",{className:(0,a.Z)("menu__list-item",{"menu__list-item--collapsed":c})},r.createElement(J,(0,m.Z)({role:"button",className:(0,a.Z)("menu__link menu__link--sublist menu__link--sublist-caret",n)},l,{onClick:e=>{e.preventDefault(),d()}}),l.children??l.label),r.createElement(re.z,{lazy:!0,as:"ul",className:"menu__list",collapsed:c},t.map(((e,t)=>r.createElement(Ee,(0,m.Z)({mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active"},e,{key:t}))))))}function ce(e){let{mobile:t=!1,...n}=e;const a=t?ue:se;return r.createElement(a,n)}var de=n(4711);function fe(e){let{width:t=20,height:n=20,...a}=e;return r.createElement("svg",(0,m.Z)({viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0},a),r.createElement("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"}))}const pe="iconLanguage_nlXk";const me=()=>null,he="searchBox_ZlJk";function ge(e){let{children:t,className:n}=e;return r.createElement("div",{className:(0,a.Z)(n,he)},t)}var be=n(143),ve=n(3438);var ye=n(373);const we=e=>e.docs.find((t=>t.id===e.mainDocId));const ke={default:ne,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:a,...o}=e;const{i18n:{currentLocale:i,locales:l,localeConfigs:s}}=(0,ie.Z)(),u=(0,de.l)(),{search:c,hash:d}=(0,oe.TH)(),f=[...n,...l.map((e=>{const n=`${`pathname://${u.createUrl({locale:e,fullyQualified:!1})}`}${c}${d}`;return{label:s[e].label,lang:s[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...a],p=t?(0,h.I)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):s[i].label;return r.createElement(ce,(0,m.Z)({},o,{mobile:t,label:r.createElement(r.Fragment,null,r.createElement(fe,{className:pe}),p),items:f}))},search:function(e){let{mobile:t,className:n}=e;return t?null:r.createElement(ge,{className:n},r.createElement(me,null))},dropdown:ce,html:function(e){let{value:t,className:n,mobile:o=!1,isDropdownItem:i=!1}=e;const l=i?"li":"div";return r.createElement(l,{className:(0,a.Z)({navbar__item:!o&&!i,"menu__list-item":o},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,be.Iw)(a),l=(0,ve.vY)(t,a);return null===l?null:r.createElement(ne,(0,m.Z)({exact:!0},o,{isActive:()=>i?.path===l.path||!!i?.sidebar&&i.sidebar===l.sidebar,label:n??l.id,to:l.path}))},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:a,...o}=e;const{activeDoc:i}=(0,be.Iw)(a),l=(0,ve.oz)(t,a).link;if(!l)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return r.createElement(ne,(0,m.Z)({exact:!0},o,{isActive:()=>i?.sidebar===t,label:n??l.label,to:l.path}))},docsVersion:function(e){let{label:t,to:n,docsPluginId:a,...o}=e;const i=(0,ve.lO)(a)[0],l=t??i.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(i).path;return r.createElement(ne,(0,m.Z)({},o,{label:l,to:s}))},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:a,dropdownItemsBefore:o,dropdownItemsAfter:i,...l}=e;const{search:s,hash:u}=(0,oe.TH)(),c=(0,be.Iw)(n),d=(0,be.gB)(n),{savePreferredVersionName:f}=(0,ye.J)(n),p=[...o,...d.map((e=>{const t=c.alternateDocVersions[e.name]??we(e);return{label:e.label,to:`${t.path}${s}${u}`,isActive:()=>e===c.activeVersion,onClick:()=>f(e.name)}})),...i],g=(0,ve.lO)(n)[0],b=t&&p.length>1?(0,h.I)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,v=t&&p.length>1?void 0:we(g).path;return p.length<=1?r.createElement(ne,(0,m.Z)({},l,{mobile:t,label:b,to:v,isActive:a?()=>!1:void 0})):r.createElement(ce,(0,m.Z)({},l,{mobile:t,label:b,to:v,items:p,isActive:a?()=>!1:void 0}))}};function Ee(e){let{type:t,...n}=e;const a=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=ke[a];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return r.createElement(o,n)}function Se(){const e=(0,T.e)(),t=(0,f.L)().navbar.items;return r.createElement("ul",{className:"menu__list"},t.map(((t,n)=>r.createElement(Ee,(0,m.Z)({mobile:!0},t,{onClick:()=>e.toggle(),key:n})))))}function xe(e){return r.createElement("button",(0,m.Z)({},e,{type:"button",className:"clean-btn navbar-sidebar__back"}),r.createElement(h.Z,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"},"\u2190 Back to main menu"))}function Ce(){const e=0===(0,f.L)().navbar.items.length,t=I();return r.createElement(r.Fragment,null,!e&&r.createElement(xe,{onClick:()=>t.hide()}),t.content)}function Te(){const e=(0,T.e)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?r.createElement(D,{header:r.createElement(V,null),primaryMenu:r.createElement(Se,null),secondaryMenu:r.createElement(Ce,null)}):null}const _e="navbarHideable_m1mJ",Ae="navbarHidden_jGov";function Le(e){return r.createElement("div",(0,m.Z)({role:"presentation"},e,{className:(0,a.Z)("navbar-sidebar__backdrop",e.className)}))}function Re(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,f.L)(),i=(0,T.e)(),{navbarRef:l,isNavbarVisible:s}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,A.RF)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i<o.current)return void n(!0);if(a.current)return void(a.current=!1);const l=r?.scrollY,s=document.documentElement.scrollHeight-o.current,u=window.innerHeight;l&&i>=l?n(!1):i+u<s&&n(!0)})),(0,_.S)((t=>{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return r.createElement("nav",{ref:l,className:(0,a.Z)("navbar","navbar--fixed-top",n&&[_e,!s&&Ae],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown})},t,r.createElement(Le,{onClick:i.toggle}),r.createElement(Te,null))}function Ne(e){let{width:t=30,height:n=30,className:a,...o}=e;return r.createElement("svg",(0,m.Z)({className:a,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true"},o),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}function Oe(){const{toggle:e,shown:t}=(0,T.e)();return r.createElement("button",{onClick:e,"aria-label":(0,h.I)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button"},r.createElement(Ne,null))}const Pe="colorModeToggle_DEke";function Ie(e){let{items:t}=e;return r.createElement(r.Fragment,null,t.map(((e,t)=>r.createElement(Ee,(0,m.Z)({},e,{key:t})))))}function De(e){let{left:t,right:n}=e;return r.createElement("div",{className:"navbar__inner"},r.createElement("div",{className:"navbar__items"},t),r.createElement("div",{className:"navbar__items navbar__items--right"},n))}function Me(){const e=(0,T.e)(),t=(0,f.L)().navbar.items,[n,a]=function(e){function t(e){return"left"===(e.position??"right")}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return r.createElement(De,{left:r.createElement(r.Fragment,null,!e.disabled&&r.createElement(Oe,null),r.createElement(H,null),r.createElement(Ie,{items:n})),right:r.createElement(r.Fragment,null,r.createElement(Ie,{items:a}),r.createElement(q,{className:Pe}),!o&&r.createElement(ge,null,r.createElement(me,null)))})}function Fe(){return r.createElement(Re,null,r.createElement(Me,null))}var Be=n(2489);function je(e){let{item:t}=e;const{to:n,href:a,label:o,prependBaseUrlToHref:i,...l}=t,s=(0,Y.Z)(n),u=(0,Y.Z)(a,{forcePrependBaseUrl:!0});return r.createElement(W.Z,(0,m.Z)({className:"footer__link-item"},a?{href:i?u:a}:{to:s},l),o,a&&!(0,K.Z)(a)&&r.createElement(X.Z,null))}function ze(e){let{item:t}=e;return t.html?r.createElement("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement("li",{key:t.href??t.to,className:"footer__item"},r.createElement(je,{item:t}))}function Ue(e){let{column:t}=e;return r.createElement("div",{className:"col footer__col"},r.createElement("div",{className:"footer__title"},t.title),r.createElement("ul",{className:"footer__items clean-list"},t.items.map(((e,t)=>r.createElement(ze,{key:t,item:e})))))}function $e(e){let{columns:t}=e;return r.createElement("div",{className:"row footer__links"},t.map(((e,t)=>r.createElement(Ue,{key:t,column:e}))))}function qe(){return r.createElement("span",{className:"footer__link-separator"},"\xb7")}function Ge(e){let{item:t}=e;return t.html?r.createElement("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):r.createElement(je,{item:t})}function He(e){let{links:t}=e;return r.createElement("div",{className:"footer__links text--center"},r.createElement("div",{className:"footer__links"},t.map(((e,n)=>r.createElement(r.Fragment,{key:n},r.createElement(Ge,{item:e}),t.length!==n+1&&r.createElement(qe,null))))))}function Ze(e){let{links:t}=e;return(0,Be.a)(t)?r.createElement($e,{columns:t}):r.createElement(He,{links:t})}var Ve=n(941);const We="footerLogoLink_BH7S";function Ye(e){let{logo:t}=e;const{withBaseUrl:n}=(0,Y.C)(),o={light:n(t.src),dark:n(t.srcDark??t.src)};return r.createElement(Ve.Z,{className:(0,a.Z)("footer__logo",t.className),alt:t.alt,sources:o,width:t.width,height:t.height,style:t.style})}function Ke(e){let{logo:t}=e;return t.href?r.createElement(W.Z,{href:t.href,className:We,target:t.target},r.createElement(Ye,{logo:t})):r.createElement(Ye,{logo:t})}function Qe(e){let{copyright:t}=e;return r.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function Xe(e){let{style:t,links:n,logo:o,copyright:i}=e;return r.createElement("footer",{className:(0,a.Z)("footer",{"footer--dark":"dark"===t})},r.createElement("div",{className:"container container-fluid"},n,(o||i)&&r.createElement("div",{className:"footer__bottom text--center"},o&&r.createElement("div",{className:"margin-bottom--sm"},o),i)))}function Je(){const{footer:e}=(0,f.L)();if(!e)return null;const{copyright:t,links:n,logo:a,style:o}=e;return r.createElement(Xe,{style:o,links:n&&n.length>0&&r.createElement(Ze,{links:n}),logo:a&&r.createElement(Ke,{logo:a}),copyright:t&&r.createElement(Qe,{copyright:t})})}const et=r.memo(Je);var tt=n(12);const nt="docusaurus.tab.",rt=r.createContext(void 0);const at=(0,L.Qc)([M.S,p.pl,function(e){let{children:t}=e;const n=function(){const[e,t]=(0,r.useState)({}),n=(0,r.useCallback)(((e,t)=>{(0,tt.W)(`${nt}${e}`).set(t)}),[]);(0,r.useEffect)((()=>{try{const e={};(0,tt._)().forEach((t=>{if(t.startsWith(nt)){const n=t.substring(nt.length);e[n]=(0,tt.W)(t).get()}})),t(e)}catch(e){console.error(e)}}),[]);const a=(0,r.useCallback)(((e,r)=>{t((t=>({...t,[e]:r}))),n(e,r)}),[n]);return(0,r.useMemo)((()=>({tabGroupChoices:e,setTabGroupChoices:a})),[e,a])}();return r.createElement(rt.Provider,{value:n},t)},A.OC,ye.L5,i.VC,function(e){let{children:t}=e;return r.createElement(R.n2,null,r.createElement(T.M,null,r.createElement(O,null,t)))}]);function ot(e){let{children:t}=e;return r.createElement(at,null,t)}function it(e){let{error:t,tryAgain:n}=e;return r.createElement("main",{className:"container margin-vert--xl"},r.createElement("div",{className:"row"},r.createElement("div",{className:"col col--6 col--offset-3"},r.createElement("h1",{className:"hero__title"},r.createElement(h.Z,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed"},"This page crashed.")),r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},r.createElement(h.Z,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again when the page crashed"},"Try again"))))))}const lt="mainWrapper_z2l0";function st(e){const{children:t,noFooter:n,wrapperClassName:c,title:f,description:p}=e;return(0,u.t)(),r.createElement(ot,null,r.createElement(i.d,{title:f,description:p}),r.createElement(d,null),r.createElement(C,null),r.createElement(Fe,null),r.createElement("div",{id:l.u,className:(0,a.Z)(s.k.wrapper.main,lt,c)},r.createElement(o.Z,{fallback:e=>r.createElement(it,e)},t)),!n&&r.createElement(et,null))}},1327:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var r=n(7462),a=n(7294),o=n(9960),i=n(4996),l=n(2263),s=n(6668),u=n(941);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const o={light:(0,i.Z)(t.src),dark:(0,i.Z)(t.srcDark||t.src)},l=a.createElement(u.Z,{className:t.className,sources:o,height:t.height,width:t.width,alt:n,style:t.style});return r?a.createElement("div",{className:r},l):l}function d(e){const{siteConfig:{title:t}}=(0,l.Z)(),{navbar:{title:n,logo:u}}=(0,s.L)(),{imageClassName:d,titleClassName:f,...p}=e,m=(0,i.Z)(u?.href||"/"),h=n?"":t,g=u?.alt??h;return a.createElement(o.Z,(0,r.Z)({to:m},p,u?.target&&{target:u.target}),u&&a.createElement(c,{logo:u,alt:g,imageClassName:d}),null!=n&&a.createElement("b",{className:f},n))}},197:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(7294),a=n(5742);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return r.createElement(a.Z,null,t&&r.createElement("meta",{name:"docusaurus_locale",content:t}),n&&r.createElement("meta",{name:"docusaurus_version",content:n}),o&&r.createElement("meta",{name:"docusaurus_tag",content:o}),i&&r.createElement("meta",{name:"docsearch:language",content:i}),n&&r.createElement("meta",{name:"docsearch:version",content:n}),o&&r.createElement("meta",{name:"docsearch:docusaurus_tag",content:o}))}},941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(7462),a=n(7294),o=n(6010),i=n(2389),l=n(2949);const s={themedImage:"themedImage_ToTc","themedImage--light":"themedImage--light_HNdA","themedImage--dark":"themedImage--dark_i4oU"};function u(e){const t=(0,i.Z)(),{colorMode:n}=(0,l.I)(),{sources:u,className:c,alt:d,...f}=e,p=t?"dark"===n?["dark"]:["light"]:["light","dark"];return a.createElement(a.Fragment,null,p.map((e=>a.createElement("img",(0,r.Z)({key:e,src:u[e],alt:d,className:(0,o.Z)(s.themedImage,s[`themedImage--${e}`],c)},f)))))}},6043:(e,t,n)=>{"use strict";n.d(t,{u:()=>i,z:()=>m});var r=n(7462),a=n(7294),o=n(412);function i(e){let{initialState:t}=e;const[n,r]=(0,a.useState)(t??!1),o=(0,a.useCallback)((()=>{r((e=>!e))}),[]);return{collapsed:n,setCollapsed:r,toggleCollapsed:o}}const l={display:"none",overflow:"hidden",height:"0px"},s={display:"block",overflow:"visible",height:"auto"};function u(e,t){const n=t?l:s;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function c(e){let{collapsibleRef:t,collapsed:n,animation:r}=e;const o=(0,a.useRef)(!1);(0,a.useEffect)((()=>{const e=t.current;function a(){const t=e.scrollHeight,n=r?.duration??function(e){const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${r?.easing??"ease-in-out"}`,height:`${t}px`}}function i(){const t=a();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return u(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(i(),requestAnimationFrame((()=>{e.style.height=l.height,e.style.overflow=l.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{i()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,r])}function d(e){if(!o.Z.canUseDOM)return e?l:s}function f(e){let{as:t="div",collapsed:n,children:r,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:s}=e;const f=(0,a.useRef)(null);return c({collapsibleRef:f,collapsed:n,animation:o}),a.createElement(t,{ref:f,style:s?void 0:d(n),onTransitionEnd:e=>{"height"===e.propertyName&&(u(f.current,n),i?.(n))},className:l},r)}function p(e){let{collapsed:t,...n}=e;const[o,i]=(0,a.useState)(!t),[l,s]=(0,a.useState)(t);return(0,a.useLayoutEffect)((()=>{t||i(!0)}),[t]),(0,a.useLayoutEffect)((()=>{o&&s(t)}),[o,t]),o?a.createElement(f,(0,r.Z)({},n,{collapsed:l})):null}function m(e){let{lazy:t,...n}=e;const r=t?p:f;return a.createElement(r,n)}},9689:(e,t,n)=>{"use strict";n.d(t,{nT:()=>m,pl:()=>p});var r=n(7294),a=n(2389),o=n(12),i=n(902),l=n(6668);const s=(0,o.W)("docusaurus.announcement.dismiss"),u=(0,o.W)("docusaurus.announcement.id"),c=()=>"true"===s.get(),d=e=>s.set(String(e)),f=r.createContext(null);function p(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,l.L)(),t=(0,a.Z)(),[n,o]=(0,r.useState)((()=>!!t&&c()));(0,r.useEffect)((()=>{o(c())}),[]);const i=(0,r.useCallback)((()=>{d(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&d(!1),!r&&c()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return r.createElement(f.Provider,{value:n},t)}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.i6("AnnouncementBarProvider");return e}},2949:(e,t,n)=>{"use strict";n.d(t,{I:()=>g,S:()=>h});var r=n(7294),a=n(412),o=n(902),i=n(12),l=n(6668);const s=r.createContext(void 0),u="theme",c=(0,i.W)(u),d="light",f="dark",p=e=>e===f?f:d;function m(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,l.L)(),[o,i]=(0,r.useState)((e=>a.Z.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e))(e));(0,r.useEffect)((()=>{t&&c.del()}),[t]);const s=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(i(t),a&&(e=>{c.set(p(e))})(t)):(i(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f:d:e),c.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=c.get();null!==t&&s(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,s]);const m=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||m.current?m.current=window.matchMedia("print").matches:s(null)};return e.addListener(r),()=>e.removeListener(r)}),[s,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:s,get isDarkTheme(){return o===f},setLightTheme(){s(d)},setDarkTheme(){s(f)}})),[o,s])}function h(e){let{children:t}=e;const n=m();return r.createElement(s.Provider,{value:n},t)}function g(){const e=(0,r.useContext)(s);if(null==e)throw new o.i6("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},373:(e,t,n)=>{"use strict";n.d(t,{J:()=>y,L5:()=>b,Oh:()=>w});var r=n(7294),a=n(143),o=n(9935),i=n(6668),l=n(3438),s=n(902),u=n(12);const c=e=>`docs-preferred-version-${e}`,d=(e,t,n)=>{(0,u.W)(c(e),{persistence:t}).set(n)},f=(e,t)=>(0,u.W)(c(e),{persistence:t}).get(),p=(e,t)=>{(0,u.W)(c(e),{persistence:t}).del()};const m=r.createContext(null);function h(){const e=(0,a._r)(),t=(0,i.L)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,l]=(0,r.useState)((()=>(e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}]))))(n)));(0,r.useEffect)((()=>{l(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=f(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){d(e,t,n),l((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=h();return r.createElement(m.Provider,{value:n},t)}function b(e){let{children:t}=e;return l.cE?r.createElement(g,null,t):r.createElement(r.Fragment,null,t)}function v(){const e=(0,r.useContext)(m);if(!e)throw new s.i6("DocsPreferredVersionContextProvider");return e}function y(e){void 0===e&&(e=o.m);const t=(0,a.zh)(e),[n,i]=v(),{preferredVersionName:l}=n[e];return{preferredVersion:t.versions.find((e=>e.name===l))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}function w(){const e=(0,a._r)(),[t]=v();function n(n){const r=e[n],{preferredVersionName:a}=t[n];return r.versions.find((e=>e.name===a))??null}const r=Object.keys(e);return Object.fromEntries(r.map((e=>[e,n(e)])))}},1116:(e,t,n)=>{"use strict";n.d(t,{V:()=>s,b:()=>l});var r=n(7294),a=n(902);const o=Symbol("EmptyContext"),i=r.createContext(o);function l(e){let{children:t,name:n,items:a}=e;const o=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return r.createElement(i.Provider,{value:o},t)}function s(){const e=(0,r.useContext)(i);if(e===o)throw new a.i6("DocsSidebarProvider");return e}},4477:(e,t,n)=>{"use strict";n.d(t,{E:()=>l,q:()=>i});var r=n(7294),a=n(902);const o=r.createContext(null);function i(e){let{children:t,version:n}=e;return r.createElement(o.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(o);if(null===e)throw new a.i6("DocsVersionProvider");return e}},2961:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(7294),a=n(3102),o=n(7524),i=n(6550),l=n(902);function s(e){!function(e){const t=(0,i.k6)(),n=(0,l.zX)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var u=n(6668);const c=r.createContext(void 0);function d(){const e=function(){const e=(0,a.HY)(),{items:t}=(0,u.L)().navbar;return 0===t.length&&!e.component}(),t=(0,o.i)(),n=!e&&"mobile"===t,[i,l]=(0,r.useState)(!1);s((()=>{if(i)return l(!1),!1}));const c=(0,r.useCallback)((()=>{l((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&l(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:c,shown:i})),[e,n,c,i])}function f(e){let{children:t}=e;const n=d();return r.createElement(c.Provider,{value:n},t)}function p(){const e=r.useContext(c);if(void 0===e)throw new l.i6("NavbarMobileSidebarProvider");return e}},3102:(e,t,n)=>{"use strict";n.d(t,{HY:()=>l,Zo:()=>s,n2:()=>i});var r=n(7294),a=n(902);const o=r.createContext(null);function i(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return r.createElement(o.Provider,{value:n},t)}function l(){const e=(0,r.useContext)(o);if(!e)throw new a.i6("NavbarSecondaryMenuContentProvider");return e[0]}function s(e){let{component:t,props:n}=e;const i=(0,r.useContext)(o);if(!i)throw new a.i6("NavbarSecondaryMenuContentProvider");const[,l]=i,s=(0,a.Ql)(n);return(0,r.useEffect)((()=>{l({component:t,props:s})}),[l,t,s]),(0,r.useEffect)((()=>()=>l({component:null,props:null})),[l]),null}},9727:(e,t,n)=>{"use strict";n.d(t,{h:()=>a,t:()=>o});var r=n(7294);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},7524:(e,t,n)=>{"use strict";n.d(t,{i:()=>u});var r=n(7294),a=n(412);const o="desktop",i="mobile",l="ssr";function s(){return a.Z.canUseDOM?window.innerWidth>996?o:i:l}function u(){const[e,t]=(0,r.useState)((()=>s()));return(0,r.useEffect)((()=>{function e(){t(s())}return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(undefined)}}),[]),e}},5281:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3438:(e,t,n)=>{"use strict";n.d(t,{MN:()=>x,Wl:()=>m,_F:()=>b,cE:()=>f,hI:()=>S,jA:()=>h,lO:()=>w,oz:()=>k,s1:()=>y,vY:()=>E,xz:()=>p});var r=n(7294),a=n(6550),o=n(8790),i=n(143),l=n(373),s=n(4477),u=n(1116),c=n(7392),d=n(8596);const f=!!i._r;function p(e){const t=(0,s.E)();if(!e)return;const n=t.docs[e];if(!n)throw new Error(`no version doc found by id=${e}`);return n}function m(e){if(e.href)return e.href;for(const t of e.items){if("link"===t.type)return t.href;if("category"===t.type){const e=m(t);if(e)return e}}}function h(){const{pathname:e}=(0,a.TH)(),t=(0,u.V)();if(!t)throw new Error("Unexpected: cant find current sidebar in context");const n=v({sidebarItems:t.items,pathname:e,onlyCategories:!0}).slice(-1)[0];if(!n)throw new Error(`${e} is not associated with a category. useCurrentSidebarCategory() should only be used on category index pages.`);return n}const g=(e,t)=>void 0!==e&&(0,d.Mg)(e,t);function b(e,t){return"link"===e.type?g(e.href,t):"category"===e.type&&(g(e.href,t)||((e,t)=>e.some((e=>b(e,t))))(e.items,t))}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.Mg)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.Mg)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function y(){const e=(0,u.V)(),{pathname:t}=(0,a.TH)(),n=(0,i.gA)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function w(e){const{activeVersion:t}=(0,i.Iw)(e),{preferredVersion:n}=(0,l.J)(e),a=(0,i.yW)(e);return(0,r.useMemo)((()=>(0,c.j)([t,n,a].filter(Boolean))),[t,n,a])}function k(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\n Available sidebar ids are:\n - ${Object.keys(t).join("\n- ")}`);return r[1]}),[e,n])}function E(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`DocNavbarItem: couldn't find any doc with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,c.j)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function S(e){let{route:t,versionMetadata:n}=e;const r=(0,a.TH)(),i=t.routes,l=i.find((e=>(0,a.LX)(r.pathname,e)));if(!l)return null;const s=l.sidebar,u=s?n.docsSidebars[s]:void 0;return{docElement:(0,o.H)(i),sidebarName:s,sidebarItems:u}}function x(e){return e.filter((e=>"category"!==e.type||!!m(e)))}},2489:(e,t,n)=>{"use strict";function r(e){return"title"in e[0]}n.d(t,{a:()=>r})},7392:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function a(e){return Array.from(new Set(e))}n.d(t,{j:()=>a,l:()=>r})},1944:(e,t,n)=>{"use strict";n.d(t,{FG:()=>f,d:()=>c,VC:()=>p});var r=n(7294),a=n(6010),o=n(5742),i=n(226);function l(){const e=r.useContext(i._);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var s=n(4996),u=n(2263);function c(e){let{title:t,description:n,keywords:a,image:i,children:l}=e;const c=function(e){const{siteConfig:t}=(0,u.Z)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.C)(),f=i?d(i,{absolute:!0}):void 0;return r.createElement(o.Z,null,t&&r.createElement("title",null,c),t&&r.createElement("meta",{property:"og:title",content:c}),n&&r.createElement("meta",{name:"description",content:n}),n&&r.createElement("meta",{property:"og:description",content:n}),a&&r.createElement("meta",{name:"keywords",content:Array.isArray(a)?a.join(","):a}),f&&r.createElement("meta",{property:"og:image",content:f}),f&&r.createElement("meta",{name:"twitter:image",content:f}),l)}const d=r.createContext(void 0);function f(e){let{className:t,children:n}=e;const i=r.useContext(d),l=(0,a.Z)(i,t);return r.createElement(d.Provider,{value:l},r.createElement(o.Z,null,r.createElement("html",{className:l})),n)}function p(e){let{children:t}=e;const n=l(),o=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const i=`plugin-id-${n.plugin.id}`;return r.createElement(f,{className:(0,a.Z)(o,i)},t)}},902:(e,t,n)=>{"use strict";n.d(t,{D9:()=>i,LI:()=>a,Qc:()=>u,Ql:()=>s,i6:()=>l,zX:()=>o});var r=n(7294);const a=n(412).Z.canUseDOM?r.useLayoutEffect:r.useEffect;function o(e){const t=(0,r.useRef)(e);return a((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function i(e){const t=(0,r.useRef)();return a((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?<name>\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function s(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return r.createElement(r.Fragment,null,e.reduceRight(((e,t)=>r.createElement(t,null,e)),n))}}},8022:(e,t,n)=>{"use strict";function r(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}n.d(t,{F:()=>r})},8596:(e,t,n)=>{"use strict";n.d(t,{Mg:()=>i,Ns:()=>l});var r=n(7294),a=n(723),o=n(2263);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function l(){const{baseUrl:e}=(0,o.Z)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.Z,baseUrl:e})),[e])}},2466:(e,t,n)=>{"use strict";n.d(t,{Ct:()=>f,OC:()=>s,RF:()=>d});var r=n(7294),a=n(412),o=n(2389),i=n(902);const l=r.createContext(void 0);function s(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return r.createElement(l.Provider,{value:n},t)}function u(){const e=(0,r.useContext)(l);if(null==e)throw new i.i6("ScrollControllerProvider");return e}const c=()=>a.Z.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function d(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),a=(0,r.useRef)(c()),o=(0,i.zX)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=c();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function f(){const e=(0,r.useRef)(null),t=(0,o.Z)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&a<e)&&(t=requestAnimationFrame(r),window.scrollTo(0,Math.floor(.85*(a-e))+e))}(),()=>t&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},3320:(e,t,n)=>{"use strict";n.d(t,{HX:()=>i,_q:()=>s,os:()=>l});var r=n(143),a=n(2263),o=n(373);const i="default";function l(e,t){return`docs-${e}-${t}`}function s(){const{i18n:e}=(0,a.Z)(),t=(0,r._r)(),n=(0,r.WS)(),s=(0,o.Oh)();const u=[i,...Object.keys(t).map((function(e){const r=n?.activePlugin.pluginId===e?n.activeVersion:void 0,a=s[e],o=t[e].versions.find((e=>e.isLast));return l(e,(r??a??o).name)}))];return{locale:e.currentLocale,tags:u}}},5225:(e,t,n)=>{"use strict";n.d(t,{l:()=>f,u:()=>s});var r=n(7462),a=n(7294),o=n(6550),i=n(5999),l=n(5936);const s="docusaurus_skipToContent_fallback";function u(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function c(){const e=(0,a.useRef)(null),{action:t}=(0,o.k6)(),n=(0,a.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(s);t&&u(t)}),[]);return(0,l.S)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&u(e.current)})),{containerRef:e,onClick:n}}const d=(0,i.I)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function f(e){const t=e.children??d,{containerRef:n,onClick:o}=c();return a.createElement("div",{ref:n,role:"region","aria-label":d},a.createElement("a",(0,r.Z)({},e,{href:`#${s}`,onClick:o}),t))}},12:(e,t,n)=>{"use strict";n.d(t,{W:()=>l,_:()=>s});const r="localStorage";function a(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,o||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),o=!0),null}var t}let o=!1;const i={get:()=>null,set:()=>{},del:()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t}}(e);const n=a(t?.persistence);return null===n?i:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{n.setItem(e,t)}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{n.removeItem(e)}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}}}}function s(e){void 0===e&&(e=r);const t=a(e);if(!t)return[];const n=[];for(let r=0;r<t.length;r+=1){const e=t.key(r);null!==e&&n.push(e)}return n}},4711:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(2263),a=n(6550);function o(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:n,currentLocale:o}}=(0,r.Z)(),{pathname:i}=(0,a.TH)(),l=o===n?e:e.replace(`/${o}/`,"/"),s=i.replace(e,"");return{createUrl:function(e){let{locale:r,fullyQualified:a}=e;return`${a?t:""}${function(e){return e===n?`${l}`:`${l}${e}/`}(r)}${s}`}}}},5936:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(7294),a=n(6550),o=n(902);function i(e){const t=(0,a.TH)(),n=(0,o.D9)(t),i=(0,o.zX)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6668:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var r=n(2263);function a(){return(0,r.Z)().siteConfig.themeConfig}},8802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},8780:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="post-content";var a=n(8802);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}})},6010:(e,t,n)=>{"use strict";function r(e){var t,n,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(a&&(a+=" "),a+=n);else for(t in e)e[t]&&(a&&(a+=" "),a+=t);return a}n.d(t,{Z:()=>a});const a=function(){for(var e,t,n=0,a="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(a&&(a+=" "),a+=t);return a}},9318:(e,t,n)=>{"use strict";n.d(t,{lX:()=>w,q_:()=>T,ob:()=>p,PP:()=>A,Ep:()=>f});var r=n(7462);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const i=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],l=e&&a(e),s=t&&a(t),u=l||s;if(e&&a(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var c=i[i.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=i.length;f>=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};var l=n(8776);function s(e){return"/"===e.charAt(0)?e:"/"+e}function u(e){return"/"===e.charAt(0)?e.substr(1):e}function c(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var h=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var b="popstate",v="hashchange";function y(){try{return window.history.state||{}}catch(e){return{}}}function w(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t,n=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,u=i.forceRefresh,w=void 0!==u&&u,k=i.getUserConfirmation,E=void 0===k?g:k,S=i.keyLength,x=void 0===S?6:S,C=e.basename?d(s(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return C&&(o=c(o,C)),p(o,r,n)}function _(){return Math.random().toString(36).substr(2,x)}var A=m();function L(e){(0,r.Z)(U,e),U.length=n.length,A.notifyListeners(U.location,U.action)}function R(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||P(T(e.state))}function N(){P(T(y()))}var O=!1;function P(e){if(O)O=!1,L();else{A.confirmTransitionTo(e,"POP",E,(function(t){t?L({action:"POP",location:e}):function(e){var t=U.location,n=D.indexOf(t.key);-1===n&&(n=0);var r=D.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(O=!0,F(a))}(e)}))}}var I=T(y()),D=[I.key];function M(e){return C+f(e)}function F(e){n.go(e)}var B=0;function j(e){1===(B+=e)&&1===e?(window.addEventListener(b,R),o&&window.addEventListener(v,N)):0===B&&(window.removeEventListener(b,R),o&&window.removeEventListener(v,N))}var z=!1;var U={length:n.length,action:"POP",location:I,createHref:M,push:function(e,t){var r="PUSH",o=p(e,t,_(),U.location);A.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.pushState({key:i,state:l},null,t),w)window.location.href=t;else{var s=D.indexOf(U.location.key),u=D.slice(0,s+1);u.push(o.key),D=u,L({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=p(e,t,_(),U.location);A.confirmTransitionTo(o,r,E,(function(e){if(e){var t=M(o),i=o.key,l=o.state;if(a)if(n.replaceState({key:i,state:l},null,t),w)window.location.replace(t);else{var s=D.indexOf(U.location.key);-1!==s&&(D[s]=o.key),L({action:r,location:o})}else window.location.replace(t)}}))},go:F,goBack:function(){F(-1)},goForward:function(){F(1)},block:function(e){void 0===e&&(e=!1);var t=A.setPrompt(e);return z||(j(1),z=!0),function(){return z&&(z=!1,j(-1)),t()}},listen:function(e){var t=A.appendListener(e);return j(1),function(){j(-1),t()}}};return U}var k="hashchange",E={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+u(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:u,decodePath:s},slash:{encodePath:s,decodePath:s}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function x(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function C(e){window.location.replace(S(window.location.href)+"#"+e)}function T(e){void 0===e&&(e={}),h||(0,l.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),a=n.getUserConfirmation,o=void 0===a?g:a,i=n.hashType,u=void 0===i?"slash":i,b=e.basename?d(s(e.basename)):"",v=E[u],y=v.encodePath,w=v.decodePath;function T(){var e=w(x());return b&&(e=c(e,b)),p(e)}var _=m();function A(e){(0,r.Z)(z,e),z.length=t.length,_.notifyListeners(z.location,z.action)}var L=!1,R=null;function N(){var e,t,n=x(),r=y(n);if(n!==r)C(r);else{var a=T(),i=z.location;if(!L&&(t=a,(e=i).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(R===f(a))return;R=null,function(e){if(L)L=!1,A();else{var t="POP";_.confirmTransitionTo(e,t,o,(function(n){n?A({action:t,location:e}):function(e){var t=z.location,n=D.lastIndexOf(f(t));-1===n&&(n=0);var r=D.lastIndexOf(f(e));-1===r&&(r=0);var a=n-r;a&&(L=!0,M(a))}(e)}))}}(a)}}var O=x(),P=y(O);O!==P&&C(P);var I=T(),D=[f(I)];function M(e){t.go(e)}var F=0;function B(e){1===(F+=e)&&1===e?window.addEventListener(k,N):0===F&&window.removeEventListener(k,N)}var j=!1;var z={length:t.length,action:"POP",location:I,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+y(b+f(e))},push:function(e,t){var n="PUSH",r=p(e,void 0,void 0,z.location);_.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(b+t);if(x()!==a){R=t,function(e){window.location.hash=e}(a);var o=D.lastIndexOf(f(z.location)),i=D.slice(0,o+1);i.push(t),D=i,A({action:n,location:r})}else A()}}))},replace:function(e,t){var n="REPLACE",r=p(e,void 0,void 0,z.location);_.confirmTransitionTo(r,n,o,(function(e){if(e){var t=f(r),a=y(b+t);x()!==a&&(R=t,C(a));var o=D.indexOf(f(z.location));-1!==o&&(D[o]=t),A({action:n,location:r})}}))},go:M,goBack:function(){M(-1)},goForward:function(){M(1)},block:function(e){void 0===e&&(e=!1);var t=_.setPrompt(e);return j||(B(1),j=!0),function(){return j&&(j=!1,B(-1)),t()}},listen:function(e){var t=_.appendListener(e);return B(1),function(){B(-1),t()}}};return z}function _(e,t,n){return Math.min(Math.max(e,t),n)}function A(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,a=t.initialEntries,o=void 0===a?["/"]:a,i=t.initialIndex,l=void 0===i?0:i,s=t.keyLength,u=void 0===s?6:s,c=m();function d(e){(0,r.Z)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function h(){return Math.random().toString(36).substr(2,u)}var g=_(l,0,o.length-1),b=o.map((function(e){return p(e,void 0,"string"==typeof e?h():e.key||h())})),v=f;function y(e){var t=_(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var w={length:b.length,action:"POP",location:b[g],index:g,entries:b,createHref:v,push:function(e,t){var r="PUSH",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,h(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g<i.length;++g){var b=i[g];if(!(o[b]||r&&r[b]||h&&h[b]||l&&l[b])){var v=f(n,b);try{u(t,b,v)}catch(y){}}}}return t}},1143:e=>{"use strict";e.exports=function(e,t,n,r,a,o,i,l){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,l],c=0;(s=new Error(t.replace(/%s/g,(function(){return u[c++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2497:(e,t,n)=>{"use strict";n.r(t)},2295:(e,t,n)=>{"use strict";n.r(t)},4865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function a(e,t,n){return e<t?t:e>n?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},7418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,o){for(var i,l,s=a(e),u=1;u<arguments.length;u++){for(var c in i=Object(arguments[u]))n.call(i,c)&&(s[c]=i[c]);if(t){l=t(i);for(var d=0;d<l.length;d++)r.call(i,l[d])&&(s[l[d]]=i[l[d]])}}return s}},4779:(e,t,n)=>{var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return l(o(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,l="",c=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(l+=e.slice(i,p),i=p+d.length,f)l+=f[1];else{var m=e[i],h=n[2],g=n[3],b=n[4],v=n[5],y=n[6],w=n[7];l&&(r.push(l),l="");var k=null!=h&&null!=m&&m!==h,E="+"===y||"*"===y,S="?"===y||"*"===y,x=n[2]||c,C=b||v;r.push({name:g||o++,prefix:h||"",delimiter:x,optional:S,repeat:E,partial:k,asterisk:!!w,pattern:C?u(C):w?".*":"[^"+s(x)+"]+?"})}}return i<e.length&&(l+=e.substr(i)),l&&r.push(l),r}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",d(t)));return function(t,a){for(var o="",l=t||{},s=(a||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var c=e[u];if("string"!=typeof c){var d,f=l[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=s(f[p]),!n[u].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):s(f),!n[u].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function s(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,i="",l=0;l<e.length;l++){var u=e[l];if("string"==typeof u)i+=s(u);else{var f=s(u.prefix),p="(?:"+u.pattern+")";t.push(u),u.repeat&&(p+="(?:"+f+p+")*"),i+=p=u.optional?u.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var m=s(n.delimiter||"/"),h=i.slice(-m.length)===m;return a||(i=(h?i.slice(0,-m.length):i)+"(?:"+m+"(?=$))?"),i+=o?"$":a&&h?"":"(?="+m+"|$)",c(new RegExp("^"+i,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},7410:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++t}),e.__id},clone:function e(t,n){var a,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var i in a={},n[o]=a,t)t.hasOwnProperty(i)&&(a[i]=e(t[i],n));return a;case"Array":return o=r.util.objId(t),n[o]?n[o]:(a=[],n[o]=a,t.forEach((function(t,r){a[r]=e(t,n)})),a);default:return t}},getLanguage:function(t){for(;t;){var n=e.exec(t.className);if(n)return n[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,n){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+n)},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var o=(a=a||r.languages)[e],i={};for(var l in o)if(o.hasOwnProperty(l)){if(l==t)for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s]);n.hasOwnProperty(l)||(i[l]=o[l])}var u=a[e];return a[e]=i,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=i)})),i},DFS:function e(t,n,a,o){o=o||{};var i=r.util.objId;for(var l in t)if(t.hasOwnProperty(l)){n.call(t,l,t[l],a||l);var s=t[l],u=r.util.type(s);"Object"!==u||o[i(s)]?"Array"!==u||o[i(s)]||(o[i(s)]=!0,e(s,n,l,o)):(o[i(s)]=!0,e(s,n,null,o))}}},plugins:{},highlight:function(e,t,n){var o={code:e,grammar:t,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),a.stringify(r.util.encode(o.tokens),o.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return s(a,a.head,e),i(e,a,t,a.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,o=0;a=n[o++];)a(t)}},Token:a};function a(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function i(e,t,n,l,c,d){for(var f in n)if(n.hasOwnProperty(f)&&n[f]){var p=n[f];p=Array.isArray(p)?p:[p];for(var m=0;m<p.length;++m){if(d&&d.cause==f+","+m)return;var h=p[m],g=h.inside,b=!!h.lookbehind,v=!!h.greedy,y=h.alias;if(v&&!h.pattern.global){var w=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,w+"g")}for(var k=h.pattern||h,E=l.next,S=c;E!==t.tail&&!(d&&S>=d.reach);S+=E.value.length,E=E.next){var x=E.value;if(t.length>e.length)return;if(!(x instanceof a)){var C,T=1;if(v){if(!(C=o(k,S,e,b))||C.index>=e.length)break;var _=C.index,A=C.index+C[0].length,L=S;for(L+=E.value.length;_>=L;)L+=(E=E.next).value.length;if(S=L-=E.value.length,E.value instanceof a)continue;for(var R=E;R!==t.tail&&(L<A||"string"==typeof R.value);R=R.next)T++,L+=R.value.length;T--,x=e.slice(S,L),C.index-=S}else if(!(C=o(k,0,x,b)))continue;_=C.index;var N=C[0],O=x.slice(0,_),P=x.slice(_+N.length),I=S+x.length;d&&I>d.reach&&(d.reach=I);var D=E.prev;if(O&&(D=s(t,D,O),S+=O.length),u(t,D,T),E=s(t,D,new a(f,g?r.tokenize(N,g):N,y,N)),P&&s(t,E,P),T>1){var M={cause:f+","+m,reach:I};i(e,t,n,E.prev,S,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}return a.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n)})),a}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),r.hooks.run("wrap",o);var l="";for(var s in o.attributes)l+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+l+">"+o.content+"</"+o.tag+">"},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.shell=e.languages.bash}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<value>>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,(function(){return r})).replace(/<<key>>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var o=a.content[1],i=a.content[3];if(o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content){var l=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(l=(/[a-z][\w-]*/i.exec(l)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,s]:i.alias.push(s):i.alias=[s]}}else e(a.content)}}(e.tokens)})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r],u=/language-(.+)/.exec(o);if(u){n=u[1];break}}var c,d=e.languages[n];if(d)t.content=e.highlight((c=t.content,c.replace(i,"").replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),s(n);var r=l[t];return r||e}))),d,n);else if(n&&"none"!==n&&e.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=f,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(f);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))}))}}}));var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===c(1).content){n+=2;var o=f(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=c(0);"variable"===i.type&&(p(i,"variable-input"),a.push(i.content))}n=o+1}if(d(["punctuation","property-query"])&&"{"===c(0).content&&(n++,p(c(0),"property-mutation"),a.length>0)){var l=f(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s<l;s++){var u=t[s];"variable"===u.type&&a.indexOf(u.content)>=0&&p(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=c(n+t);if(!r||r.type!==e[n])return!1}return!0}function f(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],l=i.content;if("punctuation"===i.type&&"string"==typeof l)if(e.test(l))a++;else if(r.test(l)&&0===--a)return o}return-1}function p(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})),a.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),f=Object.keys(c);return i=0,function e(t){for(var n=0;n<t.length;n++){if(i>=f.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=f[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),p=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),p){var h=[p];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function f(e){return"string"==typeof e?e:Array.isArray(e)?e.map(f).join(""):f(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var o=n[r];if("string"!=typeof o){var i=o.content;if(Array.isArray(i))if("template-string"===o.type){var l=i[1];if(3===i.length&&"string"!=typeof l&&"embedded-code"===l.type){var s=f(l),u=l.alias,d=Array.isArray(u)?u[0]:u,p=e.languages[d];if(!p)continue;i[1]=c(s,p,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)}))}(a),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[a]={pattern:o});var i=o.inside||{};o.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(a),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return r})).replace(/<SPREAD>/g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(s+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s<l.length&&!(a>=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],f="string"==typeof u?u:u.content,p=t(r,c),m=f.indexOf(p);if(m>-1){++a;var h=f.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=f.substring(m+p.length),v=[];h&&v.push.apply(v,i([h])),v.push(g),b&&v.push.apply(v,i([b])),"string"==typeof u?l.splice.apply(l,[s,1].concat(v)):u.content=v}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},9901:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to <a href="https://webplatform.github.io/docs/">WebPlatform.org documentation</a>. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (<code>.comment</code> can become <code>.namespace--comment</code>) or replace them with your defined ones (like <code>.editor__comment</code>). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the <code>highlightAll</code> and <code>highlightAllUnder</code> methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(9901),a=n(9642),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(6500).resolve(t)],delete Prism.languages[e],n(6500)(t),o.add(e)}))}i.silent=!1,e.exports=i},6726:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6726},6500:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6500},9642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=!0;return t}function r(e){var n={},r=[];function a(r,o){if(!(r in n)){o.push(r);var i=o.indexOf(r);if(i<o.length-1)throw new Error("Circular dependency: "+o.slice(i).join(" -> "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var f,p=r(s),m=c;a(m);){for(var h in f={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var b in d)if(!(b in c))for(var v in p(b))if(v in c){f[b]=!0;break}for(var y in m=f)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var f=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var f in s)d.push(l[f]);return i(d)}(p,c,t,n)}};return w}}();e.exports=t},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(7294),a=n(7418),o=n(3840);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var l=new Set,s={};function u(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)l.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,m={},h={};function g(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,t,n,r){var a=b.hasOwnProperty(t)?b[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!p.call(h,e)||!p.call(m,e)&&(f.test(e)?h[e]=!0:(m[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);b[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);b[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);b[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,S=60106,x=60107,C=60108,T=60114,_=60109,A=60110,L=60112,R=60113,N=60120,O=60115,P=60116,I=60121,D=60128,M=60129,F=60130,B=60131;if("function"==typeof Symbol&&Symbol.for){var j=Symbol.for;E=j("react.element"),S=j("react.portal"),x=j("react.fragment"),C=j("react.strict_mode"),T=j("react.profiler"),_=j("react.provider"),A=j("react.context"),L=j("react.forward_ref"),R=j("react.suspense"),N=j("react.suspense_list"),O=j("react.memo"),P=j("react.lazy"),I=j("react.block"),j("react.scope"),D=j("react.opaque.id"),M=j("react.debug_trace_mode"),F=j("react.offscreen"),B=j("react.legacy_hidden")}var z,U="function"==typeof Symbol&&Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=U&&e[U]||e["@@iterator"])?e:null}function q(e){if(void 0===z)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var G=!1;function H(e,t){if(!e||G)return"";G=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"==typeof s.stack){for(var a=s.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{G=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?q(e):""}function Z(e){switch(e.tag){case 5:return q(e.type);case 16:return q("Lazy");case 13:return q("Suspense");case 19:return q("SuspenseList");case 0:case 2:case 15:return e=H(e.type,!1);case 11:return e=H(e.type.render,!1);case 22:return e=H(e.type._render,!1);case 1:return e=H(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case S:return"Portal";case T:return"Profiler";case C:return"StrictMode";case R:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case L:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case O:return V(e.type);case I:return V(e._render);case P:t=e._payload,e=e._init;try{return V(e(t))}catch(n){}}return null}function W(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Y(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function K(e){e._valueTracker||(e._valueTracker=function(e){var t=Y(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Y(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ue(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,ge,be=(ge=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function Ee(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ye).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var Se=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Te(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,Ae=null,Le=null;function Re(e){if(e=ra(e)){if("function"!=typeof _e)throw Error(i(280));var t=e.stateNode;t&&(t=oa(t),_e(e.stateNode,e.type,t))}}function Ne(e){Ae?Le?Le.push(e):Le=[e]:Ae=e}function Oe(){if(Ae){var e=Ae,t=Le;if(Le=Ae=null,Re(e),t)for(e=0;e<t.length;e++)Re(t[e])}}function Pe(e,t){return e(t)}function Ie(e,t,n,r,a){return e(t,n,r,a)}function De(){}var Me=Pe,Fe=!1,Be=!1;function je(){null===Ae&&null===Le||(De(),Oe())}function ze(e,t){var n=e.stateNode;if(null===n)return null;var r=oa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var Ue=!1;if(d)try{var $e={};Object.defineProperty($e,"passive",{get:function(){Ue=!0}}),window.addEventListener("test",$e,$e),window.removeEventListener("test",$e,$e)}catch(ge){Ue=!1}function qe(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Ge=!1,He=null,Ze=!1,Ve=null,We={onError:function(e){Ge=!0,He=e}};function Ye(e,t,n,r,a,o,i,l,s){Ge=!1,He=null,qe.apply(We,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Xe(e){if(Ke(e)!==e)throw Error(i(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Xe(a),e;if(o===r)return Xe(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var l=!1,s=a.child;s;){if(s===n){l=!0,n=a,r=o;break}if(s===r){l=!0,r=a,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=a;break}if(s===r){l=!0,r=o,n=a;break}s=s.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,at,ot=!1,it=[],lt=null,st=null,ut=null,ct=new Map,dt=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function mt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":ut=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function gt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=mt(t,n,r,a,o),null!==t&&(null!==(t=ra(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function bt(e){var t=na(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Qe(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ra(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){vt(e)&&n.delete(t)}function wt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ra(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==lt&&vt(lt)&&(lt=null),null!==st&&vt(st)&&(st=null),null!==ut&&vt(ut)&&(ut=null),ct.forEach(yt),dt.forEach(yt)}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,wt)))}function Et(e){function t(t){return kt(t,e)}if(0<it.length){kt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==lt&&kt(lt,e),null!==st&&kt(st,e),null!==ut&&kt(ut,e),ct.forEach(t),dt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)bt(n),null===n.blockedOn&&ft.shift()}function St(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xt={animationend:St("Animation","AnimationEnd"),animationiteration:St("Animation","AnimationIteration"),animationstart:St("Animation","AnimationStart"),transitionend:St("Transition","TransitionEnd")},Ct={},Tt={};function _t(e){if(Ct[e])return Ct[e];if(!xt[e])return e;var t,n=xt[e];for(t in n)if(n.hasOwnProperty(t)&&t in Tt)return Ct[e]=n[t];return e}d&&(Tt=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var At=_t("animationend"),Lt=_t("animationiteration"),Rt=_t("animationstart"),Nt=_t("transitionend"),Ot=new Map,Pt=new Map,It=["abort","abort",At,"animationEnd",Lt,"animationIteration",Rt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Nt,"transitionEnd","waiting","waiting"];function Dt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),Pt.set(r,t),Ot.set(r,a),u(a,[r])}}(0,o.unstable_now)();var Mt=8;function Ft(e){if(0!=(1&e))return Mt=15,1;if(0!=(2&e))return Mt=14,2;if(0!=(4&e))return Mt=13,4;var t=24&e;return 0!==t?(Mt=12,t):0!=(32&e)?(Mt=11,32):0!==(t=192&e)?(Mt=10,t):0!=(256&e)?(Mt=9,256):0!==(t=3584&e)?(Mt=8,t):0!=(4096&e)?(Mt=7,4096):0!==(t=4186112&e)?(Mt=6,t):0!==(t=62914560&e)?(Mt=5,t):67108864&e?(Mt=4,67108864):0!=(134217728&e)?(Mt=3,134217728):0!==(t=805306368&e)?(Mt=2,t):0!=(1073741824&e)?(Mt=1,1073741824):(Mt=8,e)}function Bt(e,t){var n=e.pendingLanes;if(0===n)return Mt=0;var r=0,a=0,o=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==o)r=o,a=Mt=15;else if(0!==(o=134217727&n)){var s=o&~i;0!==s?(r=Ft(s),a=Mt):0!==(l&=o)&&(r=Ft(l),a=Mt)}else 0!==(o=n&~i)?(r=Ft(o),a=Mt):0!==l&&(r=Ft(l),a=Mt);if(0===r)return 0;if(r=n&((0>(r=31-Gt(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&i)){if(Ft(t),a<=Mt)return t;Mt=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-Gt(t)),r|=e[n],t&=~a;return r}function jt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function zt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Ut(24&~t))?zt(10,t):e;case 10:return 0===(e=Ut(192&~t))?zt(8,t):e;case 8:return 0===(e=Ut(3584&~t))&&(0===(e=Ut(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Ut(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function Ut(e){return e&-e}function $t(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function qt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Gt(t)]=n}var Gt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/Zt|0)|0},Ht=Math.log,Zt=Math.LN2;var Vt=o.unstable_UserBlockingPriority,Wt=o.unstable_runWithPriority,Yt=!0;function Kt(e,t,n,r){Fe||De();var a=Xt,o=Fe;Fe=!0;try{Ie(a,e,t,n,r)}finally{(Fe=o)||je()}}function Qt(e,t,n,r){Wt(Vt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var a;if(Yt)if((a=0==(4&t))&&0<it.length&&-1<pt.indexOf(e))e=mt(null,e,t,n,r),it.push(e);else{var o=Jt(e,t,n,r);if(null===o)a&&ht(e,r);else{if(a){if(-1<pt.indexOf(e))return e=mt(o,e,t,n,r),void it.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return lt=gt(lt,e,t,n,r,a),!0;case"dragenter":return st=gt(st,e,t,n,r,a),!0;case"mouseover":return ut=gt(ut,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return ct.set(o,gt(ct.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,dt.set(o,gt(dt.get(o)||null,e,t,n,r,a)),!0}return!1}(o,e,t,n,r))return;ht(e,r)}Dr(e,t,r,null,n)}}}function Jt(e,t,n,r){var a=Te(r);if(null!==(a=na(a))){var o=Ke(a);if(null===o)a=null;else{var i=o.tag;if(13===i){if(null!==(a=Qe(o)))return a;a=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return Dr(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function ln(){return!1}function sn(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:ln,this.isPropagationStopped=ln,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var un,cn,dn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(fn),mn=a({},fn,{view:0,detail:0}),hn=sn(mn),gn=a({},mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:An,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(un=e.screenX-dn.screenX,cn=e.screenY-dn.screenY):cn=un=0,dn=e),un)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),bn=sn(gn),vn=sn(a({},gn,{dataTransfer:0})),yn=sn(a({},mn,{relatedTarget:0})),wn=sn(a({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=a({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),En=sn(kn),Sn=sn(a({},fn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Tn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Tn[e])&&!!t[e]}function An(){return _n}var Ln=a({},mn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:An,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Rn=sn(Ln),Nn=sn(a({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=sn(a({},mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:An})),Pn=sn(a({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=a({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=sn(In),Mn=[9,13,27,32],Fn=d&&"CompositionEvent"in window,Bn=null;d&&"documentMode"in document&&(Bn=document.documentMode);var jn=d&&"TextEvent"in window&&!Bn,zn=d&&(!Fn||Bn&&8<Bn&&11>=Bn),Un=String.fromCharCode(32),$n=!1;function qn(e,t){switch(e){case"keyup":return-1!==Mn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Zn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Zn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ne(r),0<(t=Fr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Yn=null,Kn=null;function Qn(e){Lr(e,0)}function Xn(e){if(Q(aa(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(d){var tr;if(d){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"==typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ar(){Yn&&(Yn.detachEvent("onpropertychange",or),Kn=Yn=null)}function or(e){if("value"===e.propertyName&&Xn(Kn)){var t=[];if(Wn(t,Kn,e,Te(e)),e=Qn,Fe)e(t);else{Fe=!0;try{Pe(e,t)}finally{Fe=!1,je()}}}}function ir(e,t,n){"focusin"===e?(ar(),Kn=n,(Yn=t).attachEvent("onpropertychange",or)):"focusout"===e&&ar()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Kn)}function sr(e,t){if("click"===e)return Xn(t)}function ur(e,t){if("input"===e||"change"===e)return Xn(t)}var cr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},dr=Object.prototype.hasOwnProperty;function fr(e,t){if(cr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!dr.call(t,n[r])||!cr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function mr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function hr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function gr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var vr=d&&"documentMode"in document&&11>=document.documentMode,yr=null,wr=null,kr=null,Er=!1;function Sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Er||null==yr||yr!==X(r)||("selectionStart"in(r=yr)&&br(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},kr&&fr(kr,r)||(kr=r,0<(r=Fr(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=yr)))}Dt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dt(It,2);for(var xr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cr=0;Cr<xr.length;Cr++)Pt.set(xr[Cr],0);c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_r=new Set("cancel close invalid load scroll toggle".split(" ").concat(Tr));function Ar(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,l,s,u){if(Ye.apply(this,arguments),Ge){if(!Ge)throw Error(i(198));var c=He;Ge=!1,He=null,Ze||(Ze=!0,Ve=c)}}(r,t,void 0,e),e.currentTarget=null}function Lr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Ar(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Ar(a,l,u),o=s}}}if(Ze)throw e=Ve,Ze=!1,Ve=null,e}function Rr(e,t){var n=ia(t),r=e+"__bubble";n.has(r)||(Ir(t,e,2,!1),n.add(r))}var Nr="_reactListening"+Math.random().toString(36).slice(2);function Or(e){e[Nr]||(e[Nr]=!0,l.forEach((function(t){_r.has(t)||Pr(t,!1,e,null),Pr(t,!0,e,null)})))}function Pr(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&_r.has(e)){if("scroll"!==e)return;a|=2,o=r}var i=ia(o),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(a|=4),Ir(o,e,a,t),i.add(l))}function Ir(e,t,n,r){var a=Pt.get(t);switch(void 0===a?2:a){case 0:a=Kt;break;case 1:a=Qt;break;default:a=Xt}n=a.bind(null,t,n,e),a=void 0,!Ue||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Dr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=na(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Be)return e(t,n);Be=!0;try{Me(e,t,n)}finally{Be=!1,je()}}((function(){var r=o,a=Te(n),i=[];e:{var l=Ot.get(e);if(void 0!==l){var s=pn,u=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":s=Rn;break;case"focusin":u="focus",s=yn;break;case"focusout":u="blur",s=yn;break;case"beforeblur":case"afterblur":s=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=bn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=On;break;case At:case Lt:case Rt:s=wn;break;case Nt:s=Pn;break;case"scroll":s=hn;break;case"wheel":s=Dn;break;case"copy":case"cut":case"paste":s=En;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Nn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==f&&(null!=(h=ze(m,f))&&c.push(Mr(m,h,p)))),d)break;m=m.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!na(u)&&!u[ea])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?na(u):null)&&(u!==(d=Ke(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=bn,h="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Nn,h="onPointerLeave",f="onPointerEnter",m="pointer"),d=null==s?l:aa(s),p=null==u?l:aa(u),(l=new c(h,m+"leave",s,n,a)).target=d,l.relatedTarget=p,h=null,na(a)===r&&((c=new c(f,m+"enter",u,n,a)).target=p,c.relatedTarget=d,h=c),d=h,s&&u)e:{for(f=u,m=0,p=c=s;p;p=Br(p))m++;for(p=0,h=f;h;h=Br(h))p++;for(;0<m-p;)c=Br(c),m--;for(;0<p-m;)f=Br(f),p--;for(;m--;){if(c===f||null!==f&&c===f.alternate)break e;c=Br(c),f=Br(f)}c=null}else c=null;null!==s&&jr(i,l,s,c,!1),null!==u&&null!==d&&jr(i,d,u,c,!0)}if("select"===(s=(l=r?aa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Jn;else if(Vn(l))if(er)g=ur;else{g=lr;var b=ir}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=sr);switch(g&&(g=g(e,r))?Wn(i,g,n,a):(b&&b(e,l,r),"focusout"===e&&(b=l._wrapperState)&&b.controlled&&"number"===l.type&&ae(l,"number",l.value)),b=r?aa(r):window,e){case"focusin":(Vn(b)||"true"===b.contentEditable)&&(yr=b,wr=r,kr=null);break;case"focusout":kr=wr=yr=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,Sr(i,n,a);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":Sr(i,n,a)}var v;if(Fn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Hn?qn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(zn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Hn&&(v=rn()):(tn="value"in(en=a)?en.value:en.textContent,Hn=!0)),0<(b=Fr(r,y)).length&&(y=new Sn(y,e,null,n,a),i.push({event:y,listeners:b}),v?y.data=v:null!==(v=Gn(n))&&(y.data=v))),(v=jn?function(e,t){switch(e){case"compositionend":return Gn(t);case"keypress":return 32!==t.which?null:($n=!0,Un);case"textInput":return(e=t.data)===Un&&$n?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Fn&&qn(e,t)?(e=rn(),nn=tn=en=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Fr(r,"onBeforeInput")).length&&(a=new Sn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=v))}Lr(i,t)}))}function Mr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Fr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=ze(e,n))&&r.unshift(Mr(e,o,a)),null!=(o=ze(e,t))&&r.push(Mr(e,o,a))),e=e.return}return r}function Br(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function jr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=ze(n,o))&&i.unshift(Mr(n,s,l)):a||null!=(s=ze(n,o))&&i.push(Mr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function zr(){}var Ur=null,$r=null;function qr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Hr="function"==typeof setTimeout?setTimeout:void 0,Zr="function"==typeof clearTimeout?clearTimeout:void 0;function Vr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Wr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Yr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Kr=0;var Qr=Math.random().toString(36).slice(2),Xr="__reactFiber$"+Qr,Jr="__reactProps$"+Qr,ea="__reactContainer$"+Qr,ta="__reactEvents$"+Qr;function na(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ea]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Yr(e);null!==e;){if(n=e[Xr])return n;e=Yr(e)}return t}n=(e=n).parentNode}return null}function ra(e){return!(e=e[Xr]||e[ea])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function aa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function oa(e){return e[Jr]||null}function ia(e){var t=e[ta];return void 0===t&&(t=e[ta]=new Set),t}var la=[],sa=-1;function ua(e){return{current:e}}function ca(e){0>sa||(e.current=la[sa],la[sa]=null,sa--)}function da(e,t){sa++,la[sa]=e.current,e.current=t}var fa={},pa=ua(fa),ma=ua(!1),ha=fa;function ga(e,t){var n=e.type.contextTypes;if(!n)return fa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ba(e){return null!=(e=e.childContextTypes)}function va(){ca(ma),ca(pa)}function ya(e,t,n){if(pa.current!==fa)throw Error(i(168));da(pa,t),da(ma,n)}function wa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,V(t)||"Unknown",o));return a({},n,r)}function ka(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fa,ha=pa.current,da(pa,e),da(ma,ma.current),!0}function Ea(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=wa(e,t,ha),r.__reactInternalMemoizedMergedChildContext=e,ca(ma),ca(pa),da(pa,e)):ca(ma),da(ma,n)}var Sa=null,xa=null,Ca=o.unstable_runWithPriority,Ta=o.unstable_scheduleCallback,_a=o.unstable_cancelCallback,Aa=o.unstable_shouldYield,La=o.unstable_requestPaint,Ra=o.unstable_now,Na=o.unstable_getCurrentPriorityLevel,Oa=o.unstable_ImmediatePriority,Pa=o.unstable_UserBlockingPriority,Ia=o.unstable_NormalPriority,Da=o.unstable_LowPriority,Ma=o.unstable_IdlePriority,Fa={},Ba=void 0!==La?La:function(){},ja=null,za=null,Ua=!1,$a=Ra(),qa=1e4>$a?Ra:function(){return Ra()-$a};function Ga(){switch(Na()){case Oa:return 99;case Pa:return 98;case Ia:return 97;case Da:return 96;case Ma:return 95;default:throw Error(i(332))}}function Ha(e){switch(e){case 99:return Oa;case 98:return Pa;case 97:return Ia;case 96:return Da;case 95:return Ma;default:throw Error(i(332))}}function Za(e,t){return e=Ha(e),Ca(e,t)}function Va(e,t,n){return e=Ha(e),Ta(e,t,n)}function Wa(){if(null!==za){var e=za;za=null,_a(e)}Ya()}function Ya(){if(!Ua&&null!==ja){Ua=!0;var e=0;try{var t=ja;Za(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),ja=null}catch(n){throw null!==ja&&(ja=ja.slice(e+1)),Ta(Oa,Wa),n}finally{Ua=!1}}}var Ka=k.ReactCurrentBatchConfig;function Qa(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xa=ua(null),Ja=null,eo=null,to=null;function no(){to=eo=Ja=null}function ro(e){var t=Xa.current;ca(Xa),e.type._context._currentValue=t}function ao(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function oo(e,t){Ja=e,to=eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Fi=!0),e.firstContext=null)}function io(e,t){if(to!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(to=e,t=1073741823),t={context:e,observedBits:t,next:null},null===eo){if(null===Ja)throw Error(i(308));eo=t,Ja.dependencies={lanes:0,firstContext:t,responders:null}}else eo=eo.next=t;return e._currentValue}var lo=!1;function so(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function uo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function co(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function po(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function mo(e,t,n,r){var o=e.updateQueue;lo=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var u=s,c=u.next;u.next=null,null===l?i=c:l.next=c,l=u;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==l&&(null===f?d.firstBaseUpdate=c:f.next=c,d.lastBaseUpdate=u)}}if(null!==i){for(f=o.baseState,l=0,d=c=u=null;;){s=i.lane;var p=i.eventTime;if((r&s)===s){null!==d&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var m=e,h=i;switch(s=t,p=n,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,s);break e}f=m;break e;case 3:m.flags=-4097&m.flags|64;case 0:if(null==(s="function"==typeof(m=h.payload)?m.call(p,f,s):m))break e;f=a({},f,s);break e;case 2:lo=!0}}null!==i.callback&&(e.flags|=32,null===(s=o.effects)?o.effects=[i]:s.push(i))}else p={eventTime:p,lane:s,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===d?(c=d=p,u=f):d=d.next=p,l|=s;if(null===(i=i.next)){if(null===(s=o.shared.pending))break;i=s.next,s.next=null,o.lastBaseUpdate=s,o.shared.pending=null}}null===d&&(u=f),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=d,Ul|=l,e.lanes=l,e.memoizedState=f}}function ho(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(i(191,a));a.call(r)}}}var go=(new r.Component).refs;function bo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vo={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fs(),a=ps(e),o=co(r,a);o.payload=t,null!=n&&(o.callback=n),fo(e,o),ms(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fs(),a=ps(e),o=co(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),fo(e,o),ms(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fs(),r=ps(e),a=co(n,r);a.tag=2,null!=t&&(a.callback=t),fo(e,a),ms(e,r,n)}};function yo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!fr(n,r)||!fr(a,o))}function wo(e,t,n){var r=!1,a=fa,o=t.contextType;return"object"==typeof o&&null!==o?o=io(o):(a=ba(t)?ha:pa.current,o=(r=null!=(r=t.contextTypes))?ga(e,a):fa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=vo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ko(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vo.enqueueReplaceState(t,t.state,null)}function Eo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=go,so(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=io(o):(o=ba(t)?ha:pa.current,a.context=ga(e,o)),mo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(bo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&vo.enqueueReplaceState(a,a.state,null),mo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4)}var So=Array.isArray;function xo(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===go&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function To(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Zs(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Ks(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=xo(e,t,n),r.return=e,r):((r=Vs(n.type,n.key,n.props,null,e.mode,r)).ref=xo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Qs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ws(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ks(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Vs(t.type,t.key,t.props,null,e.mode,n)).ref=xo(e,null,t),n.return=e,n;case S:return(t=Qs(t,e.mode,n)).return=e,t}if(So(t)||$(t))return(t=Ws(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===a?n.type===x?d(e,t,n.props.children,r,a):u(e,t,n,r):null;case S:return n.key===a?c(e,t,n,r):null}if(So(n)||$(n))return null!==a?null:d(e,t,n,r,null);Co(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return e=e.get(null===r.key?n:r.key)||null,r.type===x?d(t,e,r.props.children,a,r.key):u(t,e,r,a);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(So(r)||$(r))return d(t,e=e.get(n)||null,r,a,null);Co(t,r)}return null}function h(a,i,l,s){for(var u=null,c=null,d=i,h=i=0,g=null;null!==d&&h<l.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var b=p(a,d,l[h],s);if(null===b){null===d&&(d=g);break}e&&d&&null===b.alternate&&t(a,d),i=o(b,i,h),null===c?u=b:c.sibling=b,c=b,d=g}if(h===l.length)return n(a,d),u;if(null===d){for(;h<l.length;h++)null!==(d=f(a,l[h],s))&&(i=o(d,i,h),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(a,d);h<l.length;h++)null!==(g=m(d,a,h,l[h],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?h:g.key),i=o(g,i,h),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),u}function g(a,l,s,u){var c=$(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,h=l,g=l=0,b=null,v=s.next();null!==h&&!v.done;g++,v=s.next()){h.index>g?(b=h,h=null):b=h.sibling;var y=p(a,h,v.value,u);if(null===y){null===h&&(h=b);break}e&&h&&null===y.alternate&&t(a,h),l=o(y,l,g),null===d?c=y:d.sibling=y,d=y,h=b}if(v.done)return n(a,h),c;if(null===h){for(;!v.done;g++,v=s.next())null!==(v=f(a,v.value,u))&&(l=o(v,l,g),null===d?c=v:d.sibling=v,d=v);return c}for(h=r(a,h);!v.done;g++,v=s.next())null!==(v=m(h,a,g,v.value,u))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),l=o(v,l,g),null===d?c=v:d.sibling=v,d=v);return e&&h.forEach((function(e){return t(a,e)})),c}return function(e,r,o,s){var u="object"==typeof o&&null!==o&&o.type===x&&null===o.key;u&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case E:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(o.type===x){n(e,u.sibling),(r=a(u,o.props.children)).return=e,e=r;break e}}else if(u.elementType===o.type){n(e,u.sibling),(r=a(u,o.props)).ref=xo(e,u,o),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}o.type===x?((r=Ws(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Vs(o.type,o.key,o.props,null,e.mode,s)).ref=xo(e,r,o),s.return=e,e=s)}return l(e);case S:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Qs(o,e.mode,s)).return=e,e=r}return l(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Ks(o,e.mode,s)).return=e,e=r),l(e);if(So(o))return h(e,r,o,s);if($(o))return g(e,r,o,s);if(c&&Co(e,o),void 0===o&&!u)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,V(e.type)||"Component"))}return n(e,r)}}var _o=To(!0),Ao=To(!1),Lo={},Ro=ua(Lo),No=ua(Lo),Oo=ua(Lo);function Po(e){if(e===Lo)throw Error(i(174));return e}function Io(e,t){switch(da(Oo,t),da(No,e),da(Ro,Lo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:me(null,"");break;default:t=me(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ca(Ro),da(Ro,t)}function Do(){ca(Ro),ca(No),ca(Oo)}function Mo(e){Po(Oo.current);var t=Po(Ro.current),n=me(t,e.type);t!==n&&(da(No,e),da(Ro,n))}function Fo(e){No.current===e&&(ca(Ro),ca(No))}var Bo=ua(0);function jo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var zo=null,Uo=null,$o=!1;function qo(e,t){var n=Gs(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Go(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ho(e){if($o){var t=Uo;if(t){var n=t;if(!Go(e,t)){if(!(t=Wr(n.nextSibling))||!Go(e,t))return e.flags=-1025&e.flags|2,$o=!1,void(zo=e);qo(zo,n)}zo=e,Uo=Wr(t.firstChild)}else e.flags=-1025&e.flags|2,$o=!1,zo=e}}function Zo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;zo=e}function Vo(e){if(e!==zo)return!1;if(!$o)return Zo(e),$o=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gr(t,e.memoizedProps))for(t=Uo;t;)qo(e,t),t=Wr(t.nextSibling);if(Zo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Uo=Wr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Uo=null}}else Uo=zo?Wr(e.stateNode.nextSibling):null;return!0}function Wo(){Uo=zo=null,$o=!1}var Yo=[];function Ko(){for(var e=0;e<Yo.length;e++)Yo[e]._workInProgressVersionPrimary=null;Yo.length=0}var Qo=k.ReactCurrentDispatcher,Xo=k.ReactCurrentBatchConfig,Jo=0,ei=null,ti=null,ni=null,ri=!1,ai=!1;function oi(){throw Error(i(321))}function ii(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!cr(e[n],t[n]))return!1;return!0}function li(e,t,n,r,a,o){if(Jo=o,ei=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qo.current=null===e||null===e.memoizedState?Pi:Ii,e=n(r,a),ai){o=0;do{if(ai=!1,!(25>o))throw Error(i(301));o+=1,ni=ti=null,t.updateQueue=null,Qo.current=Di,e=n(r,a)}while(ai)}if(Qo.current=Oi,t=null!==ti&&null!==ti.next,Jo=0,ni=ti=ei=null,ri=!1,t)throw Error(i(300));return e}function si(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ni?ei.memoizedState=ni=e:ni=ni.next=e,ni}function ui(){if(null===ti){var e=ei.alternate;e=null!==e?e.memoizedState:null}else e=ti.next;var t=null===ni?ei.memoizedState:ni.next;if(null!==t)ni=t,ti=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ti=e).memoizedState,baseState:ti.baseState,baseQueue:ti.baseQueue,queue:ti.queue,next:null},null===ni?ei.memoizedState=ni=e:ni=ni.next=e}return ni}function ci(e,t){return"function"==typeof t?t(e):t}function di(e){var t=ui(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ti,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var l=a.next;a.next=o.next,o.next=l}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=l=o=null,u=a;do{var c=u.lane;if((Jo&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===s?(l=s=d,o=r):s=s.next=d,ei.lanes|=c,Ul|=c}u=u.next}while(null!==u&&u!==a);null===s?o=r:s.next=l,cr(r,t.memoizedState)||(Fi=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fi(e){var t=ui(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{o=e(o,l.action),l=l.next}while(l!==a);cr(o,t.memoizedState)||(Fi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function pi(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Jo&e)===e)&&(t._workInProgressVersionPrimary=r,Yo.push(t))),e)return n(t._source);throw Yo.push(t),Error(i(350))}function mi(e,t,n,r){var a=Pl;if(null===a)throw Error(i(349));var o=t._getVersion,l=o(t._source),s=Qo.current,u=s.useState((function(){return pi(a,t,n)})),c=u[1],d=u[0];u=ni;var f=e.memoizedState,p=f.refs,m=p.getSnapshot,h=f.source;f=f.subscribe;var g=ei;return e.memoizedState={refs:p,source:t,subscribe:r},s.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=o(t._source);if(!cr(l,e)){e=n(t._source),cr(d,e)||(c(e),e=ps(g),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0<i;){var s=31-Gt(i),u=1<<s;r[s]|=e,i&=~u}}}),[n,t,r]),s.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=ps(g);a.mutableReadLanes|=r&a.pendingLanes}catch(o){n((function(){throw o}))}}))}),[t,r]),cr(m,n)&&cr(h,t)&&cr(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:d}).dispatch=c=Ni.bind(null,ei,e),u.queue=e,u.baseQueue=null,d=pi(a,t,n),u.memoizedState=u.baseState=d),d}function hi(e,t,n){return mi(ui(),e,t,n)}function gi(e){var t=si();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ci,lastRenderedState:e}).dispatch=Ni.bind(null,ei,e),[t.memoizedState,e]}function bi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ei.updateQueue)?(t={lastEffect:null},ei.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function vi(e){return e={current:e},si().memoizedState=e}function yi(){return ui().memoizedState}function wi(e,t,n,r){var a=si();ei.flags|=e,a.memoizedState=bi(1|t,n,void 0,void 0===r?null:r)}function ki(e,t,n,r){var a=ui();r=void 0===r?null:r;var o=void 0;if(null!==ti){var i=ti.memoizedState;if(o=i.destroy,null!==r&&ii(r,i.deps))return void bi(t,n,o,r)}ei.flags|=e,a.memoizedState=bi(1|t,n,o,r)}function Ei(e,t){return wi(516,4,e,t)}function Si(e,t){return ki(516,4,e,t)}function xi(e,t){return ki(4,2,e,t)}function Ci(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ti(e,t,n){return n=null!=n?n.concat([e]):null,ki(4,2,Ci.bind(null,t,e),n)}function _i(){}function Ai(e,t){var n=ui();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Li(e,t){var n=ui();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ri(e,t){var n=Ga();Za(98>n?98:n,(function(){e(!0)})),Za(97<n?97:n,(function(){var n=Xo.transition;Xo.transition=1;try{e(!1),t()}finally{Xo.transition=n}}))}function Ni(e,t,n){var r=fs(),a=ps(e),o={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===ei||null!==i&&i===ei)ai=ri=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=i(l,n);if(o.eagerReducer=i,o.eagerState=s,cr(s,l))return}catch(u){}ms(e,a,r)}}var Oi={readContext:io,useCallback:oi,useContext:oi,useEffect:oi,useImperativeHandle:oi,useLayoutEffect:oi,useMemo:oi,useReducer:oi,useRef:oi,useState:oi,useDebugValue:oi,useDeferredValue:oi,useTransition:oi,useMutableSource:oi,useOpaqueIdentifier:oi,unstable_isNewReconciler:!1},Pi={readContext:io,useCallback:function(e,t){return si().memoizedState=[e,void 0===t?null:t],e},useContext:io,useEffect:Ei,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wi(4,2,Ci.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wi(4,2,e,t)},useMemo:function(e,t){var n=si();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=si();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ni.bind(null,ei,e),[r.memoizedState,e]},useRef:vi,useState:gi,useDebugValue:_i,useDeferredValue:function(e){var t=gi(e),n=t[0],r=t[1];return Ei((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=gi(!1),t=e[0];return vi(e=Ri.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=si();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},mi(r,e,t,n)},useOpaqueIdentifier:function(){if($o){var e=!1,t=function(e){return{$$typeof:D,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Kr++).toString(36))),Error(i(355))})),n=gi(t)[1];return 0==(2&ei.mode)&&(ei.flags|=516,bi(5,(function(){n("r:"+(Kr++).toString(36))}),void 0,null)),t}return gi(t="r:"+(Kr++).toString(36)),t},unstable_isNewReconciler:!1},Ii={readContext:io,useCallback:Ai,useContext:io,useEffect:Si,useImperativeHandle:Ti,useLayoutEffect:xi,useMemo:Li,useReducer:di,useRef:yi,useState:function(){return di(ci)},useDebugValue:_i,useDeferredValue:function(e){var t=di(ci),n=t[0],r=t[1];return Si((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=di(ci)[0];return[yi().current,e]},useMutableSource:hi,useOpaqueIdentifier:function(){return di(ci)[0]},unstable_isNewReconciler:!1},Di={readContext:io,useCallback:Ai,useContext:io,useEffect:Si,useImperativeHandle:Ti,useLayoutEffect:xi,useMemo:Li,useReducer:fi,useRef:yi,useState:function(){return fi(ci)},useDebugValue:_i,useDeferredValue:function(e){var t=fi(ci),n=t[0],r=t[1];return Si((function(){var t=Xo.transition;Xo.transition=1;try{r(e)}finally{Xo.transition=t}}),[e]),n},useTransition:function(){var e=fi(ci)[0];return[yi().current,e]},useMutableSource:hi,useOpaqueIdentifier:function(){return fi(ci)[0]},unstable_isNewReconciler:!1},Mi=k.ReactCurrentOwner,Fi=!1;function Bi(e,t,n,r){t.child=null===e?Ao(t,null,n,r):_o(t,e.child,n,r)}function ji(e,t,n,r,a){n=n.render;var o=t.ref;return oo(t,a),r=li(e,t,n,r,o,a),null===e||Fi?(t.flags|=1,Bi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ol(e,t,a))}function zi(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||Hs(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Vs(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ui(e,t,i,r,a,o))}return i=e.child,0==(a&o)&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:fr)(a,r)&&e.ref===t.ref)?ol(e,t,o):(t.flags|=1,(e=Zs(i,r)).ref=t.ref,e.return=t,t.child=e)}function Ui(e,t,n,r,a,o){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(Fi=!1,0==(o&a))return t.lanes=e.lanes,ol(e,t,o);0!=(16384&e.flags)&&(Fi=!0)}return Gi(e,t,n,r,o)}function $i(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Es(t,n);else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Es(t,e),null;t.memoizedState={baseLanes:0},Es(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Es(t,r);return Bi(e,t,a,n),t.child}function qi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Gi(e,t,n,r,a){var o=ba(n)?ha:pa.current;return o=ga(t,o),oo(t,a),n=li(e,t,n,r,o,a),null===e||Fi?(t.flags|=1,Bi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ol(e,t,a))}function Hi(e,t,n,r,a){if(ba(n)){var o=!0;ka(t)}else o=!1;if(oo(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wo(t,n,r),Eo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=io(u):u=ga(t,u=ba(n)?ha:pa.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||s!==u)&&ko(t,i,r,u),lo=!1;var f=t.memoizedState;i.state=f,mo(t,r,i,a),s=t.memoizedState,l!==r||f!==s||ma.current||lo?("function"==typeof c&&(bo(t,n,c,r),s=t.memoizedState),(l=lo||yo(t,n,l,r,f,s,u))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4)):("function"==typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,uo(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Qa(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=io(s):s=ga(t,s=ba(n)?ha:pa.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&ko(t,i,r,s),lo=!1,f=t.memoizedState,i.state=f,mo(t,r,i,a);var m=t.memoizedState;l!==d||f!==m||ma.current||lo?("function"==typeof p&&(bo(t,n,p,r),m=t.memoizedState),(u=lo||yo(t,n,u,r,f,m,s))?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=s,r=u):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return Zi(e,t,n,r,o,a)}function Zi(e,t,n,r,a,o){qi(e,t);var i=0!=(64&t.flags);if(!r&&!i)return a&&Ea(t,n,!1),ol(e,t,o);r=t.stateNode,Mi.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=_o(t,e.child,null,o),t.child=_o(t,null,l,o)):Bi(e,t,l,o),t.memoizedState=r.state,a&&Ea(t,n,!0),t.child}function Vi(e){var t=e.stateNode;t.pendingContext?ya(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ya(0,t.context,!1),Io(e,t.containerInfo)}var Wi,Yi,Ki,Qi={dehydrated:null,retryLane:0};function Xi(e,t,n){var r,a=t.pendingProps,o=Bo.current,i=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&o)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),da(Bo,1&o),null===e?(void 0!==a.fallback&&Ho(t),e=a.children,o=a.fallback,i?(e=Ji(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qi,e):"number"==typeof a.unstable_expectedLoadTime?(e=Ji(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Qi,t.lanes=33554432,e):((n=Ys({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(a=tl(e,t,a.children,a.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=Qi,a):(n=el(e,t,a.children,n),t.memoizedState=null,n))}function Ji(e,t,n,r){var a=e.mode,o=e.child;return t={mode:"hidden",children:t},0==(2&a)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=Ys(t,a,0,null),n=Ws(n,a,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function el(e,t,n,r){var a=e.child;return e=a.sibling,n=Zs(a,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tl(e,t,n,r,a){var o=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0==(2&o)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Zs(i,l),null!==e?r=Zs(e,r):(r=Ws(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ao(e.return,t)}function rl(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.lastEffect=o)}function al(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Bi(e,t,r.children,n),0!=(2&(r=Bo.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n);else if(19===e.tag)nl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(da(Bo,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===jo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),rl(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===jo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}rl(t,!0,n,null,o,t.lastEffect);break;case"together":rl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ol(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ul|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Zs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Zs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function il(e,t){if(!$o)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ll(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ba(t.type)&&va(),null;case 3:return Do(),ca(ma),ca(pa),Ko(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Vo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Fo(t);var o=Po(Oo.current);if(n=t.type,null!==e&&null!=t.stateNode)Yi(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Po(Ro.current),Vo(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Xr]=t,r[Jr]=l,n){case"dialog":Rr("cancel",r),Rr("close",r);break;case"iframe":case"object":case"embed":Rr("load",r);break;case"video":case"audio":for(e=0;e<Tr.length;e++)Rr(Tr[e],r);break;case"source":Rr("error",r);break;case"img":case"image":case"link":Rr("error",r),Rr("load",r);break;case"details":Rr("toggle",r);break;case"input":ee(r,l),Rr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Rr("invalid",r);break;case"textarea":se(r,l),Rr("invalid",r)}for(var u in xe(n,l),e=null,l)l.hasOwnProperty(u)&&(o=l[u],"children"===u?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):s.hasOwnProperty(u)&&null!=o&&"onScroll"===u&&Rr("scroll",r));switch(n){case"input":K(r),re(r,l,!0);break;case"textarea":K(r),ce(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=zr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(u=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[Xr]=t,e[Jr]=r,Wi(e,t),t.stateNode=e,u=Ce(n,r),n){case"dialog":Rr("cancel",e),Rr("close",e),o=r;break;case"iframe":case"object":case"embed":Rr("load",e),o=r;break;case"video":case"audio":for(o=0;o<Tr.length;o++)Rr(Tr[o],e);o=r;break;case"source":Rr("error",e),o=r;break;case"img":case"image":case"link":Rr("error",e),Rr("load",e),o=r;break;case"details":Rr("toggle",e),o=r;break;case"input":ee(e,r),o=J(e,r),Rr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Rr("invalid",e);break;case"textarea":se(e,r),o=le(e,r),Rr("invalid",e);break;default:o=r}xe(n,o);var c=o;for(l in c)if(c.hasOwnProperty(l)){var d=c[l];"style"===l?Ee(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&be(e,d):"children"===l?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?null!=d&&"onScroll"===l&&Rr("scroll",e):null!=d&&w(e,l,d,u))}switch(n){case"input":K(e),re(e,r,!1);break;case"textarea":K(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ie(e,!!r.multiple,l,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=zr)}qr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ki(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Po(Oo.current),Po(Ro.current),Vo(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return ca(Bo),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Vo(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bo.current)?0===Bl&&(Bl=3):(0!==Bl&&3!==Bl||(Bl=4),null===Pl||0==(134217727&Ul)&&0==(134217727&$l)||vs(Pl,Dl))),(r||n)&&(t.flags|=4),null);case 4:return Do(),null===e&&Or(t.stateNode.containerInfo),null;case 10:return ro(t),null;case 19:if(ca(Bo),null===(r=t.memoizedState))return null;if(l=0!=(64&t.flags),null===(u=r.rendering))if(l)il(r,!1);else{if(0!==Bl||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(u=jo(e))){for(t.flags|=64,il(r,!1),null!==(l=u.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return da(Bo,1&Bo.current|2),t.child}e=e.sibling}null!==r.tail&&qa()>Zl&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=jo(u))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),il(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate&&!$o)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*qa()-r.renderingStartTime>Zl&&1073741824!==n&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=qa(),n.sibling=null,t=Bo.current,da(Bo,l?1&t|2:1&t),n):null;case 23:case 24:return Ss(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function sl(e){switch(e.tag){case 1:ba(e.type)&&va();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Do(),ca(ma),ca(pa),Ko(),0!=(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return Fo(e),null;case 13:return ca(Bo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ca(Bo),null;case 4:return Do(),null;case 10:return ro(e),null;case 23:case 24:return Ss(),null;default:return null}}function ul(e,t){try{var n="",r=t;do{n+=Z(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a}}function cl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Wi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Yi=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Po(Ro.current);var i,l=null;switch(n){case"input":o=J(e,o),r=J(e,r),l=[];break;case"option":o=oe(e,o),r=oe(e,r),l=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),l=[];break;case"textarea":o=le(e,o),r=le(e,r),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=zr)}for(d in xe(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var u=o[d];for(i in u)u.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(s.hasOwnProperty(d)?l||(l=[]):(l=l||[]).push(d,null));for(d in r){var c=r[d];if(u=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&c!==u&&(null!=c||null!=u))if("style"===d)if(u){for(i in u)!u.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&u[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(l||(l=[]),l.push(d,n)),n=c;else"dangerouslySetInnerHTML"===d?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(l=l||[]).push(d,c)):"children"===d?"string"!=typeof c&&"number"!=typeof c||(l=l||[]).push(d,""+c):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(s.hasOwnProperty(d)?(null!=c&&"onScroll"===d&&Rr("scroll",e),l||u===c||(l=[])):"object"==typeof c&&null!==c&&c.$$typeof===D?c.toString():(l=l||[]).push(d,c))}n&&(l=l||[]).push("style",n);var d=l;(t.updateQueue=d)&&(t.flags|=4)}},Ki=function(e,t,n,r){n!==r&&(t.flags|=4)};var dl="function"==typeof WeakMap?WeakMap:Map;function fl(e,t,n){(n=co(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Kl||(Kl=!0,Ql=r),cl(0,t)},n}function pl(e,t,n){(n=co(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return cl(0,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Xl?Xl=new Set([this]):Xl.add(this),cl(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ml="function"==typeof WeakSet?WeakSet:Set;function hl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(n){zs(e,n)}else t.current=null}function gl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qa(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Vr(t.stateNode.containerInfo))}throw Error(i(163))}function bl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!=(4&(a=a.tag))&&0!=(1&a)&&(Fs(n,e),Ms(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qa(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&ho(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}ho(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&qr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Et(n)))))}throw Error(i(163))}function vl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=null!=a&&a.hasOwnProperty("display")?a.display:null,r.style.display=ke("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function yl(e,t){if(xa&&"function"==typeof xa.onCommitFiberUnmount)try{xa.onCommitFiberUnmount(Sa,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!=(4&r))Fs(t,n);else{r=t;try{a()}catch(o){zs(r,o)}}n=n.next}while(n!==e)}break;case 1:if(hl(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){zs(t,o)}break;case 5:hl(t);break;case 4:Cl(e,t)}}function wl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function kl(e){return 5===e.tag||3===e.tag||4===e.tag}function El(e){e:{for(var t=e.return;null!==t;){if(kl(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||kl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Sl(e,n,t):xl(e,n,t)}function Sl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=zr));else if(4!==r&&null!==(e=e.child))for(Sl(e,t,n),e=e.sibling;null!==e;)Sl(e,t,n),e=e.sibling}function xl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(xl(e,t,n),e=e.sibling;null!==e;)xl(e,t,n),e=e.sibling}function Cl(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var l=e,s=a,u=s;;)if(yl(l,u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===s)break e;for(;null===u.sibling;){if(null===u.return||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}r?(l=n,s=a.stateNode,8===l.nodeType?l.parentNode.removeChild(s):l.removeChild(s)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(yl(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function Tl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ce(e,a),t=Ce(e,r),a=0;a<o.length;a+=2){var l=o[a],s=o[a+1];"style"===l?Ee(n,s):"dangerouslySetInnerHTML"===l?be(n,s):"children"===l?ve(n,s):w(n,l,s,t)}switch(e){case"input":ne(n,r);break;case"textarea":ue(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ie(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Et(n.containerInfo)));case 13:return null!==t.memoizedState&&(Hl=qa(),vl(t.child,!0)),void _l(t);case 19:return void _l(t);case 23:case 24:return void vl(t,null!==t.memoizedState)}throw Error(i(163))}function _l(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ml),t.forEach((function(t){var r=$s.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Al(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Ll=Math.ceil,Rl=k.ReactCurrentDispatcher,Nl=k.ReactCurrentOwner,Ol=0,Pl=null,Il=null,Dl=0,Ml=0,Fl=ua(0),Bl=0,jl=null,zl=0,Ul=0,$l=0,ql=0,Gl=null,Hl=0,Zl=1/0;function Vl(){Zl=qa()+500}var Wl,Yl=null,Kl=!1,Ql=null,Xl=null,Jl=!1,es=null,ts=90,ns=[],rs=[],as=null,os=0,is=null,ls=-1,ss=0,us=0,cs=null,ds=!1;function fs(){return 0!=(48&Ol)?qa():-1!==ls?ls:ls=qa()}function ps(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ga()?1:2;if(0===ss&&(ss=zl),0!==Ka.transition){0!==us&&(us=null!==Gl?Gl.pendingLanes:0),e=ss;var t=4186112&~us;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ga(),0!=(4&Ol)&&98===e?e=zt(12,ss):e=zt(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ss),e}function ms(e,t,n){if(50<os)throw os=0,is=null,Error(i(185));if(null===(e=hs(e,t)))return null;qt(e,t,n),e===Pl&&($l|=t,4===Bl&&vs(e,Dl));var r=Ga();1===t?0!=(8&Ol)&&0==(48&Ol)?ys(e):(gs(e,n),0===Ol&&(Vl(),Wa())):(0==(4&Ol)||98!==r&&99!==r||(null===as?as=new Set([e]):as.add(e)),gs(e,n)),Gl=e}function hs(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function gs(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes;0<l;){var s=31-Gt(l),u=1<<s,c=o[s];if(-1===c){if(0==(u&r)||0!=(u&a)){c=t,Ft(u);var d=Mt;o[s]=10<=d?c+250:6<=d?c+5e3:-1}}else c<=t&&(e.expiredLanes|=u);l&=~u}if(r=Bt(e,e===Pl?Dl:0),t=Mt,0===r)null!==n&&(n!==Fa&&_a(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Fa&&_a(n)}15===t?(n=ys.bind(null,e),null===ja?(ja=[n],za=Ta(Oa,Ya)):ja.push(n),n=Fa):14===t?n=Va(99,ys.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),n=Va(n,bs.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function bs(e){if(ls=-1,us=ss=0,0!=(48&Ol))throw Error(i(327));var t=e.callbackNode;if(Ds()&&e.callbackNode!==t)return null;var n=Bt(e,e===Pl?Dl:0);if(0===n)return null;var r=n,a=Ol;Ol|=16;var o=Ts();for(Pl===e&&Dl===r||(Vl(),xs(e,r));;)try{Ls();break}catch(s){Cs(e,s)}if(no(),Rl.current=o,Ol=a,null!==Il?r=0:(Pl=null,Dl=0,r=Bl),0!=(zl&$l))xs(e,0);else if(0!==r){if(2===r&&(Ol|=64,e.hydrate&&(e.hydrate=!1,Vr(e.containerInfo)),0!==(n=jt(e))&&(r=_s(e,n))),1===r)throw t=jl,xs(e,0),vs(e,n),gs(e,qa()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:case 5:Os(e);break;case 3:if(vs(e,n),(62914560&n)===n&&10<(r=Hl+500-qa())){if(0!==Bt(e,0))break;if(((a=e.suspendedLanes)&n)!==n){fs(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Hr(Os.bind(null,e),r);break}Os(e);break;case 4:if(vs(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var l=31-Gt(n);o=1<<l,(l=r[l])>a&&(a=l),n&=~o}if(n=a,10<(n=(120>(n=qa()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ll(n/1960))-n)){e.timeoutHandle=Hr(Os.bind(null,e),n);break}Os(e);break;default:throw Error(i(329))}}return gs(e,qa()),e.callbackNode===t?bs.bind(null,e):null}function vs(e,t){for(t&=~ql,t&=~$l,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gt(t),r=1<<n;e[n]=-1,t&=~r}}function ys(e){if(0!=(48&Ol))throw Error(i(327));if(Ds(),e===Pl&&0!=(e.expiredLanes&Dl)){var t=Dl,n=_s(e,t);0!=(zl&$l)&&(n=_s(e,t=Bt(e,t)))}else n=_s(e,t=Bt(e,0));if(0!==e.tag&&2===n&&(Ol|=64,e.hydrate&&(e.hydrate=!1,Vr(e.containerInfo)),0!==(t=jt(e))&&(n=_s(e,t))),1===n)throw n=jl,xs(e,0),vs(e,t),gs(e,qa()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Os(e),gs(e,qa()),null}function ws(e,t){var n=Ol;Ol|=1;try{return e(t)}finally{0===(Ol=n)&&(Vl(),Wa())}}function ks(e,t){var n=Ol;Ol&=-2,Ol|=8;try{return e(t)}finally{0===(Ol=n)&&(Vl(),Wa())}}function Es(e,t){da(Fl,Ml),Ml|=t,zl|=t}function Ss(){Ml=Fl.current,ca(Fl)}function xs(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Zr(n)),null!==Il)for(n=Il.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&va();break;case 3:Do(),ca(ma),ca(pa),Ko();break;case 5:Fo(r);break;case 4:Do();break;case 13:case 19:ca(Bo);break;case 10:ro(r);break;case 23:case 24:Ss()}n=n.return}Pl=e,Il=Zs(e.current,null),Dl=Ml=zl=t,Bl=0,jl=null,ql=$l=Ul=0}function Cs(e,t){for(;;){var n=Il;try{if(no(),Qo.current=Oi,ri){for(var r=ei.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ri=!1}if(Jo=0,ni=ti=ei=null,ai=!1,Nl.current=null,null===n||null===n.return){Bl=1,jl=t,Il=null;break}e:{var o=e,i=n.return,l=n,s=t;if(t=Dl,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!=(1&Bo.current),f=i;do{var p;if(p=13===f.tag){var m=f.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=f.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!d)}}if(p){var g=f.updateQueue;if(null===g){var b=new Set;b.add(u),f.updateQueue=b}else g.add(u);if(0==(2&f.mode)){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var v=co(-1,1);v.tag=2,fo(l,v)}l.lanes|=1;break e}s=void 0,l=t;var y=o.pingCache;if(null===y?(y=o.pingCache=new dl,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(l)){s.add(l);var w=Us.bind(null,o,u,l);u.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);s=Error((V(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Bl&&(Bl=2),s=ul(s,l),f=i;do{switch(f.tag){case 3:o=s,f.flags|=4096,t&=-t,f.lanes|=t,po(f,fl(0,o,t));break e;case 1:o=s;var k=f.type,E=f.stateNode;if(0==(64&f.flags)&&("function"==typeof k.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Xl||!Xl.has(E)))){f.flags|=4096,t&=-t,f.lanes|=t,po(f,pl(f,o,t));break e}}f=f.return}while(null!==f)}Ns(n)}catch(S){t=S,Il===n&&null!==n&&(Il=n=n.return);continue}break}}function Ts(){var e=Rl.current;return Rl.current=Oi,null===e?Oi:e}function _s(e,t){var n=Ol;Ol|=16;var r=Ts();for(Pl===e&&Dl===t||xs(e,t);;)try{As();break}catch(a){Cs(e,a)}if(no(),Ol=n,Rl.current=r,null!==Il)throw Error(i(261));return Pl=null,Dl=0,Bl}function As(){for(;null!==Il;)Rs(Il)}function Ls(){for(;null!==Il&&!Aa();)Rs(Il)}function Rs(e){var t=Wl(e.alternate,e,Ml);e.memoizedProps=e.pendingProps,null===t?Ns(e):Il=t,Nl.current=null}function Ns(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=ll(n,t,Ml)))return void(Il=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ml)||0==(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=sl(t)))return n.flags&=2047,void(Il=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Il=t);Il=t=e}while(null!==t);0===Bl&&(Bl=5)}function Os(e){var t=Ga();return Za(99,Ps.bind(null,e,t)),null}function Ps(e,t){do{Ds()}while(null!==es);if(0!=(48&Ol))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var l=e.eventTimes,s=e.expirationTimes;0<o;){var u=31-Gt(o),c=1<<u;a[u]=0,l[u]=-1,s[u]=-1,o&=~c}if(null!==as&&0==(24&r)&&as.has(e)&&as.delete(e),e===Pl&&(Il=Pl=null,Dl=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Ol,Ol|=32,Nl.current=null,Ur=Yt,br(l=gr())){if("selectionStart"in l)s={start:l.selectionStart,end:l.selectionEnd};else e:if(s=(s=l.ownerDocument)&&s.defaultView||window,(c=s.getSelection&&s.getSelection())&&0!==c.rangeCount){s=c.anchorNode,o=c.anchorOffset,u=c.focusNode,c=c.focusOffset;try{s.nodeType,u.nodeType}catch(T){s=null;break e}var d=0,f=-1,p=-1,m=0,h=0,g=l,b=null;t:for(;;){for(var v;g!==s||0!==o&&3!==g.nodeType||(f=d+o),g!==u||0!==c&&3!==g.nodeType||(p=d+c),3===g.nodeType&&(d+=g.nodeValue.length),null!==(v=g.firstChild);)b=g,g=v;for(;;){if(g===l)break t;if(b===s&&++m===o&&(f=d),b===u&&++h===c&&(p=d),null!==(v=g.nextSibling))break;b=(g=b).parentNode}g=v}s=-1===f||-1===p?null:{start:f,end:p}}else s=null;s=s||{start:0,end:0}}else s=null;$r={focusedElem:l,selectionRange:s},Yt=!1,cs=null,ds=!1,Yl=r;do{try{Is()}catch(T){if(null===Yl)throw Error(i(330));zs(Yl,T),Yl=Yl.nextEffect}}while(null!==Yl);cs=null,Yl=r;do{try{for(l=e;null!==Yl;){var y=Yl.flags;if(16&y&&ve(Yl.stateNode,""),128&y){var w=Yl.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&y){case 2:El(Yl),Yl.flags&=-3;break;case 6:El(Yl),Yl.flags&=-3,Tl(Yl.alternate,Yl);break;case 1024:Yl.flags&=-1025;break;case 1028:Yl.flags&=-1025,Tl(Yl.alternate,Yl);break;case 4:Tl(Yl.alternate,Yl);break;case 8:Cl(l,s=Yl);var E=s.alternate;wl(s),null!==E&&wl(E)}Yl=Yl.nextEffect}}catch(T){if(null===Yl)throw Error(i(330));zs(Yl,T),Yl=Yl.nextEffect}}while(null!==Yl);if(k=$r,w=gr(),y=k.focusedElem,l=k.selectionRange,w!==y&&y&&y.ownerDocument&&hr(y.ownerDocument.documentElement,y)){null!==l&&br(y)&&(w=l.start,void 0===(k=l.end)&&(k=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(k,y.value.length)):(k=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),s=y.textContent.length,E=Math.min(l.start,s),l=void 0===l.end?E:Math.min(l.end,s),!k.extend&&E>l&&(s=l,l=E,E=s),s=mr(y,E),o=mr(y,l),s&&o&&(1!==k.rangeCount||k.anchorNode!==s.node||k.anchorOffset!==s.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((w=w.createRange()).setStart(s.node,s.offset),k.removeAllRanges(),E>l?(k.addRange(w),k.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),k.addRange(w))))),w=[];for(k=y;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(k=w[y]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Yt=!!Ur,$r=Ur=null,e.current=n,Yl=r;do{try{for(y=e;null!==Yl;){var S=Yl.flags;if(36&S&&bl(y,Yl.alternate,Yl),128&S){w=void 0;var x=Yl.ref;if(null!==x){var C=Yl.stateNode;Yl.tag,w=C,"function"==typeof x?x(w):x.current=w}}Yl=Yl.nextEffect}}catch(T){if(null===Yl)throw Error(i(330));zs(Yl,T),Yl=Yl.nextEffect}}while(null!==Yl);Yl=null,Ba(),Ol=a}else e.current=n;if(Jl)Jl=!1,es=e,ts=t;else for(Yl=r;null!==Yl;)t=Yl.nextEffect,Yl.nextEffect=null,8&Yl.flags&&((S=Yl).sibling=null,S.stateNode=null),Yl=t;if(0===(r=e.pendingLanes)&&(Xl=null),1===r?e===is?os++:(os=0,is=e):os=0,n=n.stateNode,xa&&"function"==typeof xa.onCommitFiberRoot)try{xa.onCommitFiberRoot(Sa,n,void 0,64==(64&n.current.flags))}catch(T){}if(gs(e,qa()),Kl)throw Kl=!1,e=Ql,Ql=null,e;return 0!=(8&Ol)||Wa(),null}function Is(){for(;null!==Yl;){var e=Yl.alternate;ds||null===cs||(0!=(8&Yl.flags)?et(Yl,cs)&&(ds=!0):13===Yl.tag&&Al(e,Yl)&&et(Yl,cs)&&(ds=!0));var t=Yl.flags;0!=(256&t)&&gl(e,Yl),0==(512&t)||Jl||(Jl=!0,Va(97,(function(){return Ds(),null}))),Yl=Yl.nextEffect}}function Ds(){if(90!==ts){var e=97<ts?97:ts;return ts=90,Za(e,Bs)}return!1}function Ms(e,t){ns.push(t,e),Jl||(Jl=!0,Va(97,(function(){return Ds(),null})))}function Fs(e,t){rs.push(t,e),Jl||(Jl=!0,Va(97,(function(){return Ds(),null})))}function Bs(){if(null===es)return!1;var e=es;if(es=null,0!=(48&Ol))throw Error(i(331));var t=Ol;Ol|=32;var n=rs;rs=[];for(var r=0;r<n.length;r+=2){var a=n[r],o=n[r+1],l=a.destroy;if(a.destroy=void 0,"function"==typeof l)try{l()}catch(u){if(null===o)throw Error(i(330));zs(o,u)}}for(n=ns,ns=[],r=0;r<n.length;r+=2){a=n[r],o=n[r+1];try{var s=a.create;a.destroy=s()}catch(u){if(null===o)throw Error(i(330));zs(o,u)}}for(s=e.current.firstEffect;null!==s;)e=s.nextEffect,s.nextEffect=null,8&s.flags&&(s.sibling=null,s.stateNode=null),s=e;return Ol=t,Wa(),!0}function js(e,t,n){fo(e,t=fl(0,t=ul(n,t),1)),t=fs(),null!==(e=hs(e,1))&&(qt(e,1,t),gs(e,t))}function zs(e,t){if(3===e.tag)js(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){js(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Xl||!Xl.has(r))){var a=pl(n,e=ul(t,e),1);if(fo(n,a),a=fs(),null!==(n=hs(n,1)))qt(n,1,a),gs(n,a);else if("function"==typeof r.componentDidCatch&&(null===Xl||!Xl.has(r)))try{r.componentDidCatch(t,e)}catch(o){}break}}n=n.return}}function Us(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=fs(),e.pingedLanes|=e.suspendedLanes&n,Pl===e&&(Dl&n)===n&&(4===Bl||3===Bl&&(62914560&Dl)===Dl&&500>qa()-Hl?xs(e,0):ql|=n),gs(e,t)}function $s(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Ga()?1:2:(0===ss&&(ss=zl),0===(t=Ut(62914560&~ss))&&(t=4194304))),n=fs(),null!==(e=hs(e,t))&&(qt(e,t,n),gs(e,n))}function qs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Gs(e,t,n,r){return new qs(e,t,n,r)}function Hs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zs(e,t){var n=e.alternate;return null===n?((n=Gs(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Vs(e,t,n,r,a,o){var l=2;if(r=e,"function"==typeof e)Hs(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case x:return Ws(n.children,a,o,t);case M:l=8,a|=16;break;case C:l=8,a|=1;break;case T:return(e=Gs(12,n,t,8|a)).elementType=T,e.type=T,e.lanes=o,e;case R:return(e=Gs(13,n,t,a)).type=R,e.elementType=R,e.lanes=o,e;case N:return(e=Gs(19,n,t,a)).elementType=N,e.lanes=o,e;case F:return Ys(n,a,o,t);case B:return(e=Gs(24,n,t,a)).elementType=B,e.lanes=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case A:l=9;break e;case L:l=11;break e;case O:l=14;break e;case P:l=16,r=null;break e;case I:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Gs(l,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Ws(e,t,n,r){return(e=Gs(7,e,r,t)).lanes=n,e}function Ys(e,t,n,r){return(e=Gs(23,e,r,t)).elementType=F,e.lanes=n,e}function Ks(e,t,n){return(e=Gs(6,e,null,t)).lanes=n,e}function Qs(e,t,n){return(t=Gs(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xs(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=$t(0),this.expirationTimes=$t(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$t(0),this.mutableSourceEagerHydrationData=null}function Js(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function eu(e,t,n,r){var a=t.current,o=fs(),l=ps(a);e:if(n){t:{if(Ke(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ba(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(i(171))}if(1===n.tag){var u=n.type;if(ba(u)){n=wa(n,u,s);break e}}n=s}else n=fa;return null===t.context?t.context=n:t.pendingContext=n,(t=co(o,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fo(a,t),ms(a,l,o),l}function tu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ru(e,t){nu(e,t),(e=e.alternate)&&nu(e,t)}function au(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Xs(e,t,null!=n&&!0===n.hydrate),t=Gs(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,so(t),e[ea]=n.current,Or(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function ou(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function iu(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var l=a;a=function(){var e=tu(i);l.call(e)}}eu(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new au(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var s=a;a=function(){var e=tu(i);s.call(e)}}ks((function(){eu(t,i,e,a)}))}return tu(i)}function lu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ou(t))throw Error(i(200));return Js(e,t,null,n)}Wl=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||ma.current)Fi=!0;else{if(0==(n&r)){switch(Fi=!1,t.tag){case 3:Vi(t),Wo();break;case 5:Mo(t);break;case 1:ba(t.type)&&ka(t);break;case 4:Io(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;da(Xa,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Xi(e,t,n):(da(Bo,1&Bo.current),null!==(t=ol(e,t,n))?t.sibling:null);da(Bo,1&Bo.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return al(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),da(Bo,Bo.current),r)break;return null;case 23:case 24:return t.lanes=0,$i(e,t,n)}return ol(e,t,n)}Fi=0!=(16384&e.flags)}else Fi=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=ga(t,pa.current),oo(t,n),a=li(null,t,r,e,a,n),t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ba(r)){var o=!0;ka(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,so(t);var l=r.getDerivedStateFromProps;"function"==typeof l&&bo(t,r,l,e),a.updater=vo,t.stateNode=a,a._reactInternals=t,Eo(t,r,e,n),t=Zi(null,t,r,!0,o,n)}else t.tag=0,Bi(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return Hs(e)?1:0;if(null!=e){if((e=e.$$typeof)===L)return 11;if(e===O)return 14}return 2}(a),e=Qa(a,e),o){case 0:t=Gi(null,t,a,e,n);break e;case 1:t=Hi(null,t,a,e,n);break e;case 11:t=ji(null,t,a,e,n);break e;case 14:t=zi(null,t,a,Qa(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Gi(e,t,r,a=t.elementType===r?a:Qa(r,a),n);case 1:return r=t.type,a=t.pendingProps,Hi(e,t,r,a=t.elementType===r?a:Qa(r,a),n);case 3:if(Vi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,uo(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===a)Wo(),t=ol(e,t,n);else{if((o=(a=t.stateNode).hydrate)&&(Uo=Wr(t.stateNode.containerInfo.firstChild),zo=t,o=$o=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],Yo.push(o);for(n=Ao(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Bi(e,t,r,n),Wo();t=t.child}return t;case 5:return Mo(t),null===e&&Ho(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,l=a.children,Gr(r,a)?l=null:null!==o&&Gr(r,o)&&(t.flags|=16),qi(e,t),Bi(e,t,l,n),t.child;case 6:return null===e&&Ho(t),null;case 13:return Xi(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=_o(t,null,r,n):Bi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ji(e,t,r,a=t.elementType===r?a:Qa(r,a),n);case 7:return Bi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Bi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,o=a.value;var s=t.type._context;if(da(Xa,s._currentValue),s._currentValue=o,null!==l)if(s=l.value,0===(o=cr(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(l.children===a.children&&!ma.current){t=ol(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var u=s.dependencies;if(null!==u){l=s.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===s.tag&&((c=co(-1,n&-n)).tag=2,fo(s,c)),s.lanes|=n,null!==(c=s.alternate)&&(c.lanes|=n),ao(s.return,n),u.lanes|=n;break}c=c.next}}else l=10===s.tag&&s.type===t.type?null:s.child;if(null!==l)l.return=s;else for(l=s;null!==l;){if(l===t){l=null;break}if(null!==(s=l.sibling)){s.return=l.return,l=s;break}l=l.return}s=l}Bi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,oo(t,n),r=r(a=io(a,o.unstable_observedBits)),t.flags|=1,Bi(e,t,r,n),t.child;case 14:return o=Qa(a=t.type,t.pendingProps),zi(e,t,a,o=Qa(a.type,o),r,n);case 15:return Ui(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Qa(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ba(r)?(e=!0,ka(t)):e=!1,oo(t,n),wo(t,r,a),Eo(t,r,a,n),Zi(null,t,r,!0,e,n);case 19:return al(e,t,n);case 23:case 24:return $i(e,t,n)}throw Error(i(156,t.tag))},au.prototype.render=function(e){eu(e,this._internalRoot,null,null)},au.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;eu(null,e,null,(function(){t[ea]=null}))},tt=function(e){13===e.tag&&(ms(e,4,fs()),ru(e,4))},nt=function(e){13===e.tag&&(ms(e,67108864,fs()),ru(e,67108864))},rt=function(e){if(13===e.tag){var t=fs(),n=ps(e);ms(e,n,t),ru(e,n)}},at=function(e,t){return t()},_e=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=oa(r);if(!a)throw Error(i(90));Q(r),ne(r,a)}}}break;case"textarea":ue(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Pe=ws,Ie=function(e,t,n,r,a){var o=Ol;Ol|=4;try{return Za(98,e.bind(null,t,n,r,a))}finally{0===(Ol=o)&&(Vl(),Wa())}},De=function(){0==(49&Ol)&&(function(){if(null!==as){var e=as;as=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,gs(e,qa())}))}Wa()}(),Ds())},Me=function(e,t){var n=Ol;Ol|=2;try{return e(t)}finally{0===(Ol=n)&&(Vl(),Wa())}};var su={Events:[ra,aa,oa,Ne,Oe,Ds,{current:!1}]},uu={findFiberByHostInstance:na,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},cu={bundleType:uu.bundleType,version:uu.version,rendererPackageName:uu.rendererPackageName,rendererConfig:uu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:uu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var du=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!du.isDisabled&&du.supportsFiber)try{Sa=du.inject(cu),xa=du}catch(ge){}}t.hydrate=function(e,t,n){if(!ou(t))throw Error(i(200));return iu(null,e,t,!0,n)}},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(4448)},9590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,a="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){if(e.constructor!==i.constructor)return!1;var l,s,u,c;if(Array.isArray(e)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(!o(e[s],i[s]))return!1;return!0}if(n&&e instanceof Map&&i instanceof Map){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;for(c=e.entries();!(s=c.next()).done;)if(!o(s.value[1],i.get(s.value[0])))return!1;return!0}if(r&&e instanceof Set&&i instanceof Set){if(e.size!==i.size)return!1;for(c=e.entries();!(s=c.next()).done;)if(!i.has(s.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(i)){if((l=e.length)!=i.length)return!1;for(s=l;0!=s--;)if(e[s]!==i[s])return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if((l=(u=Object.keys(e)).length)!==Object.keys(i).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(i,u[s]))return!1;if(t&&e instanceof Element)return!1;for(s=l;0!=s--;)if(("_owner"!==u[s]&&"__v"!==u[s]&&"__o"!==u[s]||!e.$$typeof)&&!o(e[u[s]],i[u[s]]))return!1;return!0}return e!=e&&i!=i}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},405:(e,t,n)=>{"use strict";n.d(t,{B6:()=>H,ql:()=>J});var r=n(7294),a=n(5697),o=n.n(a),i=n(9590),l=n.n(i),s=n(1143),u=n.n(s),c=n(6774),d=n.n(c);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(a[n]=e[n]);return a}var g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},b={rel:["amphtml","canonical","alternate"]},v={type:["application/ld+json"]},y={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.keys(g).map((function(e){return g[e]})),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},E=Object.keys(k).reduce((function(e,t){return e[k[t]]=t,e}),{}),S=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},x=function(e){var t=S(e,g.TITLE),n=S(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=S(e,"defaultTitle");return t||r||void 0},C=function(e){return S(e,"onChangeClientState")||function(){}},T=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return f({},e,t)}),{})},_=function(e,t){return t.filter((function(e){return void 0!==e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a<r.length;a+=1){var o=r[a].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},A=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&console&&"function"==typeof console.warn&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof t[e]+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var a={};n.filter((function(e){for(var n,o=Object.keys(e),i=0;i<o.length;i+=1){var l=o[i],s=l.toLowerCase();-1===t.indexOf(s)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===s&&"stylesheet"===e[s].toLowerCase()||(n=s),-1===t.indexOf(l)||"innerHTML"!==l&&"cssText"!==l&&"itemprop"!==l||(n=l)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),a[n]||(a[n]={}),!r[n][u]&&(a[n][u]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(a),i=0;i<o.length;i+=1){var l=o[i],s=f({},r[l],a[l]);r[l]=s}return e}),[]).reverse()},L=function(e,t){if(Array.isArray(e)&&e.length)for(var n=0;n<e.length;n+=1)if(e[n][t])return!0;return!1},R=function(e){return Array.isArray(e)?e.join(""):e},N=function(e,t){return Array.isArray(e)?e.reduce((function(e,n){return function(e,t){for(var n=Object.keys(e),r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1}(n,t)?e.priority.push(n):e.default.push(n),e}),{priority:[],default:[]}):{default:e}},O=function(e,t){var n;return f({},e,((n={})[t]=void 0,n))},P=[g.NOSCRIPT,g.SCRIPT,g.STYLE],I=function(e,t){return void 0===t&&(t=!0),!1===t?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},D=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},M=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[k[n]||n]=e[n],t}),t)},F=function(e,t){return t.map((function(t,n){var a,o=((a={key:n})["data-rh"]=!0,a);return Object.keys(t).forEach((function(e){var n=k[e]||e;"innerHTML"===n||"cssText"===n?o.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:o[n]=t[e]})),r.createElement(e,o)}))},B=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return n=t.titleAttributes,(a={key:e=t.title})["data-rh"]=!0,o=M(n,a),[r.createElement(g.TITLE,o,e)];var e,n,a,o},toString:function(){return function(e,t,n,r){var a=D(n),o=R(t);return a?"<"+e+' data-rh="true" '+a+">"+I(o,r)+"</"+e+">":"<"+e+' data-rh="true">'+I(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return M(t)},toString:function(){return D(t)}};default:return{toComponent:function(){return F(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+I(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+a+(i?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},j=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.noscriptTags,i=e.styleTags,l=e.title,s=void 0===l?"":l,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,a=N(e.metaTags,y),o=N(t,b),i=N(n,v);return{priorityMethods:{toComponent:function(){return[].concat(F(g.META,a.priority),F(g.LINK,o.priority),F(g.SCRIPT,i.priority))},toString:function(){return B(g.META,a.priority,r)+" "+B(g.LINK,o.priority,r)+" "+B(g.SCRIPT,i.priority,r)}},metaTags:a.default,linkTags:o.default,scriptTags:i.default}}(e);p=m.priorityMethods,c=m.linkTags,d=m.metaTags,f=m.scriptTags}return{priority:p,base:B(g.BASE,t,r),bodyAttributes:B("bodyAttributes",n,r),htmlAttributes:B("htmlAttributes",a,r),link:B(g.LINK,c,r),meta:B(g.META,d,r),noscript:B(g.NOSCRIPT,o,r),script:B(g.SCRIPT,f,r),style:B(g.STYLE,i,r),title:B(g.TITLE,{title:s,titleAttributes:u},r)}},z=[],U=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?z:n.instances},add:function(e){(n.canUseDOM?z:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?z:n.instances).indexOf(e);(n.canUseDOM?z:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=j({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},$=r.createContext({}),q=o().shape({setHelmet:o().func,helmetInstances:o().shape({get:o().func,add:o().func,remove:o().func})}),G="undefined"!=typeof document,H=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new U(r.props.context,t.canUseDOM),r}return p(t,e),t.prototype.render=function(){return r.createElement($.Provider,{value:this.helmetData.value},this.props.children)},t}(r.Component);H.canUseDOM=G,H.propTypes={context:o().shape({helmet:o().shape()}),children:o().node.isRequired},H.defaultProps={context:{}},H.displayName="HelmetProvider";var Z=function(e,t){var n,r=document.head||document.querySelector(g.HEAD),a=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(a),i=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&("innerHTML"===a?r.innerHTML=t.innerHTML:"cssText"===a?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(a,void 0===t[a]?"":t[a]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):i.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:i}},V=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l<i.length;l+=1){var s=i[l],u=t[s]||"";n.getAttribute(s)!==u&&n.setAttribute(s,u),-1===a.indexOf(s)&&a.push(s);var c=o.indexOf(s);-1!==c&&o.splice(c,1)}for(var d=o.length-1;d>=0;d-=1)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==i.join(",")&&n.setAttribute("data-rh",i.join(","))}},W=function(e,t){var n=e.baseTag,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;V(g.BODY,e.bodyAttributes),V(g.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=R(e)),V(g.TITLE,t)}(c,d);var f={baseTag:Z(g.BASE,n),linkTags:Z(g.LINK,a),metaTags:Z(g.META,o),noscriptTags:Z(g.NOSCRIPT,i),scriptTags:Z(g.SCRIPT,s),styleTags:Z(g.STYLE,u)},p={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(m[e]=f[e].oldTags)})),t&&t(),l(e,p,m)},Y=null,K=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).rendered=!1,t}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!d()(e,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var e,t,n=this.props.context,r=n.setHelmet,a=null,o=(e=n.helmetInstances.get().map((function(e){var t=f({},e.props);return delete t.context,t})),{baseTag:_(["href"],e),bodyAttributes:T("bodyAttributes",e),defer:S(e,"defer"),encode:S(e,"encodeSpecialCharacters"),htmlAttributes:T("htmlAttributes",e),linkTags:A(g.LINK,["rel","href"],e),metaTags:A(g.META,["name","charset","http-equiv","property","itemprop"],e),noscriptTags:A(g.NOSCRIPT,["innerHTML"],e),onChangeClientState:C(e),scriptTags:A(g.SCRIPT,["src","innerHTML"],e),styleTags:A(g.STYLE,["cssText"],e),title:x(e),titleAttributes:T("titleAttributes",e),prioritizeSeoTags:L(e,"prioritizeSeoTags")});H.canUseDOM?(t=o,Y&&cancelAnimationFrame(Y),t.defer?Y=requestAnimationFrame((function(){W(t,(function(){Y=null}))})):(W(t),Y=null)):j&&(a=j(o)),r(a)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(r.Component);K.propTypes={context:q.isRequired},K.displayName="HelmetDispatcher";var Q=["children"],X=["children"],J=function(e){function t(){return e.apply(this,arguments)||this}p(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e){return!l()(O(this.props,"helmetData"),O(e,"helmetData"))},n.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t};default:throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return f({},r,((t={})[n.type]=[].concat(r[n.type]||[],[f({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case g.TITLE:return f({},a,((t={})[r.type]=i,t.titleAttributes=f({},o),t));case g.BODY:return f({},a,{bodyAttributes:f({},o)});case g.HTML:return f({},a,{htmlAttributes:f({},o)});default:return f({},a,((n={})[r.type]=f({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=f({},t);return Object.keys(e).forEach((function(t){var r;n=f({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return u()(w.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+w.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),u()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``}</"+e.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,a={};return r.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,o=r.children,i=h(r,Q),l=Object.keys(i).reduce((function(e,t){return e[E[t]||t]=i[t],e}),{}),s=e.type;switch("symbol"==typeof s?s=s.toString():n.warnOnInvalidChildren(e,o),s){case g.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:a=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:a,newChildProps:l,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(a,t)},n.render=function(){var e=this.props,t=e.children,n=h(e,X),a=f({},n),o=n.helmetData;return t&&(a=this.mapChildrenToProps(t,a)),!o||o instanceof U||(o=new U(o.context,o.instances)),o?r.createElement(K,f({},a,{context:o.value,helmetData:void 0})):r.createElement($.Consumer,null,(function(e){return r.createElement(K,f({},a,{context:e}))}))},t}(r.Component);J.propTypes={base:o().object,bodyAttributes:o().object,children:o().oneOfType([o().arrayOf(o().node),o().node]),defaultTitle:o().string,defer:o().bool,encodeSpecialCharacters:o().bool,htmlAttributes:o().object,link:o().arrayOf(o().object),meta:o().arrayOf(o().object),noscript:o().arrayOf(o().object),onChangeClientState:o().func,script:o().arrayOf(o().object),style:o().arrayOf(o().object),title:o().string,titleAttributes:o().object,titleTemplate:o().string,prioritizeSeoTags:o().bool,helmetData:o().object},J.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},J.displayName="Helmet"},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case h:case s:return e;default:return t}}case a:return t}}}function E(e){return k(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=h,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||k(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===f},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===i},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8356:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}var l=n(7294),s=n(5697),u=[],c=[];function d(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((function(e){return n.loading=!1,n.loaded=e,e})).catch((function(e){throw n.loading=!1,n.error=e,e})),n}function f(e){var t={loading:!1,loaded:{},error:null},n=[];try{Object.keys(e).forEach((function(r){var a=d(e[r]);a.loading?t.loading=!0:(t.loaded[r]=a.loaded,t.error=a.error),n.push(a.promise),a.promise.then((function(e){t.loaded[r]=e})).catch((function(e){t.error=e}))}))}catch(r){t.error=r}return t.promise=Promise.all(n).then((function(e){return t.loading=!1,e})).catch((function(e){throw t.loading=!1,e})),t}function p(e,t){return l.createElement((n=e)&&n.__esModule?n.default:n,t);var n}function m(e,t){var d,f;if(!t.loading)throw new Error("react-loadable requires a `loading` component");var m=i({loader:null,loading:null,delay:200,timeout:null,render:p,webpack:null,modules:null},t),h=null;function g(){return h||(h=e(m.loader)),h.promise}return u.push(g),"function"==typeof m.webpack&&c.push((function(){if((0,m.webpack)().every((function(e){return void 0!==e&&void 0!==n.m[e]})))return g()})),f=d=function(t){function n(n){var r;return o(a(a(r=t.call(this,n)||this)),"retry",(function(){r.setState({error:null,loading:!0,timedOut:!1}),h=e(m.loader),r._loadModule()})),g(),r.state={error:h.error,pastDelay:!1,timedOut:!1,loading:h.loading,loaded:h.loaded},r}r(n,t),n.preload=function(){return g()};var i=n.prototype;return i.UNSAFE_componentWillMount=function(){this._loadModule()},i.componentDidMount=function(){this._mounted=!0},i._loadModule=function(){var e=this;if(this.context.loadable&&Array.isArray(m.modules)&&m.modules.forEach((function(t){e.context.loadable.report(t)})),h.loading){var t=function(t){e._mounted&&e.setState(t)};"number"==typeof m.delay&&(0===m.delay?this.setState({pastDelay:!0}):this._delay=setTimeout((function(){t({pastDelay:!0})}),m.delay)),"number"==typeof m.timeout&&(this._timeout=setTimeout((function(){t({timedOut:!0})}),m.timeout));var n=function(){t({error:h.error,loaded:h.loaded,loading:h.loading}),e._clearTimeouts()};h.promise.then((function(){return n(),null})).catch((function(e){return n(),null}))}},i.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},i._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},i.render=function(){return this.state.loading||this.state.error?l.createElement(m.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?m.render(this.state.loaded,this.props):null},n}(l.Component),o(d,"contextTypes",{loadable:s.shape({report:s.func.isRequired})}),f}function h(e){return m(d,e)}h.Map=function(e){if("function"!=typeof e.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return m(f,e)};var g=function(e){function t(){return e.apply(this,arguments)||this}r(t,e);var n=t.prototype;return n.getChildContext=function(){return{loadable:{report:this.props.report}}},n.render=function(){return l.Children.only(this.props.children)},t}(l.Component);function b(e){for(var t=[];e.length;){var n=e.pop();t.push(n())}return Promise.all(t).then((function(){if(e.length)return b(e)}))}o(g,"propTypes",{report:s.func.isRequired}),o(g,"childContextTypes",{loadable:s.shape({report:s.func.isRequired}).isRequired}),h.Capture=g,h.preloadAll=function(){return new Promise((function(e,t){b(u).then(e,t)}))},h.preloadReady=function(){return new Promise((function(e,t){b(c).then(e,e)}))},e.exports=h},8790:(e,t,n)=>{"use strict";n.d(t,{H:()=>l,f:()=>i});var r=n(6550),a=n(7462),o=n(7294);function i(e,t,n){return void 0===n&&(n=[]),e.some((function(e){var a=e.path?(0,r.LX)(t,e):n.length?n[n.length-1].match:r.F0.computeRootMatch(t);return a&&(n.push({route:e,match:a}),e.routes&&i(e.routes,t,n)),a})),n}function l(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e?o.createElement(r.rs,n,e.map((function(e,n){return o.createElement(r.AW,{key:e.key||n,path:e.path,exact:e.exact,strict:e.strict,render:function(n){return e.render?e.render((0,a.Z)({},n,{},t,{route:e})):o.createElement(e.component,(0,a.Z)({},n,t,{route:e}))}})}))):null}},3727:(e,t,n)=>{"use strict";n.d(t,{OL:()=>y,VK:()=>c,rU:()=>g});var r=n(6550),a=n(5068),o=n(7294),i=n(9318),l=n(7462),s=n(3366),u=n(8776),c=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,i.lX)(t.props),t}return(0,a.Z)(t,e),t.prototype.render=function(){return o.createElement(r.F0,{history:this.history,children:this.props.children})},t}(o.Component);o.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,i.ob)(e,null,null,t):e},p=function(e){return e},m=o.forwardRef;void 0===m&&(m=p);var h=m((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,i=(0,s.Z)(e,["innerRef","navigate","onClick"]),u=i.target,c=(0,l.Z)({},i,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=p!==m&&t||n,o.createElement("a",c)}));var g=m((function(e,t){var n=e.component,a=void 0===n?h:n,c=e.replace,g=e.to,b=e.innerRef,v=(0,s.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=e.history,r=f(d(g,e.location),e.location),s=r?n.createHref(r):"",h=(0,l.Z)({},v,{href:s,navigate:function(){var t=d(g,e.location),r=(0,i.Ep)(e.location)===(0,i.Ep)(f(t));(c||r?n.replace:n.push)(t)}});return p!==m?h.ref=t||b:h.innerRef=b,o.createElement(a,h)}))})),b=function(e){return e},v=o.forwardRef;void 0===v&&(v=b);var y=v((function(e,t){var n=e["aria-current"],a=void 0===n?"page":n,i=e.activeClassName,c=void 0===i?"active":i,p=e.activeStyle,m=e.className,h=e.exact,y=e.isActive,w=e.location,k=e.sensitive,E=e.strict,S=e.style,x=e.to,C=e.innerRef,T=(0,s.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var n=w||e.location,i=f(d(x,n),n),s=i.pathname,_=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),A=_?(0,r.LX)(n.pathname,{path:_,exact:h,sensitive:k,strict:E}):null,L=!!(y?y(A,n):A),R="function"==typeof m?m(L):m,N="function"==typeof S?S(L):S;L&&(R=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(R,c),N=(0,l.Z)({},N,p));var O=(0,l.Z)({"aria-current":L&&a||null,className:R,style:N,to:i},T);return b!==v?O.ref=t||C:O.innerRef=C,o.createElement(g,O)}))}))},6550:(e,t,n)=>{"use strict";n.d(t,{AW:()=>x,F0:()=>w,LX:()=>S,TH:()=>P,k6:()=>O,rs:()=>R,s6:()=>y});var r=n(5068),a=n(7294),o=n(5697),i=n.n(o),l=n(9318),s=n(8776),u=n(7462),c=n(4779),d=n.n(c),f=(n(9864),n(3366)),p=(n(8679),1073741823),m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function h(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var g=a.createContext||function(e,t){var n,o,l="__create-react-context-"+function(){var e="__global_unique_id__";return m[e]=(m[e]||0)+1}()+"__",s=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).emitter=h(t.props.value),t}(0,r.Z)(n,e);var a=n.prototype;return a.getChildContext=function(){var e;return(e={})[l]=this.emitter,e},a.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(i=a)?0!==o||1/o==1/i:o!=o&&i!=i)?n=0:(n="function"==typeof t?t(r,a):p,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,i},a.render=function(){return this.props.children},n}(a.Component);s.childContextTypes=((n={})[l]=i().object.isRequired,n);var u=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var a=n.prototype;return a.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?p:t},a.componentDidMount=function(){this.context[l]&&this.context[l].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?p:e},a.componentWillUnmount=function(){this.context[l]&&this.context[l].off(this.onUpdate)},a.getValue=function(){return this.context[l]?this.context[l].get():e},a.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(a.Component);return u.contextTypes=((o={})[l]=i().object,o),{Provider:s,Consumer:u}},b=function(e){var t=g();return t.displayName=e,t},v=b("Router-History"),y=b("Router"),w=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return a.createElement(y.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(v.Provider,{children:this.props.children||null,value:this.props.history}))},t}(a.Component);a.Component;a.Component;var k={},E=0;function S(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,i=n.strict,l=void 0!==i&&i,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=k[n]||(k[n]={});if(r[e])return r[e];var a=[],o={regexp:d()(e,a,t),keys:a};return E<1e4&&(r[e]=o,E++),o}(n,{end:o,strict:l,sensitive:u}),a=r.regexp,i=r.keys,s=a.exec(e);if(!s)return null;var c=s[0],f=s.slice(1),p=e===c;return o&&!p?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:p,params:i.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var x=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?S(n.pathname,e.props):t.match,o=(0,u.Z)({},t,{location:n,match:r}),i=e.props,l=i.children,c=i.component,d=i.render;return Array.isArray(l)&&function(e){return 0===a.Children.count(e)}(l)&&(l=null),a.createElement(y.Provider,{value:o},o.match?l?"function"==typeof l?l(o):l:c?a.createElement(c,o):d?d(o):null:"function"==typeof l?l(o):null)}))},t}(a.Component);function C(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=C(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function _(e){return"string"==typeof e?e:(0,l.Ep)(e)}function A(e){return function(){(0,s.Z)(!1)}}function L(){}a.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return a.createElement(y.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,o=e.props.location||t.location;return a.Children.forEach(e.props.children,(function(e){if(null==r&&a.isValidElement(e)){n=e;var i=e.props.path||e.props.from;r=i?S(o.pathname,(0,u.Z)({},e.props,{path:i})):t.match}})),r?a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(a.Component);var N=a.useContext;function O(){return N(v)}function P(){return N(y).location}},2408:(e,t,n)=>{"use strict";var r=n(7418),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,l=60110,s=60112;t.Suspense=60113;var u=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;a=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),i=d("react.provider"),l=d("react.context"),s=d("react.forward_ref"),t.Suspense=d("react.suspense"),u=d("react.memo"),c=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h={};function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}function b(){}function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var y=v.prototype=new b;y.constructor=v,r(y,g.prototype),y.isPureReactComponent=!0;var w={current:null},k=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,o={},i=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,r)&&!E.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:a,type:e,key:i,ref:l,props:o,_owner:w.current}}function x(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var C=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,t,n,r,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case o:s=!0}}if(s)return i=i(s=e),e=""===r?"."+T(s,0):r,Array.isArray(i)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),_(i,t,n,"",(function(e){return e}))):null!=i&&(x(i)&&(i=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=""===r?".":r+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=r+T(l=e[u],u);s+=_(l,t,n,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=_(l=l.value,t,n,c=r+T(l,u++),i);else if("object"===l)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return s}function A(e,t,n){if(null==e)return e;var r=[],a=0;return _(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function L(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var R={current:null};function N(){var e=R.current;if(null===e)throw Error(p(321));return e}var O={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:A,forEach:function(e,t,n){A(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!x(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var o=r({},e.props),i=e.key,l=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,s=w.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)k.call(t,c)&&!E.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];o.children=u}return{$$typeof:a,type:e.type,key:i,ref:l,props:o,_owner:s}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=x,t.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return N().useCallback(e,t)},t.useContext=function(e,t){return N().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return N().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return N().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return N().useLayoutEffect(e,t)},t.useMemo=function(e,t){return N().useMemo(e,t)},t.useReducer=function(e,t,n){return N().useReducer(e,t,n)},t.useRef=function(e){return N().useRef(e)},t.useState=function(e){return N().useState(e)},t.version="17.0.2"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},53:(e,t)=>{"use strict";var n,r,a,o;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();t.unstable_now=function(){return l.now()-s}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,d=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(n){throw setTimeout(d,0),n}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(d,0))},r=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,g=null,b=-1,v=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):v=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,k=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();y=e+v;try{g(!0,e)?k.postMessage(null):(h=!1,g=null)}catch(n){throw k.postMessage(null),n}}else h=!1},n=function(e){g=e,h||(h=!0,k.postMessage(null))},r=function(e,n){b=f((function(){e(t.unstable_now())}),n)},a=function(){p(b),b=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<C(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],l=o+1,s=e[l];if(void 0!==i&&0>C(i,n))void 0!==s&&0>C(s,i)?(e[r]=s,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==s&&0>C(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],_=[],A=1,L=null,R=3,N=!1,O=!1,P=!1;function I(e){for(var t=S(_);null!==t;){if(null===t.callback)x(_);else{if(!(t.startTime<=e))break;x(_),t.sortIndex=t.expirationTime,E(T,t)}t=S(_)}}function D(e){if(P=!1,I(e),!O)if(null!==S(T))O=!0,n(M);else{var t=S(_);null!==t&&r(D,t.startTime-e)}}function M(e,n){O=!1,P&&(P=!1,a()),N=!0;var o=R;try{for(I(n),L=S(T);null!==L&&(!(L.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=L.callback;if("function"==typeof i){L.callback=null,R=L.priorityLevel;var l=i(L.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?L.callback=l:L===S(T)&&x(T),I(n)}else x(T);L=S(T)}if(null!==L)var s=!0;else{var u=S(_);null!==u&&r(D,u.startTime-n),s=!1}return s}finally{L=null,R=o,N=!1}}var F=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){O||N||(O=!0,n(M))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return S(T)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,o,i){var l=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?l+i:l:i=l,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:A++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>l?(e.sortIndex=i,E(_,e),null===S(T)&&e===S(_)&&(P?a():P=!0,r(D,i-l))):(e.sortIndex=s,E(T,e),O||N||(O=!0,n(M))),e},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},6774:e=>{e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(t),s=0;s<o.length;s++){var u=o[s];if(!l(u))return!1;var c=e[u],d=t[u];if(!1===(a=n?n.call(r,c,d,u):void 0)||void 0===a&&c!==d)return!1}return!0}},6809:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={title:"FeaturIT Docs",tagline:"Gain control over your features",url:"https://featurit.github.io",baseUrl:"/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/favicon.ico",organizationName:"featurit",projectName:"featurit.github.io",i18n:{defaultLocale:"en",locales:["en"],path:"i18n",localeConfigs:{}},markdown:{mermaid:!0},presets:[["classic",{docs:{routeBasePath:"/"},blog:{showReadingTime:!1},theme:{customCss:"/home/xavier/Code/docuexample/my-website/src/css/custom.css"}}]],themes:["@docusaurus/theme-mermaid"],themeConfig:{navbar:{title:"FeaturIT Docs",logo:{alt:"FeaturIT Logo",src:"img/mini_logo.svg"},items:[{type:"doc",docId:"intro",position:"left",label:"Documentation"},{href:"https://github.com/featurit",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"More",items:[{label:"GitHub",href:"https://github.com/featurit"},{label:"Blog",href:"https://featurit.com/blog"}]}],copyright:"Copyright \xa9 2023 FEATURE TECHNOLOGY S.L."},prism:{theme:{plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},darkTheme:{plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},additionalLanguages:[],magicComments:[{className:"theme-code-block-highlighted-line",line:"highlight-next-line",block:{start:"highlight-start",end:"highlight-end"}}]},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1},docs:{versionPersistence:"localStorage",sidebar:{hideable:!1,autoCollapseCategories:!1}},metadata:[],tableOfContents:{minHeadingLevel:2,maxHeadingLevel:3},mermaid:{theme:{dark:"dark",light:"default"},options:{}}},baseUrlIssueBanner:!0,onDuplicateRoutes:"warn",staticDirectories:["static"],customFields:{},plugins:[],scripts:[],headTags:[],stylesheets:[],clientModules:[],titleDelimiter:"|",noIndex:!1}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},5068:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:()=>a})},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}n.d(t,{Z:()=>r})},8776:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r="Invariant failed";function a(e,t){if(!e)throw new Error(r)}},7529:e=>{"use strict";e.exports={}},6887:e=>{"use strict";e.exports=JSON.parse('{"/-315":{"__comp":"1be78505","__context":{"plugin":"a23c3548"},"versionMetadata":"935f2afb"},"/-678":{"__comp":"17896441","content":"0e384e19"},"/best-practices/naming-features-175":{"__comp":"17896441","content":"00cdcb4e"},"/best-practices/stickiness-attributes-8b7":{"__comp":"17896441","content":"d4277124"},"/category/best-practices-c05":{"__comp":"14eb3368","categoryGeneratedIndex":"9dbf4169"},"/category/segmentation-5d1":{"__comp":"14eb3368","categoryGeneratedIndex":"a1f504af"},"/category/the-basics-2b6":{"__comp":"14eb3368","categoryGeneratedIndex":"390800e5"},"/segmentation/attributes-484":{"__comp":"17896441","content":"20d512de"},"/segmentation/feature-flag-segments-493":{"__comp":"17896441","content":"e7e439d1"},"/segmentation/feature-flag-versions-191":{"__comp":"17896441","content":"57c1c2d9"},"/segmentation/segments-0c7":{"__comp":"17896441","content":"65da6cb5"},"/the-basics/applications-f16":{"__comp":"17896441","content":"6a947763"},"/the-basics/environment-keys-185":{"__comp":"17896441","content":"12bc0817"},"/the-basics/environments-aaa":{"__comp":"17896441","content":"6d0fdcd8"},"/the-basics/feature-flags-e59":{"__comp":"17896441","content":"faca8232"},"/the-basics/feature-versions-cc8":{"__comp":"17896441","content":"dc57ca8b"},"/the-basics/features-9d6":{"__comp":"17896441","content":"62e430e6"}}')}},e=>{e.O(0,[532],(()=>{return t=9383,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/assets/js/main.1b38e052.js.LICENSE.txt b/assets/js/main.700e9045.js.LICENSE.txt similarity index 100% rename from assets/js/main.1b38e052.js.LICENSE.txt rename to assets/js/main.700e9045.js.LICENSE.txt diff --git a/assets/js/runtime~main.9226e032.js b/assets/js/runtime~main.9226e032.js new file mode 100644 index 0000000..fbe175f --- /dev/null +++ b/assets/js/runtime~main.9226e032.js @@ -0,0 +1 @@ +(()=>{"use strict";var e,t,r,a,o,n={},d={};function c(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=n,c.c=d,e=[],c.O=(t,r,a,o)=>{if(!r){var n=1/0;for(l=0;l<e.length;l++){r=e[l][0],a=e[l][1],o=e[l][2];for(var d=!0,i=0;i<r.length;i++)(!1&o||n>=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(d=!1,o<n&&(n=o));if(d){e.splice(l--,1);var f=a();void 0!==f&&(t=f)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var d=2&a&&e;"object"==typeof d&&!~t.indexOf(d);d=r(d))Object.getOwnPropertyNames(d).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,c.d(o,n),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({30:"9dbf4169",53:"935f2afb",74:"dc57ca8b",200:"e7e439d1",298:"62e430e6",345:"6a947763",357:"a23c3548",385:"6d0fdcd8",395:"390800e5",514:"1be78505",591:"d4277124",602:"20d512de",620:"00cdcb4e",635:"12bc0817",671:"0e384e19",718:"a1f504af",746:"faca8232",755:"57c1c2d9",800:"65da6cb5",817:"14eb3368",918:"17896441"}[e]||e)+"."+{30:"7a0bba11",53:"47c97e71",74:"c51c3a2c",200:"fb7f6b74",298:"b4d45818",345:"b8c9acaf",357:"efdf31c5",385:"da8ca633",395:"75611e36",514:"bee760d5",591:"0cfab8b0",602:"a78a9f66",620:"fd63b58d",635:"ced55dfa",671:"2f39097d",718:"7f256d42",746:"2ee226d8",755:"e5abfa4b",800:"b6c13c94",817:"0876edc5",918:"6d45ca3a",972:"23ac08d8"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="my-website:",c.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var d,i;if(void 0!==r)for(var f=document.getElementsByTagName("script"),l=0;l<f.length;l++){var u=f[l];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+r){d=u;break}}d||(i=!0,(d=document.createElement("script")).charset="utf-8",d.timeout=120,c.nc&&d.setAttribute("nonce",c.nc),d.setAttribute("data-webpack",o+r),d.src=e),a[e]=[t];var b=(t,r)=>{d.onerror=d.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],d.parentNode&&d.parentNode.removeChild(d),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(b.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=b.bind(null,d.onerror),d.onload=b.bind(null,d.onload),i&&document.head.appendChild(d)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.p="/",c.gca=function(e){return e={17896441:"918","9dbf4169":"30","935f2afb":"53",dc57ca8b:"74",e7e439d1:"200","62e430e6":"298","6a947763":"345",a23c3548:"357","6d0fdcd8":"385","390800e5":"395","1be78505":"514",d4277124:"591","20d512de":"602","00cdcb4e":"620","12bc0817":"635","0e384e19":"671",a1f504af:"718",faca8232:"746","57c1c2d9":"755","65da6cb5":"800","14eb3368":"817"}[e]||e,c.p+c.u(e)},(()=>{var e={303:0,532:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=c.p+c.u(t),d=new Error;c.l(n,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;d.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",d.name="ChunkLoadError",d.type=o,d.request=n,a[1](d)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],d=r[1],i=r[2],f=0;if(n.some((t=>0!==e[t]))){for(a in d)c.o(d,a)&&(c.m[a]=d[a]);if(i)var l=i(c)}for(t&&t(r);f<n.length;f++)o=n[f],c.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return c.O(l)},r=self.webpackChunkmy_website=self.webpackChunkmy_website||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})(); \ No newline at end of file diff --git a/assets/js/runtime~main.b4b948ab.js b/assets/js/runtime~main.b4b948ab.js deleted file mode 100644 index 0698300..0000000 --- a/assets/js/runtime~main.b4b948ab.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,t,r,o,a,n={},d={};function c(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,c),r.loaded=!0,r.exports}c.m=n,c.c=d,e=[],c.O=(t,r,o,a)=>{if(!r){var n=1/0;for(l=0;l<e.length;l++){r=e[l][0],o=e[l][1],a=e[l][2];for(var d=!0,f=0;f<r.length;f++)(!1&a||n>=a)&&Object.keys(c.O).every((e=>c.O[e](r[f])))?r.splice(f--,1):(d=!1,a<n&&(n=a));if(d){e.splice(l--,1);var i=o();void 0!==i&&(t=i)}}return t}a=a||0;for(var l=e.length;l>0&&e[l-1][2]>a;l--)e[l]=e[l-1];e[l]=[r,o,a]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);c.r(a);var n={};t=t||[null,r({}),r([]),r(r)];for(var d=2&o&&e;"object"==typeof d&&!~t.indexOf(d);d=r(d))Object.getOwnPropertyNames(d).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,c.d(a,n),a},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({84:"62e430e6",138:"9dbf4169",260:"20d512de",279:"12bc0817",312:"d4277124",345:"e7e439d1",359:"6d2fb31d",384:"00cdcb4e",401:"17896441",445:"faca8232",465:"390800e5",496:"6d0fdcd8",581:"935f2afb",657:"57c1c2d9",714:"1be78505",783:"65da6cb5",786:"dc57ca8b",963:"a1f504af",969:"14eb3368",976:"0e384e19",996:"6a947763"}[e]||e)+"."+{84:"92bd4fa9",138:"1cc04d61",260:"3cb845a4",279:"de0e099e",312:"3fcbe32d",345:"184165e7",359:"759c1da8",384:"6ed49a5f",401:"f24b0a2a",445:"ce309464",465:"ac45d3d9",496:"168710eb",581:"e09ff0cc",657:"c9792a01",714:"aa0d9004",774:"2a3102dc",783:"777846fc",786:"ca5560ab",963:"dbd6e58f",969:"a26c4e0a",976:"4a30c506",996:"743450d7"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="my-website:",c.l=(e,t,r,n)=>{if(o[e])o[e].push(t);else{var d,f;if(void 0!==r)for(var i=document.getElementsByTagName("script"),l=0;l<i.length;l++){var u=i[l];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==a+r){d=u;break}}d||(f=!0,(d=document.createElement("script")).charset="utf-8",d.timeout=120,c.nc&&d.setAttribute("nonce",c.nc),d.setAttribute("data-webpack",a+r),d.src=e),o[e]=[t];var b=(t,r)=>{d.onerror=d.onload=null,clearTimeout(s);var a=o[e];if(delete o[e],d.parentNode&&d.parentNode.removeChild(d),a&&a.forEach((e=>e(r))),t)return t(r)},s=setTimeout(b.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=b.bind(null,d.onerror),d.onload=b.bind(null,d.onload),f&&document.head.appendChild(d)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),c.p="/",c.gca=function(e){return e={17896441:"401","62e430e6":"84","9dbf4169":"138","20d512de":"260","12bc0817":"279",d4277124:"312",e7e439d1:"345","6d2fb31d":"359","00cdcb4e":"384",faca8232:"445","390800e5":"465","6d0fdcd8":"496","935f2afb":"581","57c1c2d9":"657","1be78505":"714","65da6cb5":"783",dc57ca8b:"786",a1f504af:"963","14eb3368":"969","0e384e19":"976","6a947763":"996"}[e]||e,c.p+c.u(e)},(()=>{var e={354:0,869:0};c.f.j=(t,r)=>{var o=c.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>o=e[t]=[r,a]));r.push(o[2]=a);var n=c.p+c.u(t),d=new Error;c.l(n,(r=>{if(c.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var a=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;d.message="Loading chunk "+t+" failed.\n("+a+": "+n+")",d.name="ChunkLoadError",d.type=a,d.request=n,o[1](d)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,n=r[0],d=r[1],f=r[2],i=0;if(n.some((t=>0!==e[t]))){for(o in d)c.o(d,o)&&(c.m[o]=d[o]);if(f)var l=f(c)}for(t&&t(r);i<n.length;i++)a=n[i],c.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return c.O(l)},r=self.webpackChunkmy_website=self.webpackChunkmy_website||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})(); \ No newline at end of file diff --git a/best-practices/naming-features/index.html b/best-practices/naming-features/index.html index 3ba27d7..338db33 100644 --- a/best-practices/naming-features/index.html +++ b/best-practices/naming-features/index.html @@ -3,14 +3,14 @@ <head> <meta charset="UTF-8"> <meta name="generator" content="Docusaurus v2.2.0"> -<title data-rh="true">Naming Features | FeaturIT Docs - - +Naming Features | FeaturIT Docs + +
-

Naming Features

Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features.

When naming features take into account:

  • Be descriptive and clear: Feature names should clearly and accurately describe what the feature does. Avoid using internal jargon or abbreviations that might not make sense to someone who is not familiar with the project.

  • Use consistent naming conventions: Adopt a consistent naming convention and stick to it. This makes it easier to find and manage features in the future. For example, you could use camelCase, snake_case, or PascalCase.

  • Avoid too long names: Feature names should be short, concise and easy to read. Long names can make it harder to quickly understand what a feature does.

- - +

Naming Features

Giving good names to features can help to improve the quality and reliability of the application, and make it easier for teams to work together and make decisions about features.

When naming features take into account:

  • Be descriptive and clear: Feature names should clearly and accurately describe what the feature does. Avoid using internal jargon or abbreviations that might not make sense to someone who is not familiar with the project.

  • Use consistent naming conventions: Adopt a consistent naming convention and stick to it. This makes it easier to find and manage features in the future. For example, you could use camelCase, snake_case, or PascalCase.

  • Avoid too long names: Feature names should be short, concise and easy to read. Long names can make it harder to quickly understand what a feature does.

+ + \ No newline at end of file diff --git a/best-practices/stickiness-attributes/index.html b/best-practices/stickiness-attributes/index.html index d69acc3..cc2c1af 100644 --- a/best-practices/stickiness-attributes/index.html +++ b/best-practices/stickiness-attributes/index.html @@ -3,14 +3,14 @@ -Stickiness Attributes | FeaturIT Docs - - +Stickiness Attributes | FeaturIT Docs + +
-

Stickiness Attributes

Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version.

Stickiness attributes are used to ensure that a user will experience rollouts, progresive deploys and versions in a consistent way. This can be important when a feature is deployed in stages, or when different versions of a feature are made available to different users.

In most of the cases stickiness attribute can be user IDs but sometimes we may chose another attribute.

For example lets imagine we have a streaming service for companies. We want to try a new feature and we roll out it for 5% of one country userbase, but we want that given any company all of the employees see the feature or none of them do.

In this case we will use the company id as a rollout stickiness atribute. This way all users of 5% of companyies of the segmented country will be able to see the new feature.

If we increase progresively to 20% of companyies the rollout but at some point we rollback to 5%, the same 5% of companyies will be able to keep seing the feature.

- - +

Stickiness Attributes

Stickiness attributes are user attributes that are used to persistently assign a user to a specific rollout or version.

Stickiness attributes are used to ensure that a user will experience rollouts, progresive deploys and versions in a consistent way. This can be important when a feature is deployed in stages, or when different versions of a feature are made available to different users.

In most of the cases stickiness attribute can be user IDs but sometimes we may chose another attribute.

For example lets imagine we have a streaming service for companies. We want to try a new feature and we roll out it for 5% of one country userbase, but we want that given any company all of the employees see the feature or none of them do.

In this case we will use the company id as a rollout stickiness atribute. This way all users of 5% of companyies of the segmented country will be able to see the new feature.

If we increase progresively to 20% of companyies the rollout but at some point we rollback to 5%, the same 5% of companyies will be able to keep seing the feature.

+ + \ No newline at end of file diff --git a/category/best-practices/index.html b/category/best-practices/index.html index 546650d..cc07e86 100644 --- a/category/best-practices/index.html +++ b/category/best-practices/index.html @@ -3,14 +3,14 @@ -Best Practices | FeaturIT Docs - - +Best Practices | FeaturIT Docs + + - - +
+ + \ No newline at end of file diff --git a/category/segmentation/index.html b/category/segmentation/index.html index ada8ba3..09d5dd6 100644 --- a/category/segmentation/index.html +++ b/category/segmentation/index.html @@ -3,14 +3,14 @@ -Segmentation | FeaturIT Docs - - +Segmentation | FeaturIT Docs + + - - +
+ + \ No newline at end of file diff --git a/category/the-basics/index.html b/category/the-basics/index.html index 090d9e6..4ecc5cb 100644 --- a/category/the-basics/index.html +++ b/category/the-basics/index.html @@ -3,14 +3,14 @@ -The Basics | FeaturIT Docs - - +The Basics | FeaturIT Docs + + - - +
+ + \ No newline at end of file diff --git a/index.html b/index.html index c636a33..ee139e0 100644 --- a/index.html +++ b/index.html @@ -3,14 +3,14 @@ -First Steps | FeaturIT Docs - - +First Steps | FeaturIT Docs + +
-

First Steps

Let's discover FeaturIT in less than 5 minutes.

Getting Started

Add an application: Add an application to FeaturIT platform. This is the application that you want to manage feature flags for. You will need to provide information on the application name.

Create an environment: Before creating features, you must create an environment in FeaturIT. An environment is a specific instance of your application, such as a development, staging, or production environment.

Create an environment key: Before managing feature flags, you must create an environment keyT. Environment keys are unique identifiers used to control access to an API.

Create a feature: You can start listing your features. A feature is a new functionality or change you want to enable or disable for your users. Give the feature a descriptive name so you can quickly identify it later.

Install SDK in the platform: You can find the available SDKs on GitHub.

Wrap one feature using the SDK: Each SDK has specific instructions on adding flags to a feature. For example, check how it is done in Laravel.

Manage feature flags: You can enable or disable the feature on the platform by editing the feature flag status.

- - +

First Steps

Let's discover FeaturIT in less than 5 minutes.

Getting Started

Add an application: Add an application to FeaturIT platform. This is the application that you want to manage feature flags for. You will need to provide information on the application name.

Create an environment: Before creating features, you must create an environment in FeaturIT. An environment is a specific instance of your application, such as a development, staging, or production environment.

Create an environment key: Before managing feature flags, you must create an environment keyT. Environment keys are unique identifiers used to control access to an API.

Create a feature: You can start listing your features. A feature is a new functionality or change you want to enable or disable for your users. Give the feature a descriptive name so you can quickly identify it later.

Install SDK in the platform: You can find the available SDKs on GitHub.

Wrap one feature using the SDK: Each SDK has specific instructions on adding flags to a feature. For example, check how it is done in Laravel.

Manage feature flags: You can enable or disable the feature on the platform by editing the feature flag status.

+ + \ No newline at end of file diff --git a/segmentation/attributes/index.html b/segmentation/attributes/index.html index 3bfb206..5a1e649 100644 --- a/segmentation/attributes/index.html +++ b/segmentation/attributes/index.html @@ -3,14 +3,14 @@ -Attributes | FeaturIT Docs - - +Attributes | FeaturIT Docs + +
-

Attributes

What are Attributes

An attribute is a characteristic or property of a user that can be used to segment them. For example, an attribute could be the user's location, device type, or account status.

An example may be the user's location, which could be used to segment users by country or region.

Attributes can be numbers or strings.

Default Attributes

By default, when a new application created 3 Attributes are created:

  • userId
  • sessionId
  • ipAddress

All of them can be modified, and we can create as many attributes as we need.

- - +

Attributes

What are Attributes

An attribute is a characteristic or property of a user that can be used to segment them. For example, an attribute could be the user's location, device type, or account status.

An example may be the user's location, which could be used to segment users by country or region.

Atributes can be numbers or strings.

Default Attributes

By default when a new application created 3 Attributes are created:

  • userId
  • sessionId
  • ipAdress

All of them can be modified and we can create as many attributes as we need.

+ + \ No newline at end of file diff --git a/segmentation/feature-flag-segments/index.html b/segmentation/feature-flag-segments/index.html index 14f0261..e2ef67c 100644 --- a/segmentation/feature-flag-segments/index.html +++ b/segmentation/feature-flag-segments/index.html @@ -3,16 +3,16 @@ -Feature Flag Segments | FeaturIT Docs - - +Feature Flag Segments | FeaturIT Docs + +
-

Feature Flag Segments

A feature flag segment is a rule that allows some users of a given segment access to the feature.

A feature flag segment is defined by a segment, a feature flag, a rollout attribute and a rollout percentage.

Here the segment defines the group that can use the feature. +

Feature Flag Segments

A feature flag segment is a rule that allows some users of a given segment access to the feature.

A feature flag segment is defined by a segment, a feature flag, a rollout attribute and a rollout percentage.

Here the segment defines the group that can use the feature. The feature flag determines the feature and the environment. -The rollout percentage fixes the percentage of this group that can use the feature and the rollout attribute is used to assign consistently the users with access to the feature.

For more information about rollout attributes check stickiness-attributes.

- - +The rollout percentage fixes the percentage of this group that can use the feature and the rollout attribute is used to assign consistently the users with access to the feature.

For more information about rollout attributes check stickiness-attributes.

+ + \ No newline at end of file diff --git a/segmentation/feature-flag-versions/index.html b/segmentation/feature-flag-versions/index.html index 4a8e251..15ef92d 100644 --- a/segmentation/feature-flag-versions/index.html +++ b/segmentation/feature-flag-versions/index.html @@ -3,14 +3,14 @@ -Feature Flag Versions | FeaturIT Docs - - +Feature Flag Versions | FeaturIT Docs + +
-

Feature Flag Versions

The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version.

The feature flag version is composed by the feature version and a percentage.

The Distribution Attribute

Each feature flag has a Distribution attribute that defines the attribute used to distribute the users on each specific feature version.

For more information about distribution attributes check stickiness-attributes.

- - +

Feature Flag Versions

The feature flag versions of a feature flag allows to define the distribution of users that see a specific feature version.

The feature flag version is composed by the feature version and a percentage.

The Distribution Attribute

Each feature flag has a Distribution attribute that defines the attribute used to distribute the users on each specific feature version.

For more information about distribution attributes check stickiness-attributes.

+ + \ No newline at end of file diff --git a/segmentation/segments/index.html b/segmentation/segments/index.html index 5d3e8f3..8654990 100644 --- a/segmentation/segments/index.html +++ b/segmentation/segments/index.html @@ -3,14 +3,14 @@ -Segments | FeaturIT Docs - - +Segments | FeaturIT Docs + +
-

Segments

What is a Segment

A segment is a group of users that share certain characteristics. In the context of feature flags, a segment can be used to determine which group of users should have access to a particular feature or version of a feature.

Segment Rules

Segments are created by defining a set of rules that use an attribute, an operation, and a value.

These rules are used to determine which users belong to a particular segment.

For example, let's say you have a rule that says:

"Users whose 'location' attribute starts with 'US' belong to the segment 'US users'."

In this example, the attribute is "location", the operation is "starts with" and the value is "US". If a user's location attribute is "US-New York", they would be considered part of the 'US users' segment.

String Rules

String rules are rules where the attribute is a string. The available operations for string rules are:

  • Equals
  • Not equals
  • Contains
  • Is contained in
  • Starts with
  • Ends with

The "Is contained in" rule is a filter that lets you segment data based on any of the values listed in a comma-separated format.

Number rules

Number rules are rules where the attribute is a number. The available operations for number rules are:

  • (less than) <
  • (Less or equal than) <=
  • (Equal) =
  • (Not equal) !=
  • (Greater or equal than) >=
  • (Greater than) >
- - +

Segments

What is a Segment

A segment is a group of users that share certain characteristics. In the context of feature flags, a segment can be used to determine which group of users should have access to a particular feature or version of a feature.

Segment Rules

Segments are created by defining a set of rules that use an attribute, an operation, and a value.

These rules are used to determine which users belong to a particular segment.

For example, let's say you have a rule that says:

"Users whose 'location' attribute starts with 'US' belong to the segment 'US users'."

In this example, the attribute is "location", the operation is "starts with" and the value is "US". If a user's location attribute is "US-New York", they would be considered part of the 'US users' segment.

String Rules

String rules are rules where the atribute is a string. The available operations for string rules are:

  • Equals
  • Not equals
  • Contains
  • Starts with
  • Ends with

Number rules

Number rules are rules where the atribute is a number. The available operations for number rules are:

  • (less than) <
  • (Less or equal than) <=
  • (Equal) =
  • (Not equal) !=
  • (Greather or equal than) >=
  • (Greather than) >
+ + \ No newline at end of file diff --git a/the-basics/applications/index.html b/the-basics/applications/index.html index b12cec0..d8a0cb8 100644 --- a/the-basics/applications/index.html +++ b/the-basics/applications/index.html @@ -3,14 +3,14 @@ -Applications | FeaturIT Docs - - +Applications | FeaturIT Docs + +
-

Applications

An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments.

- - +

Applications

An application refers to the software or service using the feature flagging functionality. Each application managed by the tool would have its features, environments, attributes, and segments.

+ + \ No newline at end of file diff --git a/the-basics/environment-keys/index.html b/the-basics/environment-keys/index.html index 8284fa4..830edd9 100644 --- a/the-basics/environment-keys/index.html +++ b/the-basics/environment-keys/index.html @@ -3,14 +3,14 @@ -Environment Keys | FeaturIT Docs - - +Environment Keys | FeaturIT Docs + +
-

Environment Keys

Environment keys are unique identifiers used to control access to an API.

Environment keys are used to distinguish between different environments that interact with the API (e.g. development, staging, production, etc.). Each environment is associated with a specific environment key, and this key is used to control access to the API.

You can create as many environment keys as you want for each environment.

- - +

Environment Keys

Environment keys are unique identifiers used to control access to an API.

Environment keys are used to distinguish between different environments that interact with the API (e.g. development, staging, production, etc.). Each environment is associated with a specific environment key, and this key is used to control access to the API.

You can create as many environment keys as you want for each environment.

+ + \ No newline at end of file diff --git a/the-basics/environments/index.html b/the-basics/environments/index.html index 3a82fe1..b4b45da 100644 --- a/the-basics/environments/index.html +++ b/the-basics/environments/index.html @@ -3,14 +3,14 @@ -Environments | FeaturIT Docs - - +Environments | FeaturIT Docs + +
-

Environments

An environment refers to a specific deployment or execution context for an application.

For example, an application could have a development environment, a staging environment, and a production environment. This way, you can test new features and changes in the development environment before rolling them out to the staging environment for further testing and then to the production environment for the actual release.

- - +

Environments

An environment refers to a specific deployment or execution context for an application.

For example, an application could have a development environment, a staging environment, and a production environment. This way, you can test new features and changes in the development environment before rolling them out to the staging environment for further testing and then to the production environment for the actual release.

+ + \ No newline at end of file diff --git a/the-basics/feature-flags/index.html b/the-basics/feature-flags/index.html index e6ccd07..0900afe 100644 --- a/the-basics/feature-flags/index.html +++ b/the-basics/feature-flags/index.html @@ -3,14 +3,14 @@ -Feature Flags | FeaturIT Docs - - +Feature Flags | FeaturIT Docs + +
-

Feature Flags

Feature Flag

Feature flags can be used to enable or disable a feature, or to roll out a feature to a specific group of users (segment).

Feature Flag and Environments

When a new feature is created featurIT automatically create a feature flag for this feature in each environment.

- - +

Feature Flags

Feature Flag

Feature flags can be used to enable or disable a feature, or to roll out a feature to a specific group of users (segment).

Feature Flag and Environments

When a new feature is created featurIT automatically create a feature flag for this feature in each environment.

+ + \ No newline at end of file diff --git a/the-basics/feature-versions/index.html b/the-basics/feature-versions/index.html index 000aa1a..452cef2 100644 --- a/the-basics/feature-versions/index.html +++ b/the-basics/feature-versions/index.html @@ -3,14 +3,14 @@ -Feature Version | FeaturIT Docs - - +Feature Version | FeaturIT Docs + +
-

Feature Version

A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users.

- - +

Feature Version

A feature version is a specific implementation or variation of a feature. In the context of feature flags, different versions of a feature can be targeted to different users.

+ + \ No newline at end of file diff --git a/the-basics/features/index.html b/the-basics/features/index.html index 73eba72..ace1fb9 100644 --- a/the-basics/features/index.html +++ b/the-basics/features/index.html @@ -3,14 +3,14 @@ -Features | FeaturIT Docs - - +Features | FeaturIT Docs + +
-

Features

A feature refers to a specific functionality or capability of an application.

In the context of FeatureIT, a feature would be something that can be enabled or disabled, or have different versions targeted to different segments of users.

Each feature can have different configurations in different environments. For example, a feature could be enabled in the development environment, disabled in the staging environment, and enabled with a specific version in the production environment.

- - +

Features

A feature refers to a specific functionality or capability of an application.

In the context of FeatureIT, a feature would be something that can be enabled or disabled, or have different versions targeted to different segments of users.

Each feature can have different configurations in different environments. For example, a feature could be enabled in the development environment, disabled in the staging environment, and enabled with a specific version in the production environment.

+ + \ No newline at end of file